From f7a14619791716a90eaa881e07565d2f7fe719f6 Mon Sep 17 00:00:00 2001 From: Rod Smith Date: Fri, 15 Jul 2016 09:49:30 -0400 Subject: providers:checkbox: Added new disk_stress_ng test based on stress-ng --- jobs/disk.txt.in | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'jobs') diff --git a/jobs/disk.txt.in b/jobs/disk.txt.in index 9dc8c40..0ed85dc 100644 --- a/jobs/disk.txt.in +++ b/jobs/disk.txt.in @@ -67,6 +67,20 @@ _summary: Disk I/O stress test for {product} _description: Disk I/O stress test for {product} command: storage_test {name} +unit: template +template-resource: device +template-filter: device.category == 'DISK' +plugin: shell +category_id: 2013.com.canonical.plainbox::disk +id: disk/disk_stress_ng_{name} +estimated_duration: 4560.0 +user: root +requires: + block_device.{name}_state != 'removable' +_summary: Disk stress_ng test for {product} +_description: Disk stress_ng test for {product} +command: disk_stress_ng --disk-device {name} --base-time 240 --really-run + plugin: shell category_id: 2013.com.canonical.plainbox::disk id: disk/spindown -- cgit v1.2.3 From 1e71c2b6d0b990edcda3fa210c2ab677c92915fd Mon Sep 17 00:00:00 2001 From: Rod Smith Date: Mon, 18 Jul 2016 13:39:37 -0400 Subject: Made changes to new disk_stress_ng script per Jeff's comments --- jobs/disk.txt.in | 1 + 1 file changed, 1 insertion(+) (limited to 'jobs') diff --git a/jobs/disk.txt.in b/jobs/disk.txt.in index 0ed85dc..14153d6 100644 --- a/jobs/disk.txt.in +++ b/jobs/disk.txt.in @@ -76,6 +76,7 @@ id: disk/disk_stress_ng_{name} estimated_duration: 4560.0 user: root requires: + package.name == 'stress-ng' block_device.{name}_state != 'removable' _summary: Disk stress_ng test for {product} _description: Disk stress_ng test for {product} -- cgit v1.2.3 From 27d58566b28c03c5f177c566dc67a3d06253dc22 Mon Sep 17 00:00:00 2001 From: Rod Smith Date: Mon, 18 Jul 2016 13:56:59 -0400 Subject: Forgot to change the call in disk.txt.in for new disk_stress_ng calling syntax. --- jobs/disk.txt.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jobs') diff --git a/jobs/disk.txt.in b/jobs/disk.txt.in index 14153d6..dfe28ce 100644 --- a/jobs/disk.txt.in +++ b/jobs/disk.txt.in @@ -80,7 +80,7 @@ requires: block_device.{name}_state != 'removable' _summary: Disk stress_ng test for {product} _description: Disk stress_ng test for {product} -command: disk_stress_ng --disk-device {name} --base-time 240 --really-run +command: disk_stress_ng {name} --base-time 240 --really-run plugin: shell category_id: 2013.com.canonical.plainbox::disk -- cgit v1.2.3