Graphics/*_driver_version_* failed

Bug #1995454 reported by YANG, ZHI-HAO
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Expired
Critical
Unassigned

Bug Description

[Summary]
Run Checkbox Graphic test item the following test were fail:
1.Graphics/1_driver_version_PCI_ID_0x4688
2.Graphics/2_driver_version_GA107BM_GeForce_RTX_3050_Ti_Mobie

[`Graphics/1_driver_version_PCI_ID_0x4688` Output]
error: list of process IDs must follow -p

Usage:
 ps [options]

 Try 'ps --help <simple|list|output|threads|misc|all>'
  or 'ps --help <s|l|o|t|m|a>'
 for additional help text.

For more details see ps(1).
Traceback (most recent call last):
  File "/tmp/nest-ynqwi8rq.1531dd90874d443ab9a3fbf7a63c668f7a0ab3881a634524bc7811bd83eed721/graphics_driver.py", line 399, in <module>
    sys.exit(main())
  File "/tmp/nest-ynqwi8rq.1531dd90874d443ab9a3fbf7a63c668f7a0ab3881a634524bc7811bd83eed721/graphics_driver.py", line 373, in main
    xorg_owner = check_output("ps -o user= -p $(pidof Xorg)",
  File "/usr/lib/python3.10/subprocess.py", line 420, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.10/subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'ps -o user= -p $(pidof Xorg)' returned non-zero exit status 1.

[`Graphics/2_driver_version_GA107BM_GeForce_RTX_3050_Ti_Mobie` Output]
error: list of process IDs must follow -p

Usage:
 ps [options]

 Try 'ps --help <simple|list|output|threads|misc|all>'
  or 'ps --help <s|l|o|t|m|a>'
 for additional help text.

For more details see ps(1).
Traceback (most recent call last):
  File "/tmp/nest-ritxmv9m.6fe1458016043765a23331f4a48413f7f2bbb8cb9332037b39fb229ff44db35e/graphics_driver.py", line 399, in <module>
    sys.exit(main())
  File "/tmp/nest-ritxmv9m.6fe1458016043765a23331f4a48413f7f2bbb8cb9332037b39fb229ff44db35e/graphics_driver.py", line 373, in main
    xorg_owner = check_output("ps -o user= -p $(pidof Xorg)",
  File "/usr/lib/python3.10/subprocess.py", line 420, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.10/subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'ps -o user= -p $(pidof Xorg)' returned non-zero exit status 1.

[Addtional Information]
Test Vault ID: 100505
image/manifest:dell-bto-jammy-jellyfish-gardevoir-X44-20220928-7.iso
Product Name:Galio
Bios Version:0.2.15
Kernel Version:6.0.0.1004-oem
CPU:Raptor Lake HX ES
GPU:Nvidia GN20-P1
Sku:All
Failure rate:2/2 units,4/4 times.

Revision history for this message
YANG, ZHI-HAO (isaacyang) wrote :
Revision history for this message
Scott Hu (huntu207) wrote (last edit ):

This issue observed after checkbox resume session to run as root

Scott Hu (huntu207)
summary: - Graphics/*_driver_version_*
+ Graphics/*_driver_version_* failed
Revision history for this message
Maksim Beliaev (beliaev-maksim) wrote :

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

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

Other bug subscribers

Bug attachments

Remote bug watches

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