]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
suites/rbd: add new valgrind memtest tests
authorJason Dillaman <dillaman@redhat.com>
Mon, 27 Apr 2015 07:27:55 +0000 (03:27 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 28 Apr 2015 13:44:14 +0000 (09:44 -0400)
Exercise the C-API, Python-API, and FSX under valgrind.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
suites/rbd/valgrind/% [new file with mode: 0644]
suites/rbd/valgrind/base/install.yaml [new file with mode: 0644]
suites/rbd/valgrind/clusters/fixed-1.yaml [new symlink]
suites/rbd/valgrind/fs [new symlink]
suites/rbd/valgrind/workloads/c_api_tests.yaml [new file with mode: 0644]
suites/rbd/valgrind/workloads/c_api_tests_with_object_map.yaml [new file with mode: 0644]
suites/rbd/valgrind/workloads/fsx.yaml [new file with mode: 0644]
suites/rbd/valgrind/workloads/python_api_tests.yaml [new file with mode: 0644]
suites/rbd/valgrind/workloads/python_api_tests_with_object_map.yaml [new file with mode: 0644]

diff --git a/suites/rbd/valgrind/% b/suites/rbd/valgrind/%
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/suites/rbd/valgrind/base/install.yaml b/suites/rbd/valgrind/base/install.yaml
new file mode 100644 (file)
index 0000000..2030acb
--- /dev/null
@@ -0,0 +1,3 @@
+tasks:
+- install:
+- ceph:
diff --git a/suites/rbd/valgrind/clusters/fixed-1.yaml b/suites/rbd/valgrind/clusters/fixed-1.yaml
new file mode 120000 (symlink)
index 0000000..435ea3c
--- /dev/null
@@ -0,0 +1 @@
+../../../../clusters/fixed-1.yaml
\ No newline at end of file
diff --git a/suites/rbd/valgrind/fs b/suites/rbd/valgrind/fs
new file mode 120000 (symlink)
index 0000000..3658920
--- /dev/null
@@ -0,0 +1 @@
+../basic/fs
\ No newline at end of file
diff --git a/suites/rbd/valgrind/workloads/c_api_tests.yaml b/suites/rbd/valgrind/workloads/c_api_tests.yaml
new file mode 100644 (file)
index 0000000..7f4309f
--- /dev/null
@@ -0,0 +1,8 @@
+tasks:
+- workunit:
+    clients:
+      client.0:
+        - rbd/test_librbd.sh
+    env:
+      RBD_FEATURES: "1"
+      VALGRIND: "memcheck"
diff --git a/suites/rbd/valgrind/workloads/c_api_tests_with_object_map.yaml b/suites/rbd/valgrind/workloads/c_api_tests_with_object_map.yaml
new file mode 100644 (file)
index 0000000..8eb0bd4
--- /dev/null
@@ -0,0 +1,8 @@
+tasks:
+- workunit:
+    clients:
+      client.0:
+        - rbd/test_librbd.sh
+    env:
+      RBD_FEATURES: "13"
+      VALGRIND: "memcheck"
diff --git a/suites/rbd/valgrind/workloads/fsx.yaml b/suites/rbd/valgrind/workloads/fsx.yaml
new file mode 100644 (file)
index 0000000..ebf85dc
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+- rbd_fsx:
+    clients: [client.0]
+    size: 134217728
+    valgrind: [--tool=memcheck]
diff --git a/suites/rbd/valgrind/workloads/python_api_tests.yaml b/suites/rbd/valgrind/workloads/python_api_tests.yaml
new file mode 100644 (file)
index 0000000..ae05c2d
--- /dev/null
@@ -0,0 +1,8 @@
+tasks:
+- workunit:
+    clients:
+      client.0:
+        - rbd/test_librbd_python.sh
+    env:
+      RBD_FEATURES: "1"
+      VALGRIND: "memcheck"
diff --git a/suites/rbd/valgrind/workloads/python_api_tests_with_object_map.yaml b/suites/rbd/valgrind/workloads/python_api_tests_with_object_map.yaml
new file mode 100644 (file)
index 0000000..0a989ee
--- /dev/null
@@ -0,0 +1,8 @@
+tasks:
+- workunit:
+    clients:
+      client.0:
+        - rbd/test_librbd_python.sh
+    env:
+      RBD_FEATURES: "13"
+      VALGRIND: "memcheck"