Skip to content

frontend: update lint checks to correctly utilize EnvList and EnvSetter #5107

frontend: update lint checks to correctly utilize EnvList and EnvSetter

frontend: update lint checks to correctly utilize EnvList and EnvSetter #5107

Triggered via pull request October 7, 2024 14:34
Status Cancelled
Total duration 15m 6s
Artifacts 34

buildkit.yml

on: pull_request
Matrix: binaries
Matrix: test / run
Matrix: image
Matrix: scout
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 14 warnings
Failed: client/TestClientGatewayIntegration: client/run.go#L272
=== RUN TestClientGatewayIntegration run.go:272: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:40099/library/busybox:latest --- FAIL: TestClientGatewayIntegration (0.04s)
Failed: client/TestClientGatewayIntegration/TestClientGatewayContainerSecurityModeValidation/worker=containerd/secmode=insecure: client/build_test.go#L1947
=== RUN TestClientGatewayIntegration/TestClientGatewayContainerSecurityModeValidation/worker=containerd/secmode=insecure === PAUSE TestClientGatewayIntegration/TestClientGatewayContainerSecurityModeValidation/worker=containerd/secmode=insecure === CONT TestClientGatewayIntegration/TestClientGatewayContainerSecurityModeValidation/worker=containerd/secmode=insecure build_test.go:1947: Error Trace: /src/client/build_test.go:1947 /src/client/build_test.go:1824 /src/util/testutil/integration/run.go:97 /src/util/testutil/integration/run.go:211 Error: "failed to solve: expecting started message, got *moby_buildkit_v1_frontend.ExecMessage_Exit" does not contain "security.insecure is not allowed" Test: TestClientGatewayIntegration/TestClientGatewayContainerSecurityModeValidation/worker=containerd/secmode=insecure sandbox.go:135: stdout: /usr/bin/containerd --config /tmp/bktest_containerd2420238170/config.toml sandbox.go:135: stderr: /usr/bin/containerd --config /tmp/bktest_containerd2420238170/config.toml sandbox.go:138: > StartCmd 2024-10-07 14:43:53.828975148 +0000 UTC m=+10.074252973 /usr/bin/containerd --config /tmp/bktest_containerd2420238170/config.toml sandbox.go:138: time="2024-10-07T14:43:53Z" level=warning msg="containerd config version `1` has been deprecated and will be converted on each startup in containerd v2.0, use `containerd config migrate` after upgrading to containerd 2.0 to avoid conversion on startup" sandbox.go:138: time="2024-10-07T14:43:53.945296998Z" level=info msg="starting containerd" revision=472731909fa34bd7bc9c087e4c27943f9835f111 version=v1.7.21 sandbox.go:138: time="2024-10-07T14:43:54.049145552Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:138: time="2024-10-07T14:43:54.049199704Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:138: time="2024-10-07T14:43:54.049250510Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:138: time="2024-10-07T14:43:54.049266450Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:138: time="2024-10-07T14:43:54.049349367Z" 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:138: time="2024-10-07T14:43:54.049363684Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:138: time="2024-10-07T14:43:54.049378051Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." error="devmapper not configured: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:138: time="2024-10-07T14:43:54.049388401Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1 sandbox.go:138: time="2024-10-07T14:43:54.049478531Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1 sandbox.go:138: time="2024-10-07T14:43:54.049721590Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.aufs\"..." type=io.containerd.snapshotter.v1 sandbox.go:138: time="2024-10-07T14:43:54.052173951Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.aufs\"..." error="aufs is not supported (modprobe aufs failed: exit status 1 \"modprobe: can't change directory to '/lib/modules': No such file or directory\\n\"): skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:138: time="2024-10-07T14:43:54.052202325Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.zfs\"..." type=io.containerd.snapshotter.v1 sandbox.go:138: time="2024-10-07T14:43:54.052479979Z" level=info msg="skip loading plugin
Failed: worker/containerd/TestContainerdWorkerIntegration/TestContainerdWorkerExec/worker=containerd: worker/containerd/common.go#L77
=== RUN TestContainerdWorkerIntegration/TestContainerdWorkerExec/worker=containerd === PAUSE TestContainerdWorkerIntegration/TestContainerdWorkerExec/worker=containerd === CONT TestContainerdWorkerIntegration/TestContainerdWorkerExec/worker=containerd common.go:77: Stdout: hello common.go:78: Stderr: common.go:100: Unexpected timeout waiting for pid1 to start common.go:114: Stdout: common.go:115: Stderr: common.go:116: Error Trace: /src/worker/tests/common.go:116 Error: Received unexpected error: failed to create shim task: failed to start io pipe copy: unable to copy pipes: containerd-shim: opening w/o fifo "/run/containerd/fifo/998204178/0hmrkxt4oxwhsarw95bzbtnl0-stdout" failed: context deadline exceeded container 0hmrkxt4oxwhsarw95bzbtnl0 has exited with error github.com/moby/buildkit/executor/containerdexecutor.(*containerdExecutor).Exec /src/executor/containerdexecutor/executor.go:266 github.com/moby/buildkit/worker/tests.TestWorkerExec /src/worker/tests/common.go:107 github.com/moby/buildkit/worker/containerd.testContainerdWorkerExec /src/worker/containerd/containerd_test.go:63 github.com/moby/buildkit/util/testutil/integration.testFunc.Run /src/util/testutil/integration/run.go:97 github.com/moby/buildkit/util/testutil/integration.Run.func2.1 /src/util/testutil/integration/run.go:211 testing.tRunner /usr/local/go/src/testing/testing.go:1689 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1695 Test: TestContainerdWorkerIntegration/TestContainerdWorkerExec/worker=containerd sandbox.go:135: stderr: /usr/bin/buildkitd --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd3843066817/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker=false --config=/tmp/bktest_config762811615/buildkitd.toml --root /tmp/bktest_buildkitd1850435786 --addr unix:///tmp/bktest_buildkitd1850435786/buildkitd.sock --debug sandbox.go:138: > StartCmd 2024-10-07 14:44:03.14764127 +0000 UTC m=+0.640579117 /usr/bin/buildkitd --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd3843066817/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker=false --config=/tmp/bktest_config762811615/buildkitd.toml --root /tmp/bktest_buildkitd1850435786 --addr unix:///tmp/bktest_buildkitd1850435786/buildkitd.sock --debug sandbox.go:138: time="2024-10-07T14:44:03Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:138: time="2024-10-07T14:44:03Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:138: time="2024-10-07T14:44:03Z" level=debug msg="could not read \"/tmp/bktest_buildkitd1850435786/net/cni\" for cleanup: open /tmp/bktest_buildkitd1850435786/net/cni: no such file or directory" sandbox.go:138: time="2024-10-07T14:44:03Z" level=debug msg="creating new network namespace i7n3dujrl5f53ykh6g675so1l" sandbox.go:138: time="2024-10-07T14:44:03Z" level=debug msg="finished creating network namespace i7n3dujrl5f53ykh6g675so1l" sandbox.go:138: time="2024-10-07T14:44:03Z" level=debug msg="finished setting up network namespace i7n3dujrl5f53ykh6g675so1l" sandbox.go:138: time="2024-10-07T14:44:03Z" level=debug msg="remote introspection plugin filters" filters="[type==io.containerd.runtime.v1 type==io.containerd.runtime.v2]" sandbox.go:138: time="2024-10-07T14:44:03Z" level=info msg="found worker \"wg3w74ft8lqcuz4m3l378ulas\", labels=map[org.mobyproject.buildkit.worker.containerd.namespace:buildkit org.mobyproject.buildkit.worker.containerd.uuid:2bd99f50-4ee8-4
test / run (./client, oci, nydus, integration)
Canceling since a higher priority waiting request for 'buildkit-refs/pull/5387/merge' exists
test / run (oci-rootless, ./client ./cmd/buildctl ./worker/containerd ./solver ./frontend, integration)
Canceling since a higher priority waiting request for 'buildkit-refs/pull/5387/merge' exists
test / run (oci, ./client ./cmd/buildctl ./worker/containerd ./solver ./frontend, integration)
Canceling since a higher priority waiting request for 'buildkit-refs/pull/5387/merge' exists
test / run (containerd-snapshotter-stargz, ./client ./cmd/buildctl ./worker/containerd ./solver ./fronte...
Canceling since a higher priority waiting request for 'buildkit-refs/pull/5387/merge' exists
test / run (./client, containerd, nydus, integration)
Canceling since a higher priority waiting request for 'buildkit-refs/pull/5387/merge' exists
test / run (./client, containerd, nydus, integration)
The operation was canceled.
test / run (containerd-1.6, ./client ./cmd/buildctl ./worker/containerd ./solver ./frontend, integration)
Canceling since a higher priority waiting request for 'buildkit-refs/pull/5387/merge' exists
test / run (containerd-rootless, ./client ./cmd/buildctl ./worker/containerd ./solver ./frontend, integr...
Canceling since a higher priority waiting request for 'buildkit-refs/pull/5387/merge' exists
test / run (./..., nydus, 1, integration)
Failed to restore: Cache service responded with 429
test / run (./..., 1, integration gateway)
Failed to restore: Cache service responded with 429
test / run (containerd, ./client ./cmd/buildctl ./worker/containerd ./solver ./frontend, integration)
Failed to restore: Cache service responded with 429
test / run (./client, oci, nydus, integration)
Failed to restore: Cache service responded with 429
test / run (oci-rootless, ./client ./cmd/buildctl ./worker/containerd ./solver ./frontend, integration)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
test / run (oci-rootless, ./client ./cmd/buildctl ./worker/containerd ./solver ./frontend, integration)
No files were found with the provided path: ./bin/testreports. No artifacts will be uploaded.
test / run (oci-rootless, ./client ./cmd/buildctl ./worker/containerd ./solver ./frontend, integration)
Failed to restore: Cache service responded with 429
test / run (oci, ./client ./cmd/buildctl ./worker/containerd ./solver ./frontend, integration)
Failed to restore: Cache service responded with 429
test / run (./client, containerd, nydus, integration)
Failed to restore: Cache service responded with 429
test / run (containerd-1.6, ./client ./cmd/buildctl ./worker/containerd ./solver ./frontend, integration)
Failed to restore: Cache service responded with 429

Artifacts

Produced during runtime
Name Size
buildkit-darwin-amd64 Expired
12.9 MB
buildkit-darwin-arm64 Expired
12.4 MB
buildkit-linux-amd64 Expired
73.8 MB
buildkit-linux-arm-v7 Expired
69.5 MB
buildkit-linux-arm64 Expired
69.5 MB
buildkit-linux-ppc64le Expired
70.3 MB
buildkit-linux-riscv64 Expired
70.1 MB
buildkit-linux-s390x Expired
73.1 MB
buildkit-windows-amd64 Expired
38.2 MB
buildkit-windows-arm64 Expired
35.7 MB
moby~buildkit~5U2RME.dockerbuild
153 KB
moby~buildkit~6G51RX.dockerbuild
118 KB
moby~buildkit~6P2NZA.dockerbuild
159 KB
moby~buildkit~6PQVNA.dockerbuild
109 KB
moby~buildkit~GDLJQE.dockerbuild
121 KB
moby~buildkit~IIPY2Z.dockerbuild
160 KB
moby~buildkit~ME2URL.dockerbuild
32.9 KB
moby~buildkit~MSRXGA.dockerbuild
157 KB
moby~buildkit~MZYHT1.dockerbuild
172 KB
moby~buildkit~NCEAPA.dockerbuild
127 KB
moby~buildkit~T77N22.dockerbuild
120 KB
moby~buildkit~TRR9JW.dockerbuild
121 KB
moby~buildkit~TSH7OC.dockerbuild
134 KB
test-reports-run--1--- Expired
331 KB
test-reports-run--1---nydus Expired
332 KB
test-reports-run-client---containerd-nydus Expired
665 KB
test-reports-run-client---oci-nydus Expired
251 KB
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-containerd- Expired
292 KB
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-containerd-16- Expired
1.07 MB
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-containerd-rootless- Expired
153 KB
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-containerd-snapshotter-stargz- Expired
1.08 MB
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-oci- Expired
273 KB
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-oci-rootless-slirp4netns-detachnetns- Expired
147 KB
test-reports-run-clientcmdbuildctlworkercontainerdsolverfrontend--integration-oci-snapshotter-stargz- Expired
274 KB