-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/initContainer, test/system: Handle NVIDIA's create-symlinks CDI hook #1545
cmd/initContainer, test/system: Handle NVIDIA's create-symlinks CDI hook #1545
Conversation
The following commit will handle create-symlinks hooks in the Container Device Interface specification for the proprietary NVIDIA driver, because NVIDIA Container Toolkit 0.16.0 started using those [1]. So, make some space for the new code. This will make the following commit easier to read. Fallout from 649d02f [1] NVIDIA Container Toolkit commit aae3da88c33d9cf2 NVIDIA/nvidia-container-toolkit@aae3da88c33d9cf2 NVIDIA/nvidia-container-toolkit#548 containers#1545
c9d2daf
to
a79e427
Compare
Build succeeded. ✔️ unit-test SUCCESS in 5m 33s |
NVIDIA Container Toolkit 0.16.0 started using create-symlinks hooks in the Container Device Interface specification generated by it [1]. For example: "hookName": "createContainer", "path": "/usr/bin/nvidia-cdi-hook", "args": [ "nvidia-cdi-hook", "create-symlinks", "--link", "libnvidia-allocator.so.560.35.03::/usr/lib64/libnvidia-allocator.so.1", "--link", "../libnvidia-allocator.so.1::/usr/lib64/gbm/nvidia-drm_gbm.so" ] Fallout from 649d02f [1] NVIDIA Container Toolkit commit aae3da88c33d9cf2 NVIDIA/nvidia-container-toolkit@aae3da88c33d9cf2 NVIDIA/nvidia-container-toolkit#548 containers#1545
Build succeeded. ✔️ unit-test SUCCESS in 6m 03s |
The following commit will handle create-symlinks hooks in the Container Device Interface specification for the proprietary NVIDIA driver, because NVIDIA Container Toolkit 0.16.0 started using those [1]. So, make some space for the new code. This will make the following commit easier to read. Fallout from 649d02f [1] NVIDIA Container Toolkit commit aae3da88c33d9cf2 NVIDIA/nvidia-container-toolkit@aae3da88c33d9cf2 NVIDIA/nvidia-container-toolkit#548 containers#1545
deb48cd
to
c5a0651
Compare
Build failed. ❌ unit-test RETRY_LIMIT in 3m 28s |
recheck |
Build failed. ✔️ unit-test SUCCESS in 5m 37s |
recheck |
Build failed. ✔️ unit-test SUCCESS in 7m 42s |
Commit 87eaeea already added a dependency on Bats >= 1.10.0, which is present on Fedora >= 39. Therefore, it should be exploited wherever possible to simplify things. Currently, the CI has been frequently timing out on stable Fedora nodes. So, increase the timeout from 1 hour 50 minutes to 2 hours to avoid that. For what it's worth, the timeout for Fedora Rawhide nodes is 2 hours 10 minutes and it seems enough. containers#1546
The following commit will handle create-symlinks hooks in the Container Device Interface specification for the proprietary NVIDIA driver, because NVIDIA Container Toolkit 0.16.0 started using those [1]. So, make some space for the new code. This will make the following commit easier to read. Fallout from 649d02f [1] NVIDIA Container Toolkit commit aae3da88c33d9cf2 NVIDIA/nvidia-container-toolkit@aae3da88c33d9cf2 NVIDIA/nvidia-container-toolkit#548 containers#1545
c5a0651
to
c399243
Compare
Build succeeded. ✔️ unit-test SUCCESS in 5m 11s |
NVIDIA Container Toolkit 0.16.0 started using create-symlinks hooks in the Container Device Interface specification generated by it [1]. For example: "hookName": "createContainer", "path": "/usr/bin/nvidia-cdi-hook", "args": [ "nvidia-cdi-hook", "create-symlinks", "--link", "libnvidia-allocator.so.560.35.03::/usr/lib64/libnvidia-allocator.so.1", "--link", "../libnvidia-allocator.so.1::/usr/lib64/gbm/nvidia-drm_gbm.so" ] Fallout from 649d02f [1] NVIDIA Container Toolkit commit aae3da88c33d9cf2 NVIDIA/nvidia-container-toolkit@aae3da88c33d9cf2 NVIDIA/nvidia-container-toolkit#548 containers#1545
NVIDIA Container Toolkit 0.16.0 started using create-symlinks hooks in the Container Device Interface specification generated by it [1]. For example: "hookName": "createContainer", "path": "/usr/bin/nvidia-cdi-hook", "args": [ "nvidia-cdi-hook", "create-symlinks", "--link", "libnvidia-allocator.so.560.35.03::/usr/lib64/libnvidia-allocator.so.1", "--link", "../libnvidia-allocator.so.1::/usr/lib64/gbm/nvidia-drm_gbm.so" ] Fallout from 649d02f [1] NVIDIA Container Toolkit commit aae3da88c33d9cf2 NVIDIA/nvidia-container-toolkit@aae3da88c33d9cf2 NVIDIA/nvidia-container-toolkit#548 containers#1545
Build succeeded. ✔️ unit-test SUCCESS in 5m 52s |
NVIDIA Container Toolkit 0.16.0 started using
create-symlinks
hooks inthe Container Device Interface specification generated by it [1]. For
example:
Fallout from 649d02f
[1] NVIDIA Container Toolkit commit aae3da88c33d9cf2
NVIDIA/nvidia-container-toolkit@aae3da88c33d9cf2
NVIDIA/nvidia-container-toolkit#548