Support OS version in platform string #5197
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:39881/library/busybox:latest
time="2025-01-13T20:39:18Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:39881"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:39881/library/alpine:latest
run.go:273: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:45601/amd64/bullseye-20230109-slim:latest
--- FAIL: TestIntegration (0.06s)
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd/frontend=builtin
=== PAUSE TestIntegration/TestUndeclaredArg/worker=containerd/frontend=builtin
=== CONT TestIntegration/TestUndeclaredArg/worker=containerd/frontend=builtin
sandbox.go:187: stdout: /usr/bin/containerd --config /tmp/bktest_containerd443020311/config.toml
sandbox.go:187: stderr: /usr/bin/containerd --config /tmp/bktest_containerd443020311/config.toml
sandbox.go:190: > StartCmd 2025-01-13 20:40:19.812470307 +0000 UTC m=+62.122513050 /usr/bin/containerd --config /tmp/bktest_containerd443020311/config.toml
sandbox.go:190: time="2025-01-13T20:40:19.846081921Z" level=info msg="starting containerd" revision= version=2.0.0+unknown
sandbox.go:190: time="2025-01-13T20:40:19.858717740Z" level=warning msg="Configuration migrated from version 2, use `containerd config migrate` to avoid migration" t="3.225µs"
sandbox.go:190: time="2025-01-13T20:40:19.858744901Z" 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:19.858767804Z" level=info msg="loading plugin" id=io.containerd.internal.v1.opt type=io.containerd.internal.v1
sandbox.go:190: time="2025-01-13T20:40:19.858842022Z" level=info msg="loading plugin" id=io.containerd.warning.v1.deprecations type=io.containerd.warning.v1
sandbox.go:190: time="2025-01-13T20:40:19.858858743Z" level=info msg="loading plugin" id=io.containerd.content.v1.content type=io.containerd.content.v1
sandbox.go:190: time="2025-01-13T20:40:19.858911402Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.blockfile type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:19.858998575Z" 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:19.859014314Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.devmapper type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:19.859029453Z" 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:19.859041445Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.native type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:19.859162451Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.overlayfs type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:19.859430311Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.zfs type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:19.859514127Z" level=info msg="skip loading plugin" error="lstat /tmp/bktest_containerd443020311/root/io.containerd.snapshotter.v1.zfs: no such file or directory: skip plugin" id=io.containerd.snapshotter.v1.zfs type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:19.859529196Z" level=info msg="loading plugin" id=io.containerd.event.v1.exchange type=io.containerd.event.v1
sandbox.go:190: time="2025-01-13T20:40:19.859558951Z" level=info msg="loading plugin" id=io.containerd.monitor.task.v1.cgroups type=io.containerd.monitor.task.v1
sandbox.go:190: time="2025-01-13T20:40:19.859814018Z" level=info msg="loading plugin" id=io.containerd.metadata.v1.bolt type=io.containerd.metadata.v1
sandbox.go:190: time="2025-01-13T20:40:19.859901661Z" level=info msg="metadata content store policy set" policy=shared
sandbox.go:190: time="2025-01-13T20:40:19.862762925Z" level=info msg="loading plugin" id=io.containerd.gc.v1.scheduler type=io.containerd.gc.v1
sandbox.go:190: time="2025-01-13T20:40:19.862815704Z" level=info msg="loading plugin" id=io.containerd.differ.v1.walking type=io.containerd.differ.v1
sandbox.go:190: time="2025-01-13T20:40:19.862834739Z" level=info msg="loading plugin" id=io.containerd
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd/frontend=client
=== PAUSE TestIntegration/TestUndeclaredArg/worker=containerd/frontend=client
=== CONT TestIntegration/TestUndeclaredArg/worker=containerd/frontend=client
sandbox.go:187: stdout: /usr/bin/containerd --config /tmp/bktest_containerd3317499880/config.toml
sandbox.go:187: stderr: /usr/bin/containerd --config /tmp/bktest_containerd3317499880/config.toml
sandbox.go:190: > StartCmd 2025-01-13 20:40:19.502773714 +0000 UTC m=+61.812816437 /usr/bin/containerd --config /tmp/bktest_containerd3317499880/config.toml
sandbox.go:190: time="2025-01-13T20:40:19.530227337Z" level=info msg="starting containerd" revision= version=2.0.0+unknown
sandbox.go:190: time="2025-01-13T20:40:19.545046957Z" level=warning msg="Configuration migrated from version 2, use `containerd config migrate` to avoid migration" t="3.396µs"
sandbox.go:190: time="2025-01-13T20:40:19.545083956Z" 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:19.545111718Z" level=info msg="loading plugin" id=io.containerd.internal.v1.opt type=io.containerd.internal.v1
sandbox.go:190: time="2025-01-13T20:40:19.545162573Z" level=info msg="loading plugin" id=io.containerd.warning.v1.deprecations type=io.containerd.warning.v1
sandbox.go:190: time="2025-01-13T20:40:19.545178322Z" level=info msg="loading plugin" id=io.containerd.content.v1.content type=io.containerd.content.v1
sandbox.go:190: time="2025-01-13T20:40:19.545213298Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.blockfile type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:19.545296273Z" 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:19.545322421Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.devmapper type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:19.545342008Z" 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:19.545352207Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.native type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:19.546459375Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.overlayfs type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:19.547765775Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.zfs type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:19.547839883Z" level=info msg="skip loading plugin" error="lstat /tmp/bktest_containerd3317499880/root/io.containerd.snapshotter.v1.zfs: no such file or directory: skip plugin" id=io.containerd.snapshotter.v1.zfs type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:19.547865070Z" level=info msg="loading plugin" id=io.containerd.event.v1.exchange type=io.containerd.event.v1
sandbox.go:190: time="2025-01-13T20:40:19.548036711Z" level=info msg="loading plugin" id=io.containerd.monitor.task.v1.cgroups type=io.containerd.monitor.task.v1
sandbox.go:190: time="2025-01-13T20:40:19.548415128Z" level=info msg="loading plugin" id=io.containerd.metadata.v1.bolt type=io.containerd.metadata.v1
sandbox.go:190: time="2025-01-13T20:40:19.548513261Z" level=info msg="metadata content store policy set" policy=shared
sandbox.go:190: time="2025-01-13T20:40:19.552175120Z" level=info msg="loading plugin" id=io.containerd.gc.v1.scheduler type=io.containerd.gc.v1
sandbox.go:190: time="2025-01-13T20:40:19.552260159Z" level=info msg="loading plugin" id=io.containerd.differ.v1.walking type=io.containerd.differ.v1
sandbox.go:190: time="2025-01-13T20:40:19.552366267Z" level=info msg="loading plugin" id=io.container
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd/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/frontend=client/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd/frontend=client/warntype=progress#07 (0.05s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd/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/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/frontend=client/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd/frontend=client/warntype=unmarshal#07 (0.04s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd/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/frontend=builtin/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd/frontend=builtin/warntype=progress#07 (0.04s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd/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/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/frontend=builtin/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd/frontend=builtin/warntype=unmarshal#07 (0.04s)
|
Test
Process completed with exit code 1.
|
Loading