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/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:36763/library/busybox:latest
time="2025-01-13T20:39:18Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:36763"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:36763/library/alpine:latest
run.go:273: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:33317/amd64/bullseye-20230109-slim:latest
--- FAIL: TestIntegration (0.08s)
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-snapshotter-stargz/frontend=builtin
=== PAUSE TestIntegration/TestUndeclaredArg/worker=containerd-snapshotter-stargz/frontend=builtin
=== CONT TestIntegration/TestUndeclaredArg/worker=containerd-snapshotter-stargz/frontend=builtin
sandbox.go:187: stdout: /usr/bin/containerd-stargz-grpc --log-level debug --address /tmp/bktest_containerd_stargz_grpc2742608864/containerd-stargz-grpc.sock --root /tmp/bktest_containerd_stargz_grpc2742608864/root
sandbox.go:187: stderr: /usr/bin/containerd-stargz-grpc --log-level debug --address /tmp/bktest_containerd_stargz_grpc2742608864/containerd-stargz-grpc.sock --root /tmp/bktest_containerd_stargz_grpc2742608864/root
sandbox.go:190: > StartCmd 2025-01-13 20:39:58.211646495 +0000 UTC m=+40.307417699 /usr/bin/containerd-stargz-grpc --log-level debug --address /tmp/bktest_containerd_stargz_grpc2742608864/containerd-stargz-grpc.sock --root /tmp/bktest_containerd_stargz_grpc2742608864/root
sandbox.go:190: {"key":"buildkit/1/ulk9tnx4fbzvjugb8gftdrow5","level":"debug","msg":"checking layer availability","time":"2025-01-13T20:39:58.484177980Z"}
sandbox.go:190: {"key":"buildkit/1/ulk9tnx4fbzvjugb8gftdrow5","level":"debug","mount-point":"/tmp/bktest_containerd_stargz_grpc2742608864/root/snapshotter/snapshots/1/fs","msg":"layer is normal snapshot(overlayfs)","time":"2025-01-13T20:39:58.484487348Z"}
sandbox.go:190: {"key":"buildkit/1/ulk9tnx4fbzvjugb8gftdrow5","level":"debug","msg":"checking layer availability","time":"2025-01-13T20:39:58.493624798Z"}
sandbox.go:190: {"key":"buildkit/1/ulk9tnx4fbzvjugb8gftdrow5","level":"debug","mount-point":"/tmp/bktest_containerd_stargz_grpc2742608864/root/snapshotter/snapshots/1/fs","msg":"layer is normal snapshot(overlayfs)","time":"2025-01-13T20:39:58.493701292Z"}
sandbox.go:190: {"key":"buildkit/2/wwepamkcsv6aa4b7vb3xulq82","level":"debug","msg":"checking layer availability","time":"2025-01-13T20:39:58.505295240Z"}
sandbox.go:190: {"key":"buildkit/2/wwepamkcsv6aa4b7vb3xulq82","level":"debug","mount-point":"/tmp/bktest_containerd_stargz_grpc2742608864/root/snapshotter/snapshots/2/fs","msg":"layer is normal snapshot(overlayfs)","time":"2025-01-13T20:39:58.505360041Z"}
sandbox.go:190: {"key":"buildkit/2/wwepamkcsv6aa4b7vb3xulq82","level":"debug","msg":"checking layer availability","time":"2025-01-13T20:39:58.510648626Z"}
sandbox.go:190: {"key":"buildkit/2/wwepamkcsv6aa4b7vb3xulq82","level":"debug","mount-point":"/tmp/bktest_containerd_stargz_grpc2742608864/root/snapshotter/snapshots/2/fs","msg":"layer is normal snapshot(overlayfs)","time":"2025-01-13T20:39:58.510679203Z"}
sandbox.go:190: {"key":"buildkit/3/a84dg0gc60peiwt4rla88sbuy","level":"debug","msg":"checking layer availability","time":"2025-01-13T20:39:58.523186896Z"}
sandbox.go:190: {"key":"buildkit/3/a84dg0gc60peiwt4rla88sbuy","level":"debug","mount-point":"/tmp/bktest_containerd_stargz_grpc2742608864/root/snapshotter/snapshots/3/fs","msg":"layer is normal snapshot(overlayfs)","time":"2025-01-13T20:39:58.523244594Z"}
sandbox.go:190: {"key":"buildkit/3/a84dg0gc60peiwt4rla88sbuy","level":"debug","msg":"checking layer availability","time":"2025-01-13T20:39:58.533131041Z"}
sandbox.go:190: {"key":"buildkit/3/a84dg0gc60peiwt4rla88sbuy","level":"debug","mount-point":"/tmp/bktest_containerd_stargz_grpc2742608864/root/snapshotter/snapshots/3/fs","msg":"layer is normal snapshot(overlayfs)","time":"2025-01-13T20:39:58.533211842Z"}
sandbox.go:190: {"key":"buildkit/4/wzyyru7v08j0ncn0dzs9xdvur","level":"debug","msg":"checking layer availability","time":"2025-01-13T20:39:58.540660391Z"}
sandbox.go:190: {"key":"buildkit/4/wzyyru7v08j0ncn0dzs9xdvur","level":"debug","mount-point":"/tmp/bktest_containerd_stargz_grpc2742608864/root/snapshotter/snapshots/4/fs","msg":"layer is normal snapshot(overlayfs)","time":"2025-01-13T20:39:58.540686650Z"}
sandbox.go:190: {"key":"buildkit/1/ulk9tnx4fbzvjugb8gftdrow5","level":"debug","msg":"checking layer availability","time":"2025-01-13T20:39:58.612165058Z
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-snapshotter-stargz/frontend=client
=== PAUSE TestIntegration/TestUndeclaredArg/worker=containerd-snapshotter-stargz/frontend=client
=== CONT TestIntegration/TestUndeclaredArg/worker=containerd-snapshotter-stargz/frontend=client
sandbox.go:187: stdout: /usr/bin/containerd-stargz-grpc --log-level debug --address /tmp/bktest_containerd_stargz_grpc3865417720/containerd-stargz-grpc.sock --root /tmp/bktest_containerd_stargz_grpc3865417720/root
sandbox.go:187: stderr: /usr/bin/containerd-stargz-grpc --log-level debug --address /tmp/bktest_containerd_stargz_grpc3865417720/containerd-stargz-grpc.sock --root /tmp/bktest_containerd_stargz_grpc3865417720/root
sandbox.go:190: > StartCmd 2025-01-13 20:39:58.052675471 +0000 UTC m=+40.148446675 /usr/bin/containerd-stargz-grpc --log-level debug --address /tmp/bktest_containerd_stargz_grpc3865417720/containerd-stargz-grpc.sock --root /tmp/bktest_containerd_stargz_grpc3865417720/root
sandbox.go:190: {"key":"buildkit/1/uw7mbta0h9t4g852qdojsuaiy","level":"debug","msg":"checking layer availability","time":"2025-01-13T20:39:58.366788644Z"}
sandbox.go:190: {"key":"buildkit/1/uw7mbta0h9t4g852qdojsuaiy","level":"debug","mount-point":"/tmp/bktest_containerd_stargz_grpc3865417720/root/snapshotter/snapshots/1/fs","msg":"layer is normal snapshot(overlayfs)","time":"2025-01-13T20:39:58.366922233Z"}
sandbox.go:190: {"key":"buildkit/1/uw7mbta0h9t4g852qdojsuaiy","level":"debug","msg":"checking layer availability","time":"2025-01-13T20:39:58.379431840Z"}
sandbox.go:190: {"key":"buildkit/1/uw7mbta0h9t4g852qdojsuaiy","level":"debug","mount-point":"/tmp/bktest_containerd_stargz_grpc3865417720/root/snapshotter/snapshots/1/fs","msg":"layer is normal snapshot(overlayfs)","time":"2025-01-13T20:39:58.379620091Z"}
sandbox.go:190: {"key":"buildkit/2/8ag0x4quol1vl881ofanpe21p","level":"debug","msg":"checking layer availability","time":"2025-01-13T20:39:58.411185918Z"}
sandbox.go:190: {"key":"buildkit/2/8ag0x4quol1vl881ofanpe21p","level":"debug","mount-point":"/tmp/bktest_containerd_stargz_grpc3865417720/root/snapshotter/snapshots/2/fs","msg":"layer is normal snapshot(overlayfs)","time":"2025-01-13T20:39:58.411294230Z"}
sandbox.go:190: {"key":"buildkit/2/8ag0x4quol1vl881ofanpe21p","level":"debug","msg":"checking layer availability","time":"2025-01-13T20:39:58.420147330Z"}
sandbox.go:190: {"key":"buildkit/2/8ag0x4quol1vl881ofanpe21p","level":"debug","mount-point":"/tmp/bktest_containerd_stargz_grpc3865417720/root/snapshotter/snapshots/2/fs","msg":"layer is normal snapshot(overlayfs)","time":"2025-01-13T20:39:58.420219435Z"}
sandbox.go:190: {"key":"buildkit/3/aiu3z91ob7bmv84v94msja0xu","level":"debug","msg":"checking layer availability","time":"2025-01-13T20:39:58.435225383Z"}
sandbox.go:190: {"key":"buildkit/3/aiu3z91ob7bmv84v94msja0xu","level":"debug","mount-point":"/tmp/bktest_containerd_stargz_grpc3865417720/root/snapshotter/snapshots/3/fs","msg":"layer is normal snapshot(overlayfs)","time":"2025-01-13T20:39:58.435263754Z"}
sandbox.go:190: {"key":"buildkit/3/aiu3z91ob7bmv84v94msja0xu","level":"debug","msg":"checking layer availability","time":"2025-01-13T20:39:58.444519594Z"}
sandbox.go:190: {"key":"buildkit/3/aiu3z91ob7bmv84v94msja0xu","level":"debug","mount-point":"/tmp/bktest_containerd_stargz_grpc3865417720/root/snapshotter/snapshots/3/fs","msg":"layer is normal snapshot(overlayfs)","time":"2025-01-13T20:39:58.444551263Z"}
sandbox.go:190: {"key":"buildkit/4/9obfc26ua155gw7dqr9we1hkr","level":"debug","msg":"checking layer availability","time":"2025-01-13T20:39:58.453704774Z"}
sandbox.go:190: {"key":"buildkit/4/9obfc26ua155gw7dqr9we1hkr","level":"debug","mount-point":"/tmp/bktest_containerd_stargz_grpc3865417720/root/snapshotter/snapshots/4/fs","msg":"layer is normal snapshot(overlayfs)","time":"2025-01-13T20:39:58.453974509Z"}
sandbox.go:190: {"key":"buildkit/1/uw7mbta0h9t4g852qdojsuaiy","level":"debug","msg":"checking layer availability","time":"2025-01-13T20:39:58.508537011Z"}
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-snapshotter-stargz/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-snapshotter-stargz/frontend=client/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-snapshotter-stargz/frontend=client/warntype=progress#07 (0.05s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-snapshotter-stargz/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-snapshotter-stargz/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-snapshotter-stargz/frontend=client/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-snapshotter-stargz/frontend=client/warntype=unmarshal#07 (0.04s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-snapshotter-stargz/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-snapshotter-stargz/frontend=builtin/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-snapshotter-stargz/frontend=builtin/warntype=progress#07 (0.04s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-snapshotter-stargz/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-snapshotter-stargz/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-snapshotter-stargz/frontend=builtin/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-snapshotter-stargz/frontend=builtin/warntype=unmarshal#07 (0.04s)
|
Test
Process completed with exit code 1.
|
Loading