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:34385"
run.go:273: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:34385/library/busybox:latest
time="2024-06-28T12:55:25Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:34385"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:34385/library/alpine:latest
time="2024-06-28T12:55:26Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:34385"
run.go:273: copied docker.io/moby/buildkit:v0.12.5 to local mirror localhost:34385/moby/buildkit:buildx-stable-1
--- FAIL: TestIntegration (4.76s)
|
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:45719/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_config1493867535/buildkitd.toml --root /tmp/bktest_buildkitd3687239708 --addr unix:///tmp/bktest_buildkitd3687239708/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_config1493867535/buildkitd.toml --root /tmp/bktest_buildkitd3687239708 --addr unix:///tmp/bktest_buildkitd3687239708/buildkitd.sock --debug
sandbox.go:136: > StartCmd 2024-06-28 12:55:33.469931839 +0000 UTC m=+7.880149285 /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_config1493867535/buildkitd.toml --root /tmp/bktest_buildkitd3687239708 --addr unix:///tmp/bktest_buildkitd3687239708/buildkitd.sock --debug
sandbox.go:136: time="2024-06-28T12:55:33Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:136: time="2024-06-28T12:55:33Z" level=warning msg="using host network as the default"
sandbox.go:136: time="2024-06-28T12:55:33Z" level=info msg="found worker \"ydxd0wukvgxce6qv93jgep9t2\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:1696bf5e3dd7 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:33Z" level=info msg="found 1 workers, default=\"ydxd0wukvgxce6qv93jgep9t2\""
sandbox.go:136: time="2024-06-28T12:55:33Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:136: time="2024-06-28T12:55:33Z" level=info msg="running server on /tmp/bktest_buildkitd3687239708/buildkitd.sock"
sandbox.go:136: time="2024-06-28T12:55:33Z" level=debug msg="session started" spanID=6dac4c021bdd05f7 traceID=a498da37dd809e68a3546196d892774f
sandbox.go:136: time="2024-06-28T12:55:33Z" level=debug msg="session finished: <nil>" spanID=6dac4c021bdd05f7 traceID=a498da37dd809e68a3546196d892774f
sandbox.go:136: time="2024-06-28T12:55:33Z" level=debug msg="session started" spanID=20d1e14788676b46 traceID=47a5efa84d39a37cc504ddc1c8acfaaa
sandbox.go:136: time="2024-06-28T12:55:34Z" level=debug msg=resolving host="localhost:34385" spanID=41ca13b8d549c804 traceID=7ad57d5a09eb83a048291d8bf7e8c5e5
sandbox.go:136: time="2024-06-28T12:55:34Z" level=debug msg="do request" host="localhost:34385" 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.12 request.method=HEAD spanID=41ca13b8d549c804 traceID=7ad57d5a09eb83a048291d8bf7e8c5e5 url="http://localhost:34385/v2/library/busybox/manifests/latest?ns=docker.io"
sandbox.go:136: time="2024-06-28T12:55:34Z" le
|
|
This job failed
Loading