Support OS version in platform string #5198
Annotations
5 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:45775/library/busybox:latest
time="2025-01-13T22:23:44Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:45775"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:45775/library/alpine:latest
time="2025-01-13T22:23:44Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:45775"
run.go:273: copied local:/mainline.tar to local mirror localhost:45775/buildkit_test/7auw5594hygj7ar9l6mmyn98c:latest
run.go:273: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:42457/amd64/bullseye-20230109-slim:latest
--- FAIL: TestIntegration (0.05s)
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-rootless-slirp4netns-detachnetns/frontend=gateway
=== PAUSE TestIntegration/TestUndeclaredArg/worker=oci-rootless-slirp4netns-detachnetns/frontend=gateway
=== CONT TestIntegration/TestUndeclaredArg/worker=oci-rootless-slirp4netns-detachnetns/frontend=gateway
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_config2964181246/buildkitd.toml --root /tmp/bktest_buildkitd3686548548 --addr unix:///tmp/bktest_buildkitd3686548548/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd3686548548/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_config2964181246/buildkitd.toml --root /tmp/bktest_buildkitd3686548548 --addr unix:///tmp/bktest_buildkitd3686548548/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd3686548548/buildkitd-debug.sock --debug
sandbox.go:190: > StartCmd 2025-01-13 22:24:36.720117141 +0000 UTC m=+53.740803752 /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_config2964181246/buildkitd.toml --root /tmp/bktest_buildkitd3686548548 --addr unix:///tmp/bktest_buildkitd3686548548/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd3686548548/buildkitd-debug.sock --debug
sandbox.go:190: warning: GOCOVERDIR not set, no coverage data emitted
sandbox.go:190: time="2025-01-13T22:24:36Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd3686548548/buildkitd-debug.sock"
sandbox.go:190: time="2025-01-13T22:24:36Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:190: time="2025-01-13T22:24:36Z" level=debug msg="running in rootless mode"
sandbox.go:190: time="2025-01-13T22:24:36Z" level=info msg="found worker \"v7trhchnrrkal2zzwt3h01r77\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:18932443fd5a 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-13T22:24:36Z" level=info msg="found 1 workers, default=\"v7trhchnrrkal2zzwt3h01r77\""
sandbox.go:190: time="2025-01-13T22:24:36Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:190: time="2025-01-13T22:24:36Z" level=info msg="running server on /tmp/bktest_buildkitd3686548548/buildkitd.sock"
sandbox.go:190: time="2025-01-13T22:24:36Z" level=debug msg="session started" spanID=a40d5a5957ce390c traceID=fd0490183b3438a3f06aad741d76e537
sandbox.go:190: time="2025-01-13T22:24:36Z" level=debug msg="checked for cached auth handler namespace" cached=false key="docker.io/buildkit_test/7auw5594hygj7ar9l6mmyn98c::pull" name=docker.io/buildkit_test/7auw5594hygj7ar9l6mmyn98c scope=pull
sandbox.go:190: time="2025-01-13T22:24:36Z" level=debug msg=resolving span="resolving docker.io/buildkit_test/7auw5594hygj7ar9l6mmyn98c:latest" spanID=965fceef74243b09 traceID=9df96e566b5c5075782ecd310fa890ec
sandbox.go:190: time="2025-01-13T22:24:36Z" level=debug msg="do request" request.header.accept="application/vnd.docker.distribution.manifest.v2+jso
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-rootless-slirp4netns-detachnetns/frontend=gateway/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=gateway/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=oci-rootless-slirp4netns-detachnetns/frontend=gateway/warntype=progress#07 (0.14s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-rootless-slirp4netns-detachnetns/frontend=gateway/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=gateway/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=gateway/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=oci-rootless-slirp4netns-detachnetns/frontend=gateway/warntype=unmarshal#07 (0.03s)
|
Test
Process completed with exit code 1.
|
Loading