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:44879/library/busybox:latest
time="2025-01-13T20:39:37Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:44879"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:44879/library/alpine:latest
run.go:273: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:42449/amd64/bullseye-20230109-slim:latest
--- FAIL: TestIntegration (0.09s)
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-rootless-slirp4netns-detachnetns/frontend=builtin
=== PAUSE TestIntegration/TestUndeclaredArg/worker=oci-rootless-slirp4netns-detachnetns/frontend=builtin
=== CONT TestIntegration/TestUndeclaredArg/worker=oci-rootless-slirp4netns-detachnetns/frontend=builtin
sandbox.go:187: stdout: /usr/bin/sudo -u #1000 -i -- exec rootlesskit --net=slirp4netns --copy-up=/etc --disable-host-loopback --detach-netns buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config2058373668/buildkitd.toml --root /tmp/bktest_buildkitd711825529 --addr unix:///tmp/bktest_buildkitd711825529/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd711825529/buildkitd-debug.sock --debug
sandbox.go:187: stderr: /usr/bin/sudo -u #1000 -i -- exec rootlesskit --net=slirp4netns --copy-up=/etc --disable-host-loopback --detach-netns buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config2058373668/buildkitd.toml --root /tmp/bktest_buildkitd711825529 --addr unix:///tmp/bktest_buildkitd711825529/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd711825529/buildkitd-debug.sock --debug
sandbox.go:190: > StartCmd 2025-01-13 20:40:45.566640303 +0000 UTC m=+69.087553731 /usr/bin/sudo -u #1000 -i -- exec rootlesskit --net=slirp4netns --copy-up=/etc --disable-host-loopback --detach-netns buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config2058373668/buildkitd.toml --root /tmp/bktest_buildkitd711825529 --addr unix:///tmp/bktest_buildkitd711825529/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd711825529/buildkitd-debug.sock --debug
sandbox.go:190: warning: GOCOVERDIR not set, no coverage data emitted
sandbox.go:190: time="2025-01-13T20:40:45Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd711825529/buildkitd-debug.sock"
sandbox.go:190: time="2025-01-13T20:40:45Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:190: time="2025-01-13T20:40:45Z" level=debug msg="running in rootless mode"
sandbox.go:190: time="2025-01-13T20:40:45Z" level=info msg="found worker \"ngc2bqi1mguhrkzzyum4is61i\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:3e9ecd7534ba org.mobyproject.buildkit.worker.network:host 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: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:40:45Z" level=info msg="found 1 workers, default=\"ngc2bqi1mguhrkzzyum4is61i\""
sandbox.go:190: time="2025-01-13T20:40:45Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:190: time="2025-01-13T20:40:45Z" level=info msg="running server on /tmp/bktest_buildkitd711825529/buildkitd.sock"
sandbox.go:190: time="2025-01-13T20:40:45Z" level=debug msg="session started" spanID=a3594314a10b5e4e traceID=4c5b590d229b0cdee0ca56a819818d20
sandbox.go:190: time="2025-01-13T20:40:45Z" level=debug msg="new ref for local: vgejwkrsyuh8yq63p4644buy3" span="[internal] load build definition from Dockerfile" spanID=495484f37e27c29c traceID=da9f742e5159596888448dce6dad07d5
sandbox.go:190: time="2025-01-13T20:40:45Z" level=debug msg="diffcopy took: 2.148858ms" span="[internal] load build definition from Dockerfile" spanID=52123830d8ded8e8 traceID=da9f742e5159596888448dce6dad07d5
sandbox.go:190: time="2025-01-13T20:40:45Z" level=debug msg="saved vgejwkrsyuh8yq63p4644buy3 as dockerfile:dockerfile:" span="[internal] load build definition from Dockerfile"
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-rootless-slirp4netns-detachnetns/frontend=client
=== PAUSE TestIntegration/TestUndeclaredArg/worker=oci-rootless-slirp4netns-detachnetns/frontend=client
=== CONT TestIntegration/TestUndeclaredArg/worker=oci-rootless-slirp4netns-detachnetns/frontend=client
sandbox.go:187: stderr: /usr/bin/sudo -u #1000 -i -- exec rootlesskit --net=slirp4netns --copy-up=/etc --disable-host-loopback --detach-netns buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config4066728548/buildkitd.toml --root /tmp/bktest_buildkitd144114585 --addr unix:///tmp/bktest_buildkitd144114585/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd144114585/buildkitd-debug.sock --debug
sandbox.go:190: > StartCmd 2025-01-13 20:40:45.493604025 +0000 UTC m=+69.014517463 /usr/bin/sudo -u #1000 -i -- exec rootlesskit --net=slirp4netns --copy-up=/etc --disable-host-loopback --detach-netns buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config4066728548/buildkitd.toml --root /tmp/bktest_buildkitd144114585 --addr unix:///tmp/bktest_buildkitd144114585/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd144114585/buildkitd-debug.sock --debug
sandbox.go:190: warning: GOCOVERDIR not set, no coverage data emitted
sandbox.go:190: time="2025-01-13T20:40:45Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd144114585/buildkitd-debug.sock"
sandbox.go:190: time="2025-01-13T20:40:45Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:190: time="2025-01-13T20:40:45Z" level=debug msg="running in rootless mode"
sandbox.go:190: time="2025-01-13T20:40:45Z" level=info msg="found worker \"yjb8eyz6uhi95niu64ed0xxeq\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:3e9ecd7534ba org.mobyproject.buildkit.worker.network:host 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: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:40:45Z" level=info msg="found 1 workers, default=\"yjb8eyz6uhi95niu64ed0xxeq\""
sandbox.go:190: time="2025-01-13T20:40:45Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:190: time="2025-01-13T20:40:45Z" level=info msg="running server on /tmp/bktest_buildkitd144114585/buildkitd.sock"
sandbox.go:190: time="2025-01-13T20:40:45Z" level=debug msg="session started" spanID=dea0bef708276728 traceID=62d8ecb4349f2783c99bd1fd6cbda95f
sandbox.go:190: time="2025-01-13T20:40:45Z" level=debug msg="new ref for local: ojtm5vcxgo9nbpl9a3wj9amku" span="[internal] load build definition from Dockerfile" spanID=2a2aaa3fcb8f5b64 traceID=17e1fdc00549a2f90733a3c2ea64ab1c
sandbox.go:190: time="2025-01-13T20:40:45Z" level=debug msg="diffcopy took: 1.701012ms" span="[internal] load build definition from Dockerfile" spanID=0aa3d1a2778e9a6e traceID=17e1fdc00549a2f90733a3c2ea64ab1c
sandbox.go:190: time="2025-01-13T20:40:45Z" level=debug msg="saved ojtm5vcxgo9nbpl9a3wj9amku as dockerfile:dockerfile:" span="[internal] load build definition from Dockerfile" spanID=2a2aaa3fcb8f5b64 traceID=17e1fdc00549a2f90733a3c2ea64ab1c
sandbox.go:190: time="2025-01-13T20:40:45Z" level=error msg="/moby.buildkit.v1.frontend.LLBBridge/ReadFile returned error: rpc error: code = Unknown desc = open Dockerfile.dockerignore: no such file or directory" spanID=ecd0109e04fdc19d traceID=fa0778349d71c98b9b8ad02d34687508
sandbox.go:190: open Dockerfile.dockerignore: no such file or directory
sandbox.go:190: 57687 eadb841 buildkitd --oci-worker=true --containerd-worker=false --oci-wo
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-rootless-slirp4netns-detachnetns/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-rootless-slirp4netns-detachnetns/frontend=client/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=oci-rootless-slirp4netns-detachnetns/frontend=client/warntype=progress#07 (0.02s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-rootless-slirp4netns-detachnetns/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-rootless-slirp4netns-detachnetns/frontend=builtin/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=oci-rootless-slirp4netns-detachnetns/frontend=builtin/warntype=progress#07 (0.02s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-rootless-slirp4netns-detachnetns/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-rootless-slirp4netns-detachnetns/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-rootless-slirp4netns-detachnetns/frontend=client/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=oci-rootless-slirp4netns-detachnetns/frontend=client/warntype=unmarshal#07 (0.02s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-rootless-slirp4netns-detachnetns/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-rootless-slirp4netns-detachnetns/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-rootless-slirp4netns-detachnetns/frontend=builtin/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=oci-rootless-slirp4netns-detachnetns/frontend=builtin/warntype=unmarshal#07 (0.02s)
|
Test
Process completed with exit code 1.
|
Loading