]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
add valgrind collection to regression suite
authorSage Weil <sage@newdream.net>
Tue, 21 Feb 2012 18:02:44 +0000 (10:02 -0800)
committerSage Weil <sage@newdream.net>
Tue, 21 Feb 2012 18:02:44 +0000 (10:02 -0800)
Run a smaller set of tests with valgrind on the mon, osd, and mds.

Valgrind is currently ignoring leaks, but this will pick up use-after-free
and similar badness.

suites/regression/valgrind/clusters/fixed-3.yaml [new symlink]
suites/regression/valgrind/fs/btrfs.yaml [new file with mode: 0644]
suites/regression/valgrind/tasks/cfuse_dbench.yaml [new file with mode: 0644]
suites/regression/valgrind/tasks/cfuse_workunit_suites_fsstress.yaml [new file with mode: 0644]
suites/regression/valgrind/tasks/libcephfs_interface_tests.yaml [new file with mode: 0644]
suites/regression/valgrind/tasks/mon_recovery.yaml [new file with mode: 0644]
suites/regression/valgrind/tasks/rados_api_tests.yaml [new file with mode: 0644]
suites/regression/valgrind/tasks/rgw_s3tests.yaml [new file with mode: 0644]
suites/regression/valgrind/valgrind/valgrind.yaml [new file with mode: 0644]

diff --git a/suites/regression/valgrind/clusters/fixed-3.yaml b/suites/regression/valgrind/clusters/fixed-3.yaml
new file mode 120000 (symlink)
index 0000000..a3ac9fc
--- /dev/null
@@ -0,0 +1 @@
+../../../../clusters/fixed-3.yaml
\ No newline at end of file
diff --git a/suites/regression/valgrind/fs/btrfs.yaml b/suites/regression/valgrind/fs/btrfs.yaml
new file mode 100644 (file)
index 0000000..0e9746f
--- /dev/null
@@ -0,0 +1,3 @@
+overrides:
+  ceph:
+    fs: btrfs
diff --git a/suites/regression/valgrind/tasks/cfuse_dbench.yaml b/suites/regression/valgrind/tasks/cfuse_dbench.yaml
new file mode 100644 (file)
index 0000000..66f8bb1
--- /dev/null
@@ -0,0 +1,9 @@
+tasks:
+- ceph:
+    conf:
+      client:
+        debug client: 20
+        debug ms: 1
+- ceph-fuse:
+- autotest:
+    all: [dbench]
diff --git a/suites/regression/valgrind/tasks/cfuse_workunit_suites_fsstress.yaml b/suites/regression/valgrind/tasks/cfuse_workunit_suites_fsstress.yaml
new file mode 100644 (file)
index 0000000..b1b5c7c
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- ceph:
+- ceph-fuse:
+- workunit:
+    all:
+      - suites/fsstress.sh
diff --git a/suites/regression/valgrind/tasks/libcephfs_interface_tests.yaml b/suites/regression/valgrind/tasks/libcephfs_interface_tests.yaml
new file mode 100644 (file)
index 0000000..5829857
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- ceph:
+- ceph-fuse:
+- workunit:
+    client.0:
+      - libcephfs/test.sh
diff --git a/suites/regression/valgrind/tasks/mon_recovery.yaml b/suites/regression/valgrind/tasks/mon_recovery.yaml
new file mode 100644 (file)
index 0000000..6240d4c
--- /dev/null
@@ -0,0 +1,3 @@
+tasks:
+- ceph:
+- mon_recovery:
diff --git a/suites/regression/valgrind/tasks/rados_api_tests.yaml b/suites/regression/valgrind/tasks/rados_api_tests.yaml
new file mode 100644 (file)
index 0000000..5e1587b
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- ceph:
+- ceph-fuse:
+- workunit:
+    client.0:
+      - rados/test.sh
diff --git a/suites/regression/valgrind/tasks/rgw_s3tests.yaml b/suites/regression/valgrind/tasks/rgw_s3tests.yaml
new file mode 100644 (file)
index 0000000..13d265d
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- ceph:
+- rgw: [client.0]
+- s3tests:
+    client.0:
+      rgw_server: client.0
diff --git a/suites/regression/valgrind/valgrind/valgrind.yaml b/suites/regression/valgrind/valgrind/valgrind.yaml
new file mode 100644 (file)
index 0000000..2cbef8a
--- /dev/null
@@ -0,0 +1,6 @@
+overrides:
+  ceph:
+    valgrind:
+      mon: [--tool=memcheck]
+      osd: [--tool=memcheck]
+      mds: [--tool=memcheck]