build: fix localstate for remote context and stdin #4109
Annotations
4 errors
tests/run.go#L273
=== RUN TestIntegration
time="2024-06-28T09:09:37Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:39969"
run.go:273: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:39969/library/busybox:latest
time="2024-06-28T09:09:38Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:39969"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:39969/library/alpine:latest
time="2024-06-28T09:09:39Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:39969"
run.go:273: copied docker.io/moby/buildkit:v0.13.2 to local mirror localhost:39969/moby/buildkit:buildx-stable-1
--- FAIL: TestIntegration (6.33s)
|
tests/build.go#L154
=== RUN TestIntegration/TestBuildLocalState/worker=remote
=== PAUSE TestIntegration/TestBuildLocalState/worker=remote
=== CONT TestIntegration/TestBuildLocalState/worker=remote
build.go:154:
Error Trace: /src/tests/build.go:154
/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: unable to find file ""
Test: TestIntegration/TestBuildLocalState/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_config363066387/buildkitd.toml --root /tmp/bktest_buildkitd966387249 --addr unix:///tmp/bktest_buildkitd966387249/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_config363066387/buildkitd.toml --root /tmp/bktest_buildkitd966387249 --addr unix:///tmp/bktest_buildkitd966387249/buildkitd.sock --debug
sandbox.go:136: > StartCmd 2024-06-28 09:09:47.4413545 +0000 UTC m=+10.148766319 /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_config363066387/buildkitd.toml --root /tmp/bktest_buildkitd966387249 --addr unix:///tmp/bktest_buildkitd966387249/buildkitd.sock --debug
sandbox.go:136: time="2024-06-28T09:09:47Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:136: time="2024-06-28T09:09:47Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:136: time="2024-06-28T09:09:47Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:136: time="2024-06-28T09:09:47Z" level=warning msg="using host network as the default"
sandbox.go:136: time="2024-06-28T09:09:47Z" level=info msg="found worker \"loaxwq0e504yijwpsu6q4fe8z\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:db5cbc870427 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-28T09:09:47Z" level=info msg="found 1 workers, default=\"loaxwq0e504yijwpsu6q4fe8z\""
sandbox.go:136: time="2024-06-28T09:09:47Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:136: time="2024-06-28T09:09:47Z" level=info msg="running server on /tmp/bktest_buildkitd966387249/buildkitd.sock"
sandbox.go:136: time="2024-06-28T09:09:47Z" level=debug msg="session started" spanID=464efea2f70c3e9f traceID=41e2323ab52fbe156be13bfca1d2d720
sandbox.go:136: time="2024-06-28T09:09:47Z" level=debug msg="session finished: <nil>" spanID=464efea2f70c3e9f traceID=41e2323ab52fbe156be13bfca1d2d720
sandbox.go:136: time="2024-06-28T09:09:47Z" level=debug msg="session started" spanID=40322305840b35bf traceID=155fb690025c8833d5cf276c228fe1b4
sandbox.go:136: time="2024-06-28T09:09:47Z" level=debug msg="new ref for local: 2i4p0rkfwa4rpx0nckz0dakdg" span="[internal] load build definition from Dockerfile" spanID=70e6f0f63b724919 traceID=76d50b7c2ba91f929ad0cbb88aeaf539
sandbox.go:136: time="2024-06-28T09:09:47Z" level=debug msg="diffcopy took: 6.509847ms" span="[internal] load build definition from Dockerfile" spanID=c83d45202592b4f6 traceID=76d50b7c2ba91f929ad0cbb88aeaf539
sandbox.go:136: time="2024-06-28T09:09:47Z" level=debug msg="saved 2i4p0rkfwa4rpx0nckz0dakdg as dockerfile:dockerfile:" span
|
tests/build.go#L202
=== RUN TestIntegration/TestBuildLocalStateRemote/worker=remote
=== PAUSE TestIntegration/TestBuildLocalStateRemote/worker=remote
=== CONT TestIntegration/TestBuildLocalStateRemote/worker=remote
build.go:202:
Error Trace: /src/tests/build.go:202
/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: Not equal:
expected: ""
actual : "Dockerfile"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-
+Dockerfile
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_config2670934439/buildkitd.toml --root /tmp/bktest_buildkitd1495532421 --addr unix:///tmp/bktest_buildkitd1495532421/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_config2670934439/buildkitd.toml --root /tmp/bktest_buildkitd1495532421 --addr unix:///tmp/bktest_buildkitd1495532421/buildkitd.sock --debug
sandbox.go:136: > StartCmd 2024-06-28 09:09:47.25681777 +0000 UTC m=+9.964229550 /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_config2670934439/buildkitd.toml --root /tmp/bktest_buildkitd1495532421 --addr unix:///tmp/bktest_buildkitd1495532421/buildkitd.sock --debug
sandbox.go:136: time="2024-06-28T09:09:47Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:136: time="2024-06-28T09:09:47Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:136: time="2024-06-28T09:09:47Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:136: time="2024-06-28T09:09:47Z" level=warning msg="using host network as the default"
sandbox.go:136: time="2024-06-28T09:09:47Z" level=info msg="found worker \"rl7767mnkhob88qfoqtrug8tg\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:db5cbc870427 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-28T09:09:47Z" level=info msg="found 1 workers, default=\"rl7767mnkhob88qfoqtrug8tg\""
sandbox.go:136: time="2024-06-28T09:09:47Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:136: time="2024-06-28T09:09:47Z" level=info msg="running server on /tmp/bktest_buildkitd1495532421/buildkitd.sock"
sandbox.go:136: time="2024-06-28T09:09:47Z" level=debug msg="session started" spanID=4749c93511cd685a traceID=da712abc2f47cb3c5c2048898e5e660a
sandbox.go:136: time="2024-06-28T09:09:47Z" level=debug msg="session finished: <nil>" spanID=4749c93511cd685a traceID=da712abc2f47cb3c5c2048898e5e660a
sandbox.go:136: time="2024-06-28T09:09:47Z" level=debug msg="session started" spanID=4e8e2ccffdd3921f traceID=d47634898e62f120e6fab1c2eb2b0d4f
sandbox.go:136: time="2024-06-28T09:09:47Z" 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-28T09:09:47Z" level=debu
|
|
The logs for this run have expired and are no longer available.
Loading