fix: util/path: CheckSystemDriveAndRemoveDriveLetter
to preserve /
#5300
Annotations
5 errors
Generate annotations:
frontend/dockerfile/run.go#L273
=== RUN TestIntegration
run.go:273: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:42797/library/busybox:latest
time="2025-01-23T13:10:34Z" level=info msg="fetch failed after status: 404 Not Found" host="localhost:42797"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:42797/library/alpine:latest
run.go:273: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:36569/amd64/bullseye-20230109-slim:latest
--- FAIL: TestIntegration (0.07s)
|
Generate annotations:
frontend/dockerfile/sandbox.go#L187
=== RUN TestIntegration/TestUnmatchedVars/worker=oci-rootless/frontend=client
=== PAUSE TestIntegration/TestUnmatchedVars/worker=oci-rootless/frontend=client
=== CONT TestIntegration/TestUnmatchedVars/worker=oci-rootless/frontend=client
sandbox.go:187: stdout: /usr/bin/sudo -u #1000 -i -- exec rootlesskit buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config527543951/buildkitd.toml --root /tmp/bktest_buildkitd110659640 --addr unix:///tmp/bktest_buildkitd110659640/buildkitd.sock --debug
sandbox.go:187: stderr: /usr/bin/sudo -u #1000 -i -- exec rootlesskit buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config527543951/buildkitd.toml --root /tmp/bktest_buildkitd110659640 --addr unix:///tmp/bktest_buildkitd110659640/buildkitd.sock --debug
sandbox.go:190: > StartCmd 2025-01-23 13:11:27.845206549 +0000 UTC m=+53.467763397 /usr/bin/sudo -u #1000 -i -- exec rootlesskit buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config527543951/buildkitd.toml --root /tmp/bktest_buildkitd110659640 --addr unix:///tmp/bktest_buildkitd110659640/buildkitd.sock --debug
sandbox.go:190: warning: GOCOVERDIR not set, no coverage data emitted
sandbox.go:190: time="2025-01-23T13:11:28Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:190: time="2025-01-23T13:11:28Z" level=debug msg="running in rootless mode"
sandbox.go:190: time="2025-01-23T13:11:28Z" level=info msg="found worker \"oqjfdxkjrmpdw7xt7vzmknccb\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:84ad0796121c 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/riscv64 linux/ppc64le linux/s390x linux/386 linux/arm/v7 linux/arm/v6]"
sandbox.go:190: time="2025-01-23T13:11:28Z" level=info msg="found 1 workers, default=\"oqjfdxkjrmpdw7xt7vzmknccb\""
sandbox.go:190: time="2025-01-23T13:11:28Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:190: time="2025-01-23T13:11:28Z" level=info msg="running server on /tmp/bktest_buildkitd110659640/buildkitd.sock"
sandbox.go:190: time="2025-01-23T13:11:28Z" level=debug msg="session started" spanID=031a7b60686c6913 traceID=8712fea1a3d87179d84a5ab77a220e2b
sandbox.go:190: time="2025-01-23T13:11:28Z" level=debug msg="new ref for local: oa0orgcb9zsfd166dx4x7cx0f" span="[internal] load build definition from Dockerfile" spanID=1be6ae7ac7f281cb traceID=e2ea02166be24ac02127282291640398
sandbox.go:190: time="2025-01-23T13:11:28Z" level=debug msg="diffcopy took: 6.00025ms" span="[internal] load build definition from Dockerfile" spanID=5a05c00c6136658d traceID=e2ea02166be24ac02127282291640398
sandbox.go:190: time="2025-01-23T13:11:28Z" level=debug msg="saved oa0orgcb9zsfd166dx4x7cx0f as dockerfile:dockerfile:" span="[internal] load build definition from Dockerfile" spanID=1be6ae7ac7f281cb traceID=e2ea02166be24ac02127282291640398
sandbox.go:190: time="2025-01-23T13:11:28Z" level=error msg="/moby.buildkit.v1.frontend.LLBBridge/ReadFile returned error: rpc error: code = Unknown desc = open Dockerfile.dockerignore: no such file or directory" spanID=424ba63ca53f868c traceID=e3783d24e75ec732f439f8e7122dc33b
sandbox.go:190: open Dockerfile.dockerignore: no such file or directory
sandbox.go:190: 36382 afd8af0 buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config527543951/buildkitd.toml --root /tmp/bktest_bui
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUnmatchedVars/worker=oci-rootless/frontend=client/warntype=progress#02
dockerfile_lint_test.go:1645: expected no error, received: failed to solve: process "/dev/.buildkit_qemu_emulator /bin/sh -c echo $PATH" did not complete successfully: exit code: 255
dockerfile_lint_test.go:1645:
Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1569
/src/frontend/dockerfile/dockerfile_lint_test.go:1645
Error: Received unexpected error:
process "/dev/.buildkit_qemu_emulator /bin/sh -c echo $PATH" did not complete successfully: exit code: 255
github.com/moby/buildkit/util/stack.Enable
/src/util/stack/stack.go:82
github.com/moby/buildkit/util/grpcerrors.FromGRPC
/src/util/grpcerrors/grpcerrors.go:204
github.com/moby/buildkit/util/grpcerrors.UnaryClientInterceptor
/src/util/grpcerrors/intercept.go:41
google.golang.org/grpc.(*ClientConn).Invoke
/src/vendor/google.golang.org/grpc/call.go:35
github.com/moby/buildkit/api/services/control.(*controlClient).Solve
/src/api/services/control/control_grpc.pb.go:88
github.com/moby/buildkit/client.(*Client).solve.func2
/src/client/solve.go:269
golang.org/x/sync/errgroup.(*Group).Go.func1
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:78
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1700
failed to solve
github.com/moby/buildkit/client.(*Client).solve.func2
/src/client/solve.go:285
golang.org/x/sync/errgroup.(*Group).Go.func1
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:78
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1700
Test: TestIntegration/TestUnmatchedVars/worker=oci-rootless/frontend=client/warntype=progress#02
--- FAIL: TestIntegration/TestUnmatchedVars/worker=oci-rootless/frontend=client/warntype=progress#02 (0.25s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestUnmatchedVars/worker=oci-rootless/frontend=client/warntype=progress#03
dockerfile_lint_test.go:1645: expected no error, received: failed to solve: process "/dev/.buildkit_qemu_emulator /bin/sh -c echo $foo" did not complete successfully: exit code: 255
dockerfile_lint_test.go:1645:
Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1569
/src/frontend/dockerfile/dockerfile_lint_test.go:1645
Error: Received unexpected error:
process "/dev/.buildkit_qemu_emulator /bin/sh -c echo $foo" did not complete successfully: exit code: 255
github.com/moby/buildkit/util/stack.Enable
/src/util/stack/stack.go:82
github.com/moby/buildkit/util/grpcerrors.FromGRPC
/src/util/grpcerrors/grpcerrors.go:204
github.com/moby/buildkit/util/grpcerrors.UnaryClientInterceptor
/src/util/grpcerrors/intercept.go:41
google.golang.org/grpc.(*ClientConn).Invoke
/src/vendor/google.golang.org/grpc/call.go:35
github.com/moby/buildkit/api/services/control.(*controlClient).Solve
/src/api/services/control/control_grpc.pb.go:88
github.com/moby/buildkit/client.(*Client).solve.func2
/src/client/solve.go:269
golang.org/x/sync/errgroup.(*Group).Go.func1
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:78
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1700
failed to solve
github.com/moby/buildkit/client.(*Client).solve.func2
/src/client/solve.go:285
golang.org/x/sync/errgroup.(*Group).Go.func1
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:78
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1700
Test: TestIntegration/TestUnmatchedVars/worker=oci-rootless/frontend=client/warntype=progress#03
--- FAIL: TestIntegration/TestUnmatchedVars/worker=oci-rootless/frontend=client/warntype=progress#03 (0.30s)
|
Test
Process completed with exit code 1.
|
Loading