Support OS version in platform string #5198
Annotations
8 errors
Generate annotations:
frontend/dockerfile/run.go#L273
=== RUN TestIntegration
run.go:273: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:37495/library/busybox:latest
time="2025-01-13T22:23:08Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:37495"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:37495/library/alpine:latest
run.go:273: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:40867/amd64/bullseye-20230109-slim:latest
--- FAIL: TestIntegration (0.07s)
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=builtin
=== PAUSE TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=builtin
=== CONT TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=builtin
sandbox.go:187: stderr: /opt/containerd-alt-17/bin/containerd --config /tmp/bktest_containerd3919507975/config.toml
sandbox.go:190: > StartCmd 2025-01-13 22:24:09.710168564 +0000 UTC m=+61.468975653 /opt/containerd-alt-17/bin/containerd --config /tmp/bktest_containerd3919507975/config.toml
sandbox.go:190: time="2025-01-13T22:24:09.733668812Z" level=info msg="starting containerd" revision=57f17b0a6295a39009d861b89e3b3b87b005ca27 version=v1.7.23
sandbox.go:190: time="2025-01-13T22:24:09.750533229Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1
sandbox.go:190: time="2025-01-13T22:24:09.750565409Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1
sandbox.go:190: time="2025-01-13T22:24:09.750604231Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1
sandbox.go:190: time="2025-01-13T22:24:09.750619700Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:09.750695872Z" 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:190: time="2025-01-13T22:24:09.750711231Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:09.750726439Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." error="devmapper not configured: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:09.750738251Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:09.750848416Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:09.751093603Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.aufs\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:09.751848650Z" 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:190: time="2025-01-13T22:24:09.751872153Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.zfs\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:09.752005371Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.zfs\"..." error="path /tmp/bktest_containerd3919507975/root/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:09.752020760Z" level=info msg="loading plugin \"io.containerd.content.v1.content\"..." type=io.containerd.content.v1
sandbox.go:190: time="2025-01-13T22:24:09.752097433Z" level=info msg="loading plugin \"io.containerd.metadata.v1.bolt\"..." type=io.containerd.metadata.v1
sandbox.go:190: time="2025-01-13T22:24:09.752146955Z" level=info msg="metadata content store policy set" policy=shared
sandbox.go:190: time="2025-01-13T22:24:09.754305520Z" level=info msg="loading plugin \"io.containerd.gc.v1.scheduler\"..." type=io.containerd.gc.v1
sandbox.go:190: time="2025-01-13T22:24:09.754348450Z" level=info msg="loading plugin \"io.containerd.differ.v1.walking\"..." type=io.containerd.differ.v1
sandbox.go:190: time="2025-01-13T22:24:
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=client
=== PAUSE TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=client
=== CONT TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=client
sandbox.go:187: stdout: /opt/containerd-alt-17/bin/containerd --config /tmp/bktest_containerd1911847189/config.toml
sandbox.go:187: stderr: /opt/containerd-alt-17/bin/containerd --config /tmp/bktest_containerd1911847189/config.toml
sandbox.go:190: > StartCmd 2025-01-13 22:24:09.662729864 +0000 UTC m=+61.421536943 /opt/containerd-alt-17/bin/containerd --config /tmp/bktest_containerd1911847189/config.toml
sandbox.go:190: time="2025-01-13T22:24:09.684612827Z" level=info msg="starting containerd" revision=57f17b0a6295a39009d861b89e3b3b87b005ca27 version=v1.7.23
sandbox.go:190: time="2025-01-13T22:24:09.712378735Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1
sandbox.go:190: time="2025-01-13T22:24:09.712414070Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1
sandbox.go:190: time="2025-01-13T22:24:09.712452773Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1
sandbox.go:190: time="2025-01-13T22:24:09.712467029Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:09.712542400Z" 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:190: time="2025-01-13T22:24:09.712555995Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:09.712570382Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." error="devmapper not configured: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:09.712580521Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:09.712667022Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:09.712878235Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.aufs\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:09.713786097Z" 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:190: time="2025-01-13T22:24:09.713872237Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.zfs\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:09.714070366Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.zfs\"..." error="path /tmp/bktest_containerd1911847189/root/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:09.714093399Z" level=info msg="loading plugin \"io.containerd.content.v1.content\"..." type=io.containerd.content.v1
sandbox.go:190: time="2025-01-13T22:24:09.714201350Z" level=info msg="loading plugin \"io.containerd.metadata.v1.bolt\"..." type=io.containerd.metadata.v1
sandbox.go:190: time="2025-01-13T22:24:09.714268615Z" level=info msg="metadata content store policy set" policy=shared
sandbox.go:190: time="2025-01-13T22:24:09.716819744Z" level=info msg="loading plugin \"io.containerd.gc.v1.scheduler\"..." type=io.containerd.gc.v1
sandbox.go:190: time="2025-01-13T22:24:09.716880858Z" level=info msg="loading pl
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-1.7/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-1.7/frontend=builtin/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=builtin/warntype=progress#07 (0.04s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-1.7/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-1.7/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-1.7/frontend=builtin/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=builtin/warntype=unmarshal#07 (0.03s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-1.7/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-1.7/frontend=client/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=client/warntype=progress#07 (0.04s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-1.7/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-1.7/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-1.7/frontend=client/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=client/warntype=unmarshal#07 (0.03s)
|
Test
Process completed with exit code 1.
|
Loading