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:39325/library/busybox:latest
time="2025-01-13T20:44:40Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:39325"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:39325/library/alpine:latest
time="2025-01-13T20:44:40Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:39325"
run.go:273: copied local:/mainline.tar to local mirror localhost:39325/buildkit_test/x4oar4ixdr2rd64z7ipaf721v:latest
run.go:273: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:39607/amd64/bullseye-20230109-slim:latest
--- FAIL: TestIntegration (0.03s)
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=gateway
=== PAUSE TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=gateway
=== CONT TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=gateway
sandbox.go:187: stdout: /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd3118727421/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd3118727421/config.toml
sandbox.go:187: stderr: /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd3118727421/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd3118727421/config.toml
sandbox.go:190: > StartCmd 2025-01-13 20:45:46.679736391 +0000 UTC m=+66.740199576 /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd3118727421/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd3118727421/config.toml
sandbox.go:190: time="2025-01-13T20:45:46.745182398Z" level=info msg="starting containerd" revision= version=2.0.0+unknown
sandbox.go:190: time="2025-01-13T20:45:46.755980636Z" level=warning msg="Configuration migrated from version 2, use `containerd config migrate` to avoid migration" t="3.096µs"
sandbox.go:190: time="2025-01-13T20:45:46.756089259Z" level=info msg="loading plugin" id=io.containerd.image-verifier.v1.bindir type=io.containerd.image-verifier.v1
sandbox.go:190: time="2025-01-13T20:45:46.756173748Z" level=info msg="loading plugin" id=io.containerd.internal.v1.opt type=io.containerd.internal.v1
sandbox.go:190: time="2025-01-13T20:45:46.756263205Z" level=warning msg="failed to load plugin" error="mkdir /opt/containerd: permission denied" id=io.containerd.internal.v1.opt type=io.containerd.internal.v1
sandbox.go:190: time="2025-01-13T20:45:46.756331773Z" level=info msg="loading plugin" id=io.containerd.warning.v1.deprecations type=io.containerd.warning.v1
sandbox.go:190: time="2025-01-13T20:45:46.756363232Z" level=info msg="loading plugin" id=io.containerd.content.v1.content type=io.containerd.content.v1
sandbox.go:190: time="2025-01-13T20:45:46.756429005Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.blockfile type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:45:46.756562835Z" level=info msg="skip loading plugin" error="no scratch file generator: skip plugin" id=io.containerd.snapshotter.v1.blockfile type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:45:46.756614622Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.devmapper type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:45:46.756641543Z" level=info msg="skip loading plugin" error="devmapper not configured: skip plugin" id=io.containerd.snapshotter.v1.devmapper type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:45:46.756654707Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.native type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:45:46.756822150Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.overlayfs type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:45:46.757109227Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.zfs type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:45:46.757148541Z" level=info msg="skip loading plugin" error="lstat /tmp/bktest_containerd3118727421/root/io.containerd.snapshotter.v1.zfs: no such file or directory: skip plugin" id=io.containerd.snapshotter.v1.zfs type=io.containerd.snaps
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-rootless/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=containerd-rootless/frontend=gateway/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-rootless/frontend=gateway/warntype=progress#07 (0.26s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-rootless/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=containerd-rootless/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=containerd-rootless/frontend=gateway/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-rootless/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