remotecache: refactor to new cache export interface #7342
Annotations
7 errors
Generate annotations:
client/client_test.go#L8521
=== RUN TestIntegration/TestDiffShuffleFilesMerge/worker=oci
=== PAUSE TestIntegration/TestDiffShuffleFilesMerge/worker=oci
=== CONT TestIntegration/TestDiffShuffleFilesMerge/worker=oci
client_test.go:8521: checkAllReleasable: skipping check for exported tars in non-containerd test
client_test.go:8521: checkAllReleasable: skipping check for exported tars in non-containerd test
client_test.go:8521: checkAllReleasable: skipping check for exported tars in non-containerd test
mergediff_test.go:1334:
Error Trace: /src/client/client_test.go:8360
/src/client/mergediff_test.go:1334
/src/util/testutil/integration/run.go:251
Error: Received unexpected error:
directory diff between /tmp/fstest3541284032 and /tmp/TestIntegrationTestDiffShuffleFilesMergeworker=oci2787635657/003
~ /modifyDir(mode: 20000000700, uid: 0, gid: 0) -> /modifyDir(mode: 20000000755, uid: 0, gid: 0)
Test: TestIntegration/TestDiffShuffleFilesMerge/worker=oci
sandbox.go:202: 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_config3107416907/buildkitd.toml --root /tmp/bktest_buildkitd2172054320 --addr unix:///tmp/bktest_buildkitd2172054320/buildkitd.sock --debug
sandbox.go:205: > StartCmd 2025-08-14 09:57:28.455543439 +0000 UTC m=+54.038112004 /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_config3107416907/buildkitd.toml --root /tmp/bktest_buildkitd2172054320 --addr unix:///tmp/bktest_buildkitd2172054320/buildkitd.sock --debug
sandbox.go:205: time="2025-08-14T09:57:28Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd2172054320/buildkitd-debug.sock"
sandbox.go:205: time="2025-08-14T09:57:28Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:205: time="2025-08-14T09:57:28Z" level=debug msg="could not read \"/tmp/bktest_buildkitd2172054320/net/cni\" for cleanup: open /tmp/bktest_buildkitd2172054320/net/cni: no such file or directory"
sandbox.go:205: time="2025-08-14T09:57:28Z" level=debug msg="creating new network namespace j1mumtff2rtgp1komjn5l2pno"
sandbox.go:205: time="2025-08-14T09:57:28Z" level=debug msg="finished creating network namespace j1mumtff2rtgp1komjn5l2pno"
sandbox.go:205: time="2025-08-14T09:57:28Z" level=debug msg="finished setting up network namespace j1mumtff2rtgp1komjn5l2pno"
sandbox.go:205: time="2025-08-14T09:57:28Z" level=info msg="found worker \"o1nr2vpmeqbybwuyfb4wmay7s\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:3bb7b05e6b26 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/loong64 linux/arm/v7 linux/arm/v6]"
sandbox.go:205: time="2025-08-14T09:57:28Z" level=info msg="found 1 workers, default=\"o1nr2vpmeqbybwuyfb4wmay7s\""
sandbox.go:205: time="2025-08-14T09:57:28Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:205: time="2025-08-14T09:57:28Z" level=info msg="running server on /tmp/bktest_buildkitd2172054320/buildkitd.sock"
sandbox.go:205: time="2025-08-14T09:57:28Z" level=debug msg="session started" spanID=1ddcca00ba2cca83 traceID=fb59705ecb9c23fc3944ff39f271ca36
sandbox.go:205: time="2025-08-14T09:57:28Z" level=debug msg="resolve exporter local with map[]" spanID=eccb22f076596ac2 traceID=1b0c631663648a54eace289b2bc5a722
sandbox.go:205: time="2025-08-14T09:57:28Z" level=debug msg="skipping invalid cache expo
|
Generate annotations:
client/client_test.go#L8521
=== RUN TestIntegration/TestDiffDeleteDirsMerge/worker=oci
=== PAUSE TestIntegration/TestDiffDeleteDirsMerge/worker=oci
=== CONT TestIntegration/TestDiffDeleteDirsMerge/worker=oci
client_test.go:8521: checkAllReleasable: skipping check for exported tars in non-containerd test
client_test.go:8521: checkAllReleasable: skipping check for exported tars in non-containerd test
client_test.go:8521: checkAllReleasable: skipping check for exported tars in non-containerd test
mergediff_test.go:1334:
Error Trace: /src/client/client_test.go:8360
/src/client/mergediff_test.go:1334
/src/util/testutil/integration/run.go:251
Error: Received unexpected error:
directory diff between /tmp/fstest2103973970 and /tmp/TestIntegrationTestDiffDeleteDirsMergeworker=oci3178772336/003
+ /modifyDir/deleteSubdir2
+ /unmodifiedDir/deleteSubdir1
~ /modifyDir(mode: 20000000700, uid: 0, gid: 0) -> /modifyDir(mode: 20000000755, uid: 0, gid: 0)
Test: TestIntegration/TestDiffDeleteDirsMerge/worker=oci
sandbox.go:202: 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_config3608594557/buildkitd.toml --root /tmp/bktest_buildkitd169979792 --addr unix:///tmp/bktest_buildkitd169979792/buildkitd.sock --debug
sandbox.go:202: 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_config3608594557/buildkitd.toml --root /tmp/bktest_buildkitd169979792 --addr unix:///tmp/bktest_buildkitd169979792/buildkitd.sock --debug
sandbox.go:205: > StartCmd 2025-08-14 09:56:44.980258718 +0000 UTC m=+10.562827273 /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_config3608594557/buildkitd.toml --root /tmp/bktest_buildkitd169979792 --addr unix:///tmp/bktest_buildkitd169979792/buildkitd.sock --debug
sandbox.go:205: time="2025-08-14T09:56:45Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd169979792/buildkitd-debug.sock"
sandbox.go:205: time="2025-08-14T09:56:45Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:205: time="2025-08-14T09:56:45Z" level=debug msg="could not read \"/tmp/bktest_buildkitd169979792/net/cni\" for cleanup: open /tmp/bktest_buildkitd169979792/net/cni: no such file or directory"
sandbox.go:205: time="2025-08-14T09:56:45Z" level=debug msg="creating new network namespace nhyefns5fvi455d8n9onhmyuq"
sandbox.go:205: time="2025-08-14T09:56:45Z" level=debug msg="finished creating network namespace nhyefns5fvi455d8n9onhmyuq"
sandbox.go:205: time="2025-08-14T09:56:45Z" level=debug msg="finished setting up network namespace nhyefns5fvi455d8n9onhmyuq"
sandbox.go:205: time="2025-08-14T09:56:45Z" level=info msg="found worker \"em34gcy7b7emlomzznx2r0akn\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:3bb7b05e6b26 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/loong64 linux/arm/v7 linux/arm/v6]"
sandbox.go:205: time="2025-08-14T09:56:45Z" level=info msg="found 1 workers, default=\"em34gcy7b7emlomzznx2r0akn\""
sandbox.go:205: time="2025-08-14T09:56:45Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:205: time="2025-08-14T09:56:45Z" level=info msg="running server on /tmp/bktest_buildkitd169979792
|
Generate annotations:
client/client_test.go#L8521
=== RUN TestIntegration/TestDiffDeleteFilesMerge/worker=oci
=== PAUSE TestIntegration/TestDiffDeleteFilesMerge/worker=oci
=== CONT TestIntegration/TestDiffDeleteFilesMerge/worker=oci
client_test.go:8521: checkAllReleasable: skipping check for exported tars in non-containerd test
client_test.go:8521: checkAllReleasable: skipping check for exported tars in non-containerd test
client_test.go:8521: checkAllReleasable: skipping check for exported tars in non-containerd test
mergediff_test.go:1334:
Error Trace: /src/client/client_test.go:8360
/src/client/mergediff_test.go:1334
/src/util/testutil/integration/run.go:251
Error: Received unexpected error:
directory diff between /tmp/fstest64506382 and /tmp/TestIntegrationTestDiffDeleteFilesMergeworker=oci3686719491/003
+ /modifyDir/deleteFile2
+ /unmodifiedDir/deleteFile1
~ /modifyDir(mode: 20000000700, uid: 0, gid: 0) -> /modifyDir(mode: 20000000755, uid: 0, gid: 0)
Test: TestIntegration/TestDiffDeleteFilesMerge/worker=oci
sandbox.go:202: 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_config3355948753/buildkitd.toml --root /tmp/bktest_buildkitd786195381 --addr unix:///tmp/bktest_buildkitd786195381/buildkitd.sock --debug
sandbox.go:202: 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_config3355948753/buildkitd.toml --root /tmp/bktest_buildkitd786195381 --addr unix:///tmp/bktest_buildkitd786195381/buildkitd.sock --debug
sandbox.go:205: > StartCmd 2025-08-14 09:57:32.439067153 +0000 UTC m=+58.021635708 /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_config3355948753/buildkitd.toml --root /tmp/bktest_buildkitd786195381 --addr unix:///tmp/bktest_buildkitd786195381/buildkitd.sock --debug
sandbox.go:205: time="2025-08-14T09:57:32Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd786195381/buildkitd-debug.sock"
sandbox.go:205: time="2025-08-14T09:57:32Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:205: time="2025-08-14T09:57:32Z" level=debug msg="could not read \"/tmp/bktest_buildkitd786195381/net/cni\" for cleanup: open /tmp/bktest_buildkitd786195381/net/cni: no such file or directory"
sandbox.go:205: time="2025-08-14T09:57:32Z" level=debug msg="creating new network namespace vy0lzrkaaqsq0e9xb6unlxz89"
sandbox.go:205: time="2025-08-14T09:57:32Z" level=debug msg="finished creating network namespace vy0lzrkaaqsq0e9xb6unlxz89"
sandbox.go:205: time="2025-08-14T09:57:32Z" level=debug msg="finished setting up network namespace vy0lzrkaaqsq0e9xb6unlxz89"
sandbox.go:205: time="2025-08-14T09:57:32Z" level=info msg="found worker \"9mz3jihylx7huojphb6nswg7k\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:3bb7b05e6b26 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/loong64 linux/arm/v7 linux/arm/v6]"
sandbox.go:205: time="2025-08-14T09:57:32Z" level=info msg="found 1 workers, default=\"9mz3jihylx7huojphb6nswg7k\""
sandbox.go:205: time="2025-08-14T09:57:32Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:205: time="2025-08-14T09:57:32Z" level=info msg="running server on /tmp/bktest_buildkitd786195381/
|
Generate annotations:
client/run.go#L324
=== RUN TestIntegration
run.go:324: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:35969/library/alpine:latest
time="2025-08-14T09:56:43Z" level=info msg="fetch failed after status: 404 Not Found" host="localhost:35969"
run.go:324: copied docker.io/tonistiigi/test:nolayers to local mirror localhost:35969/tonistiigi/test:nolayers
time="2025-08-14T09:56:44Z" level=info msg="fetch failed after status: 404 Not Found" host="localhost:35969"
time="2025-08-14T09:56:44Z" 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:324: copied docker.io/cpuguy83/buildkit-foreign:latest to local mirror localhost:35969/cpuguy83/buildkit-foreign:latest
--- FAIL: TestIntegration (0.04s)
|
Test
Process completed with exit code 1.
|
|
|
Loading