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:32825/library/busybox:latest
time="2025-01-13T20:18:10Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:32825"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:32825/library/alpine:latest
time="2025-01-13T20:18:11Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:32825"
run.go:273: copied local:/mainline.tar to local mirror localhost:32825/buildkit_test/ygs91c2je0mmfs63pdfa6pmex:latest
run.go:273: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:34739/amd64/bullseye-20230109-slim:latest
--- FAIL: TestIntegration (0.04s)
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L9564
=== RUN TestIntegration/TestPlatformWithOSVersion/worker=containerd-1.7/frontend=gateway
=== PAUSE TestIntegration/TestPlatformWithOSVersion/worker=containerd-1.7/frontend=gateway
=== CONT TestIntegration/TestPlatformWithOSVersion/worker=containerd-1.7/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-1.7/frontend=gateway
sandbox.go:187: stdout: /opt/containerd-alt-17/bin/containerd --config /tmp/bktest_containerd726269692/config.toml
sandbox.go:187: stderr: /opt/containerd-alt-17/bin/containerd --config /tmp/bktest_containerd726269692/config.toml
sandbox.go:190: > StartCmd 2025-01-13 20:19:33.251069026 +0000 UTC m=+82.837110153 /opt/containerd-alt-17/bin/containerd --config /tmp/bktest_containerd726269692/config.toml
sandbox.go:190: time="2025-01-13T20:19:33.277854327Z" level=info msg="starting containerd" revision=57f17b0a6295a39009d861b89e3b3b87b005ca27 version=v1.7.23
sandbox.go:190: time="2025-01-13T20:19:33.311264154Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1
sandbox.go:190: time="2025-01-13T20:19:33.311291776Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1
sandbox.go:190: time="2025-01-13T20:19:33.311375914Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1
sandbox.go:190: time="2025-01-13T20:19:33.311395921Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:19:33.311494195Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:19:33.311513301Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:19:33.311529892Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." error="devmapper not configured: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:19:33.311541935Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:19:33.311735227Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:19:33.312043546Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.aufs\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:19:33.313034925Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.aufs\"..." error="aufs is not supported (modprobe aufs failed: exit status 1 \"modprobe: can't change directory to '/lib/modules': No such file or directory\\n\"): skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:19:33.313101279Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.zfs\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:19:33.313338965Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.zfs\"..." error="path /tmp/bktest_containerd726269692/root/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plu
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=gateway
=== PAUSE TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=gateway
=== CONT TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=gateway
sandbox.go:187: stderr: /opt/containerd-alt-17/bin/containerd --config /tmp/bktest_containerd3616383394/config.toml
sandbox.go:190: > StartCmd 2025-01-13 20:18:32.99054205 +0000 UTC m=+22.576583195 /opt/containerd-alt-17/bin/containerd --config /tmp/bktest_containerd3616383394/config.toml
sandbox.go:190: time="2025-01-13T20:18:33.009480737Z" level=info msg="starting containerd" revision=57f17b0a6295a39009d861b89e3b3b87b005ca27 version=v1.7.23
sandbox.go:190: time="2025-01-13T20:18:33.033939683Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1
sandbox.go:190: time="2025-01-13T20:18:33.034018631Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1
sandbox.go:190: time="2025-01-13T20:18:33.034086849Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1
sandbox.go:190: time="2025-01-13T20:18:33.034132846Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:18:33.034246078Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:18:33.034289029Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:18:33.034318474Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." error="devmapper not configured: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:18:33.034345014Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:18:33.034459869Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:18:33.034813192Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.aufs\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:18:33.035624247Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.aufs\"..." error="aufs is not supported (modprobe aufs failed: exit status 1 \"modprobe: can't change directory to '/lib/modules': No such file or directory\\n\"): skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:18:33.035667629Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.zfs\"..." type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:18:33.035892881Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.zfs\"..." error="path /tmp/bktest_containerd3616383394/root/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:190: time="2025-01-13T20:18:33.035911376Z" level=info msg="loading plugin \"io.containerd.content.v1.content\"..." type=io.containerd.content.v1
sandbox.go:190: time="2025-01-13T20:18:33.036031722Z" level=info msg="loading plugin \"io.containerd.metadata.v1.bolt\"..." type=io.containerd.metadata.v1
sandbox.go:190: time="2025-01-13T20:18:33.036133092Z" level=info msg="metadata content store policy set" policy=shared
sandbox.go:190: time="2025-01-13T20:18:33.038370380Z" level=info msg="loading plugin \"io.containerd.gc.v1.scheduler\"..." type=io.containerd.gc.v1
sandbox.go:190: time="2025-01-13T20:18:33.038407449Z" level=info msg="loading plugin \"io.containerd.differ.v1.walking\"..." type=io.containerd.differ.v1
sandbox.go:190: time="2025-01-13T20:18:3
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-1.7/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-1.7/frontend=gateway/warntype=progress#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=gateway/warntype=progress#07 (0.26s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1478
=== RUN TestIntegration/TestUndeclaredArg/worker=containerd-1.7/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-1.7/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-1.7/frontend=gateway/warntype=unmarshal#07
--- FAIL: TestIntegration/TestUndeclaredArg/worker=containerd-1.7/frontend=gateway/warntype=unmarshal#07 (0.05s)
|
Test
Process completed with exit code 1.
|
Loading