fixes and move Dockerfile and install.sh to script. Make a package
diff --git a/wally/report.py b/wally/report.py
index 8fc8400..424e1fa 100644
--- a/wally/report.py
+++ b/wally/report.py
@@ -10,6 +10,7 @@
import numpy
import scipy
import matplotlib
+ matplotlib.use('svg')
import matplotlib.pyplot as plt
except ImportError:
plt = None
diff --git a/wally/start_vms.py b/wally/start_vms.py
index 432594a..9da66f4 100644
--- a/wally/start_vms.py
+++ b/wally/start_vms.py
@@ -118,7 +118,7 @@
spath = os.path.dirname(os.path.dirname(wally.__file__))
spath = os.path.join(spath, 'scripts/prepare.sh')
- cmd = "bash {spath} >/dev/null 2>&1 ".format(spath=spath)
+ cmd = "bash {spath} >/dev/null 2>&1".format(spath=spath)
subprocess.check_call(cmd, shell=True, env=env)
while True:
diff --git a/wally/suits/io/ceph.cfg b/wally/suits/io/ceph.cfg
index 4093b06..9287030 100644
--- a/wally/suits/io/ceph.cfg
+++ b/wally/suits/io/ceph.cfg
@@ -5,7 +5,7 @@
NUMJOBS_W={% 1, 5, 10, 15, 25, 40 %}
NUMJOBS_SEQ_OPS={% 1, 3, 10 %}
-ramp_time=60
+ramp_time=30
runtime=180
# ---------------------------------------------------------------------
diff --git a/wally/suits/io/fio.py b/wally/suits/io/fio.py
index c009c3d..275c1ed 100644
--- a/wally/suits/io/fio.py
+++ b/wally/suits/io/fio.py
@@ -95,6 +95,9 @@
mm_res = {}
+ if len(res) == 0:
+ raise ValueError("No data was found")
+
for key, data in res.items():
conn_ids = sorted(conn_ids_set)
matr = [data[conn_id] for conn_id in conn_ids]
diff --git a/wally/suits/io/rrd.cfg b/wally/suits/io/rrd.cfg
index 094aa78..d6c04a0 100644
--- a/wally/suits/io/rrd.cfg
+++ b/wally/suits/io/rrd.cfg
@@ -1,12 +1,12 @@
[global]
include defaults.cfg
-ramp_time=30
-runtime=120
-numjobs={% 1,2,3 %}
+ramp_time=15
+runtime=3600
+numjobs=60
direct=1
# ---------------------------------------------------------------------
[test_{TEST_SUMM}]
-blocksize=4k
+blocksize=60k
rw=randwrite
sync=1
diff --git a/wally/suits/io/test.cfg b/wally/suits/io/test.cfg
new file mode 100644
index 0000000..296da06
--- /dev/null
+++ b/wally/suits/io/test.cfg
@@ -0,0 +1,20 @@
+[test1]
+buffered=0
+group_reporting=1
+iodepth=1
+unified_rw_reporting=1
+norandommap=1
+thread=1
+time_based=1
+wait_for_previous=1
+# this is critical for correct results in multy-node run
+randrepeat=0
+filename=/dev/rbd1
+size=10G
+ramp_time=10
+runtime=30
+numjobs=160
+sync=1
+direct=1
+blocksize=60k
+rw=randwrite