[PATCH 0/1][autotest-client-tests] create Nvidia server driver loading test
Taihsiang Ho (tai271828)
taihsiang.ho at canonical.com
Tue Nov 30 10:16:08 UTC 2021
This patch is an updated version which supersedes its previous one
https://lists.ubuntu.com/archives/kernel-team/2021-November/125799.html
. The update is according to the discussion between Sam and me.
The update includes:
1) Typos e.g. timeout number
2) Resolving more shellcheck highlights
3) More comments for context elaboration
4) Handling the module state exception
By creating this job, we can confirm the available Nvidia server drivers
could be loaded and unloaded properly.
Please notice that this patch is the first step for more Nvidia server
driver testing modules and jobs in the future, e.g. nvidia-fs. The other
test modules are expected to use and share nvidia-module-lib in the
future.
Test this patch by:
1. Grab DGX-1, DGX-2, or DGX-A100 in the lab.
2. Setup autotest as usual.
3. AUTOTEST_PATH=/home/ubuntu/autotest sudo -E autotest/client/autotest-local --verbose autotest/client/tests/ubuntu_nvidia_server_driver/control
Taihsiang Ho (tai271828) (1):
UBUNTU: SAUCE: ubuntu_nvidia_server_driver: create Nvidia server
driver loading test
ubuntu_nvidia_server_driver/control | 12 +++
ubuntu_nvidia_server_driver/nvidia-module-lib | 96 +++++++++++++++++++
.../test-each-nvidia-server-driver.sh | 35 +++++++
.../ubuntu_nvidia_server_driver.py | 32 +++++++
.../ubuntu_nvidia_server_driver.sh | 40 ++++++++
5 files changed, 215 insertions(+)
create mode 100644 ubuntu_nvidia_server_driver/control
create mode 100644 ubuntu_nvidia_server_driver/nvidia-module-lib
create mode 100755 ubuntu_nvidia_server_driver/test-each-nvidia-server-driver.sh
create mode 100644 ubuntu_nvidia_server_driver/ubuntu_nvidia_server_driver.py
create mode 100755 ubuntu_nvidia_server_driver/ubuntu_nvidia_server_driver.sh
--
2.33.1
More information about the kernel-team
mailing list