CDI support #5337
Annotations
6 errors
Generate annotations:
frontend/dockerfile/run.go#L275
=== RUN TestIntegration
run.go:275: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:40015/library/busybox:latest
time="2025-02-03T16:19:32Z" level=info msg="fetch failed after status: 404 Not Found" host="localhost:40015"
run.go:275: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:40015/library/alpine:latest
run.go:275: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:46479/amd64/bullseye-20230109-slim:latest
--- FAIL: TestIntegration (0.06s)
|
Generate annotations:
frontend/dockerfile/dockerfile_rundevice_test.go#L75
=== RUN TestIntegration/TestDeviceEnv/worker=oci/frontend=builtin
=== PAUSE TestIntegration/TestDeviceEnv/worker=oci/frontend=builtin
=== CONT TestIntegration/TestDeviceEnv/worker=oci/frontend=builtin
dockerfile_rundevice_test.go:75:
Error Trace: /src/frontend/dockerfile/dockerfile_rundevice_test.go:75
/src/util/testutil/integration/run.go:100
/src/util/testutil/integration/run.go:214
Error: Received unexpected error:
process "/bin/sh -c env|sort | tee foo.env" did not complete successfully: CDI device injection failed: unresolvable CDI devices vendor1.com/device=foo
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/TestDeviceEnv/worker=oci/frontend=builtin
sandbox.go:202: stdout: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --cdi-spec-dir=/tmp/buildkit-integration-cdi1383244906 --config=/tmp/bktest_config2892440279/buildkitd.toml --root /tmp/bktest_buildkitd4109764088 --addr unix:///tmp/bktest_buildkitd4109764088/buildkitd.sock --debug
sandbox.go:202: stderr: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --cdi-spec-dir=/tmp/buildkit-integration-cdi1383244906 --config=/tmp/bktest_config2892440279/buildkitd.toml --root /tmp/bktest_buildkitd4109764088 --addr unix:///tmp/bktest_buildkitd4109764088/buildkitd.sock --debug
sandbox.go:205: > StartCmd 2025-02-03 16:20:29.460553325 +0000 UTC m=+57.160984786 /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --cdi-spec-dir=/tmp/buildkit-integration-cdi1383244906 --config=/tmp/bktest_config2892440279/buildkitd.toml --root /tmp/bktest_buildkitd4109764088 --addr unix:///tmp/bktest_buildkitd4109764088/buildkitd.sock --debug
sandbox.go:205: time="2025-02-03T16:20:29Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd4109764088/buildkitd-debug.sock"
sandbox.go:205: time="2025-02-03T16:20:29Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:205: time="2025-02-03T16:20:29Z" level=debug msg="could not read \"/tmp/bktest_buildkitd4109764088/net/cni\" for cleanup: open /tmp/bktest_buildkitd4109764088/net/cni: no such file or directory"
sandbox.go:205: time="2025-02-03T16:20:29Z" level=debug msg="creating new network namespace yr0rblqbyqlyosgvggfjyfoe0"
sandbox.go:205: time="2025-02-03T1
|
Generate annotations:
frontend/dockerfile/dockerfile_rundevice_test.go#L75
=== RUN TestIntegration/TestDeviceEnv/worker=oci/frontend=client
=== PAUSE TestIntegration/TestDeviceEnv/worker=oci/frontend=client
=== CONT TestIntegration/TestDeviceEnv/worker=oci/frontend=client
dockerfile_rundevice_test.go:75:
Error Trace: /src/frontend/dockerfile/dockerfile_rundevice_test.go:75
/src/util/testutil/integration/run.go:100
/src/util/testutil/integration/run.go:214
Error: Received unexpected error:
process "/bin/sh -c env|sort | tee foo.env" did not complete successfully: CDI device injection failed: unresolvable CDI devices vendor1.com/device=foo
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/TestDeviceEnv/worker=oci/frontend=client
sandbox.go:202: stdout: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --cdi-spec-dir=/tmp/buildkit-integration-cdi314954002 --config=/tmp/bktest_config2652476708/buildkitd.toml --root /tmp/bktest_buildkitd3906203003 --addr unix:///tmp/bktest_buildkitd3906203003/buildkitd.sock --debug
sandbox.go:202: stderr: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --cdi-spec-dir=/tmp/buildkit-integration-cdi314954002 --config=/tmp/bktest_config2652476708/buildkitd.toml --root /tmp/bktest_buildkitd3906203003 --addr unix:///tmp/bktest_buildkitd3906203003/buildkitd.sock --debug
sandbox.go:205: > StartCmd 2025-02-03 16:20:28.957111767 +0000 UTC m=+56.657543198 /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --cdi-spec-dir=/tmp/buildkit-integration-cdi314954002 --config=/tmp/bktest_config2652476708/buildkitd.toml --root /tmp/bktest_buildkitd3906203003 --addr unix:///tmp/bktest_buildkitd3906203003/buildkitd.sock --debug
sandbox.go:205: time="2025-02-03T16:20:29Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd3906203003/buildkitd-debug.sock"
sandbox.go:205: time="2025-02-03T16:20:29Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:205: time="2025-02-03T16:20:29Z" level=debug msg="could not read \"/tmp/bktest_buildkitd3906203003/net/cni\" for cleanup: open /tmp/bktest_buildkitd3906203003/net/cni: no such file or directory"
sandbox.go:205: time="2025-02-03T16:20:29Z" level=debug msg="creating new network namespace brewq9awfr1qddsccm311genj"
sandbox.go:205: time="2025-02-03T16:20:29
|
Generate annotations:
frontend/dockerfile/dockerfile_rundevice_test.go#L133
=== RUN TestIntegration/TestDeviceRunEnv/worker=oci/frontend=builtin
=== PAUSE TestIntegration/TestDeviceRunEnv/worker=oci/frontend=builtin
=== CONT TestIntegration/TestDeviceRunEnv/worker=oci/frontend=builtin
dockerfile_rundevice_test.go:133:
Error Trace: /src/frontend/dockerfile/dockerfile_rundevice_test.go:133
/src/util/testutil/integration/run.go:100
/src/util/testutil/integration/run.go:214
Error: Received unexpected error:
process "/bin/sh -c env|sort | tee foo.env" did not complete successfully: CDI device injection failed: unresolvable CDI devices vendor1.com/device=foo
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/TestDeviceRunEnv/worker=oci/frontend=builtin
sandbox.go:202: stderr: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --cdi-spec-dir=/tmp/buildkit-integration-cdi3952916973 --config=/tmp/bktest_config4258875406/buildkitd.toml --root /tmp/bktest_buildkitd3137766070 --addr unix:///tmp/bktest_buildkitd3137766070/buildkitd.sock --debug
sandbox.go:205: > StartCmd 2025-02-03 16:20:28.473395327 +0000 UTC m=+56.173826758 /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --cdi-spec-dir=/tmp/buildkit-integration-cdi3952916973 --config=/tmp/bktest_config4258875406/buildkitd.toml --root /tmp/bktest_buildkitd3137766070 --addr unix:///tmp/bktest_buildkitd3137766070/buildkitd.sock --debug
sandbox.go:205: time="2025-02-03T16:20:28Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd3137766070/buildkitd-debug.sock"
sandbox.go:205: time="2025-02-03T16:20:28Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:205: time="2025-02-03T16:20:28Z" level=debug msg="could not read \"/tmp/bktest_buildkitd3137766070/net/cni\" for cleanup: open /tmp/bktest_buildkitd3137766070/net/cni: no such file or directory"
sandbox.go:205: time="2025-02-03T16:20:28Z" level=debug msg="creating new network namespace 2kprodq8abhb9bdtwvl3gvo0j"
sandbox.go:205: time="2025-02-03T16:20:28Z" level=debug msg="finished creating network namespace 2kprodq8abhb9bdtwvl3gvo0j"
sandbox.go:205: time="2025-02-03T16:20:28Z" level=debug msg="finished setting up network namespace 2kprodq8abhb9bdtwvl3gvo0j"
sandbox.go:205: time="2025-02-03T16:20:28Z" level=info msg="found worker \"vvugo01vx161d4ze3gzttpno8\", labels=map[org.mobyproject.buildkit.worker.executor:
|
Generate annotations:
frontend/dockerfile/dockerfile_rundevice_test.go#L133
=== RUN TestIntegration/TestDeviceRunEnv/worker=oci/frontend=client
=== PAUSE TestIntegration/TestDeviceRunEnv/worker=oci/frontend=client
=== CONT TestIntegration/TestDeviceRunEnv/worker=oci/frontend=client
dockerfile_rundevice_test.go:133:
Error Trace: /src/frontend/dockerfile/dockerfile_rundevice_test.go:133
/src/util/testutil/integration/run.go:100
/src/util/testutil/integration/run.go:214
Error: Received unexpected error:
process "/bin/sh -c env|sort | tee foo.env" did not complete successfully: CDI device injection failed: unresolvable CDI devices vendor1.com/device=foo
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/TestDeviceRunEnv/worker=oci/frontend=client
sandbox.go:202: stdout: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --cdi-spec-dir=/tmp/buildkit-integration-cdi4080314856 --config=/tmp/bktest_config629176278/buildkitd.toml --root /tmp/bktest_buildkitd3462302238 --addr unix:///tmp/bktest_buildkitd3462302238/buildkitd.sock --debug
sandbox.go:202: stderr: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --cdi-spec-dir=/tmp/buildkit-integration-cdi4080314856 --config=/tmp/bktest_config629176278/buildkitd.toml --root /tmp/bktest_buildkitd3462302238 --addr unix:///tmp/bktest_buildkitd3462302238/buildkitd.sock --debug
sandbox.go:205: > StartCmd 2025-02-03 16:20:28.030663182 +0000 UTC m=+55.731094613 /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --cdi-spec-dir=/tmp/buildkit-integration-cdi4080314856 --config=/tmp/bktest_config629176278/buildkitd.toml --root /tmp/bktest_buildkitd3462302238 --addr unix:///tmp/bktest_buildkitd3462302238/buildkitd.sock --debug
sandbox.go:205: time="2025-02-03T16:20:28Z" level=debug msg="debug handlers listening at unix:///tmp/bktest_buildkitd3462302238/buildkitd-debug.sock"
sandbox.go:205: time="2025-02-03T16:20:28Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:205: time="2025-02-03T16:20:28Z" level=debug msg="could not read \"/tmp/bktest_buildkitd3462302238/net/cni\" for cleanup: open /tmp/bktest_buildkitd3462302238/net/cni: no such file or directory"
sandbox.go:205: time="2025-02-03T16:20:28Z" level=debug msg="creating new network namespace hseu1d6zsukmcu4mf7cyotome"
sandbox.go:205: time="2025-
|
Test
Process completed with exit code 1.
|
Loading