Remove globals & refactor into structs #166
Annotations
11 errors and 1 warning
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L863
=== RUN TestIntegration/TestCopyWildcardCache/worker=oci-rootless/frontend=gateway
=== PAUSE TestIntegration/TestCopyWildcardCache/worker=oci-rootless/frontend=gateway
=== CONT TestIntegration/TestCopyWildcardCache/worker=oci-rootless/frontend=gateway
dockerfile_test.go:863:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:863
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Should not be: "b9e83fd20346319d70542b2cfac6a5459bc907aadc108f43071a4091884d621a -\n"
Test: TestIntegration/TestCopyWildcardCache/worker=oci-rootless/frontend=gateway
sandbox.go:128: 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_config2291160872/buildkitd.toml --root /tmp/bktest_buildkitd600870575 --addr unix:///tmp/bktest_buildkitd600870575/buildkitd.sock --debug
sandbox.go:128: 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_config2291160872/buildkitd.toml --root /tmp/bktest_buildkitd600870575 --addr unix:///tmp/bktest_buildkitd600870575/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-22 19:33:04.801601019 +0000 UTC m=+22.806259763 /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_config2291160872/buildkitd.toml --root /tmp/bktest_buildkitd600870575 --addr unix:///tmp/bktest_buildkitd600870575/buildkitd.sock --debug
sandbox.go:131: time="2024-03-22T19:33:04Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-22T19:33:04Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-22T19:33:04Z" level=info msg="found worker \"uo6a71i8wx79hvpv1bcho201f\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:89bb023c9a62 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]"
sandbox.go:131: time="2024-03-22T19:33:04Z" level=info msg="found 1 workers, default=\"uo6a71i8wx79hvpv1bcho201f\""
sandbox.go:131: time="2024-03-22T19:33:04Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-22T19:33:04Z" level=info msg="running server on /tmp/bktest_buildkitd600870575/buildkitd.sock"
sandbox.go:131: time="2024-03-22T19:33:04Z" level=debug msg="session started" revision=35ad8c69e100ebbea314cbc8e0398e5731105337 spanID=00f6cc5aad377661 traceID=14d3320fcc2cee2d82df0a8e747d1ab7 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-22T19:33:04Z" level=debug msg=resolving host="localhost:43237"
sandbox.go:131: time="2024-03-22T19:33:04Z" level=debug msg="do request" host="localhost:43237" 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-dev request.method=HEAD url="http://localhost:43237/v2/buildkit_test/1h8sbxa3yqbdbp6t7zetlu3z1/manifests/latest?ns=docker.io"
sandbox.go:131: time="2024-03-22T19:33:04Z" level=debug msg="fetch response received" host="localhost:43237" response.header.content-length=482 response.header.content-type=application/vnd.oci.image.manifest.v1+json response.header.date="Fri, 22 Mar 2024 19:33:04 GMT" response.header.docker-content-digest="sha256:89
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L3881
=== RUN TestIntegration/TestOnBuildCleared/worker=oci-rootless/frontend=gateway
=== PAUSE TestIntegration/TestOnBuildCleared/worker=oci-rootless/frontend=gateway
=== CONT TestIntegration/TestOnBuildCleared/worker=oci-rootless/frontend=gateway
dockerfile_test.go:3881:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:3881
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Received unexpected error:
open /tmp/TestIntegrationTestOnBuildClearedworker=oci-rootlessfrontend=gateway477365692/001/foo: no such file or directory
Test: TestIntegration/TestOnBuildCleared/worker=oci-rootless/frontend=gateway
sandbox.go:128: 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_config1519446115/buildkitd.toml --root /tmp/bktest_buildkitd3061580966 --addr unix:///tmp/bktest_buildkitd3061580966/buildkitd.sock --debug
sandbox.go:128: 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_config1519446115/buildkitd.toml --root /tmp/bktest_buildkitd3061580966 --addr unix:///tmp/bktest_buildkitd3061580966/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-22 19:33:02.761873806 +0000 UTC m=+20.766532540 /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_config1519446115/buildkitd.toml --root /tmp/bktest_buildkitd3061580966 --addr unix:///tmp/bktest_buildkitd3061580966/buildkitd.sock --debug
sandbox.go:131: time="2024-03-22T19:33:02Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-22T19:33:02Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-22T19:33:02Z" level=info msg="found worker \"998698cd2emz5nbalklc9jdiu\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:89bb023c9a62 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]"
sandbox.go:131: time="2024-03-22T19:33:02Z" level=info msg="found 1 workers, default=\"998698cd2emz5nbalklc9jdiu\""
sandbox.go:131: time="2024-03-22T19:33:02Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-22T19:33:02Z" level=info msg="running server on /tmp/bktest_buildkitd3061580966/buildkitd.sock"
sandbox.go:131: time="2024-03-22T19:33:02Z" level=debug msg="session started" revision=35ad8c69e100ebbea314cbc8e0398e5731105337 spanID=11024bfebabcd49b traceID=ca938394f19b9147c965c752d9045bb0 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-22T19:33:02Z" level=debug msg=resolving host="localhost:43237"
sandbox.go:131: time="2024-03-22T19:33:02Z" level=debug msg="do request" host="localhost:43237" 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-dev request.method=HEAD url="http://localhost:43237/v2/buildkit_test/1h8sbxa3yqbdbp6t7zetlu3z1/manifests/latest?ns=docker.io"
sandbox.go:131: time="2024-03-22T19:33:02Z" level=debug msg="fetch response received" host="localhost:43237" response.header.content-length=482 response.header.content-type=application/vnd.oci.image.manifest.v1+json response.header.dat
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L4844
=== RUN TestIntegration/TestFrontendInputs/worker=oci-rootless/frontend=gateway
=== PAUSE TestIntegration/TestFrontendInputs/worker=oci-rootless/frontend=gateway
=== CONT TestIntegration/TestFrontendInputs/worker=oci-rootless/frontend=gateway
dockerfile_test.go:4844:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:4844
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Received unexpected error:
rpc error: code = Unavailable desc = error reading from server: EOF
failed to receive status
github.com/moby/buildkit/client.(*Client).solve.func4
/src/client/solve.go:335
golang.org/x/sync/errgroup.(*Group).Go.func1
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:75
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1650
Test: TestIntegration/TestFrontendInputs/worker=oci-rootless/frontend=gateway
sandbox.go:128: 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_config1731791846/buildkitd.toml --root /tmp/bktest_buildkitd97291032 --addr unix:///tmp/bktest_buildkitd97291032/buildkitd.sock --debug
sandbox.go:128: 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_config1731791846/buildkitd.toml --root /tmp/bktest_buildkitd97291032 --addr unix:///tmp/bktest_buildkitd97291032/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-22 19:33:02.35331493 +0000 UTC m=+20.357973694 /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_config1731791846/buildkitd.toml --root /tmp/bktest_buildkitd97291032 --addr unix:///tmp/bktest_buildkitd97291032/buildkitd.sock --debug
sandbox.go:131: time="2024-03-22T19:33:02Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-22T19:33:02Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-22T19:33:02Z" level=info msg="found worker \"x9q87815jj1oziubfnsjncq94\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:89bb023c9a62 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]"
sandbox.go:131: time="2024-03-22T19:33:02Z" level=info msg="found 1 workers, default=\"x9q87815jj1oziubfnsjncq94\""
sandbox.go:131: time="2024-03-22T19:33:02Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-22T19:33:02Z" level=info msg="running server on /tmp/bktest_buildkitd97291032/buildkitd.sock"
sandbox.go:131: time="2024-03-22T19:33:02Z" level=debug msg="session started" revision=35ad8c69e100ebbea314cbc8e0398e5731105337 spanID=35c1816046a9bd5e traceID=b0a20e9eafd699299593bb3666a98cce version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-22T19:33:02Z" level=debug msg=resolving host="localhost:43237"
sandbox.go:131: time="2024-03-22T19:33:02Z" level=debug msg="do request" host="localhost:43237" 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-dev request.metho
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L474
=== RUN TestIntegration/TestExportCacheLoop/worker=oci-rootless/frontend=gateway
=== PAUSE TestIntegration/TestExportCacheLoop/worker=oci-rootless/frontend=gateway
=== CONT TestIntegration/TestExportCacheLoop/worker=oci-rootless/frontend=gateway
dockerfile_test.go:474:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:474
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Received unexpected error:
rpc error: code = Unavailable desc = error reading from server: EOF
failed to receive status
github.com/moby/buildkit/client.(*Client).solve.func4
/src/client/solve.go:335
golang.org/x/sync/errgroup.(*Group).Go.func1
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:75
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1650
Test: TestIntegration/TestExportCacheLoop/worker=oci-rootless/frontend=gateway
sandbox.go:128: 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_config2759234369/buildkitd.toml --root /tmp/bktest_buildkitd901735423 --addr unix:///tmp/bktest_buildkitd901735423/buildkitd.sock --debug
sandbox.go:128: 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_config2759234369/buildkitd.toml --root /tmp/bktest_buildkitd901735423 --addr unix:///tmp/bktest_buildkitd901735423/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-22 19:33:00.811871257 +0000 UTC m=+18.816530022 /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_config2759234369/buildkitd.toml --root /tmp/bktest_buildkitd901735423 --addr unix:///tmp/bktest_buildkitd901735423/buildkitd.sock --debug
sandbox.go:131: time="2024-03-22T19:33:00Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-22T19:33:00Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-22T19:33:00Z" level=info msg="found worker \"yhbnztwpspj0v028g4sxrtadr\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:89bb023c9a62 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]"
sandbox.go:131: time="2024-03-22T19:33:00Z" level=info msg="found 1 workers, default=\"yhbnztwpspj0v028g4sxrtadr\""
sandbox.go:131: time="2024-03-22T19:33:00Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-22T19:33:00Z" level=info msg="running server on /tmp/bktest_buildkitd901735423/buildkitd.sock"
sandbox.go:131: time="2024-03-22T19:33:00Z" level=debug msg="session started" revision=35ad8c69e100ebbea314cbc8e0398e5731105337 spanID=f0ce4f3b5e3360c2 traceID=a9966fee3a926bcf1508e02386f815e8 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-22T19:33:00Z" level=debug msg="skipping invalid cache export mode: " revision=35ad8c69e100ebbea314cbc8e0398e5731105337 spanID=3d888bc990401118 traceID=a62a6547de899fb297c31754b317fdb9 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-22T19:33:00Z" level=debug msg=resolving host="localhost:43237"
sandbox.go:131: time="2024-03-22T19:33:00Z" level=debug msg="do request" host="localhost:43237" request.header.accept="ap
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L3780
=== RUN TestIntegration/TestWildcardRenameCache/worker=oci-rootless/frontend=gateway
=== PAUSE TestIntegration/TestWildcardRenameCache/worker=oci-rootless/frontend=gateway
=== CONT TestIntegration/TestWildcardRenameCache/worker=oci-rootless/frontend=gateway
dockerfile_test.go:3780:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:3780
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: An error is expected but got nil.
Test: TestIntegration/TestWildcardRenameCache/worker=oci-rootless/frontend=gateway
sandbox.go:128: 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_config537394595/buildkitd.toml --root /tmp/bktest_buildkitd3497460095 --addr unix:///tmp/bktest_buildkitd3497460095/buildkitd.sock --debug
sandbox.go:128: 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_config537394595/buildkitd.toml --root /tmp/bktest_buildkitd3497460095 --addr unix:///tmp/bktest_buildkitd3497460095/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-22 19:33:00.277442435 +0000 UTC m=+18.282101199 /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_config537394595/buildkitd.toml --root /tmp/bktest_buildkitd3497460095 --addr unix:///tmp/bktest_buildkitd3497460095/buildkitd.sock --debug
sandbox.go:131: time="2024-03-22T19:33:00Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-22T19:33:00Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-22T19:33:00Z" level=info msg="found worker \"ibj8s61lytlqus8w2iglfdxfy\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:89bb023c9a62 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]"
sandbox.go:131: time="2024-03-22T19:33:00Z" level=info msg="found 1 workers, default=\"ibj8s61lytlqus8w2iglfdxfy\""
sandbox.go:131: time="2024-03-22T19:33:00Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-22T19:33:00Z" level=info msg="running server on /tmp/bktest_buildkitd3497460095/buildkitd.sock"
sandbox.go:131: time="2024-03-22T19:33:00Z" level=debug msg="session started" revision=35ad8c69e100ebbea314cbc8e0398e5731105337 spanID=8f21e3b6e4638fd5 traceID=46447dbd6b47be15bf286c32c54ac4da version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-22T19:33:00Z" level=debug msg=resolving host="localhost:43237"
sandbox.go:131: time="2024-03-22T19:33:00Z" level=debug msg="do request" host="localhost:43237" 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-dev request.method=HEAD url="http://localhost:43237/v2/buildkit_test/1h8sbxa3yqbdbp6t7zetlu3z1/manifests/latest?ns=docker.io"
sandbox.go:131: time="2024-03-22T19:33:00Z" level=debug msg="fetch response received" host="localhost:43237" response.header.content-length=482 response.header.content-type=application/vnd.oci.image.manifest.v1+json response.header.date="Fri, 22 Mar 2024 19:33:00 GMT" response.header.docker-content-digest="sha256:89a107d580381ab2ea2d8e40db5d9cb1daa7bdcef
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L5249
=== RUN TestIntegration/TestNamedImageContext/worker=oci-rootless/frontend=gateway
=== PAUSE TestIntegration/TestNamedImageContext/worker=oci-rootless/frontend=gateway
=== CONT TestIntegration/TestNamedImageContext/worker=oci-rootless/frontend=gateway
dockerfile_test.go:5249:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:5249
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Received unexpected error:
process "/bin/sh -c cat /etc/alpine-release > /out" did not complete successfully: exit code: 1
github.com/moby/buildkit/util/stack.Enable
/src/util/stack/stack.go:77
github.com/moby/buildkit/util/grpcerrors.FromGRPC
/src/util/grpcerrors/grpcerrors.go:198
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.pb.go:2579
github.com/moby/buildkit/client.(*Client).solve.func2
/src/client/solve.go:276
golang.org/x/sync/errgroup.(*Group).Go.func1
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:75
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1650
failed to solve
github.com/moby/buildkit/client.(*Client).solve.func2
/src/client/solve.go:291
golang.org/x/sync/errgroup.(*Group).Go.func1
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:75
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1650
Test: TestIntegration/TestNamedImageContext/worker=oci-rootless/frontend=gateway
sandbox.go:128: 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_config2647880836/buildkitd.toml --root /tmp/bktest_buildkitd1876768795 --addr unix:///tmp/bktest_buildkitd1876768795/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-22 19:32:58.992922972 +0000 UTC m=+16.997581736 /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_config2647880836/buildkitd.toml --root /tmp/bktest_buildkitd1876768795 --addr unix:///tmp/bktest_buildkitd1876768795/buildkitd.sock --debug
sandbox.go:131: time="2024-03-22T19:32:59Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-22T19:32:59Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-22T19:32:59Z" level=info msg="found worker \"bptodky53gqyfkp3p4w3inmwd\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:89bb023c9a62 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]"
sandbox.go:131: time="2024-03-22T19:32:59Z" level=info msg="found 1 workers, default=\"bptodky53gqyfkp3p4w3inmwd\""
sandbox.go:131: time="2024-03-22T19:32:59Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-22T19:32:59Z" level=info msg="running server on /tmp/bktest_buildkitd187
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L5688
=== RUN TestIntegration/TestNamedOCILayoutContext/worker=oci-rootless/frontend=gateway
=== PAUSE TestIntegration/TestNamedOCILayoutContext/worker=oci-rootless/frontend=gateway
=== CONT TestIntegration/TestNamedOCILayoutContext/worker=oci-rootless/frontend=gateway
dockerfile_test.go:5688:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:5688
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Received unexpected error:
open /tmp/TestIntegrationTestNamedOCILayoutContextworker=oci-rootlessfrontend=gateway1169902007/002/out: no such file or directory
Test: TestIntegration/TestNamedOCILayoutContext/worker=oci-rootless/frontend=gateway
sandbox.go:128: 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_config1798858817/buildkitd.toml --root /tmp/bktest_buildkitd2003451276 --addr unix:///tmp/bktest_buildkitd2003451276/buildkitd.sock --debug
sandbox.go:128: 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_config1798858817/buildkitd.toml --root /tmp/bktest_buildkitd2003451276 --addr unix:///tmp/bktest_buildkitd2003451276/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-22 19:32:57.532186802 +0000 UTC m=+15.536845556 /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_config1798858817/buildkitd.toml --root /tmp/bktest_buildkitd2003451276 --addr unix:///tmp/bktest_buildkitd2003451276/buildkitd.sock --debug
sandbox.go:131: time="2024-03-22T19:32:57Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-22T19:32:57Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-22T19:32:57Z" level=info msg="found worker \"01bvl2z36uangeya8jq01oevb\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:89bb023c9a62 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]"
sandbox.go:131: time="2024-03-22T19:32:57Z" level=info msg="found 1 workers, default=\"01bvl2z36uangeya8jq01oevb\""
sandbox.go:131: time="2024-03-22T19:32:57Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-22T19:32:57Z" level=info msg="running server on /tmp/bktest_buildkitd2003451276/buildkitd.sock"
sandbox.go:131: time="2024-03-22T19:32:57Z" level=debug msg="session started" revision=35ad8c69e100ebbea314cbc8e0398e5731105337 spanID=9fb1c50e849f9eec traceID=9cc471f6b5988b86a72db024b2eb24e0 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-22T19:32:57Z" level=debug msg=resolving host="localhost:43237"
sandbox.go:131: time="2024-03-22T19:32:57Z" level=debug msg="do request" host="localhost:43237" 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-dev request.method=HEAD url="http://localhost:43237/v2/buildkit_test/1h8sbxa3yqbdbp6t7zetlu3z1/manifests/latest?ns=docker.io"
sandbox.go:131: time="2024-03-22T19:32:57Z" level=debug msg="fetch response received" host="localhost:43237" response.header.content-length=482 response.header.content-type=application/vnd.oci.image.
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L6047
=== RUN TestIntegration/TestNamedMultiplatformInputContext/worker=oci-rootless/frontend=gateway
=== PAUSE TestIntegration/TestNamedMultiplatformInputContext/worker=oci-rootless/frontend=gateway
=== CONT TestIntegration/TestNamedMultiplatformInputContext/worker=oci-rootless/frontend=gateway
dockerfile_test.go:6047:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:6047
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Received unexpected error:
process "/dev/.buildkit_qemu_emulator /bin/sh -c echo \"foo is $FOO\" > /foo" did not complete successfully: exit code: 255
github.com/moby/buildkit/util/stack.Enable
/src/util/stack/stack.go:77
github.com/moby/buildkit/util/grpcerrors.FromGRPC
/src/util/grpcerrors/grpcerrors.go:198
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.pb.go:2579
github.com/moby/buildkit/client.(*Client).solve.func2
/src/client/solve.go:276
golang.org/x/sync/errgroup.(*Group).Go.func1
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:75
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1650
failed to solve
github.com/moby/buildkit/client.(*Client).solve.func2
/src/client/solve.go:291
golang.org/x/sync/errgroup.(*Group).Go.func1
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:75
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1650
Test: TestIntegration/TestNamedMultiplatformInputContext/worker=oci-rootless/frontend=gateway
sandbox.go:128: 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_config2761073479/buildkitd.toml --root /tmp/bktest_buildkitd100610859 --addr unix:///tmp/bktest_buildkitd100610859/buildkitd.sock --debug
sandbox.go:128: 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_config2761073479/buildkitd.toml --root /tmp/bktest_buildkitd100610859 --addr unix:///tmp/bktest_buildkitd100610859/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-22 19:32:56.566637451 +0000 UTC m=+14.571296225 /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_config2761073479/buildkitd.toml --root /tmp/bktest_buildkitd100610859 --addr unix:///tmp/bktest_buildkitd100610859/buildkitd.sock --debug
sandbox.go:131: time="2024-03-22T19:32:56Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-22T19:32:56Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-22T19:32:56Z" level=info msg="found worker \"p54jnbw14zxtuil5ounghx5jp\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:89bb023c9a62 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
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L1537
=== RUN TestIntegration/TestContextChangeDirToFile/worker=oci-rootless/frontend=gateway
=== PAUSE TestIntegration/TestContextChangeDirToFile/worker=oci-rootless/frontend=gateway
=== CONT TestIntegration/TestContextChangeDirToFile/worker=oci-rootless/frontend=gateway
dockerfile_test.go:1537:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:1537
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Received unexpected error:
open /tmp/TestIntegrationTestContextChangeDirToFileworker=oci-rootlessfrontend=gateway3718482598/001/foo: no such file or directory
Test: TestIntegration/TestContextChangeDirToFile/worker=oci-rootless/frontend=gateway
sandbox.go:128: 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_config803566847/buildkitd.toml --root /tmp/bktest_buildkitd2874994998 --addr unix:///tmp/bktest_buildkitd2874994998/buildkitd.sock --debug
sandbox.go:128: 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_config803566847/buildkitd.toml --root /tmp/bktest_buildkitd2874994998 --addr unix:///tmp/bktest_buildkitd2874994998/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-22 19:32:55.057656704 +0000 UTC m=+13.062315438 /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_config803566847/buildkitd.toml --root /tmp/bktest_buildkitd2874994998 --addr unix:///tmp/bktest_buildkitd2874994998/buildkitd.sock --debug
sandbox.go:131: time="2024-03-22T19:32:55Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-22T19:32:55Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-22T19:32:55Z" level=info msg="found worker \"ytv3r5rmibe9gbmhh1r6fuu3o\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:89bb023c9a62 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]"
sandbox.go:131: time="2024-03-22T19:32:55Z" level=info msg="found 1 workers, default=\"ytv3r5rmibe9gbmhh1r6fuu3o\""
sandbox.go:131: time="2024-03-22T19:32:55Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-22T19:32:55Z" level=info msg="running server on /tmp/bktest_buildkitd2874994998/buildkitd.sock"
sandbox.go:131: time="2024-03-22T19:32:55Z" level=debug msg="session started" revision=35ad8c69e100ebbea314cbc8e0398e5731105337 spanID=31176e5abee75f11 traceID=4b66c16086589262608009fdc8efd9e2 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-22T19:32:55Z" level=debug msg=resolving host="localhost:43237"
sandbox.go:131: time="2024-03-22T19:32:55Z" level=debug msg="do request" host="localhost:43237" 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-dev request.method=HEAD url="http://localhost:43237/v2/buildkit_test/1h8sbxa3yqbdbp6t7zetlu3z1/manifests/latest?ns=docker.io"
sandbox.go:131: time="2024-03-22T19:32:55Z" level=debug msg="fetch response received" host="localhost:43237" response.header.content-length=482 response.header.content-type=application/vnd.oci.imag
|
Generate annotations:
frontend/dockerfile/dockerfile_provenance_test.go#L301
=== RUN TestIntegration/TestGitProvenanceAttestation/worker=oci-rootless/frontend=gateway
=== PAUSE TestIntegration/TestGitProvenanceAttestation/worker=oci-rootless/frontend=gateway
=== CONT TestIntegration/TestGitProvenanceAttestation/worker=oci-rootless/frontend=gateway
dockerfile_provenance_test.go:301:
Error Trace: /src/frontend/dockerfile/dockerfile_provenance_test.go:301
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Received unexpected error:
rpc error: code = Unavailable desc = error reading from server: EOF
failed to receive status
github.com/moby/buildkit/client.(*Client).solve.func4
/src/client/solve.go:335
golang.org/x/sync/errgroup.(*Group).Go.func1
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:75
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1650
Test: TestIntegration/TestGitProvenanceAttestation/worker=oci-rootless/frontend=gateway
sandbox.go:128: 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_config2654007824/buildkitd.toml --root /tmp/bktest_buildkitd1872655653 --addr unix:///tmp/bktest_buildkitd1872655653/buildkitd.sock --debug
sandbox.go:131: ACB hack, remote add origin ***127.0.0.1:45437/.git
sandbox.go:128: 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_config2654007824/buildkitd.toml --root /tmp/bktest_buildkitd1872655653 --addr unix:///tmp/bktest_buildkitd1872655653/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-22 19:33:04.861985722 +0000 UTC m=+22.866644477 /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_config2654007824/buildkitd.toml --root /tmp/bktest_buildkitd1872655653 --addr unix:///tmp/bktest_buildkitd1872655653/buildkitd.sock --debug
sandbox.go:131: time="2024-03-22T19:33:04Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-22T19:33:04Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-22T19:33:04Z" level=info msg="found worker \"jjfc4i3vounwjnj1pq2azppxc\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:89bb023c9a62 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]"
sandbox.go:131: time="2024-03-22T19:33:04Z" level=info msg="found 1 workers, default=\"jjfc4i3vounwjnj1pq2azppxc\""
sandbox.go:131: time="2024-03-22T19:33:04Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-22T19:33:04Z" level=info msg="running server on /tmp/bktest_buildkitd1872655653/buildkitd.sock"
sandbox.go:131: time="2024-03-22T19:33:05Z" level=debug msg="session started" revision=35ad8c69e100ebbea314cbc8e0398e5731105337 spanID=b49e539cd22d5b6b traceID=991eb7261df86f46395809d75f5d255d version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-22T19:33:05Z" level=debug msg=resolving host="localhost:43237"
sandbox.go:131: time="2024-03-22T19:33:05Z" level=debug msg="do request" host="localhost:43237" request.header.accept="application/vnd.docker.distribution.manifest.v2+json, application/vnd.docker.distribution.manifest.list.v2+json,
|
Test
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3, actions/github-script@v6, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading