build: fix localstate for remote context and stdin #4117
Annotations
3 errors
tests/run.go#L273
=== RUN TestIntegration
time="2024-06-28T12:55:25Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:34521"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:34521/library/alpine:latest
time="2024-06-28T12:55:25Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:34521"
run.go:273: copied docker.io/moby/buildkit:v0.13.2 to local mirror localhost:34521/moby/buildkit:buildx-stable-1
time="2024-06-28T12:55:30Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:34521"
run.go:273: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:34521/library/busybox:latest
--- FAIL: TestIntegration (4.99s)
|
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:38361/test.git
Test: TestIntegration/TestBuildLocalStateRemote/worker=remote
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_config2620415096/buildkitd.toml --root /tmp/bktest_buildkitd3423108679 --addr unix:///tmp/bktest_buildkitd3423108679/buildkitd.sock --debug
sandbox.go:136: > StartCmd 2024-06-28 12:55:36.427717674 +0000 UTC m=+10.920327082 /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_config2620415096/buildkitd.toml --root /tmp/bktest_buildkitd3423108679 --addr unix:///tmp/bktest_buildkitd3423108679/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 \"xs0v9p49jezp5yk0jtoiuuv3d\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:cc80dfa733ca 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=\"xs0v9p49jezp5yk0jtoiuuv3d\""
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_buildkitd3423108679/buildkitd.sock"
sandbox.go:136: time="2024-06-28T12:55:36Z" level=debug msg="session started" spanID=e83b3c627fa97a99 traceID=71c3fd9ab8da409172d3313baf12bcb3
sandbox.go:136: time="2024-06-28T12:55:36Z" level=debug msg="session finished: <nil>" spanID=e83b3c627fa97a99 traceID=71c3fd9ab8da409172d3313baf12bcb3
sandbox.go:136: time="2024-06-28T12:55:36Z" level=debug msg="session started" spanID=27a47c91df0c003f traceID=71c3fd9ab8da409172d3313baf12bcb3
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:34521"
sandbox.go:136: time="2024-06-28T12:55:36Z" level=debug msg="do request" host="localhost:34521" 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.image.index.v1+json, */*" request.header.user-agent=buildkit/v0.13 request.method=HEAD url="http://localhost:34521/v2/library/busybox/manifests/latest?ns=docker.io"
sandbox.go:136: time="2024-06-28T12:55:36Z" level=debug msg="fetch response
|
|
This job failed
Loading