gpu_test hangs if it can't find glxgears windows using wmctrl

Bug #1232232 reported by Daniel Manrique on 2013-09-27
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Daniel Manrique

Bug Description

Steps to reproduce:

- Remove wmctrl and glxgears
- CHECKBOX_SHARE=/usr/share/checkbox checkbox-old/scripts/gpu_test

Expected result:
- Test should exit gracefully

Actual result:
- only html video window launches
- Trace as seen below
- Test never exits, stalling the test run.

This happens sporadically on actual runs, even if glxgears is installed the script seems unable to find the window and throws this trace.

Traceback (most recent call last):
  File "checkbox-old/scripts/gpu_test", line 220, in <module>
  File "checkbox-old/scripts/gpu_test", line 171, in main
    GlxRotate.append(RotateGlxThread(GlxWindows[i].id, i + 1))
AttributeError: 'GlxThread' object has no attribute 'id'

I think the actual meaning of "id" is "window id", as this is thrown when wmctrl can't find any glxgears window.

Related branches

Daniel Manrique (roadmr) on 2013-09-27
Changed in checkbox:
status: New → In Progress
assignee: nobody → Daniel Manrique (roadmr)
importance: Undecided → High
Daniel Manrique (roadmr) on 2013-09-30
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  Edit
Everyone can see this information.

Other bug subscribers