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/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:44007/library/busybox:latest
time="2025-01-13T20:12:57Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:44007"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:44007/library/alpine:latest
run.go:273: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:40919/amd64/bullseye-20230109-slim:latest
--- FAIL: TestIntegration (0.07s)
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L9564
=== RUN TestIntegration/TestPlatformWithOSVersion/worker=oci-snapshotter-stargz/frontend=builtin
=== PAUSE TestIntegration/TestPlatformWithOSVersion/worker=oci-snapshotter-stargz/frontend=builtin
=== CONT TestIntegration/TestPlatformWithOSVersion/worker=oci-snapshotter-stargz/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=oci-snapshotter-stargz/frontend=builtin
sandbox.go:187: stdout: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker-snapshotter=stargz --config=/tmp/bktest_config503564543/buildkitd.toml --root /tmp/bktest_buildkitd2741769134 --addr unix:///tmp/bktest_buildkitd2741769134/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd2741769134/buildkitd-debug.sock --debug
sandbox.go:187: stderr: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker-snapshotter=stargz --config=/tmp/bktest_config503564543/buildkitd.toml --root /tmp/bktest_buildkitd2741769134 --addr unix:///tmp/bktest_buildkitd2741769134/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd2741769134/buildkitd-debug.sock --debug
sandbox.go:190: > StartCmd 2025-01-13 20:13:02.941220393 +0000 UTC m=+5.797679238 /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker-snapshotter=stargz --config=/tmp/bktest_config503564543/buildkitd.toml --root /tmp/bktest_buildkitd2741769134 --addr unix:///tmp/bktest_buildkitd2741769134/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd2741769134/buildkitd-debug.sock --debug
sandbox.go:190: time="2025-01-13T20:13:02Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd2741769134/buildkitd-debug.sock"
sandbox.go:190: time="2025-01-13T20:13:02Z" level=debug msg="could not read \"/tmp/bktest_buildkitd2741769134/net/cni\" for cleanup: open /tmp/bktest_buildkitd2741769134/net/cni: no such file or directory"
sandbox.go:190: time="2025-01-13T20:13:02Z" level=debug msg="creating new network namespace 9wfi2rdwu1pf0ilt2y2a0nnnb"
sandbox.go:190: time="2025-01-13T20:13:02Z" level=debug msg="finished creating network namespace 9wfi2rdwu1pf0ilt2y2a0nnnb"
sandbox.go:190: time="2025-01-13T20:13:03Z" level=debug msg="finished setting up network namespace 9wfi2rdwu1pf0ilt2y2a0nnnb"
sandbox.go:190: time="2025-01-13T20:13:03Z" level=info msg="found worker \"unibfkmuibkm0645yrlefeosv\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:cb18b0252ed8 org.mobyproject.buildkit.worker.network:cni org.mobyproject.buildkit.worker.oci.process-mode:sandbox org.mobyproject.buildkit.worker.sandbox:true org.mobyproject.buildkit.worker.selinux.enabled:false org.mobyproject.buildkit.worker.snapshotter:stargz], 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:03Z" level=info msg="found 1 workers, default=\"unibfkmuibkm0645yrlefeosv\""
sandbox.go:190: time="2025-01-13T20:13:03Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:190: time="2025-01-13T20:13:03Z" level=info msg="running server on /tmp/bktest_buildkitd2741769134/buil
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L9564
=== RUN TestIntegration/TestPlatformWithOSVersion/worker=oci-snapshotter-stargz/frontend=client
=== PAUSE TestIntegration/TestPlatformWithOSVersion/worker=oci-snapshotter-stargz/frontend=client
=== CONT TestIntegration/TestPlatformWithOSVersion/worker=oci-snapshotter-stargz/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=oci-snapshotter-stargz/frontend=client
sandbox.go:187: stdout: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker-snapshotter=stargz --config=/tmp/bktest_config2358264747/buildkitd.toml --root /tmp/bktest_buildkitd1076366848 --addr unix:///tmp/bktest_buildkitd1076366848/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd1076366848/buildkitd-debug.sock --debug
sandbox.go:187: stderr: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker-snapshotter=stargz --config=/tmp/bktest_config2358264747/buildkitd.toml --root /tmp/bktest_buildkitd1076366848 --addr unix:///tmp/bktest_buildkitd1076366848/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd1076366848/buildkitd-debug.sock --debug
sandbox.go:190: > StartCmd 2025-01-13 20:13:02.529661259 +0000 UTC m=+5.386120105 /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker-snapshotter=stargz --config=/tmp/bktest_config2358264747/buildkitd.toml --root /tmp/bktest_buildkitd1076366848 --addr unix:///tmp/bktest_buildkitd1076366848/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd1076366848/buildkitd-debug.sock --debug
sandbox.go:190: time="2025-01-13T20:13:02Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd1076366848/buildkitd-debug.sock"
sandbox.go:190: time="2025-01-13T20:13:02Z" level=debug msg="could not read \"/tmp/bktest_buildkitd1076366848/net/cni\" for cleanup: open /tmp/bktest_buildkitd1076366848/net/cni: no such file or directory"
sandbox.go:190: time="2025-01-13T20:13:02Z" level=debug msg="creating new network namespace zpni9vwjiuuul7si80cp821t4"
sandbox.go:190: time="2025-01-13T20:13:02Z" level=debug msg="finished creating network namespace zpni9vwjiuuul7si80cp821t4"
sandbox.go:190: time="2025-01-13T20:13:02Z" level=debug msg="finished setting up network namespace zpni9vwjiuuul7si80cp821t4"
sandbox.go:190: time="2025-01-13T20:13:02Z" level=info msg="found worker \"ogx7jxzpxwnnfr9mkut02r0wj\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:cb18b0252ed8 org.mobyproject.buildkit.worker.network:cni org.mobyproject.buildkit.worker.oci.process-mode:sandbox org.mobyproject.buildkit.worker.sandbox:true org.mobyproject.buildkit.worker.selinux.enabled:false org.mobyproject.buildkit.worker.snapshotter:stargz], 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:02Z" level=info msg="found 1 workers, default=\"ogx7jxzpxwnnfr9mkut02r0wj\""
sandbox.go:190: time="2025-01-13T20:13:02Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:190: time="2025-01-13T20:13:02Z" level=info msg="running server on /tmp/bktest_buildkitd1076366848/build
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=builtin
=== PAUSE TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=builtin
=== CONT TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=builtin
sandbox.go:187: stdout: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker-snapshotter=stargz --config=/tmp/bktest_config3864407074/buildkitd.toml --root /tmp/bktest_buildkitd2040668924 --addr unix:///tmp/bktest_buildkitd2040668924/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd2040668924/buildkitd-debug.sock --debug
sandbox.go:187: stderr: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker-snapshotter=stargz --config=/tmp/bktest_config3864407074/buildkitd.toml --root /tmp/bktest_buildkitd2040668924 --addr unix:///tmp/bktest_buildkitd2040668924/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd2040668924/buildkitd-debug.sock --debug
sandbox.go:190: > StartCmd 2025-01-13 20:13:31.267799429 +0000 UTC m=+34.124258274 /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker-snapshotter=stargz --config=/tmp/bktest_config3864407074/buildkitd.toml --root /tmp/bktest_buildkitd2040668924 --addr unix:///tmp/bktest_buildkitd2040668924/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd2040668924/buildkitd-debug.sock --debug
sandbox.go:190: time="2025-01-13T20:13:31Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd2040668924/buildkitd-debug.sock"
sandbox.go:190: time="2025-01-13T20:13:31Z" level=debug msg="could not read \"/tmp/bktest_buildkitd2040668924/net/cni\" for cleanup: open /tmp/bktest_buildkitd2040668924/net/cni: no such file or directory"
sandbox.go:190: time="2025-01-13T20:13:31Z" level=debug msg="creating new network namespace iqr8367pr4wiozf6kjodtrn1g"
sandbox.go:190: time="2025-01-13T20:13:31Z" level=debug msg="finished creating network namespace iqr8367pr4wiozf6kjodtrn1g"
sandbox.go:190: time="2025-01-13T20:13:31Z" level=debug msg="finished setting up network namespace iqr8367pr4wiozf6kjodtrn1g"
sandbox.go:190: time="2025-01-13T20:13:31Z" level=info msg="found worker \"flnrrm1is3q3ing5gxf0jy7tz\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:cb18b0252ed8 org.mobyproject.buildkit.worker.network:cni org.mobyproject.buildkit.worker.oci.process-mode:sandbox org.mobyproject.buildkit.worker.sandbox:true org.mobyproject.buildkit.worker.selinux.enabled:false org.mobyproject.buildkit.worker.snapshotter:stargz], 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:31Z" level=info msg="found 1 workers, default=\"flnrrm1is3q3ing5gxf0jy7tz\""
sandbox.go:190: time="2025-01-13T20:13:31Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:190: time="2025-01-13T20:13:31Z" level=info msg="running server on /tmp/bktest_buildkitd2040668924/buildkitd.sock"
sandbox.go:190: time="2025-01-13T20:13:31Z" level=debug msg="session started" spanID=a9bf35214bae69b8 traceID=4aed8ef7beaa37e8fe67387893ebe172
sandbox.go:190: time="2025-01-13T20:13:31Z" level=debug msg="new ref for local: 3jgh51p56x19zy8inirklwzf9" span="[internal] load build definition from Dockerfile" spanID=011bc6349e05297b traceID=83b7b6260f80ae0d2639c9a8ac6e0086
sandbox.go:190: time="2025-01-13T20:13:31Z" level=debug msg="checking layer availability" span="[internal] load build definition from Dockerfile" spanID=011bc6349e05297b traceID=83b7b6260f80ae0d2639c9a8ac6e0086
sandbox.go:190: time="2025-01-13T20:13:31Z" level=debug msg="layer is normal snapshot(overlayfs)" span="[interna
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=client
=== PAUSE TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=client
=== CONT TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=client
sandbox.go:187: stdout: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker-snapshotter=stargz --config=/tmp/bktest_config2938897764/buildkitd.toml --root /tmp/bktest_buildkitd2043941487 --addr unix:///tmp/bktest_buildkitd2043941487/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd2043941487/buildkitd-debug.sock --debug
sandbox.go:187: stderr: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker-snapshotter=stargz --config=/tmp/bktest_config2938897764/buildkitd.toml --root /tmp/bktest_buildkitd2043941487 --addr unix:///tmp/bktest_buildkitd2043941487/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd2043941487/buildkitd-debug.sock --debug
sandbox.go:190: > StartCmd 2025-01-13 20:13:31.115747275 +0000 UTC m=+33.972206100 /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker-snapshotter=stargz --config=/tmp/bktest_config2938897764/buildkitd.toml --root /tmp/bktest_buildkitd2043941487 --addr unix:///tmp/bktest_buildkitd2043941487/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd2043941487/buildkitd-debug.sock --debug
sandbox.go:190: time="2025-01-13T20:13:31Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd2043941487/buildkitd-debug.sock"
sandbox.go:190: time="2025-01-13T20:13:31Z" level=debug msg="could not read \"/tmp/bktest_buildkitd2043941487/net/cni\" for cleanup: open /tmp/bktest_buildkitd2043941487/net/cni: no such file or directory"
sandbox.go:190: time="2025-01-13T20:13:31Z" level=debug msg="creating new network namespace z35hkfs9orq3aesq9bgr8oh0w"
sandbox.go:190: time="2025-01-13T20:13:31Z" level=debug msg="finished creating network namespace z35hkfs9orq3aesq9bgr8oh0w"
sandbox.go:190: time="2025-01-13T20:13:31Z" level=debug msg="finished setting up network namespace z35hkfs9orq3aesq9bgr8oh0w"
sandbox.go:190: time="2025-01-13T20:13:31Z" level=info msg="found worker \"c64jsbwq4chzux77fzxdlo4a8\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:cb18b0252ed8 org.mobyproject.buildkit.worker.network:cni org.mobyproject.buildkit.worker.oci.process-mode:sandbox org.mobyproject.buildkit.worker.sandbox:true org.mobyproject.buildkit.worker.selinux.enabled:false org.mobyproject.buildkit.worker.snapshotter:stargz], 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:31Z" level=info msg="found 1 workers, default=\"c64jsbwq4chzux77fzxdlo4a8\""
sandbox.go:190: time="2025-01-13T20:13:31Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:190: time="2025-01-13T20:13:31Z" level=info msg="running server on /tmp/bktest_buildkitd2043941487/buildkitd.sock"
sandbox.go:190: time="2025-01-13T20:13:31Z" level=debug msg="session started" spanID=8a4b0d3d67d2c0f8 traceID=f16c974f98dab30ac67f986f4d0e6f72
sandbox.go:190: time="2025-01-13T20:13:31Z" level=debug msg="new ref for local: v62jwrn90r92h30q6p598fdv0" span="[internal] load build definition from Dockerfile" spanID=42cf8ab055ff4155 traceID=39e8eb2d0c5d2981a93b2ce2dd484714
sandbox.go:190: time="2025-01-13T20:13:31Z" level=debug msg="checking layer availability" span="[internal] load build definition from Dockerfile" spanID=42cf8ab055ff4155 traceID=39e8eb2d0c5d2981a93b2ce2dd484714
sandbox.go:190: time="2025-01-13T20:13:31Z" level=debug msg="layer is normal snapshot(overlayfs)" span="[internal]
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/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=oci-snapshotter-stargz/frontend=client/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=client/warntype=progress#07 (0.02s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/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=oci-snapshotter-stargz/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=oci-snapshotter-stargz/frontend=client/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=client/warntype=unmarshal#07 (0.02s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/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=oci-snapshotter-stargz/frontend=builtin/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=builtin/warntype=progress#07 (0.01s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/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=oci-snapshotter-stargz/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=oci-snapshotter-stargz/frontend=builtin/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=builtin/warntype=unmarshal#07 (0.01s)
|
Test
Process completed with exit code 1.
|
Loading