bake: prototype for composable bake attributes #4575
Annotations
7 errors
Generate annotations:
tests/run.go#L272
=== RUN TestIntegration
run.go:272: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:41355/library/busybox:latest
time="2024-11-04T15:37:47Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:41355"
run.go:272: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:41355/library/alpine:latest
time="2024-11-04T15:37:47Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:41355"
run.go:272: copied docker.io/moby/buildkit:v0.14.1 to local mirror localhost:41355/moby/buildkit:buildx-stable-1
--- FAIL: TestIntegration (0.01s)
|
Generate annotations:
tests/build.go#L316
=== RUN TestIntegration/TestBuildRegistryExport/worker=remote
=== PAUSE TestIntegration/TestBuildRegistryExport/worker=remote
=== CONT TestIntegration/TestBuildRegistryExport/worker=remote
time="2024-11-04T15:38:00Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:38977"
build.go:316:
Error Trace: /src/tests/build.go:316
/src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97
/src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211
Error: Received unexpected error:
localhost:35987/buildx/registry:latest: not found
Test: TestIntegration/TestBuildRegistryExport/worker=remote
sandbox.go:135: 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_config3115903207/buildkitd.toml --root /tmp/bktest_buildkitd1565424131 --addr unix:///tmp/bktest_buildkitd1565424131/buildkitd.sock --debug
sandbox.go:135: 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_config3115903207/buildkitd.toml --root /tmp/bktest_buildkitd1565424131 --addr unix:///tmp/bktest_buildkitd1565424131/buildkitd.sock --debug
sandbox.go:138: > StartCmd 2024-11-04 15:38:00.472740931 +0000 UTC m=+13.254770051 /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_config3115903207/buildkitd.toml --root /tmp/bktest_buildkitd1565424131 --addr unix:///tmp/bktest_buildkitd1565424131/buildkitd.sock --debug
sandbox.go:138: time="2024-11-04T15:38:00Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=warning msg="using host network as the default"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=info msg="found worker \"k0fr50rk6wzysbuw06i89xoav\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:58bab45c668e org.mobyproject.buildkit.worker.network:host 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/mips64le linux/mips64 linux/arm/v7 linux/arm/v6]"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=info msg="found 1 workers, default=\"k0fr50rk6wzysbuw06i89xoav\""
sandbox.go:138: time="2024-11-04T15:38:00Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:138: time="2024-11-04T15:38:00Z" level=info msg="running server on /tmp/bktest_buildkitd1565424131/buildkitd.sock"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=debug msg="session started"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=debug msg="session finished: <nil>"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=debug msg="session started"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=debug msg="resolve exporter image with map[]"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=debug msg="new ref for local: alv6016xrxg961j9nvt3ejfcv" span="[internal] load build definition from Dockerfile"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=debug msg="diffcopy took: 2.170692ms" span="[internal] load build definition from Dockerfile"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=debug msg="saved alv6016xrxg961j9nvt3ejfcv as dockerfile:dockerfile:001:066
|
Generate annotations:
tests/build.go#L350
=== RUN TestIntegration/TestBuildRegistryExportAttestations/worker=remote
=== PAUSE TestIntegration/TestBuildRegistryExportAttestations/worker=remote
=== CONT TestIntegration/TestBuildRegistryExportAttestations/worker=remote
build.go:350:
Error Trace: /src/tests/build.go:350
/src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97
/src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211
Error: Received unexpected error:
localhost:43671/buildx/registry:latest: not found
Test: TestIntegration/TestBuildRegistryExportAttestations/worker=remote
sandbox.go:135: 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_config2125830239/buildkitd.toml --root /tmp/bktest_buildkitd284264352 --addr unix:///tmp/bktest_buildkitd284264352/buildkitd.sock --debug
sandbox.go:135: 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_config2125830239/buildkitd.toml --root /tmp/bktest_buildkitd284264352 --addr unix:///tmp/bktest_buildkitd284264352/buildkitd.sock --debug
sandbox.go:138: > StartCmd 2024-11-04 15:38:00.412151692 +0000 UTC m=+13.194180782 /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_config2125830239/buildkitd.toml --root /tmp/bktest_buildkitd284264352 --addr unix:///tmp/bktest_buildkitd284264352/buildkitd.sock --debug
sandbox.go:138: time="2024-11-04T15:38:00Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=warning msg="using host network as the default"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=info msg="found worker \"x169zzxdl7c4joeq1maunl5bb\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:58bab45c668e org.mobyproject.buildkit.worker.network:host 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/mips64le linux/mips64 linux/arm/v7 linux/arm/v6]"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=info msg="found 1 workers, default=\"x169zzxdl7c4joeq1maunl5bb\""
sandbox.go:138: time="2024-11-04T15:38:00Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:138: time="2024-11-04T15:38:00Z" level=info msg="running server on /tmp/bktest_buildkitd284264352/buildkitd.sock"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=debug msg="session started"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=debug msg="session finished: <nil>"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=debug msg="session started"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=debug msg="resolve exporter image with map[]"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=debug msg="new ref for local: 7liia6n5k88fb9xrqpbmzrpg2" span="[internal] load build definition from Dockerfile"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=debug msg="diffcopy took: 2.881199ms" span="[internal] load build definition from Dockerfile"
sandbox.go:138: time="2024-11-04T15:38:00Z" level=debug msg="saved 7liia6n5k88fb9xrqpbmzrpg2 as dockerfile:dockerfile:001:4a12b71e5ee36852" span="[internal] load build definition from Dockerfile"
sand
|
Generate annotations:
tests/build.go#L557
=== RUN TestIntegration/TestBuildAnnotations/worker=remote
=== PAUSE TestIntegration/TestBuildAnnotations/worker=remote
=== CONT TestIntegration/TestBuildAnnotations/worker=remote
build.go:557:
Error Trace: /src/tests/build.go:557
/src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97
/src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211
Error: Received unexpected error:
localhost:38977/buildx/registry:latest: not found
Test: TestIntegration/TestBuildAnnotations/worker=remote
sandbox.go:135: 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_config879383877/buildkitd.toml --root /tmp/bktest_buildkitd649764705 --addr unix:///tmp/bktest_buildkitd649764705/buildkitd.sock --debug
sandbox.go:135: 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_config879383877/buildkitd.toml --root /tmp/bktest_buildkitd649764705 --addr unix:///tmp/bktest_buildkitd649764705/buildkitd.sock --debug
sandbox.go:138: > StartCmd 2024-11-04 15:37:59.706303833 +0000 UTC m=+12.488332973 /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_config879383877/buildkitd.toml --root /tmp/bktest_buildkitd649764705 --addr unix:///tmp/bktest_buildkitd649764705/buildkitd.sock --debug
sandbox.go:138: time="2024-11-04T15:37:59Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=warning msg="using host network as the default"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=info msg="found worker \"1cxihwpcjgu9zmpvasiw14key\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:58bab45c668e org.mobyproject.buildkit.worker.network:host 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/mips64le linux/mips64 linux/arm/v7 linux/arm/v6]"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=info msg="found 1 workers, default=\"1cxihwpcjgu9zmpvasiw14key\""
sandbox.go:138: time="2024-11-04T15:37:59Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:138: time="2024-11-04T15:37:59Z" level=info msg="running server on /tmp/bktest_buildkitd649764705/buildkitd.sock"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=debug msg="session started"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=debug msg="session finished: <nil>"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=debug msg="resolve exporter image with map[annotation-index.example2:xxx annotation-manifest-descriptor[linux/amd64].example4:zzz annotation-manifest.example3:yyy annotation.example1:www]"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=debug msg="session started"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=debug msg="new ref for local: s6npi3769e0xs2pdi5zu62qan" span="[internal] load build definition from Dockerfile"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=debug msg="diffcopy took: 2.898583ms" span="[internal] load build definition from Dockerfile"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=debug msg="saved s6npi3769e0xs2pdi5zu62qan as dockerfile:dockerfile:001:48
|
Generate annotations:
tests/build.go#L644
=== RUN TestIntegration/TestBuildMultiPlatform/worker=remote
=== PAUSE TestIntegration/TestBuildMultiPlatform/worker=remote
=== CONT TestIntegration/TestBuildMultiPlatform/worker=remote
build.go:644:
Error Trace: /src/tests/build.go:644
/src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97
/src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211
Error: Received unexpected error:
localhost:42421/buildx/registry:latest: not found
Test: TestIntegration/TestBuildMultiPlatform/worker=remote
sandbox.go:135: 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_config3398645944/buildkitd.toml --root /tmp/bktest_buildkitd3366385394 --addr unix:///tmp/bktest_buildkitd3366385394/buildkitd.sock --debug
sandbox.go:135: 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_config3398645944/buildkitd.toml --root /tmp/bktest_buildkitd3366385394 --addr unix:///tmp/bktest_buildkitd3366385394/buildkitd.sock --debug
sandbox.go:138: > StartCmd 2024-11-04 15:37:59.218234507 +0000 UTC m=+12.000263617 /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_config3398645944/buildkitd.toml --root /tmp/bktest_buildkitd3366385394 --addr unix:///tmp/bktest_buildkitd3366385394/buildkitd.sock --debug
sandbox.go:138: time="2024-11-04T15:37:59Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=warning msg="using host network as the default"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=info msg="found worker \"umd83worhp4w9r3jczjnciz1o\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:58bab45c668e org.mobyproject.buildkit.worker.network:host 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/mips64le linux/mips64 linux/arm/v7 linux/arm/v6]"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=info msg="found 1 workers, default=\"umd83worhp4w9r3jczjnciz1o\""
sandbox.go:138: time="2024-11-04T15:37:59Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:138: time="2024-11-04T15:37:59Z" level=info msg="running server on /tmp/bktest_buildkitd3366385394/buildkitd.sock"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=debug msg="session started"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=debug msg="session finished: <nil>"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=debug msg="session started"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=debug msg="resolve exporter image with map[]"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=debug msg="new ref for local: 9oi0e2lc2fljjjst4zl90tpy4" span="[internal] load build definition from Dockerfile"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=debug msg="diffcopy took: 4.617386ms" span="[internal] load build definition from Dockerfile"
sandbox.go:138: time="2024-11-04T15:37:59Z" level=debug msg="saved 9oi0e2lc2fljjjst4zl90tpy4 as dockerfile:dockerfile:001:2327245365559470" span="[internal] load build definition from Dockerfile"
sandbox.go:138: time="2024-11-04T15:37:59Z" level
|
Generate annotations:
tests/bake.go#L949
=== RUN TestIntegration/TestBakeMultiPlatform/worker=remote
=== PAUSE TestIntegration/TestBakeMultiPlatform/worker=remote
=== CONT TestIntegration/TestBakeMultiPlatform/worker=remote
bake.go:949:
Error Trace: /src/tests/bake.go:949
/src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97
/src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211
Error: Received unexpected error:
localhost:35957/buildx/registry:latest: not found
Test: TestIntegration/TestBakeMultiPlatform/worker=remote
sandbox.go:135: 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_config3314648770/buildkitd.toml --root /tmp/bktest_buildkitd1188876811 --addr unix:///tmp/bktest_buildkitd1188876811/buildkitd.sock --debug
sandbox.go:135: 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_config3314648770/buildkitd.toml --root /tmp/bktest_buildkitd1188876811 --addr unix:///tmp/bktest_buildkitd1188876811/buildkitd.sock --debug
sandbox.go:138: > StartCmd 2024-11-04 15:37:54.628702931 +0000 UTC m=+7.410732021 /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_config3314648770/buildkitd.toml --root /tmp/bktest_buildkitd1188876811 --addr unix:///tmp/bktest_buildkitd1188876811/buildkitd.sock --debug
sandbox.go:138: time="2024-11-04T15:37:54Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-11-04T15:37:54Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-11-04T15:37:54Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:138: time="2024-11-04T15:37:54Z" level=warning msg="using host network as the default"
sandbox.go:138: time="2024-11-04T15:37:54Z" level=info msg="found worker \"ppqxafpn60qwwrsh8j4c1xlh8\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:58bab45c668e org.mobyproject.buildkit.worker.network:host 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/mips64le linux/mips64 linux/arm/v7 linux/arm/v6]"
sandbox.go:138: time="2024-11-04T15:37:54Z" level=info msg="found 1 workers, default=\"ppqxafpn60qwwrsh8j4c1xlh8\""
sandbox.go:138: time="2024-11-04T15:37:54Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:138: time="2024-11-04T15:37:54Z" level=info msg="running server on /tmp/bktest_buildkitd1188876811/buildkitd.sock"
sandbox.go:138: time="2024-11-04T15:37:54Z" level=debug msg="session started"
sandbox.go:138: time="2024-11-04T15:37:54Z" level=debug msg="session finished: <nil>"
sandbox.go:138: time="2024-11-04T15:37:54Z" level=debug msg="resolve exporter image with map[]"
sandbox.go:138: time="2024-11-04T15:37:54Z" level=debug msg="session started"
sandbox.go:138: time="2024-11-04T15:37:54Z" level=debug msg="new ref for local: mjge7wubxxoonhdfkek3tuwba" span="[internal] load build definition from Dockerfile"
sandbox.go:138: time="2024-11-04T15:37:54Z" level=debug msg="diffcopy took: 2.714568ms" span="[internal] load build definition from Dockerfile"
sandbox.go:138: time="2024-11-04T15:37:54Z" level=debug msg="saved mjge7wubxxoonhdfkek3tuwba as dockerfile:dockerfile:001:5c50156f49482f02" span="[internal] load build definition from Dockerfile"
sandbox.go:138: time="2024-11-04T15:37:54Z" level=debug
|
Test
Process completed with exit code 1.
|
Loading