Merge ~alextu/plainbox-provider-pc-sanity:check-nvidia-tips-for-known-issue into plainbox-provider-pc-sanity:master

Proposed by Alex Tu
Status: Merged
Merged at revision: 554b8f76546ca561e16a63ad0342374ac3cde0ab
Proposed branch: ~alextu/plainbox-provider-pc-sanity:check-nvidia-tips-for-known-issue
Merge into: plainbox-provider-pc-sanity:master
Diff against target: 14 lines (+3/-0)
1 file modified
bin/check-nvidia.sh (+3/-0)
Reviewer Review Type Date Requested Status
Yuan-Chen Cheng (community) Approve
OEM Solutions Group: Engineers Pending
Review via email: mp+395630@code.launchpad.net

Description of the change

after count is 0 gpu rc6
after count is 0 gpu rc6p
after count is 0 gpu rc6pp
[ERROR] failed:100.0%;PCI Device: NVIDIA Corporation Device 1f99;
[ERROR] nvidia devices not sleep deep to 0%. Check /var/tmp/checkbox-ng/sessions/checkbox-run-2020-12-28T09.20.33.session/session-share/ondemand_powertop.csv for detail.
[ERROR] There's a know issue LP: #1904762 that Nvidia driver not sleep with kernel 5.10
[ERROR] check-nvidia.sh testing failed.
------------------------------------------------------------------------- >8 ---
Outcome: job failed
Finalizing session that hasn't been submitted anywhere: checkbox-run-2020-12-28T09.20.33
==================================[ Results ]===================================
 ☑ : Generate an entry for each graphics card present in the system.
 ☒ : check if nvidia dgpu behave as we expected.

To post a comment you must log in.
Revision history for this message
Alex Tu (alextu) wrote :

updated the printed information based on YC's suggestion:

--------------[ Running job 2 / 2. Estimated time left: unknown ]---------------
----------------[ check if nvidia dgpu behave as we expected. ]-----------------
ID: com.canonical.certification::miscellanea/check-nvidia
Category: com.canonical.plainbox::miscellanea
... 8< -------------------------------------------------------------------------
+ check-nvidia.sh --out /var/tmp/checkbox-ng/sessions/checkbox-run-2020-12-29T06.04.09.session/session-share
/usr/bin/prime-select
/usr/bin/gpu-manager
/usr/sbin/powertop
[INFO] current mode is on-demand mode.
modprobe cpufreq_stats failedLoaded 0 prior measurements
RAPL device for cpu 0
RAPL Using PowerCap Sysfs : Domain Mask d
RAPL device for cpu 0
RAPL Using PowerCap Sysfs : Domain Mask d
Devfreq not enabled
glob returned GLOB_ABORTED
Preparing to take measurements
Taking 1 measurement(s) for a duration of 3 second(s) each.
PowerTOP outputing using base filename /var/tmp/checkbox-ng/sessions/checkbox-run-2020-12-29T06.04.09.session/session-share/ondemand_powertop.csv
after count is 0 gpu c0
after count is 0 gpu rc6
after count is 0 gpu rc6p
after count is 0 gpu rc6pp
after count is 0 gpu c0
after count is 0 gpu rc6
after count is 0 gpu rc6p
after count is 0 gpu rc6pp
after count is 0 gpu c0
after count is 0 gpu rc6
after count is 0 gpu rc6p
after count is 0 gpu rc6pp
after count is 0 gpu c0
after count is 0 gpu rc6
after count is 0 gpu rc6p
after count is 0 gpu rc6pp
[ERROR] failed:100.0%;PCI Device: NVIDIA Corporation Device 1f99;
[ERROR] nvidia devices not sleep deep to 0%. Check /var/tmp/checkbox-ng/sessions/checkbox-run-2020-12-29T06.04.09.session/session-share/ondemand_powertop.csv for detail.
[INFO] There's a know issue LP: #1904762 that Nvidia driver not sleep with kernel 5.10
[ERROR] check-nvidia.sh testing failed.
------------------------------------------------------------------------- >8 ---
Outcome: job failed
Finalizing session that hasn't been submitted anywhere: checkbox-run-2020-12-29T06.04.09
==================================[ Results ]===================================
 ☑ : Generate an entry for each graphics card present in the system.
 ☒ : check if nvidia dgpu behave as we expected.

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/bin/check-nvidia.sh b/bin/check-nvidia.sh
2index 85b0a04..e2a67c7 100755
3--- a/bin/check-nvidia.sh
4+++ b/bin/check-nvidia.sh
5@@ -78,6 +78,9 @@ check_nvidia_sleep() {
6 if [ -n "$result" ]; then
7 show_error "$result"
8 show_error "nvidia devices not sleep deep to 0%. Check $OUTPUT_FOLDER/$filename for detail."
9+ if uname -r | grep -q "5.10"; then
10+ echo "[INFO] There's a know issue LP: #1904762 that Nvidia driver not sleep with kernel 5.10"
11+ fi
12 return $function_failed
13 fi
14 }

Subscribers

People subscribed via source and target branches