Support OS version in platform string #5197
Annotations
8 errors and 1 warning
Generate annotations:
frontend/dockerfile/run.go#L273
=== RUN TestIntegration
run.go:273: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:41959/library/busybox:latest
time="2025-01-13T20:39:16Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:41959"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:41959/library/alpine:latest
run.go:273: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:32831/amd64/bullseye-20230109-slim:latest
--- FAIL: TestIntegration (0.06s)
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=builtin
=== PAUSE TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=builtin
=== CONT TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=builtin
sandbox.go:187: stdout: /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd1859206010/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_containerd1859206010/config.toml
sandbox.go:187: stderr: /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd1859206010/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_containerd1859206010/config.toml
sandbox.go:190: > StartCmd 2025-01-13 20:40:18.743523857 +0000 UTC m=+62.443214613 /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd1859206010/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_containerd1859206010/config.toml
sandbox.go:190: time="2025-01-13T20:40:18.855346594Z" level=info msg="starting containerd" revision= version=2.0.0+unknown
sandbox.go:190: time="2025-01-13T20:40:18.867205295Z" level=warning msg="Configuration migrated from version 2, use `containerd config migrate` to avoid migration" t="3.557µs"
sandbox.go:190: time="2025-01-13T20:40:18.867235922Z" level=info msg="loading plugin" id=io.containerd.image-verifier.v1.bindir type=io.containerd.image-verifier.v1
sandbox.go:190: time="2025-01-13T20:40:18.867264024Z" level=info msg="loading plugin" id=io.containerd.internal.v1.opt type=io.containerd.internal.v1
sandbox.go:190: time="2025-01-13T20:40:18.867328064Z" level=warning msg="failed to load plugin" error="mkdir /opt/containerd: permission denied" id=io.containerd.internal.v1.opt type=io.containerd.internal.v1
sandbox.go:190: time="2025-01-13T20:40:18.867346528Z" level=info msg="loading plugin" id=io.containerd.warning.v1.deprecations type=io.containerd.warning.v1
sandbox.go:190: time="2025-01-13T20:40:18.867361146Z" level=info msg="loading plugin" id=io.containerd.content.v1.content type=io.containerd.content.v1
sandbox.go:190: time="2025-01-13T20:40:18.867395229Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.blockfile type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:18.867473826Z" level=info msg="skip loading plugin" error="no scratch file generator: skip plugin" id=io.containerd.snapshotter.v1.blockfile type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:18.867487050Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.devmapper type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:18.867499764Z" level=info msg="skip loading plugin" error="devmapper not configured: skip plugin" id=io.containerd.snapshotter.v1.devmapper type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:18.867509082Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.native type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:18.867646258Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.overlayfs type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:18.868050171Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.zfs type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:18.868114020Z" level=info msg="skip loading plugin" error="lstat /tmp/bktest_containerd1859206010/root/io.containerd.snapshotter.v1.zfs: no such file or directory: skip plugin" id=io.containerd.snapshotter.v1.zfs type=io.containerd.snaps
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=client
=== PAUSE TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=client
=== CONT TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=client
sandbox.go:187: stdout: /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd2114103064/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_containerd2114103064/config.toml
sandbox.go:187: stderr: /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd2114103064/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_containerd2114103064/config.toml
sandbox.go:190: > StartCmd 2025-01-13 20:40:18.284512527 +0000 UTC m=+61.984203323 /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd2114103064/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_containerd2114103064/config.toml
sandbox.go:190: time="2025-01-13T20:40:18.369588607Z" level=info msg="starting containerd" revision= version=2.0.0+unknown
sandbox.go:190: time="2025-01-13T20:40:18.378271458Z" level=warning msg="Configuration migrated from version 2, use `containerd config migrate` to avoid migration" t="1.653µs"
sandbox.go:190: time="2025-01-13T20:40:18.378293710Z" level=info msg="loading plugin" id=io.containerd.image-verifier.v1.bindir type=io.containerd.image-verifier.v1
sandbox.go:190: time="2025-01-13T20:40:18.378312695Z" level=info msg="loading plugin" id=io.containerd.internal.v1.opt type=io.containerd.internal.v1
sandbox.go:190: time="2025-01-13T20:40:18.378355635Z" level=warning msg="failed to load plugin" error="mkdir /opt/containerd: permission denied" id=io.containerd.internal.v1.opt type=io.containerd.internal.v1
sandbox.go:190: time="2025-01-13T20:40:18.378369741Z" level=info msg="loading plugin" id=io.containerd.warning.v1.deprecations type=io.containerd.warning.v1
sandbox.go:190: time="2025-01-13T20:40:18.378383427Z" level=info msg="loading plugin" id=io.containerd.content.v1.content type=io.containerd.content.v1
sandbox.go:190: time="2025-01-13T20:40:18.378416018Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.blockfile type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:18.378496228Z" level=info msg="skip loading plugin" error="no scratch file generator: skip plugin" id=io.containerd.snapshotter.v1.blockfile type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:18.378515694Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.devmapper type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:18.378529690Z" level=info msg="skip loading plugin" error="devmapper not configured: skip plugin" id=io.containerd.snapshotter.v1.devmapper type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:18.378540811Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.native type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:18.378642881Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.overlayfs type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:18.378923344Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.zfs type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:18.378967467Z" level=info msg="skip loading plugin" error="lstat /tmp/bktest_containerd2114103064/root/io.containerd.snapshotter.v1.zfs: no such file or directory: skip plugin" id=io.containerd.snapshotter.v1.zfs type=io.containerd.snapshot
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=client/warntype=progress#07
dockerfile_lint_test.go:1645:
Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1572
/src/frontend/dockerfile/dockerfile_lint_test.go:1645
Error: Error message not equal:
expected: "failed to solve: failed to parse platform linux/${MYARCH}: \"\" is an invalid component of \"linux/\": platform specifier component must match \"^[A-Za-z0-9_-]+$\": invalid argument (did you mean MY_ARCH?)"
actual : "failed to solve: failed to parse platform linux/${MYARCH}: \"\" is an invalid component of \"linux/\": platform specifier component must match \"^[A-Za-z0-9_.-]+$\": invalid argument (did you mean MY_ARCH?)"
Test: TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=client/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=client/warntype=progress#07 (0.05s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=client/warntype=unmarshal#07
dockerfile_lint_test.go:1478:
Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1478
/src/frontend/gateway/grpcclient/client.go:215
/src/client/build.go:58
/src/client/solve.go:295
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:78
/usr/local/go/src/runtime/asm_amd64.s:1700
Error: Not equal:
expected: "failed to parse platform linux/${MYARCH}: \"\" is an invalid component of \"linux/\": platform specifier component must match \"^[A-Za-z0-9_-]+$\": invalid argument (did you mean MY_ARCH?)"
actual : "failed to parse platform linux/${MYARCH}: \"\" is an invalid component of \"linux/\": 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 linux/${MYARCH}: "" is an invalid component of "linux/": platform specifier component must match "^[A-Za-z0-9_-]+$": invalid argument (did you mean MY_ARCH?)
+failed to parse platform linux/${MYARCH}: "" is an invalid component of "linux/": platform specifier component must match "^[A-Za-z0-9_.-]+$": invalid argument (did you mean MY_ARCH?)
Test: TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=client/warntype=unmarshal#07
dockerfile_lint_test.go:1518:
Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1518
/src/frontend/dockerfile/dockerfile_lint_test.go:1649
Error: Should be true
Test: TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=client/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=client/warntype=unmarshal#07 (0.03s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=builtin/warntype=progress#07
dockerfile_lint_test.go:1645:
Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1572
/src/frontend/dockerfile/dockerfile_lint_test.go:1645
Error: Error message not equal:
expected: "failed to solve: failed to parse platform linux/${MYARCH}: \"\" is an invalid component of \"linux/\": platform specifier component must match \"^[A-Za-z0-9_-]+$\": invalid argument (did you mean MY_ARCH?)"
actual : "failed to solve: failed to parse platform linux/${MYARCH}: \"\" is an invalid component of \"linux/\": platform specifier component must match \"^[A-Za-z0-9_.-]+$\": invalid argument (did you mean MY_ARCH?)"
Test: TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=builtin/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=builtin/warntype=progress#07 (0.09s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=builtin/warntype=unmarshal#07
dockerfile_lint_test.go:1478:
Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1478
/src/frontend/gateway/grpcclient/client.go:215
/src/client/build.go:58
/src/client/solve.go:295
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:78
/usr/local/go/src/runtime/asm_amd64.s:1700
Error: Not equal:
expected: "failed to parse platform linux/${MYARCH}: \"\" is an invalid component of \"linux/\": platform specifier component must match \"^[A-Za-z0-9_-]+$\": invalid argument (did you mean MY_ARCH?)"
actual : "failed to parse platform linux/${MYARCH}: \"\" is an invalid component of \"linux/\": 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 linux/${MYARCH}: "" is an invalid component of "linux/": platform specifier component must match "^[A-Za-z0-9_-]+$": invalid argument (did you mean MY_ARCH?)
+failed to parse platform linux/${MYARCH}: "" is an invalid component of "linux/": platform specifier component must match "^[A-Za-z0-9_.-]+$": invalid argument (did you mean MY_ARCH?)
Test: TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=builtin/warntype=unmarshal#07
dockerfile_lint_test.go:1518:
Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1518
/src/frontend/dockerfile/dockerfile_lint_test.go:1649
Error: Should be true
Test: TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=builtin/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=builtin/warntype=unmarshal#07 (0.04s)
|
Test
Process completed with exit code 1.
|
Set up QEMU
Failed to restore: Cache service responded with 429
|
Loading