suspend/gpu_lockup_after_suspend would fail with previous GPU lockup event

Bug #1321995 reported by Po-Hsu Lin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox (Legacy)
Fix Released
Undecided
Po-Hsu Lin
Checkbox Provider - Base
Fix Released
Undecided
Po-Hsu Lin

Bug Description

Found this issue on recent SRU, on 201208-11587.
If GPU lockup occurred once before, this test would fail even you re-test it.

The reason for this is the parser we use, which will find every gpu hung pattern, no matter when did it happened.

def check_gpu(log=None):
    if not log:
        log = '/var/log/kern.log'
    with open(log, 'rb') as f:
        if re.findall(r'gpu\s+hung', str(f.read()), flags=re.I):
            print("GPU hung Detected")
            return 1

You could run the gpu_test script with the attached log to see what would happen

Tags: scripts

Related branches

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
tags: added: scripts
Po-Hsu Lin (cypressyew)
affects: checkbox → checkbox-legacy
Changed in plainbox-provider-checkbox:
assignee: nobody → Po-Hsu Lin (cypressyew)
Po-Hsu Lin (cypressyew)
Changed in plainbox-provider-checkbox:
status: New → In Progress
Po-Hsu Lin (cypressyew)
Changed in checkbox-legacy:
status: New → In Progress
Po-Hsu Lin (cypressyew)
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
Changed in plainbox-provider-checkbox:
milestone: none → 0.6
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
Daniel Manrique (roadmr)
Changed in checkbox-legacy:
status: In Progress → Fix Committed
Changed in checkbox-legacy:
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

Bug attachments

Remote bug watches

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