[PATCH 0/1][autotest-client-tests] create Nvidia server driver loading test

Taihsiang Ho (tai271828) taihsiang.ho at canonical.com
Thu Nov 18 10:48:14 UTC 2021


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.

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 | 87 +++++++++++++++++++
 .../test-each-nvidia-server-driver.sh         | 24 +++++
 .../ubuntu_nvidia_server_driver.py            | 32 +++++++
 .../ubuntu_nvidia_server_driver.sh            | 40 +++++++++
 5 files changed, 195 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