summaryrefslogtreecommitdiff
path: root/jobs
diff options
authorDaniel Manrique <roadmr@ubuntu.com>2014-07-28 11:17:07 -0400
committerDaniel Manrique <roadmr@ubuntu.com>2014-07-28 11:17:07 -0400
commitd8959a37af49e263954a0094886cc0364e99b0a2 (patch)
treefb8c6312f4227d8f4fef58e22c3460b7026923d6 /jobs
parent2f78057f2d3eb0e6cfdf00df91341f391f540d72 (diff)
providers:checkbox: Added estimated_duration to disk
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/disk.txt.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/jobs/disk.txt.in b/jobs/disk.txt.in
index 5d70021..6f8d28a 100644
--- a/jobs/disk.txt.in
+++ b/jobs/disk.txt.in
@@ -1,5 +1,6 @@
plugin: shell
id: disk/detect
+estimated_duration: 0.25
command: udev_resource | filter_templates -w "category=DISK" | awk -F': ' '$1 == "product" { print $2 }'
_description: Detects and displays disks attached to the system.
@@ -23,6 +24,7 @@ command:
plugin: local
_summary: SMART test
id: disk/smart
+estimated_duration: 0.30
requires:
package.name == 'smartmontools'
device.category == 'DISK'
@@ -43,6 +45,7 @@ command:
plugin: local
_summary: Verify system storage performs at or above baseline performance
id: disk/read_performance
+estimated_duration: 0.30
requires:
device.category == 'DISK'
_description: Verify system storage performs at or above baseline performance
@@ -50,6 +53,7 @@ command:
cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=DISK"'
plugin: shell
id: disk/read_performance_`ls /sys$path/block`
+ estimated_duration: 65.0
requires:
device.path == "$path"
block_device.`ls /sys$path/block`_state != 'removable'
@@ -61,6 +65,7 @@ command:
plugin: local
_summary: Verify that storage devices, such as Fibre Channel and RAID can be detected and perform under stress.
id: disk/storage_devices
+estimated_duration: 1.0
requires:
device.category == 'DISK'
_description: Verify that storage devices, such as Fibre Channel and RAID can be detected and perform under stress.
@@ -68,6 +73,7 @@ command:
cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=DISK"'
plugin: shell
id: disk/storage_device_`ls /sys$path/block`
+ estimated_duration: 375.0
user: root
requires:
device.path == "$path"
@@ -78,6 +84,7 @@ command:
plugin: shell
id: disk/spindown
+estimated_duration: 875.0
requires:
device.category == 'DISK'
package.name == 'smartmontools'
@@ -88,6 +95,7 @@ _description:
plugin: user-interact
id: disk/hdd-parking
+estimated_duration: 60.0
requires: device.category == 'DISK'
depends: input/accelerometer
user: root