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:40417/library/busybox:latest
time="2025-01-13T22:23:12Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:40417"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:40417/library/alpine:latest
run.go:273: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:33339/amd64/bullseye-20230109-slim:latest
--- FAIL: TestIntegration (0.07s)
|
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_config2998221414/buildkitd.toml --root /tmp/bktest_buildkitd3523607274 --addr unix:///tmp/bktest_buildkitd3523607274/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd3523607274/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_config2998221414/buildkitd.toml --root /tmp/bktest_buildkitd3523607274 --addr unix:///tmp/bktest_buildkitd3523607274/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd3523607274/buildkitd-debug.sock --debug
sandbox.go:190: > StartCmd 2025-01-13 22:24:15.749822445 +0000 UTC m=+63.971969706 /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_config2998221414/buildkitd.toml --root /tmp/bktest_buildkitd3523607274 --addr unix:///tmp/bktest_buildkitd3523607274/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd3523607274/buildkitd-debug.sock --debug
sandbox.go:190: time="2025-01-13T22:24:15Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd3523607274/buildkitd-debug.sock"
sandbox.go:190: time="2025-01-13T22:24:15Z" level=debug msg="could not read \"/tmp/bktest_buildkitd3523607274/net/cni\" for cleanup: open /tmp/bktest_buildkitd3523607274/net/cni: no such file or directory"
sandbox.go:190: time="2025-01-13T22:24:15Z" level=debug msg="creating new network namespace tam3g76cr2uh69nt5uytg3788"
sandbox.go:190: time="2025-01-13T22:24:15Z" level=debug msg="finished creating network namespace tam3g76cr2uh69nt5uytg3788"
sandbox.go:190: time="2025-01-13T22:24:15Z" level=debug msg="finished setting up network namespace tam3g76cr2uh69nt5uytg3788"
sandbox.go:190: time="2025-01-13T22:24:15Z" level=info msg="found worker \"fsjvuvg0xj0r40jaonypqo2u8\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:3def1fab24a7 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-13T22:24:15Z" level=info msg="found 1 workers, default=\"fsjvuvg0xj0r40jaonypqo2u8\""
sandbox.go:190: time="2025-01-13T22:24:15Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:190: time="2025-01-13T22:24:15Z" level=info msg="running server on /tmp/bktest_buildkitd3523607274/buildkitd.sock"
sandbox.go:190: time="2025-01-13T22:24:15Z" level=debug msg="session started" spanID=8a4fe207cafe9762 traceID=56e95335187b39209346c7be057d1cec
sandbox.go:190: time="2025-01-13T22:24:15Z" level=debug msg="new ref for local: obbhil2fu8exqo24swdj9zkaj" span="[internal] load build definition from Dockerfile" spanID=f7ce578ce5921627 traceID=0e6216df1b005e474c751d069a48a7b9
sandbox.go:190: time="2025-01-13T22:24:15Z" level=debug msg="checking layer availability" span="[internal] load build definition from Dockerfile" spanID=f7ce578ce5921627 traceID=0e6216df1b005e474c751d069a48a7b9
sandbox.go:190: time="2025-01-13T22:24:15Z" 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_config3404224142/buildkitd.toml --root /tmp/bktest_buildkitd3935179606 --addr unix:///tmp/bktest_buildkitd3935179606/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd3935179606/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_config3404224142/buildkitd.toml --root /tmp/bktest_buildkitd3935179606 --addr unix:///tmp/bktest_buildkitd3935179606/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd3935179606/buildkitd-debug.sock --debug
sandbox.go:190: > StartCmd 2025-01-13 22:24:15.682388417 +0000 UTC m=+63.904535678 /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_config3404224142/buildkitd.toml --root /tmp/bktest_buildkitd3935179606 --addr unix:///tmp/bktest_buildkitd3935179606/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd3935179606/buildkitd-debug.sock --debug
sandbox.go:190: time="2025-01-13T22:24:15Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd3935179606/buildkitd-debug.sock"
sandbox.go:190: time="2025-01-13T22:24:15Z" level=debug msg="could not read \"/tmp/bktest_buildkitd3935179606/net/cni\" for cleanup: open /tmp/bktest_buildkitd3935179606/net/cni: no such file or directory"
sandbox.go:190: time="2025-01-13T22:24:15Z" level=debug msg="creating new network namespace gi1qcrok8v2ga60sas8q3bpwq"
sandbox.go:190: time="2025-01-13T22:24:15Z" level=debug msg="finished creating network namespace gi1qcrok8v2ga60sas8q3bpwq"
sandbox.go:190: time="2025-01-13T22:24:15Z" level=debug msg="finished setting up network namespace gi1qcrok8v2ga60sas8q3bpwq"
sandbox.go:190: time="2025-01-13T22:24:15Z" level=info msg="found worker \"s5pqurjx9tpenos0k511tobjb\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:3def1fab24a7 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-13T22:24:15Z" level=info msg="found 1 workers, default=\"s5pqurjx9tpenos0k511tobjb\""
sandbox.go:190: time="2025-01-13T22:24:15Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:190: time="2025-01-13T22:24:15Z" level=info msg="running server on /tmp/bktest_buildkitd3935179606/buildkitd.sock"
sandbox.go:190: time="2025-01-13T22:24:15Z" level=debug msg="session started" spanID=eb9096aff3d435df traceID=dd9fe948bdfa8a00f5de1c8a4b4803d3
sandbox.go:190: time="2025-01-13T22:24:15Z" level=debug msg="new ref for local: 2g2gpysl44tzp2385gav5rtpp" span="[internal] load build definition from Dockerfile" spanID=e3d016f6cfaea79a traceID=0bac8d0ff9ee154731564082a8795bd3
sandbox.go:190: time="2025-01-13T22:24:15Z" level=debug msg="checking layer availability" span="[internal] load build definition from Dockerfile" spanID=e3d016f6cfaea79a traceID=0bac8d0ff9ee154731564082a8795bd3
sandbox.go:190: time="2025-01-13T22:24:15Z" 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.03s)
|
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.02s)
|
Test
Process completed with exit code 1.
|
Loading