Support OS version in platform string #5821
test-os.yml
on: pull_request
Matrix: build
Matrix: sandbox-build
test-freebsd-amd64
1m 32s
Matrix: test-windows-amd64
Annotations
8 errors and 1 warning
test-freebsd-amd64
Process completed with exit code 1.
|
test-freebsd-amd64
Process completed with exit code 1.
|
test-freebsd-amd64
Process completed with exit code 1.
|
Failed: frontend/dockerfile/TestIntegration:
frontend/dockerfile/run.go#L273
=== RUN TestIntegration
run.go:273: copied docker.io/wintools/nanoserver:ltsc2022 to local mirror localhost:64360/library/nanoserver:plus-busybox
time="2025-01-13T20:35:07Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:64360"
run.go:273: copied mcr.microsoft.com/windows/nanoserver:ltsc2022 to local mirror localhost:64360/library/nanoserver:latest
time="2025-01-13T20:35:09Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:64360"
run.go:273: copied docker.io/wintools/nanoserver:ltsc2022 to local mirror localhost:64360/library/nanoserver:plus
run.go:273: copied mcr.microsoft.com/windows/nanoserver:ltsc2022 to local mirror localhost:49204/library/nanoserver:latest
time="2025-01-13T21:09:51Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:49204"
run.go:273: copied docker.io/wintools/nanoserver:ltsc2022 to local mirror localhost:49204/library/nanoserver:plus
time="2025-01-13T21:09:54Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:49204"
run.go:273: copied docker.io/wintools/nanoserver:ltsc2022 to local mirror localhost:49204/library/nanoserver:plus-busybox
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:277
Error: Should be true
Test: TestIntegration
--- FAIL: TestIntegration (2192.11s)
|
Failed: frontend/dockerfile/TestIntegration/TestUndeclaredArg/worker=containerd/frontend=builtin:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd/frontend=builtin
sandbox.go:187: stdout: D:\a\buildkit\buildkit\bin\containerd.exe --config C:\Users\RUNNER~1\AppData\Local\Temp\bktest_containerd3209314971\config.toml
sandbox.go:187: stderr: D:\a\buildkit\buildkit\bin\containerd.exe --config C:\Users\RUNNER~1\AppData\Local\Temp\bktest_containerd3209314971\config.toml
sandbox.go:190: > StartCmd 2025-01-13 21:11:18.8587983 +0000 UTC m=+2175.046477301 D:\a\buildkit\buildkit\bin\containerd.exe --config C:\Users\RUNNER~1\AppData\Local\Temp\bktest_containerd3209314971\config.toml
sandbox.go:190: time="2025-01-13T21:11:18.879855200Z" level=info msg="starting containerd" revision= version=2.0.0+unknown
sandbox.go:190: time="2025-01-13T21:11:18.879855200Z" level=debug msg="Stackdump - waiting signal at Global\\stackdump-6204"
sandbox.go:190: time="2025-01-13T21:11:18.911985500Z" level=warning msg="Configuration migrated from version 2, use `containerd config migrate` to avoid migration" t="560.5µs"
sandbox.go:190: time="2025-01-13T21:11:18.911985500Z" level=info msg="loading plugin" id=io.containerd.internal.v1.opt type=io.containerd.internal.v1
sandbox.go:190: time="2025-01-13T21:11:18.912570500Z" level=info msg="loading plugin" id=io.containerd.content.v1.content type=io.containerd.content.v1
sandbox.go:190: time="2025-01-13T21:11:18.912570500Z" level=info msg="loading plugin" id=io.containerd.image-verifier.v1.bindir type=io.containerd.image-verifier.v1
sandbox.go:190: time="2025-01-13T21:11:18.912570500Z" level=info msg="loading plugin" id=io.containerd.warning.v1.deprecations type=io.containerd.warning.v1
sandbox.go:190: time="2025-01-13T21:11:18.912570500Z" level=info msg="loading plugin" id=io.containerd.event.v1.exchange type=io.containerd.event.v1
sandbox.go:190: time="2025-01-13T21:11:18.912570500Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.windows-lcow type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T21:11:18.913130400Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.cimfs type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T21:11:19.172133500Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.windows type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T21:11:19.172949700Z" level=info msg="loading plugin" id=io.containerd.metadata.v1.bolt type=io.containerd.metadata.v1
sandbox.go:190: time="2025-01-13T21:11:19.173562700Z" level=info msg="metadata content store policy set" policy=shared
sandbox.go:190: time="2025-01-13T21:11:19.185841500Z" level=info msg="loading plugin" id=io.containerd.gc.v1.scheduler type=io.containerd.gc.v1
sandbox.go:190: time="2025-01-13T21:11:19.186318600Z" level=info msg="loading plugin" id=io.containerd.differ.v1.windows-lcow type=io.containerd.differ.v1
sandbox.go:190: time="2025-01-13T21:11:19.186318600Z" level=info msg="loading plugin" id=io.containerd.differ.v1.cimfs type=io.containerd.differ.v1
sandbox.go:190: time="2025-01-13T21:11:19.186318600Z" level=info msg="loading plugin" id=io.containerd.differ.v1.windows type=io.containerd.differ.v1
sandbox.go:190: time="2025-01-13T21:11:19.186318600Z" level=info msg="loading plugin" id=io.containerd.lease.v1.manager type=io.containerd.lease.v1
sandbox.go:190: time="2025-01-13T21:11:19.186318600Z" level=info msg="loading plugin" id=io.containerd.streaming.v1.manager type=io.containerd.streaming.v1
sandbox.go:190: time="2025-01-13T21:11:19.186318600Z" level=info msg="loading plugin" id=io.containerd.transfer.v1.local type=io.containerd.transfer.v1
sandbox.go:190: time="2025-01-13T21:11:19.186318600Z" level=info msg="loading plugin" id=io.containerd.service.v1.containers-service type=io.containerd.service.v1
sandbox.go:190: time="2025-01-13T21:11:19.186318600Z" level=info msg="loading plugin" id=io.containerd.service.v1.content-service type=io.containerd.service.v1
sandbox.go:190: time="2025-01-13T21:11:19.186318600Z" level=info msg="lo
|
Failed: frontend/dockerfile/TestIntegration/TestUndeclaredArg/worker=containerd/frontend=builtin/warntype=progress#07:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd/frontend=builtin/warntype=progress#07
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: failed to parse platform windows/${MYARCH}: \"\" is an invalid component of \"windows/\": platform specifier component must match \"^[A-Za-z0-9_-]+$\": invalid argument (did you mean MY_ARCH?)"
actual : "failed to solve: failed to parse platform windows/${MYARCH}: \"\" is an invalid component of \"windows/\": platform specifier component must match \"^[A-Za-z0-9_.-]+$\": invalid argument (did you mean MY_ARCH?)"
Test: TestIntegration/TestUndeclaredArg/worker=containerd/frontend=builtin/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd/frontend=builtin/warntype=progress#07 (0.34s)
|
Failed: frontend/dockerfile/TestIntegration/TestUndeclaredArg/worker=containerd/frontend=builtin/warntype=unmarshal#07:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd/frontend=builtin/warntype=unmarshal#07
dockerfile_lint_test.go:1478:
Error Trace: D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_lint_test.go:1478
D:/a/buildkit/buildkit/frontend/gateway/grpcclient/client.go:215
D:/a/buildkit/buildkit/client/build.go:58
D:/a/buildkit/buildkit/client/solve.go:295
D:/a/buildkit/buildkit/vendor/golang.org/x/sync/errgroup/errgroup.go:78
C:/hostedtoolcache/windows/go/1.23.4/x64/src/runtime/asm_amd64.s:1700
Error: Not equal:
expected: "failed to parse platform windows/${MYARCH}: \"\" is an invalid component of \"windows/\": platform specifier component must match \"^[A-Za-z0-9_-]+$\": invalid argument (did you mean MY_ARCH?)"
actual : "failed to parse platform windows/${MYARCH}: \"\" is an invalid component of \"windows/\": platform specifier component must match \"^[A-Za-z0-9_.-]+$\": invalid argument (did you mean MY_ARCH?)"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-failed to parse platform windows/${MYARCH}: "" is an invalid component of "windows/": platform specifier component must match "^[A-Za-z0-9_-]+$": invalid argument (did you mean MY_ARCH?)
+failed to parse platform windows/${MYARCH}: "" is an invalid component of "windows/": platform specifier component must match "^[A-Za-z0-9_.-]+$": invalid argument (did you mean MY_ARCH?)
Test: TestIntegration/TestUndeclaredArg/worker=containerd/frontend=builtin/warntype=unmarshal#07
dockerfile_lint_test.go:1518:
Error Trace: D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_lint_test.go:1518
D:/a/buildkit/buildkit/frontend/dockerfile/dockerfile_lint_test.go:1649
Error: Should be true
Test: TestIntegration/TestUndeclaredArg/worker=containerd/frontend=builtin/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd/frontend=builtin/warntype=unmarshal#07 (0.19s)
|
test-windows-amd64 (containerd, ./frontend/dockerfile)
Process completed with exit code 1.
|
test-freebsd-amd64
Failed to restore: Cache service responded with 429
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
buildkit-freebsd-amd64
Expired
|
69 MB |
|
buildkit-windows-amd64
Expired
|
89.3 MB |
|
moby~buildkit~97MOPZ.dockerbuild
|
165 KB |
|
moby~buildkit~BF0N6Q.dockerbuild
|
163 KB |
|
moby~buildkit~FF04ZL.dockerbuild
|
63.9 KB |
|
moby~buildkit~PCFTD4.dockerbuild
|
65 KB |
|
test-reports-test-windows-amd64--1-
Expired
|
2.49 MB |
|
test-reports-test-windows-amd64-client--containerd
Expired
|
26.3 KB |
|
test-reports-test-windows-amd64-cmdbuildctl--containerd
Expired
|
3.61 KB |
|
test-reports-test-windows-amd64-frontend--containerd
Expired
|
1.14 KB |
|
test-reports-test-windows-amd64-frontenddockerfile--containerd
Expired
|
60 KB |
|
test-reports-test-windows-amd64-solver--containerd
Expired
|
12.1 KB |
|
test-reports-test-windows-amd64-workercontainerd--containerd
Expired
|
1.4 KB |
|