diff options
author | Pierre Equoy <pierre.equoy@canonical.com> | 2019-02-08 11:09:09 +0800 |
---|---|---|
committer | Pierre Equoy <pierre.equoy@canonical.com> | 2019-02-08 11:11:16 +0800 |
commit | 44462375f8c8c2a4ae70720819bfa572e242cce3 (patch) | |
tree | d62ef341d880ef4b597496b287f93789e0034b55 /units/stress | |
parent | 533ebcc552be3e39c15b78d71562488c8460b2e5 (diff) |
stress: add summaries for the 30 suspend cycles jobs
Diffstat (limited to 'units/stress')
-rw-r--r-- | units/stress/jobs.pxu | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/units/stress/jobs.pxu b/units/stress/jobs.pxu index d1fa17a..756d537 100644 --- a/units/stress/jobs.pxu +++ b/units/stress/jobs.pxu @@ -79,12 +79,15 @@ user: root environ: PM_TEST_DRY_RUN command: pm_test reboot --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox --fwts --log-level=debug --log-dir=$PLAINBOX_SESSION_SHARE --suspends-before-reboot=30 -r 3 --silent --check-hardware-list +_summary: 30 suspend/resume cycles and 1 reboot, 3 times (automated stress test) _description: This is an automated stress test that will run a sequence of '30 suspend/resume cycles and one reboot' 3 times. _siblings: [ { "id": "power-management/suspend_30_cycles_with_coldboots", "command": "pm_test poweroff --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox --fwts --log-level=debug --log-dir=$PLAINBOX_SESSION_SHARE --suspends-before-reboot=30 -r 3 --silent --check-hardware-list", - "_description": "This is an automated stress test that will run a sequence of '30 suspend/resume cycles and one poweroff' 3 times." } + "_description": "This is an automated stress test that will run a sequence of '30 suspend/resume cycles and one poweroff' 3 times.", + "_summary": "30 suspend/resume cycles and 1 poweroff, 3 times (automated stress test)" + } ] plugin: shell @@ -123,13 +126,15 @@ 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 +_summary: 30 suspend/resume cycles and 1 reboot, 3 times (check logs for errors) _description: Automated check of the '30 cycle suspend and 1 reboot times 3' logs for errors detected by fwts. _siblings: [ { "id": "power-management/suspend-30-cycles-log-check-with-coldboots", "depends": "power-management/suspend_30_cycles_with_coldboots", "command": "[ -e $PLAINBOX_SESSION_SHARE/pm_test.poweroff.3.log ] && sleep_test_log_check -v s3 $PLAINBOX_SESSION_SHARE/pm_test.poweroff.3.log", - "_description": "Automated check of the '30 cycle suspend and 1 poweroff times 3' logs for errors detected by fwts." + "_description": "Automated check of the '30 cycle suspend and 1 poweroff times 3' logs for errors detected by fwts.", + "_summary": "30 suspend/resume cycles and 1 poweroff, 3 times (check logs for errors)" } ] @@ -148,13 +153,15 @@ 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 +_summary: 30 suspend/resume cycles and 1 reboot, 3 times (attach logs) _description: - Attaches the log from the '30 cycle Suspend/Resume and one reboot times 3' test if it exists + Attaches the log from the '30 cycle suspend/resume and one reboot times 3' test if it exists _siblings: [ { "id": "power-management/suspend-30-cycle-log-attach-with-coldboots", "depends": "power-management/suspend_30_cycles_with_coldboots", "command": "[ -e $PLAINBOX_SESSION_SHARE/pm_test.poweroff.3.log ] && cat $PLAINBOX_SESSION_SHARE/pm_test.poweroff.3.log", - "_description": "Attaches the log from the '30 cycle Suspend/Resume and one poweroff times 3' test if it exists" + "_description": "Attaches the log from the '30 cycle Suspend/Resume and one poweroff times 3' test if it exists", + "_summary": "30 suspend/resume cycles and 1 poweroff, 3 times (attach logs)" } ] @@ -173,13 +180,15 @@ 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 +_summary: 30 suspend/resume cycles and 1 reboot, 3 times (check logs for timing issues) _description: Checks the sleep times to ensure that a machine suspends and resumes within a given threshold (warm boots) _siblings: [ { "id": "power-management/suspend-30-cycles-time-check-with-coldboots", "depends": "power-management/suspend_30_cycles_with_coldboots", "command": "[ -e $PLAINBOX_SESSION_SHARE/pm_test.poweroff.3.log ] && sleep_time_check $PLAINBOX_SESSION_SHARE/pm_test.poweroff.3.log", - "_description": "Checks the sleep times to ensure that a machine suspends and resumes within a given threshold (cold boots)" + "_description": "Checks the sleep times to ensure that a machine suspends and resumes within a given threshold (cold boots)", + "_summary": "30 suspend/resume cycles and 1 poweroff, 3 times (check logs for timing issues)" } ] |