Support OS version in platform string #5194
Annotations
10 errors
Generate annotations:
frontend/dockerfile/run.go#L273
=== RUN TestIntegration
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:46441/library/alpine:latest
time="2025-01-13T20:12:58Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:46441"
run.go:273: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:46441/library/busybox:latest
run.go:273: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:45173/amd64/bullseye-20230109-slim:latest
--- FAIL: TestIntegration (0.06s)
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L9564
=== RUN TestIntegration/TestPlatformWithOSVersion/worker=containerd/frontend=builtin
=== PAUSE TestIntegration/TestPlatformWithOSVersion/worker=containerd/frontend=builtin
=== CONT TestIntegration/TestPlatformWithOSVersion/worker=containerd/frontend=builtin
dockerfile_test.go:9564:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:9564
/src/util/testutil/integration/run.go:98
/src/util/testutil/integration/run.go:212
Error: Not equal:
expected: "1.1.0\n"
actual : "1.2.3\n"
Diff:
--- Expected
+++ Actual
@@ -1,2 +1,2 @@
-1.1.0
+1.2.3
Test: TestIntegration/TestPlatformWithOSVersion/worker=containerd/frontend=builtin
sandbox.go:187: stderr: /usr/bin/buildkitd --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd1204887953/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker=false --config=/tmp/bktest_config453992967/buildkitd.toml --root /tmp/bktest_buildkitd4117581418 --addr unix:///tmp/bktest_buildkitd4117581418/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd4117581418/buildkitd-debug.sock --debug
sandbox.go:190: > StartCmd 2025-01-13 20:13:24.037478725 +0000 UTC m=+26.088188723 /usr/bin/buildkitd --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd1204887953/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker=false --config=/tmp/bktest_config453992967/buildkitd.toml --root /tmp/bktest_buildkitd4117581418 --addr unix:///tmp/bktest_buildkitd4117581418/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd4117581418/buildkitd-debug.sock --debug
sandbox.go:190: time="2025-01-13T20:13:24Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd4117581418/buildkitd-debug.sock"
sandbox.go:190: time="2025-01-13T20:13:24Z" level=debug msg="could not read \"/tmp/bktest_buildkitd4117581418/net/cni\" for cleanup: open /tmp/bktest_buildkitd4117581418/net/cni: no such file or directory"
sandbox.go:190: time="2025-01-13T20:13:24Z" level=debug msg="creating new network namespace sw2ao41s93xagcdk7z8g4tj6o"
sandbox.go:190: time="2025-01-13T20:13:24Z" level=debug msg="finished creating network namespace sw2ao41s93xagcdk7z8g4tj6o"
sandbox.go:190: time="2025-01-13T20:13:24Z" level=debug msg="finished setting up network namespace sw2ao41s93xagcdk7z8g4tj6o"
sandbox.go:190: time="2025-01-13T20:13:24Z" level=debug msg="remote introspection plugin filters" filters="[type==io.containerd.runtime.v1 type==io.containerd.runtime.v2]"
sandbox.go:190: time="2025-01-13T20:13:24Z" level=info msg="found worker \"j16fvcy1hbeixc7jot6we6da8\", labels=map[org.mobyproject.buildkit.worker.containerd.namespace:buildkit org.mobyproject.buildkit.worker.containerd.uuid:7cd74bb4-ca6f-45ec-b84a-0cb0e047a42a org.mobyproject.buildkit.worker.executor:containerd org.mobyproject.buildkit.worker.hostname:054969b9576c org.mobyproject.buildkit.worker.network:cni org.mobyproject.buildkit.worker.sandbox:true org.mobyproject.buildkit.worker.selinux.enabled:false org.mobyproject.buildkit.worker.snapshotter:overlayfs], platforms=[linux/amd64 linux/amd64/v2 linux/amd64/v3 linux/arm64 linux/riscv64 linux/ppc64le linux/s390x linux/386 linux/arm/v7 linux/arm/v6]"
sandbox.go:190: time="2025-01-13T20:13:24Z" level=info msg="found 1 workers, default=\"j16fvcy1hbeixc7jot6we6da8\""
sandbox.go:190: time="2025-01-13T20:13:24Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:190: time="2025-01-13T20:13:24Z" level=info msg="running server on /tmp/bktest_buildkitd4117581418/buildkitd.sock"
sandbox.go:190: time="2025-01-13T20:13:24Z" level=debug msg="resolve exporter local w
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L9564
=== RUN TestIntegration/TestPlatformWithOSVersion/worker=containerd/frontend=client
=== PAUSE TestIntegration/TestPlatformWithOSVersion/worker=containerd/frontend=client
=== CONT TestIntegration/TestPlatformWithOSVersion/worker=containerd/frontend=client
dockerfile_test.go:9564:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:9564
/src/util/testutil/integration/run.go:98
/src/util/testutil/integration/run.go:212
Error: Not equal:
expected: "1.1.0\n"
actual : "1.2.3\n"
Diff:
--- Expected
+++ Actual
@@ -1,2 +1,2 @@
-1.1.0
+1.2.3
Test: TestIntegration/TestPlatformWithOSVersion/worker=containerd/frontend=client
sandbox.go:187: stdout: /usr/bin/containerd --config /tmp/bktest_containerd1273034128/config.toml
sandbox.go:187: stderr: /usr/bin/containerd --config /tmp/bktest_containerd1273034128/config.toml
sandbox.go:190: > StartCmd 2025-01-13 20:13:23.759479036 +0000 UTC m=+25.810189044 /usr/bin/containerd --config /tmp/bktest_containerd1273034128/config.toml
sandbox.go:190: time="2025-01-13T20:13:23.776131672Z" level=info msg="starting containerd" revision= version=2.0.0+unknown
sandbox.go:190: time="2025-01-13T20:13:23.785407662Z" level=warning msg="Configuration migrated from version 2, use `containerd config migrate` to avoid migration" t="3.236µs"
sandbox.go:190: time="2025-01-13T20:13:23.785465620Z" 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:13:23.785489885Z" level=info msg="loading plugin" id=io.containerd.internal.v1.opt type=io.containerd.internal.v1
sandbox.go:190: time="2025-01-13T20:13:23.785542142Z" level=info msg="loading plugin" id=io.containerd.warning.v1.deprecations type=io.containerd.warning.v1
sandbox.go:190: time="2025-01-13T20:13:23.785563422Z" level=info msg="loading plugin" id=io.containerd.content.v1.content type=io.containerd.content.v1
sandbox.go:190: time="2025-01-13T20:13:23.785593698Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.blockfile type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:13:23.785843911Z" 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:13:23.785865441Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.devmapper type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:13:23.785879517Z" 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:13:23.785891699Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.native type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:13:23.785999059Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.overlayfs type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:13:23.786273268Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.zfs type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:13:23.786315197Z" level=info msg="skip loading plugin" error="lstat /tmp/bktest_containerd1273034128/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:13:23.786329974Z" level=info msg="loading plugin" id=io.containerd.event.v1.exchange type=io.containerd.event.v1
sandbox.go:190: time="2025-01-13T20:13:23.786552670Z" level=info msg="loading plugin" id=io.containerd.monitor.task.v1.cgroups type=io
|
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_containerd2353953467/config.toml
sandbox.go:187: stderr: /usr/bin/containerd --config /tmp/bktest_containerd2353953467/config.toml
sandbox.go:190: > StartCmd 2025-01-13 20:13:58.426774633 +0000 UTC m=+60.477484631 /usr/bin/containerd --config /tmp/bktest_containerd2353953467/config.toml
sandbox.go:190: time="2025-01-13T20:13:58.447506401Z" level=info msg="starting containerd" revision= version=2.0.0+unknown
sandbox.go:190: time="2025-01-13T20:13:58.458582934Z" level=warning msg="Configuration migrated from version 2, use `containerd config migrate` to avoid migration" t="3.386µs"
sandbox.go:190: time="2025-01-13T20:13:58.458616056Z" 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:13:58.458637726Z" level=info msg="loading plugin" id=io.containerd.internal.v1.opt type=io.containerd.internal.v1
sandbox.go:190: time="2025-01-13T20:13:58.458690023Z" level=info msg="loading plugin" id=io.containerd.warning.v1.deprecations type=io.containerd.warning.v1
sandbox.go:190: time="2025-01-13T20:13:58.458707706Z" level=info msg="loading plugin" id=io.containerd.content.v1.content type=io.containerd.content.v1
sandbox.go:190: time="2025-01-13T20:13:58.458742541Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.blockfile type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:13:58.458836646Z" 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:13:58.458859558Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.devmapper type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:13:58.458875588Z" 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:13:58.458885847Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.native type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:13:58.459002233Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.overlayfs type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:13:58.459659134Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.zfs type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:13:58.459709067Z" level=info msg="skip loading plugin" error="lstat /tmp/bktest_containerd2353953467/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:13:58.459729836Z" level=info msg="loading plugin" id=io.containerd.event.v1.exchange type=io.containerd.event.v1
sandbox.go:190: time="2025-01-13T20:13:58.459760863Z" 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:13:58.459998114Z" level=info msg="loading plugin" id=io.containerd.metadata.v1.bolt type=io.containerd.metadata.v1
sandbox.go:190: time="2025-01-13T20:13:58.460072693Z" level=info msg="metadata content store policy set" policy=shared
sandbox.go:190: time="2025-01-13T20:13:58.465109062Z" level=info msg="loading plugin" id=io.containerd.gc.v1.scheduler type=io.containerd.gc.v1
sandbox.go:190: time="2025-01-13T20:13:58.466256224Z" level=info msg="loading plugin" id=io.containerd.differ.v1.walking type=io.containerd.differ.v1
sandbox.go:190: time="2025-01-13T20:13:58.466295226Z" level=info msg="loading plugin" id=io.contai
|
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: stderr: /usr/bin/buildkitd --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd1777548845/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker=false --config=/tmp/bktest_config3645050903/buildkitd.toml --root /tmp/bktest_buildkitd2313030946 --addr unix:///tmp/bktest_buildkitd2313030946/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd2313030946/buildkitd-debug.sock --debug
sandbox.go:190: > StartCmd 2025-01-13 20:13:58.445168122 +0000 UTC m=+60.495878120 /usr/bin/buildkitd --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd1777548845/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker=false --config=/tmp/bktest_config3645050903/buildkitd.toml --root /tmp/bktest_buildkitd2313030946 --addr unix:///tmp/bktest_buildkitd2313030946/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd2313030946/buildkitd-debug.sock --debug
sandbox.go:190: time="2025-01-13T20:13:58Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd2313030946/buildkitd-debug.sock"
sandbox.go:190: time="2025-01-13T20:13:58Z" level=debug msg="could not read \"/tmp/bktest_buildkitd2313030946/net/cni\" for cleanup: open /tmp/bktest_buildkitd2313030946/net/cni: no such file or directory"
sandbox.go:190: time="2025-01-13T20:13:58Z" level=debug msg="creating new network namespace k25l0eayxqombejgvwm1iz5sv"
sandbox.go:190: time="2025-01-13T20:13:58Z" level=debug msg="finished creating network namespace k25l0eayxqombejgvwm1iz5sv"
sandbox.go:190: time="2025-01-13T20:13:58Z" level=debug msg="finished setting up network namespace k25l0eayxqombejgvwm1iz5sv"
sandbox.go:190: time="2025-01-13T20:13:58Z" level=debug msg="remote introspection plugin filters" filters="[type==io.containerd.runtime.v1 type==io.containerd.runtime.v2]"
sandbox.go:190: time="2025-01-13T20:13:58Z" level=info msg="found worker \"xp3dwfh0teum9sbm8as0h08rz\", labels=map[org.mobyproject.buildkit.worker.containerd.namespace:buildkit org.mobyproject.buildkit.worker.containerd.uuid:1b9d7541-6e3a-422b-b000-62d56539a9a7 org.mobyproject.buildkit.worker.executor:containerd org.mobyproject.buildkit.worker.hostname:054969b9576c org.mobyproject.buildkit.worker.network:cni org.mobyproject.buildkit.worker.sandbox:true org.mobyproject.buildkit.worker.selinux.enabled:false org.mobyproject.buildkit.worker.snapshotter:overlayfs], platforms=[linux/amd64 linux/amd64/v2 linux/amd64/v3 linux/arm64 linux/riscv64 linux/ppc64le linux/s390x linux/386 linux/arm/v7 linux/arm/v6]"
sandbox.go:190: time="2025-01-13T20:13:58Z" level=info msg="found 1 workers, default=\"xp3dwfh0teum9sbm8as0h08rz\""
sandbox.go:190: time="2025-01-13T20:13:58Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:190: time="2025-01-13T20:13:58Z" level=info msg="running server on /tmp/bktest_buildkitd2313030946/buildkitd.sock"
sandbox.go:190: time="2025-01-13T20:13:58Z" level=debug msg="session started" spanID=5c8db9b1fa2c3f47 traceID=9c1d57f175fd2c7a989c71baa0713137
sandbox.go:190: time="2025-01-13T20:13:58Z" level=debug msg="new ref for local: mfzanezfg0ujlufl61l8nvyed" span="[internal] load build definition from Dockerfile" spanID=fa4925c51c9083df traceID=3fea3eff5699e39eec6027a362fb7927
sandbox.go:190: time="2025-01-13T20:13:58Z" level=debug msg="diffcopy took: 2.613056ms" span="[internal] load build definition from Dockerfile" spanID=6e6199c8cd84c6b9 traceID=3fea3eff5699e39eec6027a362fb7927
sandbox.go:190: time="2025-01-13T20:13:58Z" level=debug msg="saved mfzanezfg0ujlufl61l8nvyed as dockerfile:dockerfile:" span="[internal] load build definition from Dockerfile" spanID=fa4925c51c9083df traceID=
|
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#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.06s)
|
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)
|
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)
|
Test
Process completed with exit code 1.
|
Loading