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
1=== modified file 'checkbox-old/debian/changelog'
2--- checkbox-old/debian/changelog 2013-06-06 07:39:23 +0000
3+++ checkbox-old/debian/changelog 2013-06-06 17:50:36 +0000
4@@ -4,6 +4,9 @@
5 * scripts/virtualization: script no longer fails when trying to cast an
6 empty timeout setting in config file to int(). Added additional error
7 handling. (LP: #1186259)
8+ * jobs/stress.txt.in: added dependencies on single cycle tests to the 30
9+ cycle S3 and S4 test to avoid unnecessary rebooting by tester on expected
10+ failures. (LP: #1188284)
11
12 [ Brendan Donegan ]
13 * jobs/optical.txt.in - Added VERIFICATION section for cdrom-write job so that
14
15=== modified file 'checkbox-old/jobs/stress.txt.in'
16--- checkbox-old/jobs/stress.txt.in 2013-06-03 21:07:18 +0000
17+++ checkbox-old/jobs/stress.txt.in 2013-06-06 17:50:36 +0000
18@@ -10,7 +10,9 @@
19
20 plugin: shell
21 name: power-management/hibernate_30_cycles
22-depends: power-management/rtc
23+depends:
24+ power-management/rtc
25+ power-management/hibernate_advanced
26 environ: CHECKBOX_DATA
27 user: root
28 command:
29@@ -39,7 +41,9 @@
30
31 plugin: shell
32 name: power-management/suspend_30_cycles
33-depends: power-management/rtc
34+depends:
35+ power-management/rtc
36+ suspend/suspend_advanced
37 environ: CHECKBOX_DATA
38 user: root
39 command:

Subscribers

People subscribed via source and target branches