suspend/gpu_lockup_after_suspend would fail with previous GPU lockup event

Bug #1321995 reported by Po-Hsu Lin on 2014-05-22
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox (Legacy)
Undecided
Po-Hsu Lin
Provider for Plainbox - Checkbox
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

Related branches

Po-Hsu Lin (cypressyew) wrote :
tags: added: scripts
Po-Hsu Lin (cypressyew) on 2014-05-22
affects: checkbox → checkbox-legacy
Changed in plainbox-provider-checkbox:
assignee: nobody → Po-Hsu Lin (cypressyew)
Po-Hsu Lin (cypressyew) on 2014-05-22
Changed in plainbox-provider-checkbox:
status: New → In Progress
Po-Hsu Lin (cypressyew) on 2014-05-22
Changed in checkbox-legacy:
status: New → In Progress
Po-Hsu Lin (cypressyew) on 2014-06-18
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) on 2014-09-30
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  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments