Support OS version in platform string #5197
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:38157/library/busybox:latest
time="2025-01-13T20:44:36Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:38157"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:38157/library/alpine:latest
time="2025-01-13T20:44:37Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:38157"
run.go:273: copied local:/mainline.tar to local mirror localhost:38157/buildkit_test/wib4wse37mafffn66k8se7gwl:latest
run.go:273: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:45699/amd64/bullseye-20230109-slim:latest
--- FAIL: TestIntegration (0.04s)
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=oci/frontend=gateway
=== PAUSE TestIntegration/TestUndeclaredArg/worker=oci/frontend=gateway
=== CONT TestIntegration/TestUndeclaredArg/worker=oci/frontend=gateway
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 --config=/tmp/bktest_config2089225430/buildkitd.toml --root /tmp/bktest_buildkitd218202588 --addr unix:///tmp/bktest_buildkitd218202588/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd218202588/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 --config=/tmp/bktest_config2089225430/buildkitd.toml --root /tmp/bktest_buildkitd218202588 --addr unix:///tmp/bktest_buildkitd218202588/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd218202588/buildkitd-debug.sock --debug
sandbox.go:190: > StartCmd 2025-01-13 20:45:05.60845986 +0000 UTC m=+29.597875055 /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config2089225430/buildkitd.toml --root /tmp/bktest_buildkitd218202588 --addr unix:///tmp/bktest_buildkitd218202588/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd218202588/buildkitd-debug.sock --debug
sandbox.go:190: time="2025-01-13T20:45:05Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd218202588/buildkitd-debug.sock"
sandbox.go:190: time="2025-01-13T20:45:05Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:190: time="2025-01-13T20:45:05Z" level=debug msg="could not read \"/tmp/bktest_buildkitd218202588/net/cni\" for cleanup: open /tmp/bktest_buildkitd218202588/net/cni: no such file or directory"
sandbox.go:190: time="2025-01-13T20:45:05Z" level=debug msg="creating new network namespace w1mbkgbato7atsy1tw7nvb03o"
sandbox.go:190: time="2025-01-13T20:45:05Z" level=debug msg="finished creating network namespace w1mbkgbato7atsy1tw7nvb03o"
sandbox.go:190: time="2025-01-13T20:45:05Z" level=debug msg="finished setting up network namespace w1mbkgbato7atsy1tw7nvb03o"
sandbox.go:190: time="2025-01-13T20:45:05Z" level=info msg="found worker \"le9w5i9iky99gc2c371b29e85\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:45b870aea7d0 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: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:45:05Z" level=info msg="found 1 workers, default=\"le9w5i9iky99gc2c371b29e85\""
sandbox.go:190: time="2025-01-13T20:45:05Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:190: time="2025-01-13T20:45:05Z" level=info msg="running server on /tmp/bktest_buildkitd218202588/buildkitd.sock"
sandbox.go:190: time="2025-01-13T20:45:05Z" level=debug msg="session started" spanID=1a6b522f5ac95954 traceID=9d008ff83b9c16498427287f0a6d69b3
sandbox.go:190: time="2025-01-13T20:45:05Z" level=debug msg="checked for cached auth handler namespace" cached=false key="docker.io/buildkit_test/wib4wse37mafffn66k8se7gwl::pull" name=docker.io/buildkit_test/wib4wse37mafffn66k8se7gwl scope=pull
sandbox.go:190: time="2025-01-13T20:45:05Z" level=debug msg=resolving span="resolving docker.io/buildkit_test/wib4wse37mafffn66k8se7gwl:latest" spanID=8200e04ae9bf41f0 traceID=85e28d106f9e44e8786eb995e06594a3
sandbox.go:190: time="2025-01-13T20:45:05Z" level=debug msg="do request" request.header.accept="application/vnd.docker.distribution.manifest.v2+json, application/
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=oci/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/frontend=gateway/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=oci/frontend=gateway/warntype=progress#07 (0.17s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=oci/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/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/frontend=gateway/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=oci/frontend=gateway/warntype=unmarshal#07 (0.03s)
|
Test
Process completed with exit code 1.
|
Loading