Remove globals & refactor into structs #165
Annotations
11 errors and 1 warning
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L4687
=== RUN TestIntegration/TestTarContext/worker=oci-rootless/frontend=client
=== PAUSE TestIntegration/TestTarContext/worker=oci-rootless/frontend=client
=== CONT TestIntegration/TestTarContext/worker=oci-rootless/frontend=client
dockerfile_test.go:4687:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:4687
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Received unexpected error:
failed to read dockerfile: rpc error: code = Unknown desc = no http response from session for uuc5xh1lnqonusmuujg4owiji
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/TestTarContext/worker=oci-rootless/frontend=client
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_config2324392332/buildkitd.toml --root /tmp/bktest_buildkitd3438288314 --addr unix:///tmp/bktest_buildkitd3438288314/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-21 23:28:49.953686691 +0000 UTC m=+1.476435358 /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_config2324392332/buildkitd.toml --root /tmp/bktest_buildkitd3438288314 --addr unix:///tmp/bktest_buildkitd3438288314/buildkitd.sock --debug
sandbox.go:131: time="2024-03-21T23:28:50Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-21T23:28:50Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-21T23:28:50Z" level=info msg="found worker \"xzib38aab6svx1xpj5db8l1db\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:92fd45749ddd 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-21T23:28:50Z" level=info msg="found 1 workers, default=\"xzib38aab6svx1xpj5db8l1db\""
sandbox.go:131: time="2024-03-21T23:28:50Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-21T23:28:50Z" level=info msg="running server on /tmp/bktest_buildkitd3438288314/b
|
Generate annotations:
frontend/dockerfile/dockerfile_mount_test.go#L132
=== RUN TestIntegration/TestMountInvalid/worker=oci-rootless/frontend=builtin
=== PAUSE TestIntegration/TestMountInvalid/worker=oci-rootless/frontend=builtin
=== CONT TestIntegration/TestMountInvalid/worker=oci-rootless/frontend=builtin
dockerfile_mount_test.go:132:
Error Trace: /src/frontend/dockerfile/dockerfile_mount_test.go:132
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: "failed to solve: dockerfile parse error on line 3: unknown flag: mont (did you mean mount?)" does not contain "unexpected key 'typ'"
Test: TestIntegration/TestMountInvalid/worker=oci-rootless/frontend=builtin
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_config418493163/buildkitd.toml --root /tmp/bktest_buildkitd3663925842 --addr unix:///tmp/bktest_buildkitd3663925842/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_config418493163/buildkitd.toml --root /tmp/bktest_buildkitd3663925842 --addr unix:///tmp/bktest_buildkitd3663925842/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-21 23:28:58.700008939 +0000 UTC m=+10.222757597 /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_config418493163/buildkitd.toml --root /tmp/bktest_buildkitd3663925842 --addr unix:///tmp/bktest_buildkitd3663925842/buildkitd.sock --debug
sandbox.go:131: time="2024-03-21T23:28:58Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-21T23:28:58Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-21T23:28:58Z" level=info msg="found worker \"8makk92xr59wxt3qhgs98agll\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:92fd45749ddd 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-21T23:28:58Z" level=info msg="found 1 workers, default=\"8makk92xr59wxt3qhgs98agll\""
sandbox.go:131: time="2024-03-21T23:28:58Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-21T23:28:58Z" level=info msg="running server on /tmp/bktest_buildkitd3663925842/buildkitd.sock"
sandbox.go:131: time="2024-03-21T23:28:58Z" level=debug msg="session started" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 spanID=1b198ece87b80c31 traceID=dd12b663bb64cb09a2cab5ec80dd1470 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:28:58Z" level=debug msg="new ref for local: olpj992bpi3z2t1zv54nv8djt" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 span="[internal] load build definition from Dockerfile" spanID=a5cbef6a5e9414ed traceID=c5ad088f71cd9b0d88ea35f6c5388300 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:28:58Z" level=debug msg="diffcopy took: 2.330239ms" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 span="[internal] load build definition from Dockerfile" spanID=9db647fe97174765 traceID=c5ad088f71cd9b0d88ea35f6c5388300 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:28:58Z" level=debug msg="saved olpj992bpi3z2t1zv54nv8djt as dockerfile:dockerfile:" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 span="[internal] load build definition from Dockerfile" spanID=a5cbef6a5e9414ed traceID=
|
Generate annotations:
frontend/dockerfile/dockerfile_mount_test.go#L132
=== RUN TestIntegration/TestMountInvalid/worker=oci-rootless/frontend=client
=== PAUSE TestIntegration/TestMountInvalid/worker=oci-rootless/frontend=client
=== CONT TestIntegration/TestMountInvalid/worker=oci-rootless/frontend=client
dockerfile_mount_test.go:132:
Error Trace: /src/frontend/dockerfile/dockerfile_mount_test.go:132
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: "failed to solve: dockerfile parse error on line 3: unknown flag: mont (did you mean mount?)" does not contain "unexpected key 'typ'"
Test: TestIntegration/TestMountInvalid/worker=oci-rootless/frontend=client
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_config444885627/buildkitd.toml --root /tmp/bktest_buildkitd2948852632 --addr unix:///tmp/bktest_buildkitd2948852632/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_config444885627/buildkitd.toml --root /tmp/bktest_buildkitd2948852632 --addr unix:///tmp/bktest_buildkitd2948852632/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-21 23:28:50.155446245 +0000 UTC m=+1.678194892 /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_config444885627/buildkitd.toml --root /tmp/bktest_buildkitd2948852632 --addr unix:///tmp/bktest_buildkitd2948852632/buildkitd.sock --debug
sandbox.go:131: time="2024-03-21T23:28:50Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-21T23:28:50Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-21T23:28:50Z" level=info msg="found worker \"z5l3ett7z2ky3gn08mednbyrz\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:92fd45749ddd 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-21T23:28:50Z" level=info msg="found 1 workers, default=\"z5l3ett7z2ky3gn08mednbyrz\""
sandbox.go:131: time="2024-03-21T23:28:50Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-21T23:28:50Z" level=info msg="running server on /tmp/bktest_buildkitd2948852632/buildkitd.sock"
sandbox.go:131: time="2024-03-21T23:28:50Z" level=debug msg="session started" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 spanID=5ffdfb4bb6c5bdc9 traceID=c0a52887a02608bee63e7c4e4fc5c28d version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:28:50Z" level=debug msg="new ref for local: fatkanmddqwhphaoi8ovj791k" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 span="[internal] load build definition from Dockerfile" spanID=445a0269756746ca traceID=8771ac6bc5e90a6bb2b7350a432e1adb version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:28:50Z" level=debug msg="diffcopy took: 1.523094ms" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 span="[internal] load build definition from Dockerfile" spanID=5819de0d57780f72 traceID=8771ac6bc5e90a6bb2b7350a432e1adb version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:28:50Z" level=debug msg="saved fatkanmddqwhphaoi8ovj791k as dockerfile:dockerfile:" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 span="[internal] load build definition from Dockerfile" spanID=445a0269756746ca traceID=8771a
|
Generate annotations:
frontend/dockerfile/dockerfile_heredoc_test.go#L667
=== RUN TestIntegration/TestOnBuildHeredoc/worker=oci-rootless/frontend=builtin
=== PAUSE TestIntegration/TestOnBuildHeredoc/worker=oci-rootless/frontend=builtin
=== CONT TestIntegration/TestOnBuildHeredoc/worker=oci-rootless/frontend=builtin
dockerfile_heredoc_test.go:667:
Error Trace: /src/frontend/dockerfile/dockerfile_heredoc_test.go:667
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Received unexpected error:
open /tmp/TestIntegrationTestOnBuildHeredocworker=oci-rootlessfrontend=builtin1508721309/001/dest: no such file or directory
Test: TestIntegration/TestOnBuildHeredoc/worker=oci-rootless/frontend=builtin
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_config3620171286/buildkitd.toml --root /tmp/bktest_buildkitd4197247705 --addr unix:///tmp/bktest_buildkitd4197247705/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_config3620171286/buildkitd.toml --root /tmp/bktest_buildkitd4197247705 --addr unix:///tmp/bktest_buildkitd4197247705/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-21 23:28:51.887863415 +0000 UTC m=+3.410612073 /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_config3620171286/buildkitd.toml --root /tmp/bktest_buildkitd4197247705 --addr unix:///tmp/bktest_buildkitd4197247705/buildkitd.sock --debug
sandbox.go:131: time="2024-03-21T23:28:52Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-21T23:28:52Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-21T23:28:52Z" level=info msg="found worker \"mjrv9i0z17eui09bzxl6tgan0\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:92fd45749ddd 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-21T23:28:52Z" level=info msg="found 1 workers, default=\"mjrv9i0z17eui09bzxl6tgan0\""
sandbox.go:131: time="2024-03-21T23:28:52Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-21T23:28:52Z" level=info msg="running server on /tmp/bktest_buildkitd4197247705/buildkitd.sock"
sandbox.go:131: time="2024-03-21T23:28:52Z" level=debug msg="session started" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 spanID=e7059cd7f7ea5f40 traceID=c7854fda303bb91e47e7fd22063ed1ab version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:28:52Z" level=debug msg="new ref for local: p72i3m1yw3ozxmidnocft5yra" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 span="[internal] load build definition from Dockerfile" spanID=f68f3ef375df8c6c traceID=906d5dbc29df335c36d2707e31ad4fa1 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:28:52Z" level=debug msg="diffcopy took: 1.330374ms" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 span="[internal] load build definition from Dockerfile" spanID=e7a80fbeb2d3f479 traceID=906d5dbc29df335c36d2707e31ad4fa1 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:28:52Z" level=debug msg="saved p72i3m1yw3ozxmidnocft5yra as dockerfile:dockerfile:" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 span="[internal] load build defini
|
Generate annotations:
frontend/dockerfile/dockerfile_heredoc_test.go#L667
=== RUN TestIntegration/TestOnBuildHeredoc/worker=oci-rootless/frontend=client
=== PAUSE TestIntegration/TestOnBuildHeredoc/worker=oci-rootless/frontend=client
=== CONT TestIntegration/TestOnBuildHeredoc/worker=oci-rootless/frontend=client
dockerfile_heredoc_test.go:667:
Error Trace: /src/frontend/dockerfile/dockerfile_heredoc_test.go:667
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Received unexpected error:
open /tmp/TestIntegrationTestOnBuildHeredocworker=oci-rootlessfrontend=client503096376/001/dest: no such file or directory
Test: TestIntegration/TestOnBuildHeredoc/worker=oci-rootless/frontend=client
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_config2658618448/buildkitd.toml --root /tmp/bktest_buildkitd670663138 --addr unix:///tmp/bktest_buildkitd670663138/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-21 23:28:51.384823644 +0000 UTC m=+2.907572312 /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_config2658618448/buildkitd.toml --root /tmp/bktest_buildkitd670663138 --addr unix:///tmp/bktest_buildkitd670663138/buildkitd.sock --debug
sandbox.go:131: time="2024-03-21T23:28:51Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-21T23:28:51Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-21T23:28:51Z" level=info msg="found worker \"xgz3akqvn80rz94dycaleer2t\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:92fd45749ddd 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-21T23:28:51Z" level=info msg="found 1 workers, default=\"xgz3akqvn80rz94dycaleer2t\""
sandbox.go:131: time="2024-03-21T23:28:51Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-21T23:28:51Z" level=info msg="running server on /tmp/bktest_buildkitd670663138/buildkitd.sock"
sandbox.go:131: time="2024-03-21T23:28:51Z" level=debug msg="session started" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 spanID=95e6fbfd99c86463 traceID=f7d4c59b8c30e3f8dbd7257760b29e94 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:28:51Z" level=debug msg="new ref for local: 5267fyet1umh5x0zk9jmmyoyf" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 span="[internal] load build definition from Dockerfile" spanID=5e5babbe8868dc35 traceID=cecb9a9c748ed75a49afd56bbd12a4de version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:28:51Z" level=debug msg="diffcopy took: 1.338694ms" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 span="[internal] load build definition from Dockerfile" spanID=340f0a9152e4d50b traceID=cecb9a9c748ed75a49afd56bbd12a4de version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:28:51Z" level=debug msg="saved 5267fyet1umh5x0zk9jmmyoyf as dockerfile:dockerfile:" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 span="[internal] load build definition from Dockerfile" spanID=5e5babbe8868dc35 traceID=cecb9a9c748ed75a49afd56bbd12a4de version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:28:51Z" level=error msg="/moby.buildkit.v1.frontend.LLBBridge/ReadFile returned error: rpc error: code = Unknown desc = open Dockerfile.dockerignore: no such file or directory" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 ver
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L6560
=== RUN TestIntegration/TestReproSourceDateEpoch/worker=oci-rootless/frontend=client
=== PAUSE TestIntegration/TestReproSourceDateEpoch/worker=oci-rootless/frontend=client
=== CONT TestIntegration/TestReproSourceDateEpoch/worker=oci-rootless/frontend=client
dockerfile_test.go:6560: SOURCE_DATE_EPOCH=1673354096
dockerfile_test.go:6621:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:6621
/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/TestReproSourceDateEpoch/worker=oci-rootless/frontend=client
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_config3002117632/buildkitd.toml --root /tmp/bktest_buildkitd2390881418 --addr unix:///tmp/bktest_buildkitd2390881418/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_config3002117632/buildkitd.toml --root /tmp/bktest_buildkitd2390881418 --addr unix:///tmp/bktest_buildkitd2390881418/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-21 23:28:50.211535678 +0000 UTC m=+1.734284335 /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_config3002117632/buildkitd.toml --root /tmp/bktest_buildkitd2390881418 --addr unix:///tmp/bktest_buildkitd2390881418/buildkitd.sock --debug
sandbox.go:131: time="2024-03-21T23:28:50Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-21T23:28:50Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-21T23:28:50Z" level=info msg="found worker \"jcbmzxa11ntjns99fl2c6ws12\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:92fd45749ddd 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-21T23:28:50Z" level=info msg="found 1 workers, default=\"jcbmzxa11ntjns99fl2c6ws12\""
sandbox.go:131: time="2024-03-21T23:28:50Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-21T23:28:50Z" level=info msg="running server on /tmp/bktest_buildkitd2390881418/buildkitd.sock"
sandbox.go:131: time="2024-03-21T23:28:50Z" level=debug msg="session started" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 spanID=663455b834c9d003 traceID=d9e637dd2b426fd6e4b7a992f55735d7 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:28:50Z" level=debug msg="skipping invalid cache export mode: " revision=4d3965cd46f8e845769701ce6645699fa2ee2056 spanID=89b266d029fb8879 traceID=42b7d17e30362b9cd4054b9aebfbd57d version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:28:50Z" level=debug msg="new ref for local: ws3q0ty40mikifkxcmvw9qyjf" revision=4d3965cd46f8e8457697
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L6560
=== RUN TestIntegration/TestReproSourceDateEpoch/worker=oci-rootless/frontend=builtin
=== PAUSE TestIntegration/TestReproSourceDateEpoch/worker=oci-rootless/frontend=builtin
=== CONT TestIntegration/TestReproSourceDateEpoch/worker=oci-rootless/frontend=builtin
dockerfile_test.go:6560: SOURCE_DATE_EPOCH=1673354096
dockerfile_test.go:6621:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:6621
/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/TestReproSourceDateEpoch/worker=oci-rootless/frontend=builtin
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_config1477407791/buildkitd.toml --root /tmp/bktest_buildkitd3621424369 --addr unix:///tmp/bktest_buildkitd3621424369/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_config1477407791/buildkitd.toml --root /tmp/bktest_buildkitd3621424369 --addr unix:///tmp/bktest_buildkitd3621424369/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-21 23:28:49.953863174 +0000 UTC m=+1.476611811 /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_config1477407791/buildkitd.toml --root /tmp/bktest_buildkitd3621424369 --addr unix:///tmp/bktest_buildkitd3621424369/buildkitd.sock --debug
sandbox.go:131: time="2024-03-21T23:28:50Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-21T23:28:50Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-21T23:28:50Z" level=info msg="found worker \"ml624upu159wr5ss7xsyaex33\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:92fd45749ddd 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-21T23:28:50Z" level=info msg="found 1 workers, default=\"ml624upu159wr5ss7xsyaex33\""
sandbox.go:131: time="2024-03-21T23:28:50Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-21T23:28:50Z" level=info msg="running server on /tmp/bktest_buildkitd3621424369/buildkitd.sock"
sandbox.go:131: time="2024-03-21T23:28:50Z" level=debug msg="session started" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 spanID=297b168e2a2fb642 traceID=d5084d18d037f149833d5638f3569354 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:28:50Z" level=debug msg="skipping invalid cache export mode: " revision=4d3965cd46f8e845769701ce6645699fa2ee2056 spanID=86a1be46ecd713e8 traceID=5759713bc57812750ef0b28b9d55cc75 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:28:50Z" level=debug msg="new ref for local: i8d8xtewmr3ak1brtyspr5h8l" revision=4d3965cd46f8e845
|
Generate annotations:
frontend/dockerfile/dockerfile_addchecksum_test.go#L93
=== RUN TestIntegration/TestAddChecksum/worker=oci-rootless/frontend=builtin/DigestMismatch
dockerfile_addchecksum_test.go:93:
Error Trace: /src/frontend/dockerfile/dockerfile_addchecksum_test.go:93
Error: An error is expected but got nil.
Test: TestIntegration/TestAddChecksum/worker=oci-rootless/frontend=builtin/DigestMismatch
Messages: digest mismatch
--- FAIL: TestIntegration/TestAddChecksum/worker=oci-rootless/frontend=builtin/DigestMismatch (0.02s)
|
Generate annotations:
frontend/dockerfile/dockerfile_addchecksum_test.go#L110
=== RUN TestIntegration/TestAddChecksum/worker=oci-rootless/frontend=builtin/DigestWithKnownButUnsupportedAlgoName
dockerfile_addchecksum_test.go:110:
Error Trace: /src/frontend/dockerfile/dockerfile_addchecksum_test.go:110
Error: An error is expected but got nil.
Test: TestIntegration/TestAddChecksum/worker=oci-rootless/frontend=builtin/DigestWithKnownButUnsupportedAlgoName
Messages: unsupported digest algorithm
--- FAIL: TestIntegration/TestAddChecksum/worker=oci-rootless/frontend=builtin/DigestWithKnownButUnsupportedAlgoName (0.02s)
|
Generate annotations:
frontend/dockerfile/dockerfile_addchecksum_test.go#L127
=== RUN TestIntegration/TestAddChecksum/worker=oci-rootless/frontend=builtin/DigestWithUnknownAlgoName
dockerfile_addchecksum_test.go:127:
Error Trace: /src/frontend/dockerfile/dockerfile_addchecksum_test.go:127
Error: An error is expected but got nil.
Test: TestIntegration/TestAddChecksum/worker=oci-rootless/frontend=builtin/DigestWithUnknownAlgoName
Messages: unsupported digest algorithm
--- FAIL: TestIntegration/TestAddChecksum/worker=oci-rootless/frontend=builtin/DigestWithUnknownAlgoName (0.02s)
|
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