Merge pull request #5517 from jsternberg/deterministic-llb-for-gateway #4923
frontend.yml
on: push
prepare
0s
test
/
prepare
1m 56s
Matrix: test / run
Matrix: image
Matrix: scout
release
0s
Annotations
7 errors
Failed: frontend/dockerfile/TestIntegration:
frontend/dockerfile/run.go#L272
=== RUN TestIntegration
run.go:272: copied local:/labs.tar to local mirror localhost:45703/buildkit_test/l4uha8feyyozpi849a9knvhkt:latest
run.go:272: copied docker.io/tonistiigi/hellofs:latest to local mirror localhost:44769/tonistiigi/hellofs:latest
--- FAIL: TestIntegration (0.05s)
|
Failed: frontend/dockerfile/TestIntegration/TestInvalidDefaultArgInFrom/worker=oci/frontend=gateway:
frontend/dockerfile/sandbox.go#L135
=== RUN TestIntegration/TestInvalidDefaultArgInFrom/worker=oci/frontend=gateway
=== PAUSE TestIntegration/TestInvalidDefaultArgInFrom/worker=oci/frontend=gateway
=== CONT TestIntegration/TestInvalidDefaultArgInFrom/worker=oci/frontend=gateway
sandbox.go:135: stdout: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config665869364/buildkitd.toml --root /tmp/bktest_buildkitd2778671690 --addr unix:///tmp/bktest_buildkitd2778671690/buildkitd.sock --debug
sandbox.go:135: stderr: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config665869364/buildkitd.toml --root /tmp/bktest_buildkitd2778671690 --addr unix:///tmp/bktest_buildkitd2778671690/buildkitd.sock --debug
sandbox.go:138: > StartCmd 2024-11-21 18:01:05.995290329 +0000 UTC m=+38.922479455 /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config665869364/buildkitd.toml --root /tmp/bktest_buildkitd2778671690 --addr unix:///tmp/bktest_buildkitd2778671690/buildkitd.sock --debug
sandbox.go:138: time="2024-11-21T18:01:06Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:138: time="2024-11-21T18:01:06Z" level=debug msg="could not read \"/tmp/bktest_buildkitd2778671690/net/cni\" for cleanup: open /tmp/bktest_buildkitd2778671690/net/cni: no such file or directory"
sandbox.go:138: time="2024-11-21T18:01:06Z" level=debug msg="creating new network namespace 40lpcle5jbr6t7e1rt5o8ex35"
sandbox.go:138: time="2024-11-21T18:01:06Z" level=debug msg="finished creating network namespace 40lpcle5jbr6t7e1rt5o8ex35"
sandbox.go:138: time="2024-11-21T18:01:06Z" level=debug msg="finished setting up network namespace 40lpcle5jbr6t7e1rt5o8ex35"
sandbox.go:138: time="2024-11-21T18:01:06Z" level=info msg="found worker \"4774rxopa7jb3avrdbnwqkv36\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:3301f69e8f68 org.mobyproject.buildkit.worker.network:cni 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-21T18:01:06Z" level=info msg="found 1 workers, default=\"4774rxopa7jb3avrdbnwqkv36\""
sandbox.go:138: time="2024-11-21T18:01:06Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:138: time="2024-11-21T18:01:06Z" level=info msg="running server on /tmp/bktest_buildkitd2778671690/buildkitd.sock"
sandbox.go:138: time="2024-11-21T18:01:06Z" level=debug msg="session started" spanID=4c2e6ae1637e9c42 traceID=84173e41faa3c9352b2379cca48a91eb
sandbox.go:138: time="2024-11-21T18:01:06Z" level=debug msg="checked for cached auth handler namespace" cached=false key="docker.io/buildkit_test/l4uha8feyyozpi849a9knvhkt::pull" name=docker.io/buildkit_test/l4uha8feyyozpi849a9knvhkt scope=pull
sandbox.go:138: time="2024-11-21T18:01:06Z" level=debug msg=resolving span="resolving docker.io/buildkit_test/l4uha8feyyozpi849a9knvhkt:latest" spanID=95eddbf0990e994a traceID=3fa8e6cab9ca04a507765142f1ff1c03
sandbox.go:138: time="2024-11-21T18:01:06Z" 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/l4uha8feyyozpi849a9knvhkt:latest" spanID=95eddbf0990e994a traceID=3fa8e6cab9ca04a5
|
Failed: frontend/dockerfile/TestIntegration/TestInvalidDefaultArgInFrom/worker=oci/frontend=gateway/warntype=progress#04:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestInvalidDefaultArgInFrom/worker=oci/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:43467/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:43467/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/frontend=gateway/warntype=progress#04
--- FAIL: TestIntegration/TestInvalidDefaultArgInFrom/worker=oci/frontend=gateway/warntype=progress#04 (0.37s)
|
Failed: frontend/dockerfile/TestIntegration/TestInvalidDefaultArgInFrom/worker=oci/frontend=gateway/warntype=unmarshal#04:
frontend/dockerfile/dockerfile_lint_test.go#L1474
=== RUN TestIntegration/TestInvalidDefaultArgInFrom/worker=oci/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:43467/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)(0xc000a3abc0)}}}
Test: TestIntegration/TestInvalidDefaultArgInFrom/worker=oci/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/frontend=gateway/warntype=unmarshal#04
--- FAIL: TestIntegration/TestInvalidDefaultArgInFrom/worker=oci/frontend=gateway/warntype=unmarshal#04 (0.19s)
|
Failed: frontend/dockerfile/TestIntegration/TestInvalidDefaultArgInFrom/worker=oci/frontend=gateway/warntype=progress#05:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestInvalidDefaultArgInFrom/worker=oci/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:43467/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:43467/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/frontend=gateway/warntype=progress#05
--- FAIL: TestIntegration/TestInvalidDefaultArgInFrom/worker=oci/frontend=gateway/warntype=progress#05 (0.32s)
|
Failed: frontend/dockerfile/TestIntegration/TestInvalidDefaultArgInFrom/worker=oci/frontend=gateway/warntype=unmarshal#05:
frontend/dockerfile/dockerfile_lint_test.go#L1474
=== RUN TestIntegration/TestInvalidDefaultArgInFrom/worker=oci/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:43467/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)(0xc000265280)}}}
Test: TestIntegration/TestInvalidDefaultArgInFrom/worker=oci/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/frontend=gateway/warntype=unmarshal#05
--- FAIL: TestIntegration/TestInvalidDefaultArgInFrom/worker=oci/frontend=gateway/warntype=unmarshal#05 (0.23s)
|
test / run (oci, ./frontend/dockerfile, dockerfile)
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
moby~buildkit~002Q9R.dockerbuild
|
114 KB |
|
moby~buildkit~42QNJ4.dockerbuild
|
114 KB |
|
moby~buildkit~88TVEI.dockerbuild
|
117 KB |
|
moby~buildkit~951T6E.dockerbuild
|
114 KB |
|
moby~buildkit~95L4H0.dockerbuild
|
115 KB |
|
moby~buildkit~GLUVU2.dockerbuild
|
116 KB |
|
moby~buildkit~IIB0FW.dockerbuild
|
115 KB |
|
moby~buildkit~J0J4SP.dockerbuild
|
118 KB |
|
moby~buildkit~JR31P6.dockerbuild
|
116 KB |
|
moby~buildkit~PL2I9D.dockerbuild
|
115 KB |
|
moby~buildkit~S9J284.dockerbuild
|
116 KB |
|
moby~buildkit~TCVJDU.dockerbuild
|
117 KB |
|
moby~buildkit~VPC277.dockerbuild
|
115 KB |
|
moby~buildkit~VTSK5R.dockerbuild
|
115 KB |
|
moby~buildkit~WEX191.dockerbuild
|
114 KB |
|
moby~buildkit~WZRJED.dockerbuild
|
116 KB |
|
moby~buildkit~XPNI2O.dockerbuild
|
115 KB |
|
moby~buildkit~Y2M6SL.dockerbuild
|
117 KB |
|
moby~buildkit~ZE8SI8.dockerbuild
|
116 KB |
|
test-reports-run-frontenddockerfile--dockerfile-containerd-
|
403 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-
|
425 KB |
|
test-reports-run-frontenddockerfile--dockerfile-oci-rootless-
|
270 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-
|
435 KB |
|
test-reports-run-frontenddockerfile--integration-containerd-16-
|
435 KB |
|
test-reports-run-frontenddockerfile--integration-containerd-17-
|
434 KB |
|
test-reports-run-frontenddockerfile--integration-containerd-rootless-
|
300 KB |
|
test-reports-run-frontenddockerfile--integration-containerd-snapshotter-stargz-
|
435 KB |
|
test-reports-run-frontenddockerfile--integration-oci-
|
435 KB |
|
test-reports-run-frontenddockerfile--integration-oci-rootless-
|
301 KB |
|
test-reports-run-frontenddockerfile--integration-oci-rootless-slirp4netns-detachnetns-
|
301 KB |
|
test-reports-run-frontenddockerfile--integration-oci-snapshotter-stargz-
|
435 KB |
|