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/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:37167/library/alpine:latest
time="2025-01-13T20:39:14Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:37167"
run.go:273: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:37167/library/busybox:latest
run.go:273: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:41917/amd64/bullseye-20230109-slim:latest
--- FAIL: TestIntegration (0.07s)
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=builtin
=== PAUSE TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=builtin
=== CONT TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=builtin
sandbox.go:187: stdout: /opt/containerd-alt-17/bin/containerd --config /tmp/bktest_containerd2929588030/config.toml
sandbox.go:187: stderr: /opt/containerd-alt-17/bin/containerd --config /tmp/bktest_containerd2929588030/config.toml
sandbox.go:190: > StartCmd 2025-01-13 20:40:23.214338315 +0000 UTC m=+68.862071557 /opt/containerd-alt-17/bin/containerd --config /tmp/bktest_containerd2929588030/config.toml
sandbox.go:190: time="2025-01-13T20:40:23.231679985Z" level=info msg="starting containerd" revision=57f17b0a6295a39009d861b89e3b3b87b005ca27 version=v1.7.23
sandbox.go:190: time="2025-01-13T20:40:23.251071016Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1
sandbox.go:190: time="2025-01-13T20:40:23.251106682Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1
sandbox.go:190: time="2025-01-13T20:40:23.251193613Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1
sandbox.go:190: time="2025-01-13T20:40:23.251216576Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:23.251309739Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:23.251332251Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:23.251350475Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." error="devmapper not configured: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:23.251363860Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:23.251469546Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:23.251742263Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.aufs\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:23.253071746Z" 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-13T20:40:23.253102163Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.zfs\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:40:23.253259315Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.zfs\"..." error="path /tmp/bktest_containerd2929588030/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-13T20:40:23.253282217Z" level=info msg="loading plugin \"io.containerd.content.v1.content\"..." type=io.containerd.content.v1
sandbox.go:190: time="2025-01-13T20:40:23.253401659Z" level=info msg="loading plugin \"io.containerd.metadata.v1.bolt\"..." type=io.containerd.metadata.v1
sandbox.go:190: time="2025-01-13T20:40:23.253482930Z" level=info msg="metadata content store policy set" policy=shared
sandbox.go:190: time="2025-01-13T20:40:23.256359287Z" level=info msg="loading plugin \"io.containerd.gc.v1.scheduler\"..." type=io.containerd.gc.v1
sandbox.go:190: time="2025-01-13T20:40:23.256399251Z" level=info msg="loading
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=client
=== PAUSE TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=client
=== CONT TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=client
sandbox.go:187: stderr: /usr/bin/buildkitd --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd180602542/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker=false --config=/tmp/bktest_config1387845886/buildkitd.toml --root /tmp/bktest_buildkitd985006329 --addr unix:///tmp/bktest_buildkitd985006329/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd985006329/buildkitd-debug.sock --debug
sandbox.go:190: > StartCmd 2025-01-13 20:40:23.248910826 +0000 UTC m=+68.896644058 /usr/bin/buildkitd --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd180602542/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker=false --config=/tmp/bktest_config1387845886/buildkitd.toml --root /tmp/bktest_buildkitd985006329 --addr unix:///tmp/bktest_buildkitd985006329/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd985006329/buildkitd-debug.sock --debug
sandbox.go:190: time="2025-01-13T20:40:23Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd985006329/buildkitd-debug.sock"
sandbox.go:190: time="2025-01-13T20:40:23Z" level=debug msg="could not read \"/tmp/bktest_buildkitd985006329/net/cni\" for cleanup: open /tmp/bktest_buildkitd985006329/net/cni: no such file or directory"
sandbox.go:190: time="2025-01-13T20:40:23Z" level=debug msg="creating new network namespace t1mrbg15uzsiyrfez23dxh0le"
sandbox.go:190: time="2025-01-13T20:40:23Z" level=debug msg="finished creating network namespace t1mrbg15uzsiyrfez23dxh0le"
sandbox.go:190: time="2025-01-13T20:40:23Z" level=debug msg="finished setting up network namespace t1mrbg15uzsiyrfez23dxh0le"
sandbox.go:190: time="2025-01-13T20:40: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-13T20:40:23Z" level=info msg="found worker \"a0r3ym7ttdud8qdfgwx4cyjmw\", labels=map[org.mobyproject.buildkit.worker.containerd.namespace:buildkit org.mobyproject.buildkit.worker.containerd.uuid:14d8acb8-72d6-4acd-b88e-4e8f3458c967 org.mobyproject.buildkit.worker.executor:containerd org.mobyproject.buildkit.worker.hostname:4832a9cb0b8c 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:40:23Z" level=info msg="found 1 workers, default=\"a0r3ym7ttdud8qdfgwx4cyjmw\""
sandbox.go:190: time="2025-01-13T20:40:23Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:190: time="2025-01-13T20:40:23Z" level=info msg="running server on /tmp/bktest_buildkitd985006329/buildkitd.sock"
sandbox.go:190: time="2025-01-13T20:40:23Z" level=debug msg="session started" spanID=636d76d1e461fc8d traceID=1256d146d544b1350f2dd8ae6187c4b7
sandbox.go:190: time="2025-01-13T20:40:23Z" level=debug msg="new ref for local: 1mwp6j7pe470kla3dft17pnvp" span="[internal] load build definition from Dockerfile" spanID=5f3d4aff65f25b57 traceID=0199b859be03814f4987ba53a60cbbaa
sandbox.go:190: time="2025-01-13T20:40:23Z" level=debug msg="diffcopy took: 1.66298ms" span="[internal] load build definition from Dockerfile" spanID=c63fb0ff17ba26bd traceID=0199b859be03814f4987ba53a60cbbaa
sandbox.go:190: time="2025-01-13T20:40:23Z" level=debug msg="saved 1mwp6j7pe470kla3dft17pnvp as dockerfile:dockerfile:" span="[internal] load build definition from Dockerfile" spanID=5f3d4aff65f25b57 traceID=0
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-1.7/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.7/frontend=builtin/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=builtin/warntype=progress#07 (0.03s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-1.7/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.7/frontend=client/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=client/warntype=progress#07 (0.04s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-1.7/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.7/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.7/frontend=builtin/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=builtin/warntype=unmarshal#07 (0.03s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-1.7/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.7/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.7/frontend=client/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=client/warntype=unmarshal#07 (0.03s)
|
Test
Process completed with exit code 1.
|
Loading