Skip to content

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

frontend: update lint checks to correctly utilize EnvList and EnvSetter

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

Triggered via pull request October 4, 2024 22:37
Status Failure
Total duration 30m 52s
Artifacts 11

test-os.yml

on: pull_request
Matrix: build
test-freebsd-amd64
3m 13s
test-freebsd-amd64
Matrix: test-windows-amd64
Fit to window
Zoom out
Zoom in

Annotations

9 errors
Failed: frontend/dockerfile/TestIntegration: frontend/dockerfile/run.go#L272
=== RUN TestIntegration run.go:272: copied mcr.microsoft.com/windows/nanoserver:ltsc2022 to local mirror localhost:57558/library/nanoserver:latest time="2024-10-04T22:41:59Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:57558" run.go:272: copied docker.io/wintools/nanoserver:ltsc2022 to local mirror localhost:57558/library/nanoserver:plus time="2024-10-04T22:42:03Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:57558" run.go:272: copied docker.io/wintools/nanoserver:ltsc2022 to local mirror localhost:57558/library/nanoserver:plus-busybox run.go:272: copied docker.io/wintools/nanoserver:ltsc2022 to local mirror localhost:58299/library/nanoserver:plus time="2024-10-04T23:04:09Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:58299" run.go:272: copied docker.io/wintools/nanoserver:ltsc2022 to local mirror localhost:58299/library/nanoserver:plus-busybox time="2024-10-04T23:04:09Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:58299" run.go:272: copied mcr.microsoft.com/windows/nanoserver:ltsc2022 to local mirror localhost:58299/library/nanoserver:latest run.go:213: Error Trace: D:/a/buildkit/buildkit/util/testutil/integration/run.go:213 D:/a/buildkit/buildkit/util/testutil/integration/run.go:214 D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_test.go:267 Error: Should be true Test: TestIntegration --- FAIL: TestIntegration (1532.81s)
Failed: frontend/dockerfile/TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin: frontend/dockerfile/sandbox.go#L135
=== RUN TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin sandbox.go:135: stdout: D:\a\buildkit\buildkit\bin\containerd.exe --config C:\Users\RUNNER~1\AppData\Local\Temp\bktest_containerd1622646799\config.toml sandbox.go:135: stderr: D:\a\buildkit\buildkit\bin\containerd.exe --config C:\Users\RUNNER~1\AppData\Local\Temp\bktest_containerd1622646799\config.toml sandbox.go:138: > StartCmd 2024-10-04 23:07:24.4677028 +0000 UTC m=+1527.207390901 D:\a\buildkit\buildkit\bin\containerd.exe --config C:\Users\RUNNER~1\AppData\Local\Temp\bktest_containerd1622646799\config.toml sandbox.go:138: time="2024-10-04T23:07:24Z" 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-04T23:07:24.523046000Z" level=info msg="starting containerd" revision=472731909fa34bd7bc9c087e4c27943f9835f111 version=v1.7.21 sandbox.go:138: time="2024-10-04T23:07:24.523046000Z" level=debug msg="Stackdump - waiting signal at Global\\stackdump-4408" sandbox.go:138: time="2024-10-04T23:07:24.537549800Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:138: time="2024-10-04T23:07:24.537614900Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:138: time="2024-10-04T23:07:24.537999500Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:138: time="2024-10-04T23:07:24.537999500Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.windows-lcow\"..." type=io.containerd.snapshotter.v1 sandbox.go:138: time="2024-10-04T23:07:24.538583700Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.windows\"..." type=io.containerd.snapshotter.v1 sandbox.go:138: time="2024-10-04T23:07:24.538583700Z" level=info msg="loading plugin \"io.containerd.content.v1.content\"..." type=io.containerd.content.v1 sandbox.go:138: time="2024-10-04T23:07:24.539755300Z" level=info msg="loading plugin \"io.containerd.metadata.v1.bolt\"..." type=io.containerd.metadata.v1 sandbox.go:138: time="2024-10-04T23:07:24.539755300Z" level=info msg="metadata content store policy set" policy=shared sandbox.go:138: time="2024-10-04T23:07:24.550677800Z" level=info msg="loading plugin \"io.containerd.gc.v1.scheduler\"..." type=io.containerd.gc.v1 sandbox.go:138: time="2024-10-04T23:07:24.553792200Z" level=info msg="loading plugin \"io.containerd.differ.v1.windows-lcow\"..." type=io.containerd.differ.v1 sandbox.go:138: time="2024-10-04T23:07:24.553792200Z" level=info msg="loading plugin \"io.containerd.differ.v1.walking\"..." type=io.containerd.differ.v1 sandbox.go:138: time="2024-10-04T23:07:24.553792200Z" level=info msg="loading plugin \"io.containerd.differ.v1.windows\"..." type=io.containerd.differ.v1 sandbox.go:138: time="2024-10-04T23:07:24.553792200Z" level=info msg="loading plugin \"io.containerd.lease.v1.manager\"..." type=io.containerd.lease.v1 sandbox.go:138: time="2024-10-04T23:07:24.553792200Z" level=info msg="loading plugin \"io.containerd.streaming.v1.manager\"..." type=io.containerd.streaming.v1 sandbox.go:138: time="2024-10-04T23:07:24.553792200Z" level=info msg="loading plugin \"io.containerd.runtime.v2.task\"..." type=io.containerd.runtime.v2 sandbox.go:138: time="2024-10-04T23:07:24.554897600Z" level=info msg="loading plugin \"io.containerd.runtime.v2.shim\"..." type=io.containerd.runtime.v2 sandbox.go:138: time="2024-10-04T23:07:24.554897600Z" level=info msg="loading plugin \"io.containerd.sandbox.store.v1.local\"..." type=io.containerd.sandbox.store.v1 sandbox.go:138: time="2024-10-04T23:07:24.554897600Z" level=info msg="loading plugin \"io.containerd.sandbox.controller.v1.local\"..." type=io.containerd.sandbox.controller.v1 sandbox.go:138: time="2024-10-04T23
Failed: frontend/dockerfile/TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=progress: frontend/dockerfile/dockerfile_lint_test.go#L1554
=== RUN TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=progress dockerfile_lint_test.go:1554: expected 1 warnings, received: dockerfile_lint_test.go:1554: Error Trace: D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_lint_test.go:1505 D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_lint_test.go:1554 Error: Not equal: expected: 1 actual : 0 Test: TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=progress --- FAIL: TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=progress (0.74s)
Failed: frontend/dockerfile/TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=unmarshal: frontend/dockerfile/dockerfile_lint_test.go#L1406
=== RUN TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=unmarshal dockerfile_lint_test.go:1406: Error Trace: D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_lint_test.go:1406 D:/a/buildkit/buildkit/frontend/gateway/grpcclient/client.go:216 D:/a/buildkit/buildkit/client/build.go:58 D:/a/buildkit/buildkit/client/solve.go:296 D:/a/buildkit/buildkit/vendor/golang.org/x/sync/errgroup/errgroup.go:78 C:/hostedtoolcache/windows/go/1.22.7/x64/src/runtime/asm_amd64.s:1695 Error: Not equal: expected: 1 actual : 0 Test: TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=unmarshal dockerfile_lint_test.go:1432: Error Trace: D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_lint_test.go:1432 D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_lint_test.go:1558 Error: Should be true Test: TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=unmarshal --- FAIL: TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=unmarshal (0.33s)
Failed: frontend/dockerfile/TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=progress#01: frontend/dockerfile/dockerfile_lint_test.go#L1554
=== RUN TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=progress#01 dockerfile_lint_test.go:1554: expected 1 warnings, received: dockerfile_lint_test.go:1554: Error Trace: D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_lint_test.go:1505 D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_lint_test.go:1554 Error: Not equal: expected: 1 actual : 0 Test: TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=progress#01 --- FAIL: TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=progress#01 (0.46s)
Failed: frontend/dockerfile/TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=unmarshal#01: frontend/dockerfile/dockerfile_lint_test.go#L1406
=== RUN TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=unmarshal#01 dockerfile_lint_test.go:1406: Error Trace: D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_lint_test.go:1406 D:/a/buildkit/buildkit/frontend/gateway/grpcclient/client.go:216 D:/a/buildkit/buildkit/client/build.go:58 D:/a/buildkit/buildkit/client/solve.go:296 D:/a/buildkit/buildkit/vendor/golang.org/x/sync/errgroup/errgroup.go:78 C:/hostedtoolcache/windows/go/1.22.7/x64/src/runtime/asm_amd64.s:1695 Error: Not equal: expected: 1 actual : 0 Test: TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=unmarshal#01 dockerfile_lint_test.go:1432: Error Trace: D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_lint_test.go:1432 D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_lint_test.go:1558 Error: Should be true Test: TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=unmarshal#01 --- FAIL: TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=unmarshal#01 (0.28s)
Failed: frontend/dockerfile/TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=progress#02: frontend/dockerfile/dockerfile_lint_test.go#L1554
=== RUN TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=progress#02 dockerfile_lint_test.go:1554: expected 1 warnings, received: dockerfile_lint_test.go:1554: Error Trace: D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_lint_test.go:1505 D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_lint_test.go:1554 Error: Not equal: expected: 1 actual : 0 Test: TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=progress#02 --- FAIL: TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=progress#02 (0.38s)
Failed: frontend/dockerfile/TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=unmarshal#02: frontend/dockerfile/dockerfile_lint_test.go#L1406
=== RUN TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=unmarshal#02 dockerfile_lint_test.go:1406: Error Trace: D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_lint_test.go:1406 D:/a/buildkit/buildkit/frontend/gateway/grpcclient/client.go:216 D:/a/buildkit/buildkit/client/build.go:58 D:/a/buildkit/buildkit/client/solve.go:296 D:/a/buildkit/buildkit/vendor/golang.org/x/sync/errgroup/errgroup.go:78 C:/hostedtoolcache/windows/go/1.22.7/x64/src/runtime/asm_amd64.s:1695 Error: Not equal: expected: 1 actual : 0 Test: TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=unmarshal#02 dockerfile_lint_test.go:1432: Error Trace: D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_lint_test.go:1432 D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_lint_test.go:1558 Error: Should be true Test: TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=unmarshal#02 --- FAIL: TestIntegration/TestInvalidDefaultArgInFrom/worker=containerd/frontend=builtin/warntype=unmarshal#02 (0.28s)
test-windows-amd64 (containerd, ./frontend/dockerfile)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
buildkit-freebsd-amd64 Expired
67.2 MB
buildkit-windows-amd64 Expired
76.5 MB
moby~buildkit~7EUVUT.dockerbuild Expired
59.2 KB
moby~buildkit~MQT2M7.dockerbuild Expired
58.5 KB
test-reports-test-windows-amd64--1- Expired
1.1 MB
test-reports-test-windows-amd64-client--containerd Expired
23.3 KB
test-reports-test-windows-amd64-cmdbuildctl--containerd Expired
3.62 KB
test-reports-test-windows-amd64-frontend--containerd Expired
1.14 KB
test-reports-test-windows-amd64-frontenddockerfile--containerd Expired
58 KB
test-reports-test-windows-amd64-solver--containerd Expired
11.9 KB
test-reports-test-windows-amd64-workercontainerd--containerd Expired
1.41 KB