Remove globals & refactor into structs #165
Annotations
11 errors and 1 warning
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L2155
=== RUN TestIntegration/TestDockerfileADDFromURL/worker=oci-rootless/frontend=gateway
=== PAUSE TestIntegration/TestDockerfileADDFromURL/worker=oci-rootless/frontend=gateway
=== CONT TestIntegration/TestDockerfileADDFromURL/worker=oci-rootless/frontend=gateway
dockerfile_test.go:2155:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:2155
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Received unexpected error:
open /tmp/TestIntegrationTestDockerfileADDFromURLworker=oci-rootlessfrontend=gateway132254386/002/dest/__unnamed__: no such file or directory
Test: TestIntegration/TestDockerfileADDFromURL/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_config2540626109/buildkitd.toml --root /tmp/bktest_buildkitd844062507 --addr unix:///tmp/bktest_buildkitd844062507/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_config2540626109/buildkitd.toml --root /tmp/bktest_buildkitd844062507 --addr unix:///tmp/bktest_buildkitd844062507/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-21 23:29:09.45809212 +0000 UTC m=+10.891397718 /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_config2540626109/buildkitd.toml --root /tmp/bktest_buildkitd844062507 --addr unix:///tmp/bktest_buildkitd844062507/buildkitd.sock --debug
sandbox.go:131: time="2024-03-21T23:29:09Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-21T23:29:09Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-21T23:29:09Z" level=info msg="found worker \"thilp8wg0bwsexl8yvqo5p20l\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:7b4300490b65 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:29:09Z" level=info msg="found 1 workers, default=\"thilp8wg0bwsexl8yvqo5p20l\""
sandbox.go:131: time="2024-03-21T23:29:09Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-21T23:29:09Z" level=info msg="running server on /tmp/bktest_buildkitd844062507/buildkitd.sock"
sandbox.go:131: time="2024-03-21T23:29:09Z" level=debug msg="session started" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 spanID=40cd4f04d7b08b65 traceID=0c0e05e9195444893572d88a3c40f23b version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:29:09Z" level=debug msg=resolving host="localhost:44781"
sandbox.go:131: time="2024-03-21T23:29:09Z" level=debug msg="do request" host="localhost:44781" 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:44781/v2/buildkit_test/vwtak7d5y1b15oq9jxnjaywf2/manifests/latest?ns=docker.io"
sandbox.go:131: time="2024-03-21T23:29:09Z" level=debug msg="fetch response received" host="localhost:44781" response.header.content-length=482 response.header.content-type=application/vnd.oci.image.m
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L2257
=== RUN TestIntegration/TestDockerfileAddArchive/worker=oci-rootless/frontend=gateway
=== PAUSE TestIntegration/TestDockerfileAddArchive/worker=oci-rootless/frontend=gateway
=== CONT TestIntegration/TestDockerfileAddArchive/worker=oci-rootless/frontend=gateway
dockerfile_test.go:2257:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:2257
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Received unexpected error:
open /tmp/TestIntegrationTestDockerfileAddArchiveworker=oci-rootlessfrontend=gateway3681901846/003/t.tar.gz: no such file or directory
Test: TestIntegration/TestDockerfileAddArchive/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_config4287346447/buildkitd.toml --root /tmp/bktest_buildkitd4064244259 --addr unix:///tmp/bktest_buildkitd4064244259/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_config4287346447/buildkitd.toml --root /tmp/bktest_buildkitd4064244259 --addr unix:///tmp/bktest_buildkitd4064244259/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-21 23:29:08.764493787 +0000 UTC m=+10.197799415 /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_config4287346447/buildkitd.toml --root /tmp/bktest_buildkitd4064244259 --addr unix:///tmp/bktest_buildkitd4064244259/buildkitd.sock --debug
sandbox.go:131: time="2024-03-21T23:29:08Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-21T23:29:08Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-21T23:29:08Z" level=info msg="found worker \"dmqqlr6orhbg1h6njnddbb4ej\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:7b4300490b65 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:29:08Z" level=info msg="found 1 workers, default=\"dmqqlr6orhbg1h6njnddbb4ej\""
sandbox.go:131: time="2024-03-21T23:29:08Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-21T23:29:08Z" level=info msg="running server on /tmp/bktest_buildkitd4064244259/buildkitd.sock"
sandbox.go:131: time="2024-03-21T23:29:08Z" level=debug msg="session started" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 spanID=6d629abf44467525 traceID=679ae484439a0a854687a987fa68660e version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:29:08Z" level=debug msg=resolving host="localhost:44781"
sandbox.go:131: time="2024-03-21T23:29:08Z" level=debug msg="do request" host="localhost:44781" 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:44781/v2/buildkit_test/vwtak7d5y1b15oq9jxnjaywf2/manifests/latest?ns=docker.io"
sandbox.go:131: time="2024-03-21T23:29:08Z" level=debug msg="fetch response received" host="localhost:44781" response.header.content-length=482 response.header.content-type=application/vnd.oci.image.
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L6789
=== RUN TestIntegration/TestCacheReleased/worker=oci-rootless/frontend=gateway
=== PAUSE TestIntegration/TestCacheReleased/worker=oci-rootless/frontend=gateway
=== CONT TestIntegration/TestCacheReleased/worker=oci-rootless/frontend=gateway
dockerfile_test.go:6789:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:6789
/src/frontend/dockerfile/dockerfile_test.go:653
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Should be true
Test: TestIntegration/TestCacheReleased/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_config1538932835/buildkitd.toml --root /tmp/bktest_buildkitd1985928133 --addr unix:///tmp/bktest_buildkitd1985928133/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_config1538932835/buildkitd.toml --root /tmp/bktest_buildkitd1985928133 --addr unix:///tmp/bktest_buildkitd1985928133/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-21 23:29:07.273093322 +0000 UTC m=+8.706398940 /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_config1538932835/buildkitd.toml --root /tmp/bktest_buildkitd1985928133 --addr unix:///tmp/bktest_buildkitd1985928133/buildkitd.sock --debug
sandbox.go:131: time="2024-03-21T23:29:07Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-21T23:29:07Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-21T23:29:07Z" level=info msg="found worker \"y76ob2ebskhlv166bhc95q46s\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:7b4300490b65 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:29:07Z" level=info msg="found 1 workers, default=\"y76ob2ebskhlv166bhc95q46s\""
sandbox.go:131: time="2024-03-21T23:29:07Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-21T23:29:07Z" level=info msg="running server on /tmp/bktest_buildkitd1985928133/buildkitd.sock"
sandbox.go:131: time="2024-03-21T23:29:07Z" level=debug msg="session started" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 spanID=f68a90dadaff7771 traceID=11d06a9f7e218f2dbe5c73d1ddc8e2b8 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:29:07Z" level=debug msg=resolving host="localhost:44781"
sandbox.go:131: time="2024-03-21T23:29:07Z" level=debug msg="do request" host="localhost:44781" 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:44781/v2/buildkit_test/vwtak7d5y1b15oq9jxnjaywf2/manifests/latest?ns=docker.io"
sandbox.go:131: time="2024-03-21T23:29:07Z" level=debug msg="fetch response received" host="localhost:44781" response.header.content-length=482 response.header.content-type=application/vnd.oci.image.manifest.v1+json response.header.date="Thu, 21 Mar 2024 23:29:07 GMT" response.header.docker-content-digest="sha256:f9829fb4c
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L3624
=== RUN TestIntegration/TestMultiStageImplicitFrom/worker=oci-rootless/frontend=gateway
=== PAUSE TestIntegration/TestMultiStageImplicitFrom/worker=oci-rootless/frontend=gateway
=== CONT TestIntegration/TestMultiStageImplicitFrom/worker=oci-rootless/frontend=gateway
dockerfile_test.go:3624:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:3624
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Received unexpected error:
open /tmp/TestIntegrationTestMultiStageImplicitFromworker=oci-rootlessfrontend=gateway3056478543/002/go: no such file or directory
Test: TestIntegration/TestMultiStageImplicitFrom/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_config3780193309/buildkitd.toml --root /tmp/bktest_buildkitd2247155233 --addr unix:///tmp/bktest_buildkitd2247155233/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_config3780193309/buildkitd.toml --root /tmp/bktest_buildkitd2247155233 --addr unix:///tmp/bktest_buildkitd2247155233/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-21 23:29:06.271939913 +0000 UTC m=+7.705245511 /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_config3780193309/buildkitd.toml --root /tmp/bktest_buildkitd2247155233 --addr unix:///tmp/bktest_buildkitd2247155233/buildkitd.sock --debug
sandbox.go:131: time="2024-03-21T23:29:06Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-21T23:29:06Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-21T23:29:06Z" level=info msg="found worker \"ewnivrsmpc3bta8znuylak7vq\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:7b4300490b65 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:29:06Z" level=info msg="found 1 workers, default=\"ewnivrsmpc3bta8znuylak7vq\""
sandbox.go:131: time="2024-03-21T23:29:06Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-21T23:29:06Z" level=info msg="running server on /tmp/bktest_buildkitd2247155233/buildkitd.sock"
sandbox.go:131: time="2024-03-21T23:29:06Z" level=debug msg="session started" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 spanID=f163775c618ded71 traceID=29cd4b177fbbdfbfb85c0605a5fd7b29 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:29:06Z" level=debug msg=resolving host="localhost:44781"
sandbox.go:131: time="2024-03-21T23:29:06Z" level=debug msg="do request" host="localhost:44781" 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:44781/v2/buildkit_test/vwtak7d5y1b15oq9jxnjaywf2/manifests/latest?ns=docker.io"
sandbox.go:131: time="2024-03-21T23:29:06Z" level=debug msg="fetch response received" host="localhost:44781" response.header.content-length=482 response.header.content-type=application/vnd.oci.ima
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L4166
=== RUN TestIntegration/TestCacheImportExport/worker=oci-rootless/frontend=gateway
=== PAUSE TestIntegration/TestCacheImportExport/worker=oci-rootless/frontend=gateway
=== CONT TestIntegration/TestCacheImportExport/worker=oci-rootless/frontend=gateway
dockerfile_test.go:4166:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:4166
/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/TestCacheImportExport/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_config2293045188/buildkitd.toml --root /tmp/bktest_buildkitd4199062627 --addr unix:///tmp/bktest_buildkitd4199062627/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_config2293045188/buildkitd.toml --root /tmp/bktest_buildkitd4199062627 --addr unix:///tmp/bktest_buildkitd4199062627/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-21 23:29:05.730379625 +0000 UTC m=+7.163685273 /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_config2293045188/buildkitd.toml --root /tmp/bktest_buildkitd4199062627 --addr unix:///tmp/bktest_buildkitd4199062627/buildkitd.sock --debug
sandbox.go:131: time="2024-03-21T23:29:05Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-21T23:29:05Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-21T23:29:05Z" level=info msg="found worker \"hysitispz2vqkqsb9i69pop1y\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:7b4300490b65 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:29:05Z" level=info msg="found 1 workers, default=\"hysitispz2vqkqsb9i69pop1y\""
sandbox.go:131: time="2024-03-21T23:29:05Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-21T23:29:05Z" level=info msg="running server on /tmp/bktest_buildkitd4199062627/buildkitd.sock"
sandbox.go:131: time="2024-03-21T23:29:05Z" level=debug msg="session started" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 spanID=9b9bd95bf0282f25 traceID=03fa0d8e265980751920b82134948158 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:29:05Z" level=debug msg="skipping invalid cache export mode: " revision=4d3965cd46f8e845769701ce6645699fa2ee2056 spanID=24611def8fb50c95 traceID=c747d4a8421898b693f91b67414c9e49 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:29:05Z" level=debug msg=resolving host="localhost:44781"
sandbox.go:131: time="2024-03-21T23:29:05Z" level=debug msg="do request" host="localhost:44781" request.h
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L4068
=== RUN TestIntegration/TestImageManifestCacheImportExport/worker=oci-rootless/frontend=gateway
=== PAUSE TestIntegration/TestImageManifestCacheImportExport/worker=oci-rootless/frontend=gateway
=== CONT TestIntegration/TestImageManifestCacheImportExport/worker=oci-rootless/frontend=gateway
dockerfile_test.go:4068:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:4068
/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/TestImageManifestCacheImportExport/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_config596967288/buildkitd.toml --root /tmp/bktest_buildkitd3019647151 --addr unix:///tmp/bktest_buildkitd3019647151/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-21 23:29:05.031057632 +0000 UTC m=+6.464363280 /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_config596967288/buildkitd.toml --root /tmp/bktest_buildkitd3019647151 --addr unix:///tmp/bktest_buildkitd3019647151/buildkitd.sock --debug
sandbox.go:131: time="2024-03-21T23:29:05Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-21T23:29:05Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-21T23:29:05Z" level=info msg="found worker \"06yxbvusfymfim1e1j6qjc92q\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:7b4300490b65 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:29:05Z" level=info msg="found 1 workers, default=\"06yxbvusfymfim1e1j6qjc92q\""
sandbox.go:131: time="2024-03-21T23:29:05Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-21T23:29:05Z" level=info msg="running server on /tmp/bktest_buildkitd3019647151/buildkitd.sock"
sandbox.go:131: time="2024-03-21T23:29:05Z" level=debug msg="session started" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 spanID=f91f8c46e5f37ed9 traceID=eb707384f266eba59e6bfc419388a795 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:29:05Z" level=debug msg="skipping invalid cache export mode: " revision=4d3965cd46f8e845769701ce6645699fa2ee2056 spanID=86becc8a971255c9 traceID=31d7cf9df33a886902fbbdcd7175f124 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:29:05Z" level=debug msg=resolving host="localhost:44781"
sandbox.go:131: time="2024-03-21T23:29:05Z" level=debug msg="do request" host="localhost:44781" 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:44781/v2/buildkit_test/
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L4416
=== RUN TestIntegration/TestNoCache/worker=oci-rootless/frontend=gateway
=== PAUSE TestIntegration/TestNoCache/worker=oci-rootless/frontend=gateway
=== CONT TestIntegration/TestNoCache/worker=oci-rootless/frontend=gateway
dockerfile_test.go:4416:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:4416
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Should not be: "84b4daba12fad77ab02a0e8943f5b4ebbba85c646a2aae1348b75a0fd34110cc -\n"
Test: TestIntegration/TestNoCache/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_config3505455024/buildkitd.toml --root /tmp/bktest_buildkitd2415632674 --addr unix:///tmp/bktest_buildkitd2415632674/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_config3505455024/buildkitd.toml --root /tmp/bktest_buildkitd2415632674 --addr unix:///tmp/bktest_buildkitd2415632674/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-21 23:29:04.797919465 +0000 UTC m=+6.231225073 /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_config3505455024/buildkitd.toml --root /tmp/bktest_buildkitd2415632674 --addr unix:///tmp/bktest_buildkitd2415632674/buildkitd.sock --debug
sandbox.go:131: time="2024-03-21T23:29:04Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-21T23:29:04Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-21T23:29:04Z" level=info msg="found worker \"29cnp5bs8sttjh7ukzhalpg67\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:7b4300490b65 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:29:04Z" level=info msg="found 1 workers, default=\"29cnp5bs8sttjh7ukzhalpg67\""
sandbox.go:131: time="2024-03-21T23:29:04Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-21T23:29:04Z" level=info msg="running server on /tmp/bktest_buildkitd2415632674/buildkitd.sock"
sandbox.go:131: time="2024-03-21T23:29:04Z" level=debug msg="session started" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 spanID=63606d87d86af31a traceID=8a868d456b2cb3acaaa0020786e96007 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:29:04Z" level=debug msg=resolving host="localhost:44781"
sandbox.go:131: time="2024-03-21T23:29:04Z" level=debug msg="do request" host="localhost:44781" 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:44781/v2/buildkit_test/vwtak7d5y1b15oq9jxnjaywf2/manifests/latest?ns=docker.io"
sandbox.go:131: time="2024-03-21T23:29:04Z" level=debug msg="fetch response received" host="localhost:44781" response.header.content-length=482 response.header.content-type=application/vnd.oci.image.manifest.v1+json response.header.date="Thu, 21 Mar 2024 23:29:04 GMT" response.header.docker-content-digest="sha256:f9829fb4c91cc6c8fc821c814be2bc0c29
|
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=gateway2490749132/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_config3380711764/buildkitd.toml --root /tmp/bktest_buildkitd1230701655 --addr unix:///tmp/bktest_buildkitd1230701655/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_config3380711764/buildkitd.toml --root /tmp/bktest_buildkitd1230701655 --addr unix:///tmp/bktest_buildkitd1230701655/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-21 23:29:18.495154668 +0000 UTC m=+19.928460296 /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_config3380711764/buildkitd.toml --root /tmp/bktest_buildkitd1230701655 --addr unix:///tmp/bktest_buildkitd1230701655/buildkitd.sock --debug
sandbox.go:131: time="2024-03-21T23:29:18Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-21T23:29:18Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-21T23:29:18Z" level=info msg="found worker \"tmo9la4tx8p5ronvht5u9dc1f\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:7b4300490b65 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:29:18Z" level=info msg="found 1 workers, default=\"tmo9la4tx8p5ronvht5u9dc1f\""
sandbox.go:131: time="2024-03-21T23:29:18Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-21T23:29:18Z" level=info msg="running server on /tmp/bktest_buildkitd1230701655/buildkitd.sock"
sandbox.go:131: time="2024-03-21T23:29:18Z" level=debug msg="session started" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 spanID=4ea448ee2de00e7f traceID=e9182f1e1a2ef74ac42a85c644355288 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:29:18Z" level=debug msg=resolving host="localhost:44781"
sandbox.go:131: time="2024-03-21T23:29:18Z" level=debug msg="do request" host="localhost:44781" 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:44781/v2/buildkit_test/vwtak7d5y1b15oq9jxnjaywf2/manifests/latest?ns=docker.io"
sandbox.go:131: time="2024-03-21T23:29:18Z" level=debug msg="fetch response received" host="localhost:44781" response.header.content-length=482 response.header.content-type=application/vnd.oci.image.manifest.v1+json response.header.da
|
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_config3817253120/buildkitd.toml --root /tmp/bktest_buildkitd3151070683 --addr unix:///tmp/bktest_buildkitd3151070683/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_config3817253120/buildkitd.toml --root /tmp/bktest_buildkitd3151070683 --addr unix:///tmp/bktest_buildkitd3151070683/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-21 23:29:18.191801896 +0000 UTC m=+19.625107534 /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_config3817253120/buildkitd.toml --root /tmp/bktest_buildkitd3151070683 --addr unix:///tmp/bktest_buildkitd3151070683/buildkitd.sock --debug
sandbox.go:131: time="2024-03-21T23:29:18Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-21T23:29:18Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-21T23:29:18Z" level=info msg="found worker \"9clqbi9bgf0rlrn2s8duebwlg\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:7b4300490b65 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:29:18Z" level=info msg="found 1 workers, default=\"9clqbi9bgf0rlrn2s8duebwlg\""
sandbox.go:131: time="2024-03-21T23:29:18Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-21T23:29:18Z" level=info msg="running server on /tmp/bktest_buildkitd3151070683/buildkitd.sock"
sandbox.go:131: time="2024-03-21T23:29:18Z" level=debug msg="session started" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 spanID=edfca322c2de7b2d traceID=dff79d642b60b977bb55ee2e28ece267 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:29:18Z" level=debug msg=resolving host="localhost:44781"
sandbox.go:131: time="2024-03-21T23:29:18Z" level=debug msg="do request" host="localhost:44781" 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-de
|
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_config2316042044/buildkitd.toml --root /tmp/bktest_buildkitd457564031 --addr unix:///tmp/bktest_buildkitd457564031/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_config2316042044/buildkitd.toml --root /tmp/bktest_buildkitd457564031 --addr unix:///tmp/bktest_buildkitd457564031/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-21 23:29:16.760006978 +0000 UTC m=+18.193312607 /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_config2316042044/buildkitd.toml --root /tmp/bktest_buildkitd457564031 --addr unix:///tmp/bktest_buildkitd457564031/buildkitd.sock --debug
sandbox.go:131: time="2024-03-21T23:29:16Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-21T23:29:16Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-21T23:29:16Z" level=info msg="found worker \"mq8xesx3dqz7powcycyjh8d4m\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:7b4300490b65 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:29:16Z" level=info msg="found 1 workers, default=\"mq8xesx3dqz7powcycyjh8d4m\""
sandbox.go:131: time="2024-03-21T23:29:16Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-21T23:29:16Z" level=info msg="running server on /tmp/bktest_buildkitd457564031/buildkitd.sock"
sandbox.go:131: time="2024-03-21T23:29:16Z" level=debug msg="session started" revision=4d3965cd46f8e845769701ce6645699fa2ee2056 spanID=401d14caefba3a95 traceID=1421f92a8e236fe95eac1596b770db78 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:29:16Z" level=debug msg="skipping invalid cache export mode: " revision=4d3965cd46f8e845769701ce6645699fa2ee2056 spanID=b3b984bfb867dfa4 traceID=560bce5706d4b21316faca0547932cfc version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-21T23:29:16Z" level=debug msg=resolving host="localhost:44781"
sandbox.go:131: time="2024-03-21T23:29:16Z" level=debug msg="do request" host="localhost:44781" request.header.accept="ap
|
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