build: fix localstate for remote context and stdin #4117
Annotations
3 errors
tests/run.go#L273
=== RUN TestIntegration
time="2024-06-28T12:55:36Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:40019"
run.go:273: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:40019/library/busybox:latest
time="2024-06-28T12:55:36Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:40019"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:40019/library/alpine:latest
time="2024-06-28T12:55:37Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:40019"
run.go:273: copied docker.io/moby/buildkit:v0.13.2 to local mirror localhost:40019/moby/buildkit:buildx-stable-1
--- FAIL: TestIntegration (6.54s)
|
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:34779/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_config2033009623/buildkitd.toml --root /tmp/bktest_buildkitd3792757136 --addr unix:///tmp/bktest_buildkitd3792757136/buildkitd.sock --debug
sandbox.go:136: > StartCmd 2024-06-28 12:55:52.460782286 +0000 UTC m=+16.928143494 /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_config2033009623/buildkitd.toml --root /tmp/bktest_buildkitd3792757136 --addr unix:///tmp/bktest_buildkitd3792757136/buildkitd.sock --debug
sandbox.go:136: time="2024-06-28T12:55:52Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:136: time="2024-06-28T12:55:52Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:136: time="2024-06-28T12:55:52Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:136: time="2024-06-28T12:55:52Z" level=warning msg="using host network as the default"
sandbox.go:136: time="2024-06-28T12:55:52Z" level=info msg="found worker \"zj2atsmvvhcgygkewbpn2bxov\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:14e572bc79d3 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:52Z" level=info msg="found 1 workers, default=\"zj2atsmvvhcgygkewbpn2bxov\""
sandbox.go:136: time="2024-06-28T12:55:52Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:136: time="2024-06-28T12:55:52Z" level=info msg="running server on /tmp/bktest_buildkitd3792757136/buildkitd.sock"
sandbox.go:136: time="2024-06-28T12:55:52Z" level=debug msg="session started" spanID=4187f39c7ac2058c traceID=aa364265749dadff171f3ed9f4c1ecf3
sandbox.go:136: time="2024-06-28T12:55:52Z" level=debug msg="session finished: <nil>" spanID=4187f39c7ac2058c traceID=aa364265749dadff171f3ed9f4c1ecf3
sandbox.go:136: time="2024-06-28T12:55:52Z" level=debug msg="session started" spanID=14274049f4323d3b traceID=0b35f0d82fabf16d91b8f02baa747552
sandbox.go:136: time="2024-06-28T12:55:53Z" 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:53Z" level=debug msg=resolving host="localhost:40019"
sandbox.go:136: time="2024-06-28T12:55:53Z" level=debug msg="do request" host="localhost:40019" 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:40019/v2/library/busybox/manifests/latest?ns=docker.io"
sandbox.go:136: time="2024-06-28T12:55:53Z" level=debug msg="fetch response
|
|
This job failed
Loading