suspend/suspend_advanced test will run again and again when the machine hangs on resuem from suspend

Bug #1321225 reported by Betty Lin
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
PlainBox (Toolkit)
Fix Released
High
Sylvain Pineau

Bug Description

I test one AMD platform which has a problem: hang while resume from suspend

suspend/suspend_advanced test will run autocratically now.
So I press power key to shut down and then turn on the machine when it hangs by suspend/suspend_advanced test

Then I continue the test when I run plainbox, it will run one test case and then run suspend/suspend_advanced again.

I try to un-check suspend/suspend_advanced and some after-suspend related test, somehow the suspend/suspend_advanced still run.
This bug cause the problem that I can not finish my test.

Plainbox/Checkbox version:
ii plainbox 0.6~dev+bzr3011+pkg4~ubuntu14.04.1 all toolkit for software and hardware integration testing
ii plainbox-insecure-policy 0.6~dev+bzr3011+pkg4~ubuntu14.04.1 all policykit policy required to use plainbox (insecure version)
ii plainbox-provider-checkbox 0.5~dev+bzr3011+pkg4~ubuntu14.04.1 amd64 CheckBox provider for PlainBox
ii plainbox-provider-oem 0.1ubuntu7 all plainbox oem provider
ii plainbox-provider-oem-stella 0.1ubuntu7 all plainbox oem provider for stella
ii plainbox-provider-resource-generic 0.3-1 amd64 CheckBox generic resource jobs provider
ii python3-plainbox 0.6~dev+bzr3011+pkg4~ubuntu14.04.1 all toolkit for software and hardware testing (python3 module)
ii checkbox-gui 0.17.9~dev+bzr3011+pkg2~ubuntu14.04.1 amd64 QML based interface for system testing based on PlainBox.
ii checkbox-ng 0.4~dev+bzr3011+pkg7~ubuntu14.04.1 all PlainBox based test runner
ii checkbox-ng-service 0.4~dev+bzr3011+pkg7~ubuntu14.04.1 all CheckBox D-Bus service
ii plainbox-provider-checkbox 0.5~dev+bzr3011+pkg4~ubuntu14.04.1 amd64 CheckBox provider for PlainBox
ii python3-checkbox-ng 0.4~dev+bzr3011+pkg7~ubuntu14.04.1 all PlainBox based test runner (Python 3 library)
ii python3-checkbox-support 0.2-1 all collection of Python modules used by PlainBox providers

Related branches

Revision history for this message
Betty Lin (bettyl) wrote :
Ara Pulido (ara)
Changed in plainbox:
importance: Undecided → Critical
importance: Critical → High
Ara Pulido (ara)
tags: added: 14-04-blocker
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

plainbox-provider-resource-generic and python3-checkbox-support are the ones from the ubuntu repo, not the ppa. Could you please upgrade both and I see if the problem still occurs?

Changed in plainbox:
status: New → Incomplete
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

I've fix bug #1315337 and this one could be related to it, could you please update checkbox-gui to the latest ppa version and check if this bug is still valid?

Changed in plainbox:
assignee: nobody → Betty Lin (bettyl)
Revision history for this message
Jerry Kao (jerry.kao) wrote :

System Greenwood2 has suspend hand issue. When running Plainbox for full test, the order of test case is not consistent. After finish test case 5x of 209, disk/detect, system run suspend/suspend_advanced and hang. After reboot and continue for next test case, plainbox run one test case and run suspend/suspend_advanced (108 of 209) again. System hang again. Test can never be completed.

Changed in plainbox:
status: Incomplete → In Progress
assignee: Betty Lin (bettyl) → Sylvain Pineau (sylvain-pineau)
Revision history for this message
Betty Lin (bettyl) wrote :

I tried bzr3033 with the whitelist I attached. I un-check touchpad and benchmarks, then run the test.

Running suspend/suspend_advanced test and then the system hang when resume from suspend, I press power key to turn off system and turn it on again.

Launch to stella provider, and press "Continue". It will run suspend/sd-insert-after-suspend, I skip it and it runs suspend/suspend_advanced again.

I turn off/on system and launch to stella provider again. Press "Continue", it runs some test cases (some auto, some manual, I do not remember the test cases name) then, it runs suspend/hybrid_sleep and hang when resume from suspend.

I turn off/on system and launch to stella provider again. Press "Continue", it runs 1~2 test cases and then run suspend/hybrid_sleep again.

After that, it repeats to "runs 1~2 test cases and then run suspend/hybrid_sleep"

stella provider: https://code.launchpad.net/~oem-qa/oem-qa-checkbox/oem-plainbox

Revision history for this message
Betty Lin (bettyl) wrote :
Revision history for this message
Betty Lin (bettyl) wrote :

How about manual run suspend/suspend_advanced and suspend/hybrid_sleep?

It can avoid the hang problem to damage the plainbox provider, also we can record bug no. in comment.

Ara Pulido (ara)
Changed in plainbox:
status: In Progress → Fix Committed
Changed in plainbox:
milestone: none → 0.6
Changed in plainbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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