Test should fail if nvidia drivers are not loaded

Bug #1981090 reported by Jeff Lane 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
checkbox-provider-gpgpu
Expired
High
Jeff Lane 

Bug Description

If the nvidia drivers are not loaded at runtime, the test itself will error out but will still be marked as PASS.

This test should be marked fail if the nvidia compute drivers are not loaded.

https://certification.canonical.com/hardware/202206-30404/submission/270289/test/81282/result/26835378/

terminate called after throwing an instance of 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >'
read[0] error 0

No clients are alive! Aborting
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Burning for 14400 seconds.

After spitting out that error, the test is completed with an exit code of 0 and looks like a pass when it is not.

Tags: servcert-406
Jeff Lane  (bladernr)
tags: added: servcert-406
Revision history for this message
Zhanglei Mao (zhanglei-mao) wrote :

The partner also reported that he have to disable secure boot, then nvidia driver was loaded and test-gpu can be passed.

root@crack-bengal:~# lsmod |grep nvidia

nvidia_uvm 1126400 2

nvidia_drm 57344 0

nvidia_modeset 1138688 1 nvidia_drm

nvidia 40738816 148 nvidia_uvm,nvidia_modeset

drm_kms_helper 172032 2 ast,nvidia_drm

drm 401408 6 drm_kms_helper,ast,nvidia,nvidia_drm,ttm

Pierre Equoy (pieq)
Changed in checkbox-provider-gpgpu:
milestone: 2.0.0 → 2.1.0
Revision history for this message
Maksim Beliaev (beliaev-maksim) wrote :

Bug was migrated to GitHub: https://github.com/canonical/checkbox/issues/98.
Bug is no more monitored here.

Changed in checkbox-provider-gpgpu:
status: In Progress → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.