Update to containerd 2.0 #5425
buildkit.yml
on: pull_request
prepare
11s
govulncheck
1m 8s
Matrix: binaries
Matrix: test / run
Matrix: image
Matrix: scout
release
0s
Annotations
9 errors
Failed: client/TestIntegration:
client/run.go#L272
=== RUN TestIntegration
run.go:272: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:44191/library/alpine:latest
time="2024-11-12T18:02:19Z" level=info msg="fetch failed after status: 404 Not Found" host="localhost:44191"
run.go:272: copied docker.io/tonistiigi/test:nolayers to local mirror localhost:44191/tonistiigi/test:nolayers
time="2024-11-12T18:02:19Z" level=info msg="fetch failed after status: 404 Not Found" host="localhost:44191"
time="2024-11-12T18:02:20Z" level=info msg=request digest="sha256:be691b1535726014cdf3b715ff39361b19e121ca34498a9ceea61ad776b9c215" mediatype=application/vnd.docker.image.rootfs.foreign.diff.tar size=10240 url="https://gist.github.com/cpuguy83/fcf3041e5d8fb1bb5c340915aabeebe0/raw/eebc59ee14939fc38067aa8b8dfbfba053d0af94/base.tar"
run.go:272: copied docker.io/cpuguy83/buildkit-foreign:latest to local mirror localhost:44191/cpuguy83/buildkit-foreign:latest
--- FAIL: TestIntegration (0.11s)
|
Failed: client/TestIntegration/TestSchema1Image/worker=oci-rootless:
client/client_test.go#L6916
=== RUN TestIntegration/TestSchema1Image/worker=oci-rootless
=== PAUSE TestIntegration/TestSchema1Image/worker=oci-rootless
=== CONT TestIntegration/TestSchema1Image/worker=oci-rootless
client_test.go:6916:
Error Trace: /src/client/client_test.go:6916
/src/util/testutil/integration/run.go:97
/src/util/testutil/integration/run.go:211
Error: Received unexpected error:
failed to load cache key: Pulling Schema 1 images have been deprecated and disabled by default since containerd v2.0. As a workaround you may set an environment variable `CONTAINERD_ENABLE_DEPRECATED_PULL_SCHEMA_1_IMAGE=1`, but this will be completely removed in containerd v2.1.
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: TestIntegration/TestSchema1Image/worker=oci-rootless
sandbox.go:135: 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_config3788482925/buildkitd.toml --root /tmp/bktest_buildkitd230476000 --addr unix:///tmp/bktest_buildkitd230476000/buildkitd.sock --debug
sandbox.go:138: > StartCmd 2024-11-12 18:03:20.708689571 +0000 UTC m=+74.763782073 /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_config3788482925/buildkitd.toml --root /tmp/bktest_buildkitd230476000 --addr unix:///tmp/bktest_buildkitd230476000/buildkitd.sock --debug
sandbox.go:138: warning: GOCOVERDIR not set, no coverage data emitted
sandbox.go:138: 2024/11/12 18:03:20 1 errors occurred detecting resource:
sandbox.go:138: * conflicting Schema URL: https://opentelemetry.io/schemas/1.21.0 and https://opentelemetry.io/schemas/1.26.0
sandbox.go:138: time="2024-11-12T18:03:20Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:138: time="2024-11-12T18:03:20Z" level=debug msg="running in rootless mode"
sandbox.go:138: time="2024-11-12T18:03:20Z" level=info msg="found worker \"72o9o5k25vu7wyuw4rgcz64fj\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:760dbd677b6c 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 li
|
test / run (oci-rootless, ./client ./cmd/buildctl ./worker/containerd ./solver ./frontend, integration)
Process completed with exit code 1.
|
Failed: client/TestIntegration:
client/run.go#L272
=== RUN TestIntegration
run.go:272: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:43081/library/alpine:latest
time="2024-11-12T18:02:29Z" level=info msg="fetch failed after status: 404 Not Found" host="localhost:43081"
run.go:272: copied docker.io/tonistiigi/test:nolayers to local mirror localhost:43081/tonistiigi/test:nolayers
time="2024-11-12T18:02:29Z" level=info msg="fetch failed after status: 404 Not Found" host="localhost:43081"
time="2024-11-12T18:02:29Z" level=info msg=request digest="sha256:be691b1535726014cdf3b715ff39361b19e121ca34498a9ceea61ad776b9c215" mediatype=application/vnd.docker.image.rootfs.foreign.diff.tar size=10240 url="https://gist.github.com/cpuguy83/fcf3041e5d8fb1bb5c340915aabeebe0/raw/eebc59ee14939fc38067aa8b8dfbfba053d0af94/base.tar"
run.go:272: copied docker.io/cpuguy83/buildkit-foreign:latest to local mirror localhost:43081/cpuguy83/buildkit-foreign:latest
--- FAIL: TestIntegration (0.14s)
|
Failed: client/TestIntegration/TestSchema1Image/worker=oci-rootless-slirp4netns-detachnetns:
client/client_test.go#L6916
=== RUN TestIntegration/TestSchema1Image/worker=oci-rootless-slirp4netns-detachnetns
=== PAUSE TestIntegration/TestSchema1Image/worker=oci-rootless-slirp4netns-detachnetns
=== CONT TestIntegration/TestSchema1Image/worker=oci-rootless-slirp4netns-detachnetns
client_test.go:6916:
Error Trace: /src/client/client_test.go:6916
/src/util/testutil/integration/run.go:97
/src/util/testutil/integration/run.go:211
Error: Received unexpected error:
failed to load cache key: Pulling Schema 1 images have been deprecated and disabled by default since containerd v2.0. As a workaround you may set an environment variable `CONTAINERD_ENABLE_DEPRECATED_PULL_SCHEMA_1_IMAGE=1`, but this will be completely removed in containerd v2.1.
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: TestIntegration/TestSchema1Image/worker=oci-rootless-slirp4netns-detachnetns
sandbox.go:135: stdout: /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_config3904620866/buildkitd.toml --root /tmp/bktest_buildkitd4134878047 --addr unix:///tmp/bktest_buildkitd4134878047/buildkitd.sock --debug
sandbox.go:135: 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_config3904620866/buildkitd.toml --root /tmp/bktest_buildkitd4134878047 --addr unix:///tmp/bktest_buildkitd4134878047/buildkitd.sock --debug
sandbox.go:138: > StartCmd 2024-11-12 18:02:45.87708105 +0000 UTC m=+32.694743050 /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_config3904620866/buildkitd.toml --root /tmp/bktest_buildkitd4134878047 --addr unix:///tmp/bktest_buildkitd4134878047/buildkitd.sock --debug
sandbox.go:138: warning: GOCOVERDIR not set, no coverage data emitted
sandbox.go:138: 2024/11/12 18:02:45 1 errors occurred detecting resource:
sandbox.go:138: * conflicting Schema URL: https://opentelemetry.io/schemas/1.21.0 and https://opentelemetry.io/schemas/1.26.0
sandbox.go
|
test / run (oci-rootless-slirp4netns-detachnetns, ./client ./cmd/buildctl ./worker/containerd ./solver ....
Process completed with exit code 1.
|
Failed: client/TestIntegration:
client/run.go#L272
=== RUN TestIntegration
run.go:272: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:35009/library/alpine:latest
time="2024-11-12T18:02:22Z" level=info msg="fetch failed after status: 404 Not Found" host="localhost:35009"
run.go:272: copied docker.io/tonistiigi/test:nolayers to local mirror localhost:35009/tonistiigi/test:nolayers
time="2024-11-12T18:02:23Z" level=info msg="fetch failed after status: 404 Not Found" host="localhost:35009"
time="2024-11-12T18:02:23Z" level=info msg=request digest="sha256:be691b1535726014cdf3b715ff39361b19e121ca34498a9ceea61ad776b9c215" mediatype=application/vnd.docker.image.rootfs.foreign.diff.tar size=10240 url="https://gist.github.com/cpuguy83/fcf3041e5d8fb1bb5c340915aabeebe0/raw/eebc59ee14939fc38067aa8b8dfbfba053d0af94/base.tar"
run.go:272: copied docker.io/cpuguy83/buildkit-foreign:latest to local mirror localhost:35009/cpuguy83/buildkit-foreign:latest
--- FAIL: TestIntegration (0.10s)
|
Failed: client/TestIntegration/TestSchema1Image/worker=containerd-rootless:
client/client_test.go#L6916
=== RUN TestIntegration/TestSchema1Image/worker=containerd-rootless
=== PAUSE TestIntegration/TestSchema1Image/worker=containerd-rootless
=== CONT TestIntegration/TestSchema1Image/worker=containerd-rootless
client_test.go:6916:
Error Trace: /src/client/client_test.go:6916
/src/util/testutil/integration/run.go:97
/src/util/testutil/integration/run.go:211
Error: Received unexpected error:
failed to load cache key: Pulling Schema 1 images have been deprecated and disabled by default since containerd v2.0. As a workaround you may set an environment variable `CONTAINERD_ENABLE_DEPRECATED_PULL_SCHEMA_1_IMAGE=1`, but this will be completely removed in containerd v2.1.
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: TestIntegration/TestSchema1Image/worker=containerd-rootless
sandbox.go:135: stdout: /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd3233395329/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd3233395329/config.toml
sandbox.go:135: stderr: /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd3233395329/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd3233395329/config.toml
sandbox.go:138: > StartCmd 2024-11-12 18:02:50.230218423 +0000 UTC m=+45.357302621 /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd3233395329/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd3233395329/config.toml
sandbox.go:138: time="2024-11-12T18:02:50.294097495Z" level=info msg="starting containerd" revision= version=2.0.0+unknown
sandbox.go:138: time="2024-11-12T18:02:50.303954172Z" level=warning msg="Configuration migrated from version 2, use `containerd config migrate` to avoid migration" t="2.985µs"
sandbox.go:138: time="2024-11-12T18:02:50.303980531Z" level=info msg="loading plugin" id=io.containerd.image-verifier.v1.bindir type=io.containerd.image-verifier.v1
sandbox.go:138: time="2024-11-12T18:02:50.304030555Z" level=info msg="loading plugin" id=io.containerd.internal.v1.opt type=io.containerd.internal.v1
|
test / run (containerd-rootless, ./client ./cmd/buildctl ./worker/containerd ./solver ./frontend, integr...
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
|
77.9 MB |
|
buildkit-linux-arm-v7
Expired
|
73.2 MB |
|
buildkit-linux-arm64
Expired
|
73.2 MB |
|
buildkit-linux-ppc64le
Expired
|
74 MB |
|
buildkit-linux-riscv64
Expired
|
73.7 MB |
|
buildkit-linux-s390x
Expired
|
77.1 MB |
|
buildkit-windows-amd64
Expired
|
41.2 MB |
|
buildkit-windows-arm64
Expired
|
38.3 MB |
|
moby~buildkit~1L9SGZ.dockerbuild
|
118 KB |
|
moby~buildkit~2DI92M.dockerbuild
|
117 KB |
|
moby~buildkit~43IQSV.dockerbuild
|
127 KB |
|
moby~buildkit~DK73GB.dockerbuild
|
118 KB |
|
moby~buildkit~DO41VR.dockerbuild
|
118 KB |
|
moby~buildkit~ETGJUR.dockerbuild
|
118 KB |
|
moby~buildkit~L1L521.dockerbuild
|
118 KB |
|
moby~buildkit~MEUP9C.dockerbuild
|
117 KB |
|
moby~buildkit~MKC043.dockerbuild
|
120 KB |
|
moby~buildkit~NKNR1P.dockerbuild
|
32.2 KB |
|
moby~buildkit~P213BW.dockerbuild
|
118 KB |
|
moby~buildkit~TPHLF3.dockerbuild
|
118 KB |
|
moby~buildkit~WTPSE8.dockerbuild
|
116 KB |
|
moby~buildkit~ZU5GLK.dockerbuild
|
119 KB |
|
test-reports-run--1---
Expired
|
469 KB |
|
test-reports-run--1---nydus
Expired
|
471 KB |
|
test-reports-run-client---containerd-nydus
Expired
|
382 KB |
|
test-reports-run-client---oci-nydus
Expired
|
387 KB |
|
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-containerd-
Expired
|
405 KB |
|
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-containerd-16-
Expired
|
405 KB |
|
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-containerd-rootless-
Expired
|
285 KB |
|
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-containerd-snapshotter-stargz-
Expired
|
405 KB |
|
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-oci-
Expired
|
409 KB |
|
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-oci-rootless-
Expired
|
283 KB |
|
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-oci-rootless-slirp4netns-detachnetns-
Expired
|
284 KB |
|
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-oci-snapshotter-stargz-
Expired
|
410 KB |
|