Skip to content

feat: allow setting platform for scratch image #5957

feat: allow setting platform for scratch image

feat: allow setting platform for scratch image #5957

Re-run triggered February 4, 2025 00:31
Status Failure
Total duration 39m 41s
Artifacts 13

test-os.yml

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

Annotations

4 errors
Failed: frontend/dockerfile/TestIntegration: frontend/dockerfile/run.go#L273
=== RUN TestIntegration run.go:273: copied docker.io/wintools/nanoserver:ltsc2022 to local mirror localhost:53228/library/nanoserver:plus time="2025-02-04T00:35:37Z" level=info msg="fetch failed after status: 404 Not Found" host="localhost:53228" run.go:273: copied docker.io/wintools/nanoserver:ltsc2022 to local mirror localhost:53228/library/nanoserver:plus-busybox time="2025-02-04T00:35:37Z" level=info msg="fetch failed after status: 404 Not Found" host="localhost:53228" run.go:273: copied mcr.microsoft.com/windows/nanoserver:ltsc2022 to local mirror localhost:53228/library/nanoserver:latest run.go:273: copied docker.io/wintools/nanoserver:ltsc2022 to local mirror localhost:54395/library/nanoserver:plus-busybox time="2025-02-04T01:08:20Z" level=info msg="fetch failed after status: 404 Not Found" host="localhost:54395" run.go:273: copied mcr.microsoft.com/windows/nanoserver:ltsc2022 to local mirror localhost:54395/library/nanoserver:latest time="2025-02-04T01:08:22Z" level=info msg="fetch failed after status: 404 Not Found" host="localhost:54395" run.go:273: copied docker.io/wintools/nanoserver:ltsc2022 to local mirror localhost:54395/library/nanoserver:plus run.go:214: Error Trace: D:/a/buildkit/buildkit/util/testutil/integration/run.go:214 D:/a/buildkit/buildkit/util/testutil/integration/run.go:215 D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_test.go:278 Error: Should be true Test: TestIntegration --- FAIL: TestIntegration (2087.17s)
Failed: frontend/dockerfile/TestIntegration/TestUndeclaredArg/worker=containerd/frontend=client: frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd/frontend=client sandbox.go:187: stdout: D:\a\buildkit\buildkit\bin\buildkitd.exe --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr npipe:////./pipe/containerd-bktest_containerd4168917569 --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=C:\Users\RUNNER~1\AppData\Local\Temp\bktest_config1161669735\buildkitd.toml --root C:\Users\RUNNER~1\AppData\Local\Temp\bktest_buildkitd1607141114 --addr npipe:////./pipe/buildkitd-bktest_buildkitd1607141114 --debug sandbox.go:187: stderr: D:\a\buildkit\buildkit\bin\buildkitd.exe --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr npipe:////./pipe/containerd-bktest_containerd4168917569 --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=C:\Users\RUNNER~1\AppData\Local\Temp\bktest_config1161669735\buildkitd.toml --root C:\Users\RUNNER~1\AppData\Local\Temp\bktest_buildkitd1607141114 --addr npipe:////./pipe/buildkitd-bktest_buildkitd1607141114 --debug sandbox.go:190: > StartCmd 2025-02-04 01:10:03.6275101 +0000 UTC m=+2068.995644501 D:\a\buildkit\buildkit\bin\buildkitd.exe --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr npipe:////./pipe/containerd-bktest_containerd4168917569 --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=C:\Users\RUNNER~1\AppData\Local\Temp\bktest_config1161669735\buildkitd.toml --root C:\Users\RUNNER~1\AppData\Local\Temp\bktest_buildkitd1607141114 --addr npipe:////./pipe/buildkitd-bktest_buildkitd1607141114 --debug sandbox.go:190: time="2025-02-04T01:10:03Z" level=debug msg="debug handlers listening at npipe:////./pipe/buildkitd-debug-bktest_buildkitd1607141114" sandbox.go:190: time="2025-02-04T01:10:03Z" level=warning msg="using null network as the default" sandbox.go:190: time="2025-02-04T01:10:03Z" level=debug msg="remote introspection plugin filters" filters="[type==io.containerd.runtime.v1 type==io.containerd.runtime.v2]" sandbox.go:190: time="2025-02-04T01:10:03Z" level=info msg="found worker \"pz72xhzofkl33daaa4l0fq7nt\", labels=map[org.mobyproject.buildkit.worker.containerd.namespace:buildkit org.mobyproject.buildkit.worker.containerd.uuid:518ba90a-52e1-45c5-aa4c-fd5750e16d7d org.mobyproject.buildkit.worker.executor:containerd org.mobyproject.buildkit.worker.hostname:fv-az521-368 org.mobyproject.buildkit.worker.network: org.mobyproject.buildkit.worker.sandbox:true org.mobyproject.buildkit.worker.selinux.enabled:false org.mobyproject.buildkit.worker.snapshotter:windows], platforms=[windows/amd64]" sandbox.go:190: time="2025-02-04T01:10:03Z" level=info msg="found 1 workers, default=\"pz72xhzofkl33daaa4l0fq7nt\"" sandbox.go:190: time="2025-02-04T01:10:03Z" level=warning msg="currently, only the default worker can be used." sandbox.go:190: time="2025-02-04T01:10:03Z" level=info msg="running server on //./pipe/buildkitd-bktest_buildkitd1607141114" sandbox.go:190: time="2025-02-04T01:10:03Z" level=debug msg="session started" spanID=2d50aa2596a06822 traceID=56fe32eddcdc01641741f99a8335b255 sandbox.go:190: time="2025-02-04T01:10:03Z" level=debug msg="new ref for local: 2snds5pgupq5zq82kn2ccmlwl" span="[internal] load build definition from Dockerfile" spanID=56c0310a5c1044f7 traceID=a11cf80e00aba2b1a852827bdc93bb45 sandbox.go:190: time="2025-02-04T01:10:03Z" level=debug msg="Calling proc (1)" sandbox.go:190: time="2025-02-04T01:10:03Z" level=debug msg="Calling proc (2)" sandbox.go:190: time="2025-02-04T01:10:03Z" level=debug msg="diffcopy took: 4.5186ms" span="[internal] load build definition from Dockerfile" spanID=e389784f5f4ca5cd traceID=a11cf80e00aba2b1a852827bdc93bb45 sandbox.go:190: time="2025-02-04T01:10:03Z" level=debug msg="saved 2snds5pgupq5zq82kn2ccmlwl as dockerfile:dockerfile:" span="[internal] load build definition from Dockerfile" spanID=56c0310a5c1044f7 traceID=a11cf80e00aba2b1a852827bdc93bb45 sandbox.go:190: time="2025-02-04T01:10:03Z" level=debug msg="
Failed: frontend/dockerfile/TestIntegration/TestUndeclaredArg/worker=containerd/frontend=client/warntype=progress#06: frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd/frontend=client/warntype=progress#06 dockerfile_lint_test.go:1645: Error Trace: D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_lint_test.go:1572 D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_lint_test.go:1645 Error: Error message not equal: expected: "failed to solve: empty platform value from expression $BULIDPLATFORM (did you mean BUILDPLATFORM?)" actual : "failed to run Build function: empty platform value from expression $BULIDPLATFORM (did you mean BUILDPLATFORM?)" Test: TestIntegration/TestUndeclaredArg/worker=containerd/frontend=client/warntype=progress#06 --- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd/frontend=client/warntype=progress#06 (0.18s)
test-windows-amd64 (containerd, ./frontend/dockerfile)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size Digest
buildkit-freebsd-amd64 Expired
69.5 MB
sha256:ed2fea1fa53d702d7fc466716cf36e39a40d080716a30f8bc0d1a66371471d18
buildkit-windows-amd64 Expired
89.8 MB
sha256:4b96159c1b9b3f7250dc9a32543fc75950b1b90a46b1af314d6446488d79eefb
moby~buildkit~JTFCV9.dockerbuild
160 KB
sha256:a1e652c83257bcd173e87e2ea058d26d09c9b1464e959264c199a1887cbb91de
moby~buildkit~PWOJUN.dockerbuild
159 KB
sha256:6fc1e81f935e9db775db6429bf488523623111081dd9ce56721d58c6470c6dff
moby~buildkit~Q4N7YK.dockerbuild
63 KB
sha256:710583098d815c674787c4aae6396f30b6437c2c8063992f1db84c92bbd3d0eb
moby~buildkit~SFM49J.dockerbuild
62.7 KB
sha256:a9735d5a892385b2b4381d25c8ccc0d077fa8ffc0def0f9f76453a630cb8b356
test-reports-test-windows-amd64--1- Expired
2.49 MB
sha256:4d625a85fd93d726b732c60b15a533eb1c5f112d56b5154e79d73fc89b836e87
test-reports-test-windows-amd64-client--containerd Expired
26.6 KB
sha256:4e878c84b5f0dfa48d20849e35f12b4b19e2573f4329027e51223daa9c123df5
test-reports-test-windows-amd64-cmdbuildctl--containerd Expired
3.62 KB
sha256:6ebc159ccc8f9febdabdcb21ee36cb2cd81f7a3968c1f312ce429bcefbf857c9
test-reports-test-windows-amd64-frontend--containerd Expired
1.14 KB
sha256:a3f8759c4e792d9bdff17d5c1c625f517bd303391f4817e0aa391e0d2b34dcb8
test-reports-test-windows-amd64-frontenddockerfile--containerd Expired
67.7 KB
sha256:888d0df161ab8dd3e753bb7af2c7b613c25ad19c3a3b2e09d8b6cb288a3aad2e
test-reports-test-windows-amd64-solver--containerd Expired
12.1 KB
sha256:3cdc4cdc21ec1a8f13548a2a9c5fee9f5adabdb03d344947aa94b06556d14e90
test-reports-test-windows-amd64-workercontainerd--containerd Expired
1.4 KB
sha256:408b3638e92b18c120a69814611d948e1cd4daae806ebf452c0f7ddcc4ae6c32