Support OS version in platform string #5194
Annotations
6 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:41523/library/busybox:latest
time="2025-01-13T20:18:19Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:41523"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:41523/library/alpine:latest
time="2025-01-13T20:18:20Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:41523"
run.go:273: copied local:/mainline.tar to local mirror localhost:41523/buildkit_test/5kbusg7268zjqgn459sq46hf4:latest
run.go:273: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:33055/amd64/bullseye-20230109-slim:latest
--- FAIL: TestIntegration (0.04s)
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L9564
=== RUN TestIntegration/TestPlatformWithOSVersion/worker=containerd/frontend=gateway
=== PAUSE TestIntegration/TestPlatformWithOSVersion/worker=containerd/frontend=gateway
=== CONT TestIntegration/TestPlatformWithOSVersion/worker=containerd/frontend=gateway
dockerfile_test.go:9564:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:9564
/src/util/testutil/integration/run.go:98
/src/util/testutil/integration/run.go:212
Error: Not equal:
expected: "1.1.0\n"
actual : "1.2.3\n"
Diff:
--- Expected
+++ Actual
@@ -1,2 +1,2 @@
-1.1.0
+1.2.3
Test: TestIntegration/TestPlatformWithOSVersion/worker=containerd/frontend=gateway
sandbox.go:187: stdout: /usr/bin/buildkitd --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd3058962477/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker=false --config=/tmp/bktest_config553990093/buildkitd.toml --root /tmp/bktest_buildkitd774883957 --addr unix:///tmp/bktest_buildkitd774883957/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd774883957/buildkitd-debug.sock --debug
sandbox.go:187: stderr: /usr/bin/buildkitd --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd3058962477/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker=false --config=/tmp/bktest_config553990093/buildkitd.toml --root /tmp/bktest_buildkitd774883957 --addr unix:///tmp/bktest_buildkitd774883957/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd774883957/buildkitd-debug.sock --debug
sandbox.go:190: > StartCmd 2025-01-13 20:19:23.351282033 +0000 UTC m=+63.884912816 /usr/bin/buildkitd --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd3058962477/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker=false --config=/tmp/bktest_config553990093/buildkitd.toml --root /tmp/bktest_buildkitd774883957 --addr unix:///tmp/bktest_buildkitd774883957/buildkitd.sock --debugaddr unix:///tmp/bktest_buildkitd774883957/buildkitd-debug.sock --debug
sandbox.go:190: time="2025-01-13T20:19:23Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd774883957/buildkitd-debug.sock"
sandbox.go:190: time="2025-01-13T20:19:23Z" level=debug msg="could not read \"/tmp/bktest_buildkitd774883957/net/cni\" for cleanup: open /tmp/bktest_buildkitd774883957/net/cni: no such file or directory"
sandbox.go:190: time="2025-01-13T20:19:23Z" level=debug msg="creating new network namespace opnmyt8gelw3nrls2gn6wzw79"
sandbox.go:190: time="2025-01-13T20:19:23Z" level=debug msg="finished creating network namespace opnmyt8gelw3nrls2gn6wzw79"
sandbox.go:190: time="2025-01-13T20:19:23Z" level=debug msg="finished setting up network namespace opnmyt8gelw3nrls2gn6wzw79"
sandbox.go:190: time="2025-01-13T20:19:23Z" level=debug msg="remote introspection plugin filters" filters="[type==io.containerd.runtime.v1 type==io.containerd.runtime.v2]"
sandbox.go:190: time="2025-01-13T20:19:23Z" level=info msg="found worker \"u6i242ivr3fzjq1cno8ht4yiq\", labels=map[org.mobyproject.buildkit.worker.containerd.namespace:buildkit org.mobyproject.buildkit.worker.containerd.uuid:32957138-bb3a-40c0-90a0-ee983efa9a13 org.mobyproject.buildkit.worker.executor:containerd org.mobyproject.buildkit.worker.hostname:3dd5b57c5647 org.mobyproject.buildkit.worker.network:cni 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/3
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd/frontend=gateway
=== PAUSE TestIntegration/TestUndeclaredArg/worker=containerd/frontend=gateway
=== CONT TestIntegration/TestUndeclaredArg/worker=containerd/frontend=gateway
sandbox.go:187: stdout: /usr/bin/containerd --config /tmp/bktest_containerd2769928679/config.toml
sandbox.go:187: stderr: /usr/bin/containerd --config /tmp/bktest_containerd2769928679/config.toml
sandbox.go:190: > StartCmd 2025-01-13 20:19:02.40593085 +0000 UTC m=+42.939561624 /usr/bin/containerd --config /tmp/bktest_containerd2769928679/config.toml
sandbox.go:190: time="2025-01-13T20:19:02.426539380Z" level=info msg="starting containerd" revision= version=2.0.0+unknown
sandbox.go:190: time="2025-01-13T20:19:02.445358194Z" level=warning msg="Configuration migrated from version 2, use `containerd config migrate` to avoid migration" t="2.946µs"
sandbox.go:190: time="2025-01-13T20:19:02.445402346Z" 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:19:02.445447150Z" level=info msg="loading plugin" id=io.containerd.internal.v1.opt type=io.containerd.internal.v1
sandbox.go:190: time="2025-01-13T20:19:02.445558938Z" level=info msg="loading plugin" id=io.containerd.warning.v1.deprecations type=io.containerd.warning.v1
sandbox.go:190: time="2025-01-13T20:19:02.445601668Z" level=info msg="loading plugin" id=io.containerd.content.v1.content type=io.containerd.content.v1
sandbox.go:190: time="2025-01-13T20:19:02.445640661Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.blockfile type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:19:02.445800068Z" 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:19:02.445820055Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.devmapper type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:19:02.445996734Z" 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:19:02.446055153Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.native type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:19:02.446309077Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.overlayfs type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:19:02.446801835Z" level=info msg="loading plugin" id=io.containerd.snapshotter.v1.zfs type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:19:02.447728353Z" level=info msg="skip loading plugin" error="lstat /tmp/bktest_containerd2769928679/root/io.containerd.snapshotter.v1.zfs: no such file or directory: skip plugin" id=io.containerd.snapshotter.v1.zfs type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:19:02.447787343Z" level=info msg="loading plugin" id=io.containerd.event.v1.exchange type=io.containerd.event.v1
sandbox.go:190: time="2025-01-13T20:19:02.447928476Z" level=info msg="loading plugin" id=io.containerd.monitor.task.v1.cgroups type=io.containerd.monitor.task.v1
sandbox.go:190: time="2025-01-13T20:19:02.448422156Z" level=info msg="loading plugin" id=io.containerd.metadata.v1.bolt type=io.containerd.metadata.v1
sandbox.go:190: time="2025-01-13T20:19:02.448592494Z" level=info msg="metadata content store policy set" policy=shared
sandbox.go:190: time="2025-01-13T20:19:02.451544978Z" level=info msg="loading plugin" id=io.containerd.gc.v1.scheduler type=io.containerd.gc.v1
sandbox.go:190: time="2025-01-13T20:19:02.451685490Z" level=info msg="loading plugin" id=io.containerd.differ.v1.walking type=io.containerd.differ.v1
sandbox.go:190: time="2025-01-13T20:19:02.451800735Z" level=info msg="loading plugin" id=io.contain
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd/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/frontend=gateway/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd/frontend=gateway/warntype=progress#07 (0.28s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd/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/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/frontend=gateway/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd/frontend=gateway/warntype=unmarshal#07 (0.06s)
|
Test
Process completed with exit code 1.
|
Loading