Upgrade to containerd 2 #5720
buildkit.yml
on: pull_request
prepare
5s
govulncheck
1m 1s
Matrix: binaries
Matrix: test / run
Matrix: image
Matrix: scout
release
0s
Annotations
9 errors
Failed: client/TestClientGatewayIntegration:
client/run.go#L273
=== RUN TestClientGatewayIntegration
run.go:273: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:43125/library/busybox:latest
--- FAIL: TestClientGatewayIntegration (0.02s)
|
Failed: client/TestClientGatewayIntegration/TestClientGatewayContainerSecurityModeValidation/worker=oci-rootless-slirp4netns-detachnetns/secmode=insecure:
client/build_test.go#L1947
=== RUN TestClientGatewayIntegration/TestClientGatewayContainerSecurityModeValidation/worker=oci-rootless-slirp4netns-detachnetns/secmode=insecure
=== PAUSE TestClientGatewayIntegration/TestClientGatewayContainerSecurityModeValidation/worker=oci-rootless-slirp4netns-detachnetns/secmode=insecure
=== CONT TestClientGatewayIntegration/TestClientGatewayContainerSecurityModeValidation/worker=oci-rootless-slirp4netns-detachnetns/secmode=insecure
build_test.go:1947:
Error Trace: /src/client/build_test.go:1947
/src/client/build_test.go:1824
/src/util/testutil/integration/run.go:98
/src/util/testutil/integration/run.go:212
Error: "failed to solve: expecting started message, got *moby_buildkit_v1_frontend.ExecMessage_Exit" does not contain "security.insecure is not allowed"
Test: TestClientGatewayIntegration/TestClientGatewayContainerSecurityModeValidation/worker=oci-rootless-slirp4netns-detachnetns/secmode=insecure
sandbox.go:187: stderr: /usr/bin/sudo -u #1000 -i -- exec rootlesskit --net=slirp4netns --copy-up=/etc --disable-host-loopback --detach-netns buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config3281304838/buildkitd.toml --root /tmp/bktest_buildkitd2611780464 --addr unix:///tmp/bktest_buildkitd2611780464/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd2611780464/buildkitd-debug.sock --debug
sandbox.go:190: > StartCmd 2024-12-18 13:18:51.592898228 +0000 UTC m=+2.922323901 /usr/bin/sudo -u #1000 -i -- exec rootlesskit --net=slirp4netns --copy-up=/etc --disable-host-loopback --detach-netns buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config3281304838/buildkitd.toml --root /tmp/bktest_buildkitd2611780464 --addr unix:///tmp/bktest_buildkitd2611780464/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd2611780464/buildkitd-debug.sock --debug
sandbox.go:190: warning: GOCOVERDIR not set, no coverage data emitted
sandbox.go:190: time="2024-12-18T13:18:51Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd2611780464/buildkitd-debug.sock"
sandbox.go:190: time="2024-12-18T13:18:51Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:190: time="2024-12-18T13:18:51Z" level=debug msg="running in rootless mode"
sandbox.go:190: time="2024-12-18T13:18:51Z" level=info msg="found worker \"zzwliaifufkttc1t8yez2a1fq\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:afafe5383d6e org.mobyproject.buildkit.worker.network:host org.mobyproject.buildkit.worker.oci.process-mode:sandbox org.mobyproject.buildkit.worker.sandbox:true org.mobyproject.buildkit.worker.selinux.enabled:false org.mobyproject.buildkit.worker.snapshotter:overlayfs], platforms=[linux/amd64 linux/amd64/v2 linux/amd64/v3 linux/arm64 linux/riscv64 linux/ppc64le linux/s390x linux/386 linux/arm/v7 linux/arm/v6]"
sandbox.go:190: time="2024-12-18T13:18:51Z" level=info msg="found 1 workers, default=\"zzwliaifufkttc1t8yez2a1fq\""
sandbox.go:190: time="2024-12-18T13:18:51Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:190: time="2024-12-18T13:18:51Z" level=info msg="running server on /tmp/bktest_buildkitd2611780464/buildkitd.sock"
sandbox.go:190: time="2024-12-18T13:18:51Z" level=debug msg="session started" spanID=85930dbefe044315 traceID=baca1f9e8e31b1da7f7593f8073953cd
sandbox.go:190: time="2024-12-18T13:18:51Z" level=debug msg="|<--- NewContainer qk5n1t0rm0r7md0aggl2me3j0" spanID=d442331eb1f53f03 traceID=372d63116e7e5e48e1c10301b54d2abc
sandbox.go:190: time="2024-12-18T13:18:51Z" level=debug msg="checked for cached auth handler namespace" cached=false key="docker.io/library/busybox::pull" name=docker.io/library/busybox scope=pull
sandbox.go:190: time="202
|
test / run (oci-rootless-slirp4netns-detachnetns, ./client ./cmd/buildctl ./worker/containerd ./solver ....
Process completed with exit code 1.
|
Failed: client/TestClientGatewayIntegration:
client/run.go#L273
=== RUN TestClientGatewayIntegration
run.go:273: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:37503/library/busybox:latest
--- FAIL: TestClientGatewayIntegration (0.04s)
|
Failed: client/TestClientGatewayIntegration/TestClientGatewayContainerHostNetworkingValidation/worker=oci-rootless/netmode=host:
client/build_test.go#L2131
=== RUN TestClientGatewayIntegration/TestClientGatewayContainerHostNetworkingValidation/worker=oci-rootless/netmode=host
=== PAUSE TestClientGatewayIntegration/TestClientGatewayContainerHostNetworkingValidation/worker=oci-rootless/netmode=host
=== CONT TestClientGatewayIntegration/TestClientGatewayContainerHostNetworkingValidation/worker=oci-rootless/netmode=host
build_test.go:2131:
Error Trace: /src/client/build_test.go:2131
/src/client/build_test.go:2030
/src/util/testutil/integration/run.go:98
/src/util/testutil/integration/run.go:212
Error: Received unexpected error:
expecting started message, got *moby_buildkit_v1_frontend.ExecMessage_Exit
github.com/moby/buildkit/util/stack.Enable
/src/util/stack/stack.go:82
github.com/moby/buildkit/util/grpcerrors.FromGRPC
/src/util/grpcerrors/grpcerrors.go:204
github.com/moby/buildkit/util/grpcerrors.UnaryClientInterceptor
/src/util/grpcerrors/intercept.go:41
google.golang.org/grpc.(*ClientConn).Invoke
/src/vendor/google.golang.org/grpc/call.go:35
github.com/moby/buildkit/api/services/control.(*controlClient).Solve
/src/api/services/control/control_grpc.pb.go:88
github.com/moby/buildkit/client.(*Client).solve.func2
/src/client/solve.go:269
golang.org/x/sync/errgroup.(*Group).Go.func1
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:78
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1700
failed to solve
github.com/moby/buildkit/client.(*Client).solve.func2
/src/client/solve.go:285
golang.org/x/sync/errgroup.(*Group).Go.func1
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:78
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1700
Test: TestClientGatewayIntegration/TestClientGatewayContainerHostNetworkingValidation/worker=oci-rootless/netmode=host
sandbox.go:187: stdout: /usr/bin/sudo -u #1000 -i -- exec rootlesskit buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config1681034784/buildkitd.toml --root /tmp/bktest_buildkitd2681795501 --addr unix:///tmp/bktest_buildkitd2681795501/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd2681795501/buildkitd-debug.sock --debug
sandbox.go:187: stderr: /usr/bin/sudo -u #1000 -i -- exec rootlesskit buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config1681034784/buildkitd.toml --root /tmp/bktest_buildkitd2681795501 --addr unix:///tmp/bktest_buildkitd2681795501/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd2681795501/buildkitd-debug.sock --debug
sandbox.go:190: > StartCmd 2024-12-18 13:18:37.392683982 +0000 UTC m=+0.678145452 /usr/bin/sudo -u #1000 -i -- exec rootlesskit buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config1681034784/buildkitd.toml --root /tmp/bktest_buildkitd2681795501 --addr unix:///tmp/bktest_buildkitd2681795501/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd2681795501/buildkitd-debug.sock --debug
sandbox.go:190: warning: GOCOVERDIR not set, no coverage data emitted
sandbox.go:190: time="2024-12-18T13:18:37Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd2681795501/buildkitd-debug.sock"
sandbox.go:190: time="2024-12-18T13:18:38Z" level=info msg="auto snapsho
|
test / run (oci-rootless, ./client ./cmd/buildctl ./worker/containerd ./solver ./frontend, integration)
Process completed with exit code 1.
|
Failed: client/TestClientGatewayIntegration:
client/run.go#L273
=== RUN TestClientGatewayIntegration
run.go:273: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:34569/library/busybox:latest
--- FAIL: TestClientGatewayIntegration (0.01s)
|
Failed: client/TestClientGatewayIntegration/TestClientGatewayContainerHostNetworkingValidation/worker=oci/netmode=host:
client/sandbox.go#L133
=== RUN TestClientGatewayIntegration/TestClientGatewayContainerHostNetworkingValidation/worker=oci/netmode=host
=== PAUSE TestClientGatewayIntegration/TestClientGatewayContainerHostNetworkingValidation/worker=oci/netmode=host
=== CONT TestClientGatewayIntegration/TestClientGatewayContainerHostNetworkingValidation/worker=oci/netmode=host
sandbox.go:133: sandbox timeout reached, stopping worker
sandbox.go:172: buildkitd debug logs:
goroutine 123 [running]:
runtime/pprof.writeGoroutineStacks({0x1ffcce0, 0xc00034c000})
/usr/local/go/src/runtime/pprof/pprof.go:761 +0x6a
runtime/pprof.writeGoroutine({0x1ffcce0?, 0xc00034c000?}, 0xc00034fa40?)
/usr/local/go/src/runtime/pprof/pprof.go:750 +0x25
runtime/pprof.(*Profile).WriteTo(0x2dd3850?, {0x1ffcce0?, 0xc00034c000?}, 0xc?)
/usr/local/go/src/runtime/pprof/pprof.go:374 +0x14b
net/http/pprof.handler.ServeHTTP({0xc000b48041, 0x9}, {0x2015960, 0xc00034c000}, 0xc0002d6280)
/usr/local/go/src/net/http/pprof/pprof.go:272 +0x52f
net/http/pprof.Index({0x2015960, 0xc00034c000}, 0xc0002d6280?)
/usr/local/go/src/net/http/pprof/pprof.go:388 +0xde
net/http.HandlerFunc.ServeHTTP(0xc0003e2000?, {0x2015960?, 0xc00034c000?}, 0x767976?)
/usr/local/go/src/net/http/server.go:2220 +0x29
net/http.(*ServeMux).ServeHTTP(0x46f759?, {0x2015960, 0xc00034c000}, 0xc0002d6280)
/usr/local/go/src/net/http/server.go:2747 +0x1ca
net/http.serverHandler.ServeHTTP({0xc00034f890?}, {0x2015960?, 0xc00034c000?}, 0x6?)
/usr/local/go/src/net/http/server.go:3210 +0x8e
net/http.(*conn).serve(0xc00019a480, {0x20192e0, 0xc0001da1e0})
/usr/local/go/src/net/http/server.go:2092 +0x5d0
created by net/http.(*Server).Serve in goroutine 23
/usr/local/go/src/net/http/server.go:3360 +0x485
goroutine 1 [select, 5 minutes, locked to thread]:
main.main.func3(0xc000310f20)
/src/cmd/buildkitd/main.go:379 +0x1550
github.com/urfave/cli.HandleAction({0x19ac660?, 0xc00051a9c0?}, 0xc0001b4380?)
/src/vendor/github.com/urfave/cli/app.go:524 +0x50
github.com/urfave/cli.(*App).Run(0xc0001b4380, {0xc000050340, 0xd, 0xd})
/src/vendor/github.com/urfave/cli/app.go:286 +0x79b
main.main()
/src/cmd/buildkitd/main.go:408 +0x123a
goroutine 20 [select]:
github.com/moby/buildkit/util/tracing/detect.(*TraceRecorder).gcLoop(0xc000494f00, {0x2019318, 0xc000362640})
/src/util/tracing/detect/recorder.go:108 +0x185
created by github.com/moby/buildkit/util/tracing/detect.NewTraceRecorder in goroutine 1
/src/util/tracing/detect/recorder.go:49 +0x185
goroutine 33 [syscall, 5 minutes]:
os/signal.signal_recv()
/usr/local/go/src/runtime/sigqueue.go:152 +0x29
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:23 +0x13
created by os/signal.Notify.func1.1 in goroutine 1
/usr/local/go/src/os/signal/signal.go:151 +0x1f
goroutine 34 [chan receive, 5 minutes]:
github.com/moby/buildkit/util/appcontext.Context.func1.1()
/src/util/appcontext/appcontext.go:36 +0x65
created by github.com/moby/buildkit/util/appcontext.Context.func1 in goroutine 1
/src/util/appcontext/appcontext.go:34 +0x19a
goroutine 23 [IO wait]:
internal/poll.runtime_pollWait(0x7efc7b0496b0, 0x72)
/usr/local/go/src/runtime/netpoll.go:351 +0x85
internal/poll.(*pollDesc).wait(0xc00051c580?, 0xc000019ce8?, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Accept(0xc00051c580)
/usr/local/go/src/internal/poll/fd_unix.go:620 +0x295
net.(*netFD).accept(0xc00051c580)
/usr/local/go/src/net/fd_unix.go:172 +0x29
net.(*UnixListener).accept(0xc000019
|
test / run (./client, oci, nydus, integration)
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
buildkit-darwin-amd64
Expired
|
14.6 MB |
|
buildkit-darwin-arm64
Expired
|
13.9 MB |
|
buildkit-linux-amd64
Expired
|
78.3 MB |
|
buildkit-linux-arm-v7
Expired
|
73.6 MB |
|
buildkit-linux-arm64
Expired
|
73.7 MB |
|
buildkit-linux-ppc64le
Expired
|
74.4 MB |
|
buildkit-linux-riscv64
Expired
|
74.2 MB |
|
buildkit-linux-s390x
Expired
|
77.5 MB |
|
buildkit-windows-amd64
Expired
|
41.2 MB |
|
buildkit-windows-arm64
Expired
|
38.3 MB |
|
moby~buildkit~0MBG58.dockerbuild
|
115 KB |
|
moby~buildkit~9LUWR5.dockerbuild
|
114 KB |
|
moby~buildkit~A21KGG.dockerbuild
|
115 KB |
|
moby~buildkit~BW8L36.dockerbuild
|
115 KB |
|
moby~buildkit~G28COZ.dockerbuild
|
117 KB |
|
moby~buildkit~K7LTXO.dockerbuild
|
116 KB |
|
moby~buildkit~O2CB2U.dockerbuild
|
114 KB |
|
moby~buildkit~QUXZ4K.dockerbuild
|
33.7 KB |
|
moby~buildkit~RCFU6H.dockerbuild
|
118 KB |
|
moby~buildkit~S7T54S.dockerbuild
|
118 KB |
|
moby~buildkit~TPWU4C.dockerbuild
|
111 KB |
|
moby~buildkit~VJ6UUH.dockerbuild
|
114 KB |
|
moby~buildkit~Y34BZS.dockerbuild
|
116 KB |
|
moby~buildkit~YE1RUP.dockerbuild
|
115 KB |
|
moby~buildkit~YHZNZ1.dockerbuild
|
117 KB |
|
test-reports-run--1---
Expired
|
472 KB |
|
test-reports-run--1---nydus
Expired
|
473 KB |
|
test-reports-run-client---containerd-nydus
Expired
|
382 KB |
|
test-reports-run-client---oci-nydus
Expired
|
408 KB |
|
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-containerd-
Expired
|
406 KB |
|
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-containerd-16-
Expired
|
405 KB |
|
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-containerd-17-
Expired
|
406 KB |
|
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-containerd-rootless-
Expired
|
274 KB |
|
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-containerd-snapshotter-stargz-
Expired
|
406 KB |
|
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-oci-
Expired
|
410 KB |
|
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-oci-rootless-
Expired
|
285 KB |
|
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-oci-rootless-slirp4netns-detachnetns-
Expired
|
286 KB |
|
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-oci-snapshotter-stargz-
Expired
|
410 KB |
|