Merge lp:~roadmr/checkbox/no-log-in-stress-suspend into lp:checkbox

Proposed by Daniel Manrique
Status: Merged
Approved by: Jeff Lane 
Approved revision: 2162
Merged at revision: 2161
Proposed branch: lp:~roadmr/checkbox/no-log-in-stress-suspend
Merge into: lp:checkbox
Diff against target: 53 lines (+7/-4)
2 files modified
checkbox-old/debian/changelog (+3/-0)
checkbox-old/jobs/stress.txt.in (+4/-4)
To merge this branch: bzr merge lp:~roadmr/checkbox/no-log-in-stress-suspend
Reviewer Review Type Date Requested Status
Jeff Lane  Approve
Daniel Manrique (community) Needs Resubmitting
Review via email: mp+167142@code.launchpad.net

Commit message

fixes a few inconsistencies in how the sleep_test fallback command for suspend/hibernate stress tests is called.

Description of the change

This fixes a few inconsistencies in how the sleep_test fallback command for suspend/hibernate stress tests is called.

This won't fix the related bug (1186870) but makes things behave more consistently.

To post a comment you must log in.
Revision history for this message
Jeff Lane  (bladernr) wrote :

souds reasonable to me. as discussed, the proper fix is to fix the script to output the correct stuffs... perhaps we should demote the bug to Low and fix Jeffrey's bug as we have time.

review: Approve
Revision history for this message
Jeff Lane  (bladernr) wrote :

yikes... hold one... sigh... change the log file names to match the non _times_ log names.

The times names are used specifically for the sleep_time_check test as they are parsed. We are not saving the times for hibernate/resume as we dont care one bit how long that takes.

Hibernate/resume can take anywhere from a minute or two to 5 or more depending on how much ram is installed, how many pages had to be swapped to disk, how fast disk IO is, how much stuff the CPU has to do on resume, etc... it's just too wide to be reliable and too long to be of consequence, and no one cares about fixing hibernate resume time issues anyway.

review: Needs Fixing
2162. By Daniel Manrique

Fixed log file names since sleep_test does not generate timing information here

Revision history for this message
Daniel Manrique (roadmr) wrote :

Fixed as requested, thanks!

review: Needs Resubmitting
Revision history for this message
Jeff Lane  (bladernr) wrote :

awesome!

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-03 15:01:37 +0000
+++ checkbox-old/debian/changelog 2013-06-03 21:09:27 +0000
@@ -15,6 +15,9 @@
15 appropriate radio button in showTest if the test already has a result set15 appropriate radio button in showTest if the test already has a result set
16 rather than just defaulting to skip always (LP: #1181952)16 rather than just defaulting to skip always (LP: #1181952)
1717
18 [ Daniel Manrique ]
19 * jobs/stress.txt.in: fixed a few inconsistent invocations of sleep_test.
20
18 -- Brendan Donegan <brendan.donegan@canonical.com> Fri, 31 May 2013 16:04:42 +010021 -- Brendan Donegan <brendan.donegan@canonical.com> Fri, 31 May 2013 16:04:42 +0100
1922
20checkbox (0.16.3) saucy; urgency=low23checkbox (0.16.3) saucy; urgency=low
2124
=== modified file 'checkbox-old/jobs/stress.txt.in'
--- checkbox-old/jobs/stress.txt.in 2013-05-29 07:50:30 +0000
+++ checkbox-old/jobs/stress.txt.in 2013-06-03 21:09:27 +0000
@@ -19,7 +19,7 @@
19 fwts_test -l $CHECKBOX_DATA/hibernate_30_cycles -f none -s s4 --s4-device-check --s4-device-check-delay=45 --s4-sleep-delay=120 --s4-multiple=3019 fwts_test -l $CHECKBOX_DATA/hibernate_30_cycles -f none -s s4 --s4-device-check --s4-device-check-delay=45 --s4-sleep-delay=120 --s4-multiple=30
20 else20 else
21 echo "Calling sleep_test"21 echo "Calling sleep_test"
22 sleep_test -s disk -i 30 -w 12022 set -o pipefail; sleep_test -s disk -i 30 -w 120 | tee $CHECKBOX_DATA/hibernate_30_cycles.log
23 fi23 fi
24_description:24_description:
25 PURPOSE:25 PURPOSE:
@@ -48,7 +48,7 @@
48 set -o pipefail; fwts_test -l $CHECKBOX_DATA/suspend_30_cycles -f none -s s3 --s3-device-check --s3-device-check-delay=45 --s3-sleep-delay=30 --s3-multiple=30 | tee $CHECKBOX_DATA/suspend_30_cycles_times.log48 set -o pipefail; fwts_test -l $CHECKBOX_DATA/suspend_30_cycles -f none -s s3 --s3-device-check --s3-device-check-delay=45 --s3-sleep-delay=30 --s3-multiple=30 | tee $CHECKBOX_DATA/suspend_30_cycles_times.log
49 else49 else
50 echo "Calling sleep_test"50 echo "Calling sleep_test"
51 set -o pipefail; sleep_test -p s mem -i 30 | tee $CHECKBOX_DATA/suspend_30_cycles_times.log51 set -o pipefail; sleep_test -p -s mem -i 30 | tee $CHECKBOX_DATA/suspend_30_cycles.log
52 fi52 fi
53_description:53_description:
54 PURPOSE:54 PURPOSE:
@@ -83,7 +83,7 @@
83 fwts_test -l $CHECKBOX_DATA/hibernate_250_cycles -s s4 --s4-device-check --s4-device-check-delay=45 --s4-sleep-delay=120 --s4-multiple=25083 fwts_test -l $CHECKBOX_DATA/hibernate_250_cycles -s s4 --s4-device-check --s4-device-check-delay=45 --s4-sleep-delay=120 --s4-multiple=250
84 else84 else
85 echo "Calling sleep_test"85 echo "Calling sleep_test"
86 sleep_test -s disk -i 250 -w 12086 set -o pipefail; sleep_test -s disk -i 250 -w 120 | tee $CHECKBOX_DATA/hibernate_250_cycles.log
87 fi87 fi
88_description:88_description:
89 PURPOSE:89 PURPOSE:
@@ -106,7 +106,7 @@
106 set -o pipefail; fwts_test -l $CHECKBOX_DATA/suspend_250_cycles -s s3 --s3-device-check --s3-device-check-delay=45 --s3-sleep-delay=30 --s3-multiple=250 | tee $CHECKBOX_DATA/suspend_250_cycles_times.log106 set -o pipefail; fwts_test -l $CHECKBOX_DATA/suspend_250_cycles -s s3 --s3-device-check --s3-device-check-delay=45 --s3-sleep-delay=30 --s3-multiple=250 | tee $CHECKBOX_DATA/suspend_250_cycles_times.log
107 else107 else
108 echo "Calling sleep_test"108 echo "Calling sleep_test"
109 set -o pipefail; sleep_test -p s mem -i 250 | tee $CHECKBOX_DATA/suspend_250_cycles_times.log109 set -o pipefail; sleep_test -p -s mem -i 250 | tee $CHECKBOX_DATA/suspend_250_cycles.log
110 fi110 fi
111_description:111_description:
112 PURPOSE:112 PURPOSE:

Subscribers

People subscribed via source and target branches