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