gpu_test: subprocess.CalledProcessError: Command 'wmctrl -l | grep glxgears' returned non-zero exit status 1

Bug #1217937 reported by Daniel Manrique
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
Medium
Daniel Manrique

Bug Description

PythonArgs: ['/usr/share/checkbox/scripts/gpu_test']
Traceback:
 Traceback (most recent call last):
   File "/usr/share/checkbox/scripts/gpu_test", line 216, in <module>
     sys.exit(main())
   File "/usr/share/checkbox/scripts/gpu_test", line 160, in main
     shell=True)
   File "/usr/lib/python3.3/subprocess.py", line 586, in check_output
     raise CalledProcessError(retcode, process.args, output=output)
 subprocess.CalledProcessError: Command 'wmctrl -l | grep glxgears' returned non-zero exit status 1

This is using :

# dpkg --list checkbox plainbox
||/ Name Version Architecture Description
+++-======================-================-================-=======
ii checkbox 0.16.8+bzr2319+2 amd64 System testing application
ii plainbox 0.3+bzr2322+bzr1 all Simple replacement for CheckBox

and what I did was run plainbox sru on this system.

This is similar to bug 1172851, but since that one is already fix-released, it's potentially not the same problem.

Part of the impact I'm seeing is that plainbox testing stalls, and the glxgears and video-playing firefox remain there.

Maybe we could have gpu_test catch CalledProcessError and recover gracefully.

Tags: scripts

Related branches

Daniel Manrique (roadmr)
tags: added: scripts
Daniel Manrique (roadmr)
Changed in checkbox:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Daniel Manrique (roadmr)
Daniel Manrique (roadmr)
Changed in checkbox:
status: In Progress → Fix Committed
Changed in checkbox:
status: Fix Committed → Fix Released
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.