summaryrefslogtreecommitdiff
path: root/jobs
diff options
authorDaniel Manrique <roadmr@ubuntu.com>2014-07-28 11:18:28 -0400
committerDaniel Manrique <roadmr@ubuntu.com>2014-07-28 11:18:28 -0400
commit3c3bcf3a4c6f2bbaa11dadb03eaf59b2fa503155 (patch)
tree589c31bad6b64ffa63924ada8812476fca300d8b /jobs
parent3dbc8a7afcb114afef771cac2da674a14e7718c0 (diff)
providers:checkbox: Added estimated_duration to power-management
Estimated durations were calculated on: - Dell Latitude 3440 - 1.6 GHz Core i5 @1.6 GHz - 4 GB RAM - 500GB 5400RPM hard drive - Haswell integrated video and nVidia: GK208M [GeForce GT 740M] (hybrid)
Diffstat (limited to 'jobs')
-rw-r--r--jobs/power-management.txt.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/jobs/power-management.txt.in b/jobs/power-management.txt.in
index 51524fa..1e5fe55 100644
--- a/jobs/power-management.txt.in
+++ b/jobs/power-management.txt.in
@@ -1,5 +1,6 @@
plugin: manual
id: power-management/shutdown-boot
+estimated_duration: 300.0
_description:
PURPOSE:
This test will check your system shutdown/booting cycle.
@@ -31,6 +32,7 @@ command: [ -e ${PLAINBOX_SESSION_SHARE}/fwts-wakealarm.log ] && cat ${PLAINBOX_S
plugin: user-interact-verify
id: power-management/poweroff
+estimated_duration: 120.0
depends: power-management/fwts_wakealarm
user: root
environ: PLAINBOX_SESSION_SHARE
@@ -53,12 +55,14 @@ _description:
plugin: attachment
id: power-management/poweroff-log-attach
+estimated_duration: 1.0
command: tar cvfz ${PLAINBOX_SESSION_SHARE}/power-management_poweroff.tgz ${PLAINBOX_SESSION_SHARE}/*poweroff.1.log && cat ${PLAINBOX_SESSION_SHARE}/power-management_poweroff.tgz
_description:
This will attach any logs from the power-management/poweroff test to the results.
plugin: user-interact-verify
id: power-management/reboot
+estimated_duration: 120.0
user: root
environ: PLAINBOX_SESSION_SHARE
requires:
@@ -78,12 +82,14 @@ _description:
plugin: attachment
id: power-management/reboot-log-attach
+estimated_duration: 1.0
command: tar cvfz ${PLAINBOX_SESSION_SHARE}/power-management_reboot.tgz ${PLAINBOX_SESSION_SHARE}/*reboot.1.log && cat ${PLAINBOX_SESSION_SHARE}/power-management_reboot.tgz
_description:
This will attach any logs from the power-management/reboot test to the results.
plugin: manual
id: power-management/lid
+estimated_duration: 120.0
requires: dmi.product in ['Notebook','Laptop','Portable']
_description:
PURPOSE:
@@ -95,6 +101,7 @@ _description:
plugin: user-interact
id: power-management/lid_close
+estimated_duration: 60.0
requires: device.product == 'Lid Switch'
command:
for i in `seq 20`; do
@@ -113,6 +120,7 @@ _description:
plugin: user-interact
id: power-management/lid_open
+estimated_duration: 60.0
requires: device.product == 'Lid Switch'
command:
for i in `seq 20`; do
@@ -145,6 +153,7 @@ _description:
plugin: shell
id: power-management/tickless_idle
+estimated_duration: 1.0
requires: cpuinfo.platform in ('i386', 'x86_64', 'ppc64el', 'pSeries')
_description: Check to see if CONFIG_NO_HZ is set in the kernel (this is just a simple regression check)
command:
@@ -152,6 +161,7 @@ command:
plugin: manual
id: power-management/unplug_ac
+estimated_duration: 30.0
_description:
PURPOSE:
This test will ensure that the AC is unplugged for the battery drain tests to run.
@@ -162,6 +172,7 @@ _description:
plugin: shell
id: power-management/battery_drain_idle
+estimated_duration: 90.0
requires: package.name == 'upower'
depends: power-management/unplug_ac
_description: Checks the battery drain during idle. Reports time until empty
@@ -171,6 +182,7 @@ command:
plugin: shell
id: power-management/battery_drain_movie
+estimated_duration: 90.0
requires:
package.name == 'upower'
depends: power-management/unplug_ac
@@ -181,6 +193,7 @@ command:
plugin: shell
id: power-management/battery_drain_sleep
+estimated_duration: 140.0
user: root
requires:
package.name == 'upower'
@@ -193,6 +206,7 @@ command:
plugin: manual
id: power-management/plug_ac
+estimated_duration: 30.0
depends: power-management/battery_drain_idle power-management/battery_drain_movie power-management/battery_drain_sleep
_description:
PURPOSE:
@@ -205,6 +219,7 @@ _description:
plugin: user-interact-verify
id: power-management/reboot_manual
+estimated_duration: 120.0
user:root
command: shutdown -r now
_description:
@@ -223,6 +238,7 @@ _description:
plugin: user-interact-verify
id: power-management/shutdown_manual
+estimated_duration: 120.0
user: root
command: shutdown -h now
_description: