history: fix empty Exporters attribute #3781
Annotations
3 errors
client/run.go#L274
=== RUN TestIntegration
time="2024-06-11T11:01:49Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:45193"
time="2024-06-11T11:01:49Z" 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:45193/cpuguy83/buildkit-foreign:latest
time="2024-06-11T11:01:49Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:45193"
run.go:274: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:45193/library/alpine:latest
time="2024-06-11T11:01:50Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:45193"
run.go:274: copied docker.io/tonistiigi/test:nolayers to local mirror localhost:45193/tonistiigi/test:nolayers
--- FAIL: TestIntegration (2.95s)
|
client/client_test.go#L2940
=== RUN TestIntegration/TestMultipleExporters/worker=containerd
=== PAUSE TestIntegration/TestMultipleExporters/worker=containerd
=== CONT TestIntegration/TestMultipleExporters/worker=containerd
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:40569/buildkit/build/exporter:image" > Type:"image" Attrs:<key:"name" value:"localhost:40569/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=containerd
sandbox.go:133: stderr: /usr/bin/buildkitd --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd3919964054/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker=false --config=/tmp/bktest_config1288773912/buildkitd.toml --root /tmp/bktest_buildkitd3943694062 --addr unix:///tmp/bktest_buildkitd3943694062/buildkitd.sock --debug
sandbox.go:136: > StartCmd 2024-06-11 11:05:07.879891411 +0000 UTC m=+210.069959178 /usr/bin/buildkitd --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd3919964054/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker=false --config=/tmp/bktest_config1288773912/buildkitd.toml --root /tmp/bktest_buildkitd3943694062 --addr unix:///tmp/bktest_buildkitd3943694062/buildkitd.sock --debug
sandbox.go:136: time="2024-06-11T11:05:07Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:136: time="2024-06-11T11:05:07Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:136: time="2024-06-11T11:05:07Z" level=debug msg="could not read \"/tmp/bktest_buildkitd3943694062/net/cni\" for cleanup: open /tmp/bktest_buildkitd3943694062/net/cni: no such file or directory"
sandbox.go:136: time="2024-06-11T11:05:07Z" level=debug msg="creating new network namespace rotb99tb8iuhyruvhs3w284rx"
sandbox.go:136: time="2024-06-11T11:05:07Z" level=debug msg="finished creating network namespace rotb99tb8iuhyruvhs3w284rx"
sandbox.go:136: time="2024-06-11T11:05:07Z" level=debug msg="finished setting up network namespace rotb99tb8iuhyruvhs3w284rx"
sandbox.go:136: time="2024-06-11T11:05:07Z" level=debug msg="remote introspection plugin filters" filters="[type==io.containerd.runtime.v1 type==io.containerd.runtime.v2]"
sandbox.go:136: time="2024-06-11T11:05:08Z" level=info msg="found worker \"xfk8bt9n8qa6u16hpsw8bjuwf\", labels=map[org.mobyproject.buildkit.worker.containerd.namespace:buildkit org.mobyproject.buildkit.worker.containerd.uuid:c027056a-cd71-49f7-aa68-229e46187039 org.mobyproject.buildkit.worker.executor:containerd org.mobyproject.buildkit.worker.hostname:0c180b15b5a2 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/386 linux/mips64le linux/mips64 linux/arm/v7 linux/arm/v6]"
sandbox.go:136: time="2024-06-11T11:05:08Z" level=info msg="found 1 workers, default=\"xfk8bt9n8qa6u16hpsw8bjuwf\""
sandbox.go:136: time="2024-06-11T11:05:08Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:136: time="2024-06-11T11:05:08Z" level=info msg="running server on /tmp/bktest_buildkitd3943694062/buildkitd.sock"
sandbox.go:136: time="2024-06-11T11:05:08Z" level=debug msg="session started"
sandbox.go:136: time="2024-06-11T11:05:08Z" level=debug msg="session finished: <nil>"
sandbox.go:133: stdout: /usr/bin/containerd --config /tmp/bktest_contai
|
|
This job failed
Loading