Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1196335
| From | Jochen Sprickerhof <jspricke@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1070411: containerd fails to build as a normal user due to sysctl |
| Date | 2024-05-05 08:10 +0200 |
| Message-ID | <IADep-bc9D-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Source: containerd
Version: 1.6.20~ds1-1
Severity: important
X-Debbugs-Cc: debian-wb-team@lists.debian.org
Usertags: unshare
Hi,
containerd uses sysctl during the build which fails as a normal user:
=== RUN TestLinuxSandboxContainerSpec
sandbox_run_linux_test.go:241: TestCase "spec should reflect original config"
sandbox_run_linux_test.go:71: Check PodSandbox annotations
sandbox_run_linux_test.go:124:
Error Trace: /<<PKGBUILDDIR>>/_build/src/github.com/containerd/containerd/pkg/cri/server/sandbox_run_linux_test.go:124
/<<PKGBUILDDIR>>/_build/src/github.com/containerd/containerd/pkg/cri/server/sandbox_run_linux_test.go:259
Error: "" does not contain "0 2147483647"
Test: TestLinuxSandboxContainerSpec
sandbox_run_linux_test.go:241: TestCase "host namespace"
sandbox_run_linux_test.go:71: Check PodSandbox annotations
sandbox_run_linux_test.go:241: TestCase "should set supplemental groups correctly"
sandbox_run_linux_test.go:71: Check PodSandbox annotations
sandbox_run_linux_test.go:241: TestCase "should overwrite default sysctls"
sandbox_run_linux_test.go:71: Check PodSandbox annotations
sandbox_run_linux_test.go:241: TestCase "sandbox sizing annotations should be set if LinuxContainerResources were provided"
sandbox_run_linux_test.go:71: Check PodSandbox annotations
sandbox_run_linux_test.go:241: TestCase "sandbox sizing annotations should not be set if LinuxContainerResources were not provided"
sandbox_run_linux_test.go:71: Check PodSandbox annotations
sandbox_run_linux_test.go:241: TestCase "sandbox sizing annotations are zero if the resources are set to 0"
sandbox_run_linux_test.go:71: Check PodSandbox annotations
--- FAIL: TestLinuxSandboxContainerSpec (0.00s)
https://salsa.debian.org/go-team/packages/containerd/-/blob/debian/sid/pkg/cri/server/sandbox_run_linux_test.go#L124
This make the build fail for example in the sbuild unshare backend.
Cheers Jochen
Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread
Bug#1070411: containerd fails to build as a normal user due to sysctl Jochen Sprickerhof <jspricke@debian.org> - 2024-05-05 08:10 +0200
csiph-web