diff options
author | Pierre Equoy <pierre.equoy@canonical.com> | 2015-10-01 15:12:33 +0800 |
---|---|---|
committer | Pierre Equoy <pierre.equoy@canonical.com> | 2015-10-01 15:12:33 +0800 |
commit | 792f37967983822cf4270d3fe0adb9b3664eee43 (patch) | |
tree | 26ddac6806b340b61d1cb3f0a13f6e761b187e37 /jobs | |
parent | a9e69504678f6234954e9addc2afce1babe0a1a1 (diff) |
Add support for '30 suspends + 1 reboot' cycle
Add the following jobs: - power-management/suspend-30-cycles-log-check-with-reboots - power-management/suspend-30-cycle-log-attach-with-reboots - power-management/suspend-30-cycles-time-check-with-reboots Modifies the `pm_test` script to include `sleep_test` output in its logs in order to easily access the data needed by `sleep_time_check` to compute average times. `sleep_time_check` has been updated to take into account more than one sleep/resume times (the mean value is computed and returned).
Diffstat (limited to 'jobs')
-rw-r--r-- | jobs/stress.txt.in | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/jobs/stress.txt.in b/jobs/stress.txt.in index 0b12618..64b064f 100644 --- a/jobs/stress.txt.in +++ b/jobs/stress.txt.in @@ -90,7 +90,16 @@ depends: power-management/suspend_30_cycles estimated_duration: 1.0 command: [ -e $PLAINBOX_SESSION_SHARE/suspend_30_cycles.log ] && sleep_test_log_check -v s3 $PLAINBOX_SESSION_SHARE/suspend_30_cycles.log _description: - Automated check of the 30 cycle hibernate log for errors detected by fwts. + Automated check of the 30 cycle suspend log for errors detected by fwts. + +plugin: shell +category_id: 2013.com.canonical.plainbox::stress +id: power-management/suspend-30-cycles-log-check-with-reboots +depends: power-management/suspend_30_cycles_with_reboots +estimated_duration: 1.0 +command: [ -e $PLAINBOX_SESSION_SHARE/pm_test.reboot.3.log ] && sleep_test_log_check -v s3 $PLAINBOX_SESSION_SHARE/pm_test.reboot.3.log +_description: + Automated check of the '30 cycle suspend and 1 reboot times 3' logs for errors detected by fwts. plugin: attachment category_id: 2013.com.canonical.plainbox::stress @@ -101,6 +110,15 @@ command: [ -e $PLAINBOX_SESSION_SHARE/suspend_30_cycles.log ] && cat $PLAINBOX_S _description: Attaches the log from the 30 cycle Suspend/Resume test if it exists +plugin: attachment +category_id: 2013.com.canonical.plainbox::stress +id: power-management/suspend-30-cycle-log-attach-with-reboots +estimated_duration: 1.0 +depends: power-management/suspend_30_cycles_with_reboots +command: [ -e $PLAINBOX_SESSION_SHARE/pm_test.reboot.3.log ] && cat $PLAINBOX_SESSION_SHARE/pm_test.reboot.3.log +_description: + Attaches the log from the '30 cycle Suspend/Resume and one reboot times 3' test if it exists + plugin: shell category_id: 2013.com.canonical.plainbox::stress id: power-management/suspend-30-cycles-time-check @@ -112,6 +130,15 @@ _description: plugin: shell category_id: 2013.com.canonical.plainbox::stress +id: power-management/suspend-30-cycles-time-check-with-reboots +estimated_duration: 1.0 +depends: power-management/suspend_30_cycles_with_reboots +command: [ -e $PLAINBOX_SESSION_SHARE/pm_test.reboot.3.log ] && sleep_time_check $PLAINBOX_SESSION_SHARE/pm_test.reboot.3.log +_description: + Checks the sleep times to ensure that a machine suspends and resumes within a given threshold + +plugin: shell +category_id: 2013.com.canonical.plainbox::stress id: stress/hibernate_250_cycles estimated_duration: 43400.0 depends: power-management/rtc |