Merge lp:~bladernr/checkbox/1188284-fix-s3-s4-30cycle-deps into lp:checkbox

Proposed by Jeff Lane 
Status: Merged
Approved by: Daniel Manrique
Approved revision: 2167
Merged at revision: 2167
Proposed branch: lp:~bladernr/checkbox/1188284-fix-s3-s4-30cycle-deps
Merge into: lp:checkbox
Diff against target: 39 lines (+9/-2)
2 files modified
checkbox-old/debian/changelog (+3/-0)
checkbox-old/jobs/stress.txt.in (+6/-2)
To merge this branch: bzr merge lp:~bladernr/checkbox/1188284-fix-s3-s4-30cycle-deps
Reviewer Review Type Date Requested Status
Daniel Manrique (community) Approve
Review via email: mp+167820@code.launchpad.net

Description of the change

With this, the 30 cycle S3 and S4 tests will only run if the single cycle S3 and S4 tests have run and passed. If we can't successfully do a single cycle of each (The tests are manual and only fail if the system doesn't actually suspend/hibernate and resume) there's no point in running the 30 cycle tests.

When we do run them, what happens is the tester wastes time rebooting a system expected to fail, and clicking through checkbox to get passed the failing 30 cycle tests.

To post a comment you must log in.
Revision history for this message
Daniel Manrique (roadmr) wrote :

I think this hadn't been done before because we had the stress tests on a separate whitelist, so we didn't want to add the single-test dependency to that list.

Anyway, this looks good, +1, thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'checkbox-old/debian/changelog'
--- checkbox-old/debian/changelog 2013-06-06 07:39:23 +0000
+++ checkbox-old/debian/changelog 2013-06-06 17:50:36 +0000
@@ -4,6 +4,9 @@
4 * scripts/virtualization: script no longer fails when trying to cast an4 * scripts/virtualization: script no longer fails when trying to cast an
5 empty timeout setting in config file to int(). Added additional error5 empty timeout setting in config file to int(). Added additional error
6 handling. (LP: #1186259)6 handling. (LP: #1186259)
7 * jobs/stress.txt.in: added dependencies on single cycle tests to the 30
8 cycle S3 and S4 test to avoid unnecessary rebooting by tester on expected
9 failures. (LP: #1188284)
710
8 [ Brendan Donegan ]11 [ Brendan Donegan ]
9 * jobs/optical.txt.in - Added VERIFICATION section for cdrom-write job so that12 * jobs/optical.txt.in - Added VERIFICATION section for cdrom-write job so that
1013
=== modified file 'checkbox-old/jobs/stress.txt.in'
--- checkbox-old/jobs/stress.txt.in 2013-06-03 21:07:18 +0000
+++ checkbox-old/jobs/stress.txt.in 2013-06-06 17:50:36 +0000
@@ -10,7 +10,9 @@
1010
11plugin: shell11plugin: shell
12name: power-management/hibernate_30_cycles12name: power-management/hibernate_30_cycles
13depends: power-management/rtc13depends:
14 power-management/rtc
15 power-management/hibernate_advanced
14environ: CHECKBOX_DATA16environ: CHECKBOX_DATA
15user: root17user: root
16command:18command:
@@ -39,7 +41,9 @@
3941
40plugin: shell42plugin: shell
41name: power-management/suspend_30_cycles43name: power-management/suspend_30_cycles
42depends: power-management/rtc44depends:
45 power-management/rtc
46 suspend/suspend_advanced
43environ: CHECKBOX_DATA47environ: CHECKBOX_DATA
44user: root48user: root
45command: 49command:

Subscribers

People subscribed via source and target branches