Source: containerd
Version: 1.6.20~ds1-1
Severity: important
X-Debbugs-Cc: debian-wb-t...@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

Reply via email to