In line with the Jaunty bug fixing goal we are focusing on suspend/resume with a view to detecting existing bugs and regressions for the release. To this end we have created suspend/resume test script to automate extended testing of suspend/resume. In combination with the new automated resume failure detecting we can test and automatically report bugs.

How to run Suspend/Resume stress test

The test script is packaged in checkbox version 0.7. Assuming checkbox version 0.7 is installed, the script can be found at /usr/share/checkbox/scripts/suspend_test . Run the script as follows:

Alternatively, download the suspend/resume test script from http://people.ubuntu.com/~apw/suspend-resume/test-suspend, and then run it:

Note: Some users reported, that automatic wake up only works if your systems RTC is set to UTC, not local time.

This will perform a number of suspend/resume tests. The first few of these require human intervention such as unplugging the AC cord and replacing it. Once the main stress test starts no further intervention will be needed.

A sample run is shown below:

Reporting Results

Please add your hardware information and test results to https://wiki.ubuntu.com/KernelTeam/SuspendResumeTesting/Feedback

Reporting Bugs

Should a failure occur while running the suspend/resume test, upon rebooting apport should automatically detect the failure and ask that a bug report be filed in Launchpad. Apport will try to gather as much information from the system and include it in the bug report.

See also

* DebuggingKernelSuspendHibernateResume

KernelTeam/SuspendResumeTesting (last edited 2011-07-27 22:06:53 by c-24-7-86-43)