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:38029/library/busybox:latest
time="2025-01-13T22:23:11Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:38029"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:38029/library/alpine:latest
run.go:273: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:38091/amd64/bullseye-20230109-slim:latest
--- FAIL: TestIntegration (0.07s)
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-1.6/frontend=builtin
=== PAUSE TestIntegration/TestUndeclaredArg/worker=containerd-1.6/frontend=builtin
=== CONT TestIntegration/TestUndeclaredArg/worker=containerd-1.6/frontend=builtin
sandbox.go:187: stdout: /opt/containerd-alt-16/bin/containerd --config /tmp/bktest_containerd660818496/config.toml
sandbox.go:187: stderr: /opt/containerd-alt-16/bin/containerd --config /tmp/bktest_containerd660818496/config.toml
sandbox.go:190: > StartCmd 2025-01-13 22:24:23.862677079 +0000 UTC m=+72.579934803 /opt/containerd-alt-16/bin/containerd --config /tmp/bktest_containerd660818496/config.toml
sandbox.go:190: time="2025-01-13T22:24:23.883041760Z" level=info msg="starting containerd" revision=88c3d9bc5b5a193f40b7c14fa996d23532d6f956 version=v1.6.36
sandbox.go:190: time="2025-01-13T22:24:23.895459578Z" level=info msg="loading plugin \"io.containerd.content.v1.content\"..." type=io.containerd.content.v1
sandbox.go:190: time="2025-01-13T22:24:23.895562530Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:23.895575584Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured"
sandbox.go:190: time="2025-01-13T22:24:23.895582738Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:23.895672785Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:23.895954180Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.aufs\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:23.896716671Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.aufs\"..." error="aufs is not supported (modprobe aufs failed: exit status 1 \"modprobe: can't change directory to '/lib/modules': No such file or directory\\n\"): skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:23.896743111Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.zfs\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:23.896923607Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.zfs\"..." error="path /tmp/bktest_containerd660818496/root/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T22:24:23.896942402Z" level=info msg="loading plugin \"io.containerd.metadata.v1.bolt\"..." type=io.containerd.metadata.v1
sandbox.go:190: time="2025-01-13T22:24:23.897004027Z" level=warning msg="could not use snapshotter devmapper in metadata plugin" error="devmapper not configured"
sandbox.go:190: time="2025-01-13T22:24:23.897021410Z" level=info msg="metadata content store policy set" policy=shared
sandbox.go:190: time="2025-01-13T22:24:23.898948402Z" level=info msg="loading plugin \"io.containerd.differ.v1.walking\"..." type=io.containerd.differ.v1
sandbox.go:190: time="2025-01-13T22:24:23.898982205Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1
sandbox.go:190: time="2025-01-13T22:24:23.899005518Z" level=info msg="loading plugin \"io.containerd.gc.v1.scheduler\"..." type=io.containerd.gc.v1
sandbox.go:190: time="2025-01-13T22:24:23.899055932Z" level=info msg="loading plugin \"io.containerd.runtime.v1.linux\"..." type=io.containerd.runtime.v1
sandbox.go:190: time="2025-01-13T22:24:23.899231109Z" level=info msg="loading plugin \"io.containerd.runtime.v2.task\"..." type=io.containerd.runtime.v2
sandbox.go:190: time="2025-01-13T22:24:23.899376600Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1
sandbox.go:190: time="2025-01-13T22:24:23.899431
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-1.6/frontend=client
=== PAUSE TestIntegration/TestUndeclaredArg/worker=containerd-1.6/frontend=client
=== CONT TestIntegration/TestUndeclaredArg/worker=containerd-1.6/frontend=client
sandbox.go:187: stderr: /usr/bin/buildkitd --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd2189596959/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker=false --config=/tmp/bktest_config2454300489/buildkitd.toml --root /tmp/bktest_buildkitd2076381808 --addr unix:///tmp/bktest_buildkitd2076381808/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd2076381808/buildkitd-debug.sock --debug
sandbox.go:190: > StartCmd 2025-01-13 22:24:23.895479206 +0000 UTC m=+72.612736930 /usr/bin/buildkitd --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd2189596959/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker=false --config=/tmp/bktest_config2454300489/buildkitd.toml --root /tmp/bktest_buildkitd2076381808 --addr unix:///tmp/bktest_buildkitd2076381808/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd2076381808/buildkitd-debug.sock --debug
sandbox.go:190: time="2025-01-13T22:24:23Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd2076381808/buildkitd-debug.sock"
sandbox.go:190: time="2025-01-13T22:24:23Z" level=debug msg="could not read \"/tmp/bktest_buildkitd2076381808/net/cni\" for cleanup: open /tmp/bktest_buildkitd2076381808/net/cni: no such file or directory"
sandbox.go:190: time="2025-01-13T22:24:23Z" level=debug msg="creating new network namespace x4dg7s6m935mi6rxz3iwlyf6w"
sandbox.go:190: time="2025-01-13T22:24:23Z" level=debug msg="finished creating network namespace x4dg7s6m935mi6rxz3iwlyf6w"
sandbox.go:190: time="2025-01-13T22:24:23Z" level=debug msg="finished setting up network namespace x4dg7s6m935mi6rxz3iwlyf6w"
sandbox.go:190: time="2025-01-13T22:24:23Z" level=debug msg="remote introspection plugin filters" filters="[type==io.containerd.runtime.v1 type==io.containerd.runtime.v2]"
sandbox.go:190: time="2025-01-13T22:24:23Z" level=info msg="found worker \"qzcp5uryl5b9rl5hz633rskip\", labels=map[org.mobyproject.buildkit.worker.containerd.namespace:buildkit org.mobyproject.buildkit.worker.containerd.uuid:0dcaba03-3d0d-49e6-94c0-4bb19281fc23 org.mobyproject.buildkit.worker.executor:containerd org.mobyproject.buildkit.worker.hostname:8a8004f0057f 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-13T22:24:24Z" level=info msg="found 1 workers, default=\"qzcp5uryl5b9rl5hz633rskip\""
sandbox.go:190: time="2025-01-13T22:24:24Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:190: time="2025-01-13T22:24:24Z" level=info msg="running server on /tmp/bktest_buildkitd2076381808/buildkitd.sock"
sandbox.go:190: time="2025-01-13T22:24:24Z" level=debug msg="session started" spanID=ce72370275d3ba6b traceID=373f43365c586d1af87c625a723e207d
sandbox.go:190: time="2025-01-13T22:24:24Z" level=debug msg="new ref for local: nxq4trrisbtsmhy6ng9vnkkco" span="[internal] load build definition from Dockerfile" spanID=69aee03ddbe881b4 traceID=cdcd535e5b11ea66699719fda9f4061d
sandbox.go:190: time="2025-01-13T22:24:24Z" level=debug msg="diffcopy took: 2.597071ms" span="[internal] load build definition from Dockerfile" spanID=0e3316d30dd74d86 traceID=cdcd535e5b11ea66699719fda9f4061d
sandbox.go:190: time="2025-01-13T22:24:24Z" level=debug msg="saved nxq4trrisbtsmhy6ng9vnkkco as dockerfile:dockerfile:" span="[internal] load build definition from Dockerfile" spanID=69aee03ddbe88
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-1.6/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-1.6/frontend=builtin/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-1.6/frontend=builtin/warntype=progress#07 (0.04s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-1.6/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-1.6/frontend=client/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-1.6/frontend=client/warntype=progress#07 (0.05s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-1.6/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-1.6/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-1.6/frontend=builtin/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-1.6/frontend=builtin/warntype=unmarshal#07 (0.04s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-1.6/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-1.6/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-1.6/frontend=client/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-1.6/frontend=client/warntype=unmarshal#07 (0.03s)
|
Test
Process completed with exit code 1.
|
Loading