build: fix localstate for remote context and stdin #4117
Annotations
3 errors
tests/run.go#L273
=== RUN TestIntegration
time="2024-06-28T12:55:24Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:45855"
run.go:273: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:45855/library/busybox:latest
time="2024-06-28T12:55:25Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:45855"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:45855/library/alpine:latest
time="2024-06-28T12:55:25Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:45855"
run.go:273: copied docker.io/moby/buildkit:latest to local mirror localhost:45855/moby/buildkit:buildx-stable-1
--- FAIL: TestIntegration (4.95s)
|
tests/build.go#L264
=== RUN TestIntegration/TestBuildLocalStateRemote/worker=remote
=== PAUSE TestIntegration/TestBuildLocalStateRemote/worker=remote
=== CONT TestIntegration/TestBuildLocalStateRemote/worker=remote
build.go:264:
Error Trace: /src/tests/build.go:264
/src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:96
/src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211
Error: Should be empty, but was http://127.0.0.1:39385/test.git
Test: TestIntegration/TestBuildLocalStateRemote/worker=remote
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_config4238276557/buildkitd.toml --root /tmp/bktest_buildkitd3043474275 --addr unix:///tmp/bktest_buildkitd3043474275/buildkitd.sock --debug
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_config4238276557/buildkitd.toml --root /tmp/bktest_buildkitd3043474275 --addr unix:///tmp/bktest_buildkitd3043474275/buildkitd.sock --debug
sandbox.go:136: > StartCmd 2024-06-28 12:55:36.315021493 +0000 UTC m=+11.641602235 /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_config4238276557/buildkitd.toml --root /tmp/bktest_buildkitd3043474275 --addr unix:///tmp/bktest_buildkitd3043474275/buildkitd.sock --debug
sandbox.go:136: time="2024-06-28T12:55:36Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:136: time="2024-06-28T12:55:36Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:136: time="2024-06-28T12:55:36Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:136: time="2024-06-28T12:55:36Z" level=warning msg="using host network as the default"
sandbox.go:136: time="2024-06-28T12:55:36Z" level=info msg="found worker \"xph5f8tabv7zqjlzqqz3nnztv\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:57d3816728d1 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-28T12:55:36Z" level=info msg="found 1 workers, default=\"xph5f8tabv7zqjlzqqz3nnztv\""
sandbox.go:136: time="2024-06-28T12:55:36Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:136: time="2024-06-28T12:55:36Z" level=info msg="running server on /tmp/bktest_buildkitd3043474275/buildkitd.sock"
sandbox.go:136: time="2024-06-28T12:55:36Z" level=debug msg="session started"
sandbox.go:136: time="2024-06-28T12:55:36Z" level=debug msg="session finished: <nil>"
sandbox.go:136: time="2024-06-28T12:55:36Z" level=debug msg="session started"
sandbox.go:136: time="2024-06-28T12:55:36Z" level=debug msg="resolve exporter local with map[]"
sandbox.go:136: time="2024-06-28T12:55:36Z" level=debug msg="checked for cached auth handler namespace" cached=false key="docker.io/library/busybox::pull" name=docker.io/library/busybox scope=pull
sandbox.go:136: time="2024-06-28T12:55:36Z" level=debug msg=resolving host="localhost:45855"
sandbox.go:136: time="2024-06-28T12:55:36Z" level=debug msg="do request" host="localhost:45855" request.header.accept="application/vnd.docker.distribution.manifest.v2+json, application/vnd.docker.distribution.manifest.list.v2+json, application/vnd.oci.image.manifest.v1+json, application/vnd.oci.
|
|
This job failed
Loading