Remove globals & refactor into structs #166
Annotations
11 errors and 1 warning
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L1811
=== RUN TestIntegration/TestCmdShell/worker=containerd-rootless/frontend=gateway
=== PAUSE TestIntegration/TestCmdShell/worker=containerd-rootless/frontend=gateway
=== CONT TestIntegration/TestCmdShell/worker=containerd-rootless/frontend=gateway
dockerfile_test.go:1811:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:1811
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Not equal:
expected: []string(nil)
actual : []string{"test"}
Diff:
--- Expected
+++ Actual
@@ -1,2 +1,4 @@
-([]string) <nil>
+([]string) (len=1) {
+ (string) (len=4) "test"
+}
Test: TestIntegration/TestCmdShell/worker=containerd-rootless/frontend=gateway
sandbox.go:128: stdout: /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd611003851/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd611003851/config.toml
sandbox.go:128: stderr: /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd611003851/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd611003851/config.toml
sandbox.go:131: > StartCmd 2024-03-22 19:33:04.760169637 +0000 UTC m=+3.931787554 /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd611003851/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd611003851/config.toml
sandbox.go:131: time="2024-03-22T19:33:04Z" level=warning msg="The host root filesystem is mounted as \"master:254\". Setting child propagation to \"rslave\" is not supported."
sandbox.go:131: time="2024-03-22T19:33:04Z" level=warning msg="containerd config version `1` has been deprecated and will be removed in containerd v2.0, please switch to version `2`, see https://github.com/containerd/containerd/blob/main/docs/PLUGINS.md#version-header"
sandbox.go:131: time="2024-03-22T19:33:04.815636163Z" level=info msg="starting containerd" revision=8c087663b0233f6e6e2f4515cee61d49f14746a8 version=v1.7.7
sandbox.go:131: time="2024-03-22T19:33:04.844528259Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1
sandbox.go:131: time="2024-03-22T19:33:04.844637422Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1
sandbox.go:131: time="2024-03-22T19:33:04.844704758Z" level=warning msg="failed to load plugin io.containerd.internal.v1.opt" error="mkdir /opt/containerd: permission denied"
sandbox.go:131: time="2024-03-22T19:33:04.844733812Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:04.844832114Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:04.844848535Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:04.844863032Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured"
sandbox.go:131: time="2024-03-22T19:33:04.844873652Z" level=info msg="loadi
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L2155
=== RUN TestIntegration/TestDockerfileADDFromURL/worker=containerd-rootless/frontend=gateway
=== PAUSE TestIntegration/TestDockerfileADDFromURL/worker=containerd-rootless/frontend=gateway
=== CONT TestIntegration/TestDockerfileADDFromURL/worker=containerd-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=containerd-rootlessfrontend=gateway1914451242/002/dest/__unnamed__: no such file or directory
Test: TestIntegration/TestDockerfileADDFromURL/worker=containerd-rootless/frontend=gateway
sandbox.go:128: stdout: /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd3096781150/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd3096781150/config.toml
sandbox.go:128: stderr: /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd3096781150/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd3096781150/config.toml
sandbox.go:131: > StartCmd 2024-03-22 19:33:46.858023765 +0000 UTC m=+46.029641682 /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd3096781150/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd3096781150/config.toml
sandbox.go:131: time="2024-03-22T19:33:46Z" level=warning msg="The host root filesystem is mounted as \"master:254\". Setting child propagation to \"rslave\" is not supported."
sandbox.go:131: time="2024-03-22T19:33:46Z" level=warning msg="containerd config version `1` has been deprecated and will be removed in containerd v2.0, please switch to version `2`, see https://github.com/containerd/containerd/blob/main/docs/PLUGINS.md#version-header"
sandbox.go:131: time="2024-03-22T19:33:46.905937769Z" level=info msg="starting containerd" revision=8c087663b0233f6e6e2f4515cee61d49f14746a8 version=v1.7.7
sandbox.go:131: time="2024-03-22T19:33:46.922589438Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1
sandbox.go:131: time="2024-03-22T19:33:46.922638640Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1
sandbox.go:131: time="2024-03-22T19:33:46.922737965Z" level=warning msg="failed to load plugin io.containerd.internal.v1.opt" error="mkdir /opt/containerd: permission denied"
sandbox.go:131: time="2024-03-22T19:33:46.922758093Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:46.922884659Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:46.922911819Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:46.922931927Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured"
sandbox.go:131: time="2024-03-22T19:33:46.922948177Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:46.923071957Z" level=info msg="loading plugin \"io.container
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L2257
=== RUN TestIntegration/TestDockerfileAddArchive/worker=containerd-rootless/frontend=gateway
=== PAUSE TestIntegration/TestDockerfileAddArchive/worker=containerd-rootless/frontend=gateway
=== CONT TestIntegration/TestDockerfileAddArchive/worker=containerd-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=containerd-rootlessfrontend=gateway3501010901/003/t.tar.gz: no such file or directory
Test: TestIntegration/TestDockerfileAddArchive/worker=containerd-rootless/frontend=gateway
sandbox.go:128: stdout: /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd1030651988/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd1030651988/config.toml
sandbox.go:128: stderr: /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd1030651988/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd1030651988/config.toml
sandbox.go:131: > StartCmd 2024-03-22 19:33:46.553749883 +0000 UTC m=+45.725367789 /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd1030651988/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd1030651988/config.toml
sandbox.go:131: time="2024-03-22T19:33:46Z" level=warning msg="The host root filesystem is mounted as \"master:254\". Setting child propagation to \"rslave\" is not supported."
sandbox.go:131: time="2024-03-22T19:33:46Z" level=warning msg="containerd config version `1` has been deprecated and will be removed in containerd v2.0, please switch to version `2`, see https://github.com/containerd/containerd/blob/main/docs/PLUGINS.md#version-header"
sandbox.go:131: time="2024-03-22T19:33:46.600574629Z" level=info msg="starting containerd" revision=8c087663b0233f6e6e2f4515cee61d49f14746a8 version=v1.7.7
sandbox.go:131: time="2024-03-22T19:33:46.614650046Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1
sandbox.go:131: time="2024-03-22T19:33:46.614688407Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1
sandbox.go:131: time="2024-03-22T19:33:46.614741516Z" level=warning msg="failed to load plugin io.containerd.internal.v1.opt" error="mkdir /opt/containerd: permission denied"
sandbox.go:131: time="2024-03-22T19:33:46.614765260Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:46.614857933Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:46.614879653Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:46.614896725Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured"
sandbox.go:131: time="2024-03-22T19:33:46.614913947Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:46.615045071Z" level=info msg="loading plugin \"io.containerd.snapsh
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L3624
=== RUN TestIntegration/TestMultiStageImplicitFrom/worker=containerd-rootless/frontend=gateway
=== PAUSE TestIntegration/TestMultiStageImplicitFrom/worker=containerd-rootless/frontend=gateway
=== CONT TestIntegration/TestMultiStageImplicitFrom/worker=containerd-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=containerd-rootlessfrontend=gateway2223030573/002/go: no such file or directory
Test: TestIntegration/TestMultiStageImplicitFrom/worker=containerd-rootless/frontend=gateway
sandbox.go:128: stderr: /usr/bin/sudo -u #1000 -i -- exec nsenter -U --preserve-credentials -m -t 26188 buildkitd --oci-worker=false --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd1855720362/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --containerd-worker-snapshotter=native --containerd-worker-snapshotter=native --config=/tmp/bktest_config2113113393/buildkitd.toml --root /tmp/bktest_buildkitd329951995 --addr unix:///tmp/bktest_buildkitd329951995/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-22 19:33:40.807230652 +0000 UTC m=+39.978848560 /usr/bin/sudo -u #1000 -i -- exec nsenter -U --preserve-credentials -m -t 26188 buildkitd --oci-worker=false --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd1855720362/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --containerd-worker-snapshotter=native --containerd-worker-snapshotter=native --config=/tmp/bktest_config2113113393/buildkitd.toml --root /tmp/bktest_buildkitd329951995 --addr unix:///tmp/bktest_buildkitd329951995/buildkitd.sock --debug
sandbox.go:131: time="2024-03-22T19:33:40Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-22T19:33:40Z" level=debug msg="remote introspection plugin filters" filters="[type==io.containerd.runtime.v1 type==io.containerd.runtime.v2]"
sandbox.go:131: time="2024-03-22T19:33:40Z" level=info msg="found worker \"4w77pdgmvxuzam3iub9866r2e\", labels=map[org.mobyproject.buildkit.worker.containerd.namespace:buildkit org.mobyproject.buildkit.worker.containerd.uuid:31dba766-495e-4d7e-a75b-e17d252c7ed2 org.mobyproject.buildkit.worker.executor:containerd org.mobyproject.buildkit.worker.hostname:cc20944b1a32 org.mobyproject.buildkit.worker.network:host org.mobyproject.buildkit.worker.sandbox:true org.mobyproject.buildkit.worker.selinux.enabled:false org.mobyproject.buildkit.worker.snapshotter:native], platforms=[linux/amd64 linux/amd64/v2 linux/amd64/v3]"
sandbox.go:131: time="2024-03-22T19:33:40Z" level=info msg="found 1 workers, default=\"4w77pdgmvxuzam3iub9866r2e\""
sandbox.go:131: time="2024-03-22T19:33:40Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-22T19:33:40Z" level=info msg="running server on /tmp/bktest_buildkitd329951995/buildkitd.sock"
sandbox.go:131: time="2024-03-22T19:33:40Z" level=debug msg="session started" revision=35ad8c69e100ebbea314cbc8e0398e5731105337 spanID=57c1da9798c1b763 traceID=20d57e31a1d330a32c2c0ad796957f9b version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-22T19:33:40Z" level=debug msg=resolving host="localhost:41637"
sandbox.go:131: time="2024-03-22T19:33:40Z" level=debug msg="do request" host="localhost:41637" 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:41637/v2/buildkit_test/leu4yb8shre2ie14a8a6n7n8i/manif
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L4166
=== RUN TestIntegration/TestCacheImportExport/worker=containerd-rootless/frontend=gateway
=== PAUSE TestIntegration/TestCacheImportExport/worker=containerd-rootless/frontend=gateway
=== CONT TestIntegration/TestCacheImportExport/worker=containerd-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=containerd-rootless/frontend=gateway
sandbox.go:128: stderr: /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd2463150451/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd2463150451/config.toml
sandbox.go:131: > StartCmd 2024-03-22 19:33:39.307125698 +0000 UTC m=+38.478743606 /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd2463150451/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd2463150451/config.toml
sandbox.go:131: time="2024-03-22T19:33:39Z" level=warning msg="The host root filesystem is mounted as \"master:254\". Setting child propagation to \"rslave\" is not supported."
sandbox.go:131: time="2024-03-22T19:33:39Z" level=warning msg="containerd config version `1` has been deprecated and will be removed in containerd v2.0, please switch to version `2`, see https://github.com/containerd/containerd/blob/main/docs/PLUGINS.md#version-header"
sandbox.go:131: time="2024-03-22T19:33:39.399200203Z" level=info msg="starting containerd" revision=8c087663b0233f6e6e2f4515cee61d49f14746a8 version=v1.7.7
sandbox.go:131: time="2024-03-22T19:33:39.417950986Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1
sandbox.go:131: time="2024-03-22T19:33:39.418229627Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1
sandbox.go:131: time="2024-03-22T19:33:39.418288677Z" level=warning msg="failed to load plugin io.containerd.internal.v1.opt" error="mkdir /opt/containerd: permission denied"
sandbox.go:131: time="2024-03-22T19:33:39.418311890Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:39.418434939Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:39.418459696Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:39.418480755Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured"
sandbox.go:131: time="2024-03-22T19:33:39.418497796Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:39.418620746Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." ty
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L4068
=== RUN TestIntegration/TestImageManifestCacheImportExport/worker=containerd-rootless/frontend=gateway
=== PAUSE TestIntegration/TestImageManifestCacheImportExport/worker=containerd-rootless/frontend=gateway
=== CONT TestIntegration/TestImageManifestCacheImportExport/worker=containerd-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=containerd-rootless/frontend=gateway
sandbox.go:128: stdout: /usr/bin/sudo -u #1000 -i -- exec nsenter -U --preserve-credentials -m -t 25340 buildkitd --oci-worker=false --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd1417534363/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --containerd-worker-snapshotter=native --containerd-worker-snapshotter=native --config=/tmp/bktest_config35076762/buildkitd.toml --root /tmp/bktest_buildkitd1505586204 --addr unix:///tmp/bktest_buildkitd1505586204/buildkitd.sock --debug
sandbox.go:128: stderr: /usr/bin/sudo -u #1000 -i -- exec nsenter -U --preserve-credentials -m -t 25340 buildkitd --oci-worker=false --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd1417534363/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --containerd-worker-snapshotter=native --containerd-worker-snapshotter=native --config=/tmp/bktest_config35076762/buildkitd.toml --root /tmp/bktest_buildkitd1505586204 --addr unix:///tmp/bktest_buildkitd1505586204/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-22 19:33:38.899432248 +0000 UTC m=+38.071050145 /usr/bin/sudo -u #1000 -i -- exec nsenter -U --preserve-credentials -m -t 25340 buildkitd --oci-worker=false --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd1417534363/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --containerd-worker-snapshotter=native --containerd-worker-snapshotter=native --config=/tmp/bktest_config35076762/buildkitd.toml --root /tmp/bktest_buildkitd1505586204 --addr unix:///tmp/bktest_buildkitd1505586204/buildkitd.sock --debug
sandbox.go:131: time="2024-03-22T19:33:38Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-22T19:33:38Z" level=debug msg="remote introspection plugin filters" filters="[type==io.containerd.runtime.v1 type==io.containerd.runtime.v2]"
sandbox.go:131: time="2024-03-22T19:33:38Z" level=info msg="found worker \"ridmskn60oppuuor3wy0f0tj1\", labels=map[org.mobyproject.buildkit.worker.containerd.namespace:buildkit org.mobyproject.buildkit.worker.containerd.uuid:14cbc208-be14-43f2-9df1-a0addce8708f org.mobyproject.buildkit.worker.executor:containerd org.mobyproject.buildkit.worker.hostname:cc20944b1a32 org.mobyproject.buildkit.worker.network:host org.mobyproject.buildkit.worker.sandbox:true org.mobyproject.buildkit.worker.selinux.enabled:false org.mobyproject.buildkit.worker.snapshotter:native], platforms=[linux/amd64 linux/amd64/v2 linux/amd64/v3]"
sandbox.go:131: time="2024-03-22T19:33:38Z" level=info msg="found 1 workers, default=\"ridmskn60oppuuor3wy0f0tj1\""
sandbox.go:131: time="2024-03-22T19:33:38Z" level=warning msg="currently, onl
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L4332
=== RUN TestIntegration/TestImportExportReproducibleIDs/worker=containerd-rootless/frontend=gateway
=== PAUSE TestIntegration/TestImportExportReproducibleIDs/worker=containerd-rootless/frontend=gateway
=== CONT TestIntegration/TestImportExportReproducibleIDs/worker=containerd-rootless/frontend=gateway
dockerfile_test.go:4332:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:4332
/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/TestImportExportReproducibleIDs/worker=containerd-rootless/frontend=gateway
sandbox.go:128: stdout: /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd3774524313/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd3774524313/config.toml
sandbox.go:128: stderr: /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd3774524313/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd3774524313/config.toml
sandbox.go:131: > StartCmd 2024-03-22 19:33:37.863779607 +0000 UTC m=+37.035397514 /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd3774524313/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd3774524313/config.toml
sandbox.go:131: time="2024-03-22T19:33:37Z" level=warning msg="The host root filesystem is mounted as \"master:254\". Setting child propagation to \"rslave\" is not supported."
sandbox.go:131: time="2024-03-22T19:33:37Z" level=warning msg="containerd config version `1` has been deprecated and will be removed in containerd v2.0, please switch to version `2`, see https://github.com/containerd/containerd/blob/main/docs/PLUGINS.md#version-header"
sandbox.go:131: time="2024-03-22T19:33:37.924545128Z" level=info msg="starting containerd" revision=8c087663b0233f6e6e2f4515cee61d49f14746a8 version=v1.7.7
sandbox.go:131: time="2024-03-22T19:33:37.944196528Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1
sandbox.go:131: time="2024-03-22T19:33:37.944277027Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1
sandbox.go:131: time="2024-03-22T19:33:37.944331609Z" level=warning msg="failed to load plugin io.containerd.internal.v1.opt" error="mkdir /opt/containerd: permission denied"
sandbox.go:131: time="2024-03-22T19:33:37.944351166Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:37.944466741Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:37.944486969Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:37.944503319Z" level=warning msg="f
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L4416
=== RUN TestIntegration/TestNoCache/worker=containerd-rootless/frontend=gateway
=== PAUSE TestIntegration/TestNoCache/worker=containerd-rootless/frontend=gateway
=== CONT TestIntegration/TestNoCache/worker=containerd-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: "15bcc2c8883042ecefd9f2bda41174d1e6db6ee103510d91282a279f45d541e1 -\n"
Test: TestIntegration/TestNoCache/worker=containerd-rootless/frontend=gateway
sandbox.go:128: stdout: /usr/bin/sudo -u #1000 -i -- exec nsenter -U --preserve-credentials -m -t 24343 buildkitd --oci-worker=false --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd1762143728/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --containerd-worker-snapshotter=native --containerd-worker-snapshotter=native --config=/tmp/bktest_config2648460880/buildkitd.toml --root /tmp/bktest_buildkitd1330516342 --addr unix:///tmp/bktest_buildkitd1330516342/buildkitd.sock --debug
sandbox.go:128: stderr: /usr/bin/sudo -u #1000 -i -- exec nsenter -U --preserve-credentials -m -t 24343 buildkitd --oci-worker=false --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd1762143728/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --containerd-worker-snapshotter=native --containerd-worker-snapshotter=native --config=/tmp/bktest_config2648460880/buildkitd.toml --root /tmp/bktest_buildkitd1330516342 --addr unix:///tmp/bktest_buildkitd1330516342/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-22 19:33:37.256509776 +0000 UTC m=+36.428127693 /usr/bin/sudo -u #1000 -i -- exec nsenter -U --preserve-credentials -m -t 24343 buildkitd --oci-worker=false --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd1762143728/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --containerd-worker-snapshotter=native --containerd-worker-snapshotter=native --config=/tmp/bktest_config2648460880/buildkitd.toml --root /tmp/bktest_buildkitd1330516342 --addr unix:///tmp/bktest_buildkitd1330516342/buildkitd.sock --debug
sandbox.go:131: time="2024-03-22T19:33:37Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-22T19:33:37Z" level=debug msg="remote introspection plugin filters" filters="[type==io.containerd.runtime.v1 type==io.containerd.runtime.v2]"
sandbox.go:131: time="2024-03-22T19:33:37Z" level=info msg="found worker \"70ld18uczup4k0ip5wv9zongx\", labels=map[org.mobyproject.buildkit.worker.containerd.namespace:buildkit org.mobyproject.buildkit.worker.containerd.uuid:f66bb49f-a34d-4787-9c2c-7328434d7bd0 org.mobyproject.buildkit.worker.executor:containerd org.mobyproject.buildkit.worker.hostname:cc20944b1a32 org.mobyproject.buildkit.worker.network:host org.mobyproject.buildkit.worker.sandbox:true org.mobyproject.buildkit.worker.selinux.enabled:false org.mobyproject.buildkit.worker.snapshotter:native], platforms=[linux/amd64 linux/amd64/v2 linux/amd64/v3]"
sandbox.go:131: time="2024-03-22T19:33:37Z" level=info msg="found 1 workers, default=\"70ld18uczup4k0ip5wv9zongx\""
sandbox.go:131: time="2024-03-22T19:33:37Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-22T19:33:37Z" level=info msg="running server on /tmp/bktest_buildkitd1330516342/buildkitd.sock"
sandbox.go:131: time="2024-03-22T19:33:37Z" level=debug msg="session started" revision=35ad8c69e100ebbea314cbc8e0398e5731105337 spanID=3ae21b56069f0b8c traceID=937de53ce74125977b452db8f2173cbc version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-22T19:33:37Z" level=debug msg=resolving host="localhost:41637"
sandbox.go:131: time="2024-03-22T19:33:37
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L1903
=== RUN TestIntegration/TestPullScratch/worker=containerd-rootless/frontend=gateway
=== PAUSE TestIntegration/TestPullScratch/worker=containerd-rootless/frontend=gateway
=== CONT TestIntegration/TestPullScratch/worker=containerd-rootless/frontend=gateway
dockerfile_test.go:1903:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:1903
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Not equal:
expected: 1
actual : 0
Test: TestIntegration/TestPullScratch/worker=containerd-rootless/frontend=gateway
sandbox.go:128: stderr: /usr/bin/sudo -u #1000 -i -- exec nsenter -U --preserve-credentials -m -t 23777 buildkitd --oci-worker=false --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd1105385979/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --containerd-worker-snapshotter=native --containerd-worker-snapshotter=native --config=/tmp/bktest_config2669532964/buildkitd.toml --root /tmp/bktest_buildkitd1074826190 --addr unix:///tmp/bktest_buildkitd1074826190/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-22 19:33:36.203850186 +0000 UTC m=+35.375468073 /usr/bin/sudo -u #1000 -i -- exec nsenter -U --preserve-credentials -m -t 23777 buildkitd --oci-worker=false --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd1105385979/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --containerd-worker-snapshotter=native --containerd-worker-snapshotter=native --config=/tmp/bktest_config2669532964/buildkitd.toml --root /tmp/bktest_buildkitd1074826190 --addr unix:///tmp/bktest_buildkitd1074826190/buildkitd.sock --debug
sandbox.go:131: time="2024-03-22T19:33:36Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-22T19:33:36Z" level=debug msg="remote introspection plugin filters" filters="[type==io.containerd.runtime.v1 type==io.containerd.runtime.v2]"
sandbox.go:131: time="2024-03-22T19:33:36Z" level=info msg="found worker \"1onqq7luk7e8du2wskvxqa4pl\", labels=map[org.mobyproject.buildkit.worker.containerd.namespace:buildkit org.mobyproject.buildkit.worker.containerd.uuid:01406d45-4d00-4517-b040-667ded9c8cd8 org.mobyproject.buildkit.worker.executor:containerd org.mobyproject.buildkit.worker.hostname:cc20944b1a32 org.mobyproject.buildkit.worker.network:host org.mobyproject.buildkit.worker.sandbox:true org.mobyproject.buildkit.worker.selinux.enabled:false org.mobyproject.buildkit.worker.snapshotter:native], platforms=[linux/amd64 linux/amd64/v2 linux/amd64/v3]"
sandbox.go:131: time="2024-03-22T19:33:36Z" level=info msg="found 1 workers, default=\"1onqq7luk7e8du2wskvxqa4pl\""
sandbox.go:131: time="2024-03-22T19:33:36Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-22T19:33:36Z" level=info msg="running server on /tmp/bktest_buildkitd1074826190/buildkitd.sock"
sandbox.go:131: time="2024-03-22T19:33:36Z" level=debug msg="session started" revision=35ad8c69e100ebbea314cbc8e0398e5731105337 spanID=c6feb6dfe39b095b traceID=914f016799ce396ded1e2b21b91ea8e8 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-03-22T19:33:36Z" level=debug msg=resolving host="localhost:41637"
sandbox.go:131: time="2024-03-22T19:33:36Z" level=debug msg="do request" host="localhost:41637" 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:41637/v2/buildkit_test/leu4yb8shre2ie14a8a6n7n8i/manifests/latest?ns=docker.io"
sandbox.go:131: time="2024-03-22T19:33:36Z" level=debug msg="fetch response received" host="localhost:41637" respons
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L863
=== RUN TestIntegration/TestCopyWildcardCache/worker=containerd-rootless/frontend=gateway
=== PAUSE TestIntegration/TestCopyWildcardCache/worker=containerd-rootless/frontend=gateway
=== CONT TestIntegration/TestCopyWildcardCache/worker=containerd-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: "c0cc7b6bc242b31f7fba1feb57b9715d45146dfb230eee8869730724d8d9345b -\n"
Test: TestIntegration/TestCopyWildcardCache/worker=containerd-rootless/frontend=gateway
sandbox.go:128: stdout: /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd1404546755/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd1404546755/config.toml
sandbox.go:128: stderr: /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd1404546755/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd1404546755/config.toml
sandbox.go:131: > StartCmd 2024-03-22 19:33:31.074891844 +0000 UTC m=+30.246509741 /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd1404546755/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd1404546755/config.toml
sandbox.go:131: time="2024-03-22T19:33:31Z" level=warning msg="The host root filesystem is mounted as \"master:254\". Setting child propagation to \"rslave\" is not supported."
sandbox.go:131: time="2024-03-22T19:33:31Z" level=warning msg="containerd config version `1` has been deprecated and will be removed in containerd v2.0, please switch to version `2`, see https://github.com/containerd/containerd/blob/main/docs/PLUGINS.md#version-header"
sandbox.go:131: time="2024-03-22T19:33:31.130127676Z" level=info msg="starting containerd" revision=8c087663b0233f6e6e2f4515cee61d49f14746a8 version=v1.7.7
sandbox.go:131: time="2024-03-22T19:33:31.153748504Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1
sandbox.go:131: time="2024-03-22T19:33:31.153850132Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1
sandbox.go:131: time="2024-03-22T19:33:31.153900826Z" level=warning msg="failed to load plugin io.containerd.internal.v1.opt" error="mkdir /opt/containerd: permission denied"
sandbox.go:131: time="2024-03-22T19:33:31.153918820Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:31.154012705Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:31.154034535Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:31.154051337Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured"
sandbox.go:131: time="2024-03-22T19:33:31.154068358Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:31.154156443Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-03-22T19:33:31.154639563Z" l
|
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