Skip to content

Merge pull request #5540 from tonistiigi/gc-unreferenced-keys #4920

Merge pull request #5540 from tonistiigi/gc-unreferenced-keys

Merge pull request #5540 from tonistiigi/gc-unreferenced-keys #4920

Triggered via push November 21, 2024 17:20
Status Failure
Total duration 10m 10s
Artifacts 37

frontend.yml

on: push
Matrix: test / run
Matrix: image
Matrix: scout
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Failed: frontend/dockerfile/TestIntegration: frontend/dockerfile/run.go#L272
=== RUN TestIntegration run.go:272: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:44781/library/busybox:latest time="2024-11-21T17:26:31Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:44781" run.go:272: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:44781/library/alpine:latest time="2024-11-21T17:26:32Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:44781" run.go:272: copied local:/mainline.tar to local mirror localhost:44781/buildkit_test/hvy1ugcotii8659svhm5nc14j:latest run.go:321: Error Trace: /src/util/testutil/integration/run.go:321 /usr/local/go/src/sync/once.go:76 /usr/local/go/src/sync/once.go:67 /src/util/testutil/integration/run.go:319 /src/util/testutil/integration/run.go:203 Error: Received unexpected error: httpReadSeeker: failed open: unexpected status code https://registry-1.docker.io/v2/amd64/debian/manifests/sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75: 429 Too Many Requests - Server message: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit github.com/moby/buildkit/util/contentutil.CopyChain /src/util/contentutil/copy.go:87 github.com/moby/buildkit/util/testutil/integration.copyImagesLocal /src/util/testutil/integration/run.go:269 github.com/moby/buildkit/util/testutil/integration.runMirror /src/util/testutil/integration/run.go:358 github.com/moby/buildkit/util/testutil/integration.Run.lazyMirrorRunnerFunc.func3.1 /src/util/testutil/integration/run.go:320 sync.(*Once).doSlow /usr/local/go/src/sync/once.go:76 sync.(*Once).Do /usr/local/go/src/sync/once.go:67 github.com/moby/buildkit/util/testutil/integration.Run.lazyMirrorRunnerFunc.func3 /src/util/testutil/integration/run.go:319 github.com/moby/buildkit/util/testutil/integration.Run.func2.1 /src/util/testutil/integration/run.go:203 testing.tRunner /usr/local/go/src/testing/testing.go:1690 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1700 Test: TestIntegration --- FAIL: TestIntegration (38.33s)
Failed: frontend/dockerfile/TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway: frontend/dockerfile/sandbox.go#L135
=== RUN TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway === PAUSE TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway === CONT TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway 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_config3275040026/buildkitd.toml --root /tmp/bktest_buildkitd1003818620 --addr unix:///tmp/bktest_buildkitd1003818620/buildkitd.sock --debug sandbox.go:138: > StartCmd 2024-11-21 17:26:34.868471792 +0000 UTC m=+3.980008925 /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_config3275040026/buildkitd.toml --root /tmp/bktest_buildkitd1003818620 --addr unix:///tmp/bktest_buildkitd1003818620/buildkitd.sock --debug sandbox.go:138: warning: GOCOVERDIR not set, no coverage data emitted sandbox.go:138: time="2024-11-21T17:26:34Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:138: time="2024-11-21T17:26:34Z" level=debug msg="running in rootless mode" sandbox.go:138: time="2024-11-21T17:26:34Z" level=info msg="found worker \"o6ktlexg442xjax4zbqii8op3\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:abda14c8a6e9 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:138: time="2024-11-21T17:26:34Z" level=info msg="found 1 workers, default=\"o6ktlexg442xjax4zbqii8op3\"" sandbox.go:138: time="2024-11-21T17:26:34Z" level=warning msg="currently, only the default worker can be used." sandbox.go:138: time="2024-11-21T17:26:34Z" level=info msg="running server on /tmp/bktest_buildkitd1003818620/buildkitd.sock" sandbox.go:138: time="2024-11-21T17:26:34Z" level=debug msg="session started" spanID=f0bd69acfbe96e3d traceID=0028e618f3685141cad473ab7b61da25 sandbox.go:138: time="2024-11-21T17:26:34Z" level=debug msg="checked for cached auth handler namespace" cached=false key="docker.io/buildkit_test/hvy1ugcotii8659svhm5nc14j::pull" name=docker.io/buildkit_test/hvy1ugcotii8659svhm5nc14j scope=pull sandbox.go:138: time="2024-11-21T17:26:34Z" level=debug msg=resolving span="resolving docker.io/buildkit_test/hvy1ugcotii8659svhm5nc14j:latest" spanID=e564b31e68868901 traceID=d2ad8cfd750bbdee28cb09f21eada4fc sandbox.go:138: time="2024-11-21T17:26:34Z" level=debug msg="do request" request.header.accept="application/vnd.docker.distribution.manifest.v2+json, application/vnd.docker.distribution.manifest.list.v2+json, application/vnd.oci.image.manifest.v1+json, application/vnd.oci.image.index.v1+json, */*" request.header.user-agent=buildkit/v0.0.0+unknown request.method=HEAD span="resolving docker.io/buildkit_test/hvy1ugcotii8659svhm5nc14j:latest" spanID=e564b31e68868901 traceID=d2ad8cfd750bbdee28cb09f21eada4fc sandbox.go:138: time="2024-11-21T17:26:34Z" level=debug msg="fetch response received" response.header.content-length=482 response.header.content-type=application/vnd.oci.image.manifest.v1+json response.header.date="Thu, 21 Nov 2024 17:26:34 GMT" response.header.docker-content-digest="sha256:c910b0c641c8513e3d8ebbdcda112df2b002a910705569bf3d9c034446edb63d" response.header.docker-distribution-api-version=registry/2.0 response.header.etag="\"sha256:c910b0c641c8513e3d8ebbdcda112df2b002a910705569bf3d9c034446edb63d\"" response.status="200 OK" span="resolving docker.io/buildkit_test/hvy1ugcotii8659svhm5nc14j:latest" spanID=e564b31e68868901
Failed: frontend/dockerfile/TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway/warntype=progress#04: frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway/warntype=progress#04 dockerfile_lint_test.go:1645: expected no error, received: failed to solve: busybox:stable-musl: failed to copy: httpReadSeeker: failed open: content at http://localhost:46187/v2/library/busybox/manifests/sha256:0fc05e424940109068f4d6562b699da2563cd8521a35d7b216a5b0c51fb29281?ns=docker.io not found: not found dockerfile_lint_test.go:1645: Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1569 /src/frontend/dockerfile/dockerfile_lint_test.go:1645 Error: Received unexpected error: busybox:stable-musl: failed to copy: httpReadSeeker: failed open: content at http://localhost:46187/v2/library/busybox/manifests/sha256:0fc05e424940109068f4d6562b699da2563cd8521a35d7b216a5b0c51fb29281?ns=docker.io not found: not found 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/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway/warntype=progress#04 --- FAIL: TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway/warntype=progress#04 (1.86s)
Failed: frontend/dockerfile/TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway/warntype=unmarshal#04: frontend/dockerfile/dockerfile_lint_test.go#L1474
=== RUN TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway/warntype=unmarshal#04 dockerfile_lint_test.go:1474: Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1474 /src/frontend/gateway/grpcclient/client.go:215 /src/client/build.go:58 /src/client/solve.go:295 /src/vendor/golang.org/x/sync/errgroup/errgroup.go:78 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Expected nil, but got: &lint.BuildError{Message:"busybox:stable-musl: failed to resolve source metadata for docker.io/library/busybox:stable-musl: failed to copy: httpReadSeeker: failed open: content at http://localhost:46187/v2/library/busybox/manifests/sha256:0fc05e424940109068f4d6562b699da2563cd8521a35d7b216a5b0c51fb29281?ns=docker.io not found: not found", Location:pb.Location{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(nil)}, sizeCache:0, unknownFields:[]uint8(nil), SourceIndex:0, Ranges:[]*pb.Range{(*pb.Range)(0xc00088f0c0)}}} Test: TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway/warntype=unmarshal#04 dockerfile_lint_test.go:1518: Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1518 /src/frontend/dockerfile/dockerfile_lint_test.go:1649 Error: Should be true Test: TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway/warntype=unmarshal#04 --- FAIL: TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway/warntype=unmarshal#04 (1.42s)
Failed: frontend/dockerfile/TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway/warntype=progress#05: frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway/warntype=progress#05 dockerfile_lint_test.go:1645: expected no error, received: failed to solve: busybox:stable-musl: failed to copy: httpReadSeeker: failed open: content at http://localhost:46187/v2/library/busybox/manifests/sha256:0fc05e424940109068f4d6562b699da2563cd8521a35d7b216a5b0c51fb29281?ns=docker.io not found: not found dockerfile_lint_test.go:1645: Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1569 /src/frontend/dockerfile/dockerfile_lint_test.go:1645 Error: Received unexpected error: busybox:stable-musl: failed to copy: httpReadSeeker: failed open: content at http://localhost:46187/v2/library/busybox/manifests/sha256:0fc05e424940109068f4d6562b699da2563cd8521a35d7b216a5b0c51fb29281?ns=docker.io not found: not found 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/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway/warntype=progress#05 --- FAIL: TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway/warntype=progress#05 (1.60s)
Failed: frontend/dockerfile/TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway/warntype=unmarshal#05: frontend/dockerfile/dockerfile_lint_test.go#L1474
=== RUN TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway/warntype=unmarshal#05 dockerfile_lint_test.go:1474: Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1474 /src/frontend/gateway/grpcclient/client.go:215 /src/client/build.go:58 /src/client/solve.go:295 /src/vendor/golang.org/x/sync/errgroup/errgroup.go:78 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Expected nil, but got: &lint.BuildError{Message:"busybox:stable-musl: failed to resolve source metadata for docker.io/library/busybox:stable-musl: failed to copy: httpReadSeeker: failed open: content at http://localhost:46187/v2/library/busybox/manifests/sha256:0fc05e424940109068f4d6562b699da2563cd8521a35d7b216a5b0c51fb29281?ns=docker.io not found: not found", Location:pb.Location{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(nil)}, sizeCache:0, unknownFields:[]uint8(nil), SourceIndex:0, Ranges:[]*pb.Range{(*pb.Range)(0xc000bda340)}}} Test: TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway/warntype=unmarshal#05 dockerfile_lint_test.go:1518: Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1518 /src/frontend/dockerfile/dockerfile_lint_test.go:1649 Error: Should be true Test: TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway/warntype=unmarshal#05 --- FAIL: TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-rootless/frontend=gateway/warntype=unmarshal#05 (1.46s)
test / run (oci-rootless, ./frontend/dockerfile, dockerfile)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
moby~buildkit~2DG6A0.dockerbuild
115 KB
moby~buildkit~2RA0EA.dockerbuild
114 KB
moby~buildkit~4D480C.dockerbuild
114 KB
moby~buildkit~6R7SND.dockerbuild
116 KB
moby~buildkit~7PJYR6.dockerbuild
114 KB
moby~buildkit~85HCCY.dockerbuild
114 KB
moby~buildkit~CBL674.dockerbuild
115 KB
moby~buildkit~K9WRPW.dockerbuild
114 KB
moby~buildkit~LO1TAN.dockerbuild
115 KB
moby~buildkit~LYSVCG.dockerbuild
116 KB
moby~buildkit~Q2L52Z.dockerbuild
115 KB
moby~buildkit~T6M74L.dockerbuild
115 KB
moby~buildkit~TFRTCX.dockerbuild
117 KB
moby~buildkit~TMD49F.dockerbuild
115 KB
moby~buildkit~TSU0GW.dockerbuild
118 KB
moby~buildkit~V4QQRP.dockerbuild
115 KB
moby~buildkit~XWN69X.dockerbuild
115 KB
moby~buildkit~YL4O16.dockerbuild
114 KB
moby~buildkit~YOZQOO.dockerbuild
116 KB
test-reports-run-frontenddockerfile--dockerfile-containerd-
402 KB
test-reports-run-frontenddockerfile--dockerfile-containerd-16-
403 KB
test-reports-run-frontenddockerfile--dockerfile-containerd-17-
403 KB
test-reports-run-frontenddockerfile--dockerfile-containerd-rootless-
270 KB
test-reports-run-frontenddockerfile--dockerfile-containerd-snapshotter-stargz-
403 KB
test-reports-run-frontenddockerfile--dockerfile-oci-
403 KB
test-reports-run-frontenddockerfile--dockerfile-oci-rootless-
61.4 KB
test-reports-run-frontenddockerfile--dockerfile-oci-rootless-slirp4netns-detachnetns-
271 KB
test-reports-run-frontenddockerfile--dockerfile-oci-snapshotter-stargz-
403 KB
test-reports-run-frontenddockerfile--integration-containerd-
434 KB
test-reports-run-frontenddockerfile--integration-containerd-16-
434 KB
test-reports-run-frontenddockerfile--integration-containerd-17-
435 KB
test-reports-run-frontenddockerfile--integration-containerd-rootless-
301 KB
test-reports-run-frontenddockerfile--integration-containerd-snapshotter-stargz-
435 KB
test-reports-run-frontenddockerfile--integration-oci-
434 KB
test-reports-run-frontenddockerfile--integration-oci-rootless-
301 KB
test-reports-run-frontenddockerfile--integration-oci-rootless-slirp4netns-detachnetns-
302 KB
test-reports-run-frontenddockerfile--integration-oci-snapshotter-stargz-
435 KB