~pieq/checkbox/add-30suspend-1reboot-cycles-support

« back to all changes in this revision

Viewing changes to providers/plainbox-provider-checkbox/jobs/stress.txt.in

  • Committer: Pierre Equoy
  • Date: 2015-10-02 07:03:01 UTC
  • Revision ID: pierre.equoy@canonical.com-20151002070301-w04b024wpi6zpq8o
Execute 30 suspend cycles attachment jobs regardless of the main job result

So far, if the jobs `suspend_30_cycles` or `suspend_30_cycles_with_reboots`
fail, their related attachment jobs will be skipped.
Using new 'after' keyword, we ensure the logs will be attached regardless
of the result of their 'parent' job.

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
category_id: 2013.com.canonical.plainbox::stress
106
106
id: power-management/suspend-30-cycle-log-attach
107
107
estimated_duration: 1.0
108
 
depends: power-management/suspend_30_cycles
 
108
after: power-management/suspend_30_cycles
109
109
command: [ -e $PLAINBOX_SESSION_SHARE/suspend_30_cycles.log ] && cat $PLAINBOX_SESSION_SHARE/suspend_30_cycles.log
110
110
_description:
111
111
 Attaches the log from the 30 cycle Suspend/Resume test if it exists
114
114
category_id: 2013.com.canonical.plainbox::stress
115
115
id: power-management/suspend-30-cycle-log-attach-with-reboots
116
116
estimated_duration: 1.0
117
 
depends: power-management/suspend_30_cycles_with_reboots
 
117
after: power-management/suspend_30_cycles_with_reboots
118
118
command: [ -e $PLAINBOX_SESSION_SHARE/pm_test.reboot.3.log ] && cat $PLAINBOX_SESSION_SHARE/pm_test.reboot.3.log
119
119
_description:
120
120
 Attaches the log from the '30 cycle Suspend/Resume and one reboot times 3' test if it exists