From d8959a37af49e263954a0094886cc0364e99b0a2 Mon Sep 17 00:00:00 2001 From: Daniel Manrique Date: Mon, 28 Jul 2014 11:17:07 -0400 Subject: 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) --- jobs/disk.txt.in | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'jobs') 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 -- cgit v1.2.3