history: fix empty Exporters attribute #3781
Annotations
3 errors
client/run.go#L274
=== RUN TestIntegration
time="2024-06-11T11:01:38Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:39839"
run.go:274: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:39839/library/alpine:latest
time="2024-06-11T11:01:38Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:39839"
run.go:274: copied docker.io/tonistiigi/test:nolayers to local mirror localhost:39839/tonistiigi/test:nolayers
time="2024-06-11T11:01:38Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:39839"
time="2024-06-11T11:01:38Z" level=info msg=request digest="sha256:be691b1535726014cdf3b715ff39361b19e121ca34498a9ceea61ad776b9c215" mediatype=application/vnd.docker.image.rootfs.foreign.diff.tar size=10240 url="https://gist.github.com/cpuguy83/fcf3041e5d8fb1bb5c340915aabeebe0/raw/eebc59ee14939fc38067aa8b8dfbfba053d0af94/base.tar"
run.go:274: copied docker.io/cpuguy83/buildkit-foreign:latest to local mirror localhost:39839/cpuguy83/buildkit-foreign:latest
--- FAIL: TestIntegration (1.94s)
|
client/client_test.go#L2940
=== RUN TestIntegration/TestMultipleExporters/worker=oci
=== PAUSE TestIntegration/TestMultipleExporters/worker=oci
=== CONT TestIntegration/TestMultipleExporters/worker=oci
client_test.go:2940:
Error Trace: /src/client/client_test.go:2940
/src/util/testutil/integration/run.go:95
/src/util/testutil/integration/run.go:212
Error: "[Type:"image" Attrs:<key:"name" value:"localhost:41803/buildkit/build/exporter:image" > Type:"image" Attrs:<key:"name" value:"localhost:41803/buildkit/build/alternative:image" > Attrs:<key:"oci-mediatypes" value:"true" > Type:"local" Type:"local" Type:"tar" Type:"tar" ]" should have 4 item(s), but has 6
Test: TestIntegration/TestMultipleExporters/worker=oci
sandbox.go:133: 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_config2434657063/buildkitd.toml --root /tmp/bktest_buildkitd761378546 --addr unix:///tmp/bktest_buildkitd761378546/buildkitd.sock --debug
sandbox.go:136: > StartCmd 2024-06-11 11:02:47.683885394 +0000 UTC m=+77.896376438 /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_config2434657063/buildkitd.toml --root /tmp/bktest_buildkitd761378546 --addr unix:///tmp/bktest_buildkitd761378546/buildkitd.sock --debug
sandbox.go:136: time="2024-06-11T11:02:47Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:136: time="2024-06-11T11:02:47Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:136: time="2024-06-11T11:02:47Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:136: time="2024-06-11T11:02:47Z" level=debug msg="could not read \"/tmp/bktest_buildkitd761378546/net/cni\" for cleanup: open /tmp/bktest_buildkitd761378546/net/cni: no such file or directory"
sandbox.go:136: time="2024-06-11T11:02:47Z" level=debug msg="creating new network namespace i717mfocxtukdwntrvuq4s012"
sandbox.go:136: time="2024-06-11T11:02:47Z" level=debug msg="finished creating network namespace i717mfocxtukdwntrvuq4s012"
sandbox.go:136: time="2024-06-11T11:02:47Z" level=debug msg="finished setting up network namespace i717mfocxtukdwntrvuq4s012"
sandbox.go:136: time="2024-06-11T11:02:47Z" level=info msg="found worker \"gq8aru25jdvps3h538nkg2x8v\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:2701bf830537 org.mobyproject.buildkit.worker.network:cni 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:136: time="2024-06-11T11:02:47Z" level=info msg="found 1 workers, default=\"gq8aru25jdvps3h538nkg2x8v\""
sandbox.go:136: time="2024-06-11T11:02:47Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:136: time="2024-06-11T11:02:47Z" level=info msg="running server on /tmp/bktest_buildkitd761378546/buildkitd.sock"
sandbox.go:136: time="2024-06-11T11:02:47Z" level=debug msg="session started"
sandbox.go:136: time="2024-06-11T11:02:48Z" level=debug msg="session finished: <nil>"
sandbox.go:133: 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_config2434657063/buildkitd.toml --root /tmp/bktest_buildkitd761378546 --addr unix:///tmp/bktest_buildkitd761378546/buildkitd.sock --debug
--- FAIL: TestIntegration/TestMultipleExporters/worker=oci (0.98s)
|
|
This job failed
Loading