Support OS version in platform string #5197
Annotations
5 errors and 2 warnings
Generate annotations:
frontend/dockerfile/run.go#L273
=== RUN TestIntegration
run.go:273: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:38939/library/busybox:latest
time="2025-01-13T20:50:16Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:38939"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:38939/library/alpine:latest
time="2025-01-13T20:50:17Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:38939"
run.go:273: copied local:/mainline.tar to local mirror localhost:38939/buildkit_test/ntyhtw853ea4rvywte8pqwxgi:latest
run.go:273: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:45369/amd64/bullseye-20230109-slim:latest
--- FAIL: TestIntegration (0.04s)
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=gateway
=== PAUSE TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=gateway
=== CONT TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=gateway
time="2025-01-13T20:50:16Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:38939"
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_config699659313/buildkitd.toml --root /tmp/bktest_buildkitd790788291 --addr unix:///tmp/bktest_buildkitd790788291/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd790788291/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_config699659313/buildkitd.toml --root /tmp/bktest_buildkitd790788291 --addr unix:///tmp/bktest_buildkitd790788291/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd790788291/buildkitd-debug.sock --debug
sandbox.go:190: > StartCmd 2025-01-13 20:50:19.50771712 +0000 UTC m=+3.174445661 /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_config699659313/buildkitd.toml --root /tmp/bktest_buildkitd790788291 --addr unix:///tmp/bktest_buildkitd790788291/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd790788291/buildkitd-debug.sock --debug
sandbox.go:190: time="2025-01-13T20:50:19Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd790788291/buildkitd-debug.sock"
sandbox.go:190: time="2025-01-13T20:50:19Z" level=debug msg="could not read \"/tmp/bktest_buildkitd790788291/net/cni\" for cleanup: open /tmp/bktest_buildkitd790788291/net/cni: no such file or directory"
sandbox.go:190: time="2025-01-13T20:50:19Z" level=debug msg="creating new network namespace sayux0vhsoucqf1274db4ertv"
sandbox.go:190: time="2025-01-13T20:50:19Z" level=debug msg="finished creating network namespace sayux0vhsoucqf1274db4ertv"
sandbox.go:190: time="2025-01-13T20:50:19Z" level=debug msg="finished setting up network namespace sayux0vhsoucqf1274db4ertv"
sandbox.go:190: time="2025-01-13T20:50:19Z" level=info msg="found worker \"vperggt9xx284vdkwlmbz1oux\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:07b32e756997 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-13T20:50:19Z" level=info msg="found 1 workers, default=\"vperggt9xx284vdkwlmbz1oux\""
sandbox.go:190: time="2025-01-13T20:50:19Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:190: time="2025-01-13T20:50:19Z" level=info msg="running server on /tmp/bktest_buildkitd790788291/buildkitd.sock"
sandbox.go:190: time="2025-01-13T20:50:19Z" level=debug msg="session started" spanID=348084b71e859b24 traceID=079274b4819123f09acb0a75518f194e
sandbox.go:190: time="2025-01-13T20:50:19Z" level=debug msg="checked for cached auth handler namespace" cached=false key="docker.io/buildkit_test/ntyhtw853ea4rvywte8pqwxgi::pull" name=docker.io/buildkit_test/ntyhtw853ea4rvywte8pqwxgi scope=pull
sandbox.go:190: time="2025-01-13T20:50:19Z" level=debug msg=resolving span="resolving docker.io/buildkit_test/ntyhtw853ea4rvywte8pqwxgi:latest" spanID=c2aefecb393f765c traceID=2435ef03abf9ec14460610dc4bf47549
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/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-snapshotter-stargz/frontend=gateway/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=gateway/warntype=progress#07 (0.15s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/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-snapshotter-stargz/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-snapshotter-stargz/frontend=gateway/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=gateway/warntype=unmarshal#07 (0.03s)
|
Test
Process completed with exit code 1.
|
Set up QEMU
Failed to restore: Cache service responded with 429
|
Set up Docker Buildx
Failed to restore: Cache service responded with 429
|
Loading