fix: util/path: CheckSystemDriveAndRemoveDriveLetter
to preserve /
#5300
frontend.yml
on: pull_request
prepare
0s
test
/
prepare
2m 4s
Matrix: test / run
Matrix: image
Matrix: scout
release
0s
Annotations
5 errors
Failed: frontend/dockerfile/TestIntegration:
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)
|
Failed: frontend/dockerfile/TestIntegration/TestUnmatchedVars/worker=oci-rootless/frontend=client:
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
|
Failed: frontend/dockerfile/TestIntegration/TestUnmatchedVars/worker=oci-rootless/frontend=client/warntype=progress#02:
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)
|
Failed: frontend/dockerfile/TestIntegration/TestUnmatchedVars/worker=oci-rootless/frontend=client/warntype=progress#03:
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 / run (oci-rootless, ./frontend/dockerfile, integration)
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
moby~buildkit~1LY336.dockerbuild
|
116 KB |
|
moby~buildkit~26MXST.dockerbuild
|
126 KB |
|
moby~buildkit~4KEKE2.dockerbuild
|
116 KB |
|
moby~buildkit~9KTEY7.dockerbuild
|
116 KB |
|
moby~buildkit~E935GT.dockerbuild
|
116 KB |
|
moby~buildkit~IINWYG.dockerbuild
|
117 KB |
|
moby~buildkit~IOOZGG.dockerbuild
|
114 KB |
|
moby~buildkit~IU7SFA.dockerbuild
|
111 KB |
|
moby~buildkit~LPHZRG.dockerbuild
|
116 KB |
|
moby~buildkit~LQSFQY.dockerbuild
|
115 KB |
|
moby~buildkit~N3I3HN.dockerbuild
|
115 KB |
|
moby~buildkit~O1F9Y5.dockerbuild
|
115 KB |
|
moby~buildkit~QT9QBJ.dockerbuild
|
114 KB |
|
moby~buildkit~S3QWS0.dockerbuild
|
117 KB |
|
moby~buildkit~SR8MWD.dockerbuild
|
116 KB |
|
moby~buildkit~WZ2SKZ.dockerbuild
|
116 KB |
|
moby~buildkit~YCT6C6.dockerbuild
|
116 KB |
|
moby~buildkit~YP9VZN.dockerbuild
|
117 KB |
|
moby~buildkit~ZZWUX0.dockerbuild
|
117 KB |
|
test-reports-run-frontenddockerfile--dockerfile-containerd-
Expired
|
407 KB |
|
test-reports-run-frontenddockerfile--dockerfile-containerd-16-
Expired
|
407 KB |
|
test-reports-run-frontenddockerfile--dockerfile-containerd-17-
Expired
|
407 KB |
|
test-reports-run-frontenddockerfile--dockerfile-containerd-rootless-
Expired
|
273 KB |
|
test-reports-run-frontenddockerfile--dockerfile-containerd-snapshotter-stargz-
Expired
|
407 KB |
|
test-reports-run-frontenddockerfile--dockerfile-oci-
Expired
|
407 KB |
|
test-reports-run-frontenddockerfile--dockerfile-oci-rootless-
Expired
|
273 KB |
|
test-reports-run-frontenddockerfile--dockerfile-oci-rootless-slirp4netns-detachnetns-
Expired
|
274 KB |
|
test-reports-run-frontenddockerfile--dockerfile-oci-snapshotter-stargz-
Expired
|
407 KB |
|
test-reports-run-frontenddockerfile--integration-containerd-
Expired
|
439 KB |
|
test-reports-run-frontenddockerfile--integration-containerd-16-
Expired
|
439 KB |
|
test-reports-run-frontenddockerfile--integration-containerd-17-
Expired
|
439 KB |
|
test-reports-run-frontenddockerfile--integration-containerd-rootless-
Expired
|
305 KB |
|
test-reports-run-frontenddockerfile--integration-containerd-snapshotter-stargz-
Expired
|
440 KB |
|
test-reports-run-frontenddockerfile--integration-oci-
Expired
|
439 KB |
|
test-reports-run-frontenddockerfile--integration-oci-rootless-
Expired
|
335 KB |
|
test-reports-run-frontenddockerfile--integration-oci-rootless-slirp4netns-detachnetns-
Expired
|
306 KB |
|
test-reports-run-frontenddockerfile--integration-oci-snapshotter-stargz-
Expired
|
441 KB |
|