diff mbox

[3/3] KVM test: Adding softlockup tests to tests_base.cfg.sample

Message ID 1309232879-30465-4-git-send-email-lmr@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lucas Meneghel Rodrigues June 28, 2011, 3:47 a.m. UTC
Signed-off-by: Pradeep K Surisetty <psuriset@linux.vnet.ibm.com>
---
 client/tests/kvm/tests_base.cfg.sample |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample
index 4db011d..31ea0d6 100644
--- a/client/tests/kvm/tests_base.cfg.sample
+++ b/client/tests/kvm/tests_base.cfg.sample
@@ -347,6 +347,19 @@  variants:
         extra_params += " -watchdog i6300esb -watchdog-action reset"
         relogin_timeout = 240
 
+    - softlockup: install setup unattended_install.cdrom
+        only Linux
+        type = softlockup
+        softlockup_files = stress-1.0.4.tar.gz
+        stress_setup_cmd = "cd %s && tar xvf stress-1.0.4.tar.gz && cd stress-1.0.4 && ./configure && make && make install"
+        server_setup_cmd = %s/heartbeat_slu.py --server --threshold %s --file %s --verbose --check-drift
+        client_setup_cmd = %s/heartbeat_slu.py --client --address %s --interval 1
+        stress_cmd  = "stress -c %s & "
+        monitor_log_file = /tmp/heartbeat_server.log
+        stress_threshold = 10
+        # time_to_run (hours) = 12,18, 24 hours
+        test_duration = 12
+
     - stress_boot:  install setup unattended_install.cdrom
         type = stress_boot
         max_vms = 5