history: fix empty Exporters attribute #3781
Annotations
3 errors
client/run.go#L274
=== RUN TestIntegration
time="2024-06-11T11:01:40Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:40423"
time="2024-06-11T11:01:40Z" 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:40423/cpuguy83/buildkit-foreign:latest
time="2024-06-11T11:01:41Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:40423"
run.go:274: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:40423/library/alpine:latest
time="2024-06-11T11:01:41Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:40423"
run.go:274: copied docker.io/tonistiigi/test:nolayers to local mirror localhost:40423/tonistiigi/test:nolayers
--- FAIL: TestIntegration (2.10s)
|
client/client_test.go#L2940
=== RUN TestIntegration/TestMultipleExporters/worker=oci-rootless
=== PAUSE TestIntegration/TestMultipleExporters/worker=oci-rootless
=== CONT TestIntegration/TestMultipleExporters/worker=oci-rootless
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:46209/buildkit/build/exporter:image" > Type:"image" Attrs:<key:"name" value:"localhost:46209/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-rootless
sandbox.go:133: stdout: /usr/bin/sudo -u #1000 -i -- exec rootlesskit buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config3232241181/buildkitd.toml --root /tmp/bktest_buildkitd3807893153 --addr unix:///tmp/bktest_buildkitd3807893153/buildkitd.sock --debug
sandbox.go:133: stderr: /usr/bin/sudo -u #1000 -i -- exec rootlesskit buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config3232241181/buildkitd.toml --root /tmp/bktest_buildkitd3807893153 --addr unix:///tmp/bktest_buildkitd3807893153/buildkitd.sock --debug
sandbox.go:136: > StartCmd 2024-06-11 11:01:50.514765243 +0000 UTC m=+24.515266490 /usr/bin/sudo -u #1000 -i -- exec rootlesskit buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config3232241181/buildkitd.toml --root /tmp/bktest_buildkitd3807893153 --addr unix:///tmp/bktest_buildkitd3807893153/buildkitd.sock --debug
sandbox.go:136: warning: GOCOVERDIR not set, no coverage data emitted
sandbox.go:136: time="2024-06-11T11:01:50Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:136: time="2024-06-11T11:01:50Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:136: time="2024-06-11T11:01:50Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:136: time="2024-06-11T11:01:50Z" level=debug msg="running in rootless mode"
sandbox.go:136: time="2024-06-11T11:01:50Z" level=info msg="found worker \"c8vyzmngkeppppvwdgldnyhvr\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:8f9642949892 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:136: time="2024-06-11T11:01:50Z" level=info msg="found 1 workers, default=\"c8vyzmngkeppppvwdgldnyhvr\""
sandbox.go:136: time="2024-06-11T11:01:50Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:136: time="2024-06-11T11:01:50Z" level=info msg="running server on /tmp/bktest_buildkitd3807893153/buildkitd.sock"
sandbox.go:136: time="2024-06-11T11:01:50Z" level=debug msg="session started"
sandbox.go:136: time="2024-06-11T11:01:50Z" level=debug msg="session finished: <nil>"
--- FAIL: TestIntegration/TestMultipleExporters/worker=oci-rootless (0.40s)
|
|
This job failed
Loading