]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
add smoke suite
authorSage Weil <sage@newdream.net>
Sun, 25 Mar 2012 04:47:15 +0000 (21:47 -0700)
committerSage Weil <sage@newdream.net>
Sun, 25 Mar 2012 04:47:15 +0000 (21:47 -0700)
This could probably be collapsed into a bunch of singleton tasks to make
it simpler to track how many actual jobs result, but it was simpler to
make it a subset of regression.  And probably that'll be easier to maintain
moving forward.

Tried to avoid any jobs that took more than 10 minutes (tho there are a few
in here).  Kept both valgrind and lockdep jobs, and dropped many of those
from the basic collection (esp api tests).

We'll see how long this takes on plana and adjust up/down from there,
depending on how long we want to wait for it.

45 files changed:
suites/smoke/basic/clusters/fixed-3.yaml [new symlink]
suites/smoke/basic/fs/btrfs.yaml [new file with mode: 0644]
suites/smoke/basic/tasks/cfuse_workunit_suites_blogbench.yaml [new file with mode: 0644]
suites/smoke/basic/tasks/cfuse_workunit_suites_fsstress.yaml [new file with mode: 0644]
suites/smoke/basic/tasks/cfuse_workunit_suites_iozone.yaml [new file with mode: 0644]
suites/smoke/basic/tasks/cfuse_workunit_suites_pjd.yaml [new file with mode: 0644]
suites/smoke/basic/tasks/kclient_workunit_direct_io.yaml [new file with mode: 0644]
suites/smoke/basic/tasks/kclient_workunit_suites_dbench.yaml [new file with mode: 0644]
suites/smoke/basic/tasks/kclient_workunit_suites_fsstress.yaml [new file with mode: 0644]
suites/smoke/basic/tasks/kclient_workunit_suites_pjd.yaml [new file with mode: 0644]
suites/smoke/basic/tasks/libcephfs_interface_tests.yaml [new file with mode: 0644]
suites/smoke/basic/tasks/rados_python.yaml [new file with mode: 0644]
suites/smoke/basic/tasks/rados_workunit_loadgen_mix.yaml [new file with mode: 0644]
suites/smoke/basic/tasks/rbd_api_tests.yaml [new file with mode: 0644]
suites/smoke/basic/tasks/rbd_cli_import_export.yaml [new file with mode: 0644]
suites/smoke/basic/tasks/rbd_python_api_tests.yaml [new file with mode: 0644]
suites/smoke/basic/tasks/rbd_workunit_suites_iozone.yaml [new file with mode: 0644]
suites/smoke/multiclient/clusters/two_clients.yaml [new file with mode: 0644]
suites/smoke/multiclient/fs/btrfs.yaml [new file with mode: 0644]
suites/smoke/multiclient/tasks/locktest.yaml [new file with mode: 0644]
suites/smoke/multifs/clusters/fixed-3.yaml [new symlink]
suites/smoke/multifs/fs/btrfs.yaml [new file with mode: 0644]
suites/smoke/multifs/tasks/rgw_s3tests.yaml [new file with mode: 0644]
suites/smoke/multimon/clusters/6.yaml [new file with mode: 0644]
suites/smoke/multimon/tasks/mon_recovery.yaml [new file with mode: 0644]
suites/smoke/singleton/all/filestore-idempotent.yaml [new file with mode: 0644]
suites/smoke/singleton/all/osd-backfill.yaml [new file with mode: 0644]
suites/smoke/singleton/all/thrash-rados.yaml [new file with mode: 0644]
suites/smoke/singleton/fs/btrfs.yaml [new file with mode: 0644]
suites/smoke/thrash/clusters/6-osd-3-machine.yaml [new file with mode: 0644]
suites/smoke/thrash/fs/xfs.yaml [new file with mode: 0644]
suites/smoke/thrash/thrashers/default.yaml [new file with mode: 0644]
suites/smoke/thrash/workloads/admin_socket_objecter_requests.yaml [new file with mode: 0644]
suites/smoke/thrash/workloads/kclient_workunit_suites_ffsb.yaml [new file with mode: 0644]
suites/smoke/thrash/workloads/rbd_workunit_suites_iozone.yaml.disabled [new file with mode: 0644]
suites/smoke/thrash/workloads/snaps-few-objects.yaml [new file with mode: 0644]
suites/smoke/verify/clusters/fixed-3.yaml [new symlink]
suites/smoke/verify/fs/btrfs.yaml [new file with mode: 0644]
suites/smoke/verify/tasks/cfuse_workunit_suites_fsstress.yaml [new file with mode: 0644]
suites/smoke/verify/tasks/libcephfs_interface_tests.yaml [new file with mode: 0644]
suites/smoke/verify/tasks/mon_recovery.yaml [new file with mode: 0644]
suites/smoke/verify/tasks/rados_api_tests.yaml [new file with mode: 0644]
suites/smoke/verify/tasks/rgw_s3tests.yaml [new file with mode: 0644]
suites/smoke/verify/validater/lockdep.yaml [new file with mode: 0644]
suites/smoke/verify/validater/valgrind.yaml [new file with mode: 0644]

diff --git a/suites/smoke/basic/clusters/fixed-3.yaml b/suites/smoke/basic/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/smoke/basic/fs/btrfs.yaml b/suites/smoke/basic/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/smoke/basic/tasks/cfuse_workunit_suites_blogbench.yaml b/suites/smoke/basic/tasks/cfuse_workunit_suites_blogbench.yaml
new file mode 100644 (file)
index 0000000..a9ea8ca
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- ceph:
+- ceph-fuse:
+- workunit:
+    all:
+      - suites/blogbench.sh
diff --git a/suites/smoke/basic/tasks/cfuse_workunit_suites_fsstress.yaml b/suites/smoke/basic/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/smoke/basic/tasks/cfuse_workunit_suites_iozone.yaml b/suites/smoke/basic/tasks/cfuse_workunit_suites_iozone.yaml
new file mode 100644 (file)
index 0000000..05dea92
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- ceph:
+- ceph-fuse: [client.0]
+- workunit:
+    all:
+      - suites/iozone.sh
\ No newline at end of file
diff --git a/suites/smoke/basic/tasks/cfuse_workunit_suites_pjd.yaml b/suites/smoke/basic/tasks/cfuse_workunit_suites_pjd.yaml
new file mode 100644 (file)
index 0000000..0e5e7a5
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- ceph:
+- ceph-fuse:
+- workunit:
+    all:
+      - suites/pjd.sh
diff --git a/suites/smoke/basic/tasks/kclient_workunit_direct_io.yaml b/suites/smoke/basic/tasks/kclient_workunit_direct_io.yaml
new file mode 100644 (file)
index 0000000..d66d2f2
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+- ceph:
+- kclient:
+- workunit:
+    all:
+      - direct_io
+
diff --git a/suites/smoke/basic/tasks/kclient_workunit_suites_dbench.yaml b/suites/smoke/basic/tasks/kclient_workunit_suites_dbench.yaml
new file mode 100644 (file)
index 0000000..d69f29a
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- ceph:
+- kclient:
+- workunit:
+    all:
+      - suites/dbench.sh
diff --git a/suites/smoke/basic/tasks/kclient_workunit_suites_fsstress.yaml b/suites/smoke/basic/tasks/kclient_workunit_suites_fsstress.yaml
new file mode 100644 (file)
index 0000000..dbadd76
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- ceph:
+- kclient:
+- workunit:
+    all:
+      - suites/fsstress.sh
diff --git a/suites/smoke/basic/tasks/kclient_workunit_suites_pjd.yaml b/suites/smoke/basic/tasks/kclient_workunit_suites_pjd.yaml
new file mode 100644 (file)
index 0000000..2f3e4a9
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- ceph:
+- kclient:
+- workunit:
+    all:
+      - suites/pjd.sh
diff --git a/suites/smoke/basic/tasks/libcephfs_interface_tests.yaml b/suites/smoke/basic/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/smoke/basic/tasks/rados_python.yaml b/suites/smoke/basic/tasks/rados_python.yaml
new file mode 100644 (file)
index 0000000..09d25c5
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- ceph:
+- ceph-fuse:
+- workunit:
+    client.0:
+      - rados/test_python.sh
diff --git a/suites/smoke/basic/tasks/rados_workunit_loadgen_mix.yaml b/suites/smoke/basic/tasks/rados_workunit_loadgen_mix.yaml
new file mode 100644 (file)
index 0000000..85c1256
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- ceph:
+- ceph-fuse:
+- workunit:
+    all:
+      - rados/load-gen-mix.sh
diff --git a/suites/smoke/basic/tasks/rbd_api_tests.yaml b/suites/smoke/basic/tasks/rbd_api_tests.yaml
new file mode 100644 (file)
index 0000000..0030153
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- ceph:
+- ceph-fuse:
+- workunit:
+    client.0:
+      - rbd/test_librbd.sh
diff --git a/suites/smoke/basic/tasks/rbd_cli_import_export.yaml b/suites/smoke/basic/tasks/rbd_cli_import_export.yaml
new file mode 100644 (file)
index 0000000..d15d5bc
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- ceph:
+- ceph-fuse:
+- workunit:
+    client.0:
+      - rbd/import_export.sh
diff --git a/suites/smoke/basic/tasks/rbd_python_api_tests.yaml b/suites/smoke/basic/tasks/rbd_python_api_tests.yaml
new file mode 100644 (file)
index 0000000..0af64ba
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- ceph:
+- ceph-fuse:
+- workunit:
+    client.0:
+      - rbd/test_librbd_python.sh
diff --git a/suites/smoke/basic/tasks/rbd_workunit_suites_iozone.yaml b/suites/smoke/basic/tasks/rbd_workunit_suites_iozone.yaml
new file mode 100644 (file)
index 0000000..4578ac5
--- /dev/null
@@ -0,0 +1,8 @@
+tasks:
+- ceph:
+- rbd:
+    all:
+      image_size: 20480
+- workunit:
+    all:
+      - suites/iozone.sh
diff --git a/suites/smoke/multiclient/clusters/two_clients.yaml b/suites/smoke/multiclient/clusters/two_clients.yaml
new file mode 100644 (file)
index 0000000..d062b8c
--- /dev/null
@@ -0,0 +1,4 @@
+roles:
+- [mon.a, mon.b, mon.c, mds.a, osd.0, osd.1]
+- [client.1]
+- [client.0]
diff --git a/suites/smoke/multiclient/fs/btrfs.yaml b/suites/smoke/multiclient/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/smoke/multiclient/tasks/locktest.yaml b/suites/smoke/multiclient/tasks/locktest.yaml
new file mode 100644 (file)
index 0000000..255bbaf
--- /dev/null
@@ -0,0 +1,4 @@
+tasks:
+- ceph:
+- kclient:
+- locktest: [client.0, client.1]
diff --git a/suites/smoke/multifs/clusters/fixed-3.yaml b/suites/smoke/multifs/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/smoke/multifs/fs/btrfs.yaml b/suites/smoke/multifs/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/smoke/multifs/tasks/rgw_s3tests.yaml b/suites/smoke/multifs/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/smoke/multimon/clusters/6.yaml b/suites/smoke/multimon/clusters/6.yaml
new file mode 100644 (file)
index 0000000..662fc92
--- /dev/null
@@ -0,0 +1,4 @@
+roles:
+- [mon.a, mon.d, osd.0]
+- [mon.b, mon.e, mds.a]
+- [mon.c, mon.f, osd.1]
diff --git a/suites/smoke/multimon/tasks/mon_recovery.yaml b/suites/smoke/multimon/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/smoke/singleton/all/filestore-idempotent.yaml b/suites/smoke/singleton/all/filestore-idempotent.yaml
new file mode 100644 (file)
index 0000000..54c86f0
--- /dev/null
@@ -0,0 +1,5 @@
+roles:
+- [mon.0, osd.0, osd.1, mds.a, client.0]
+tasks:
+- ceph:
+- filestore_idempotent:
diff --git a/suites/smoke/singleton/all/osd-backfill.yaml b/suites/smoke/singleton/all/osd-backfill.yaml
new file mode 100644 (file)
index 0000000..85e3b81
--- /dev/null
@@ -0,0 +1,16 @@
+roles:
+- - mon.a
+  - mds.a
+  - osd.0
+  - osd.1
+- - mon.b
+  - mon.c
+  - osd.2
+tasks:
+- ceph:
+    log-whitelist:
+    - wrongly marked me down or wrong addr
+    conf:
+      osd:
+        osd min pg log entries: 5
+- osd_backfill:
diff --git a/suites/smoke/singleton/all/thrash-rados.yaml b/suites/smoke/singleton/all/thrash-rados.yaml
new file mode 100644 (file)
index 0000000..295a6b7
--- /dev/null
@@ -0,0 +1,21 @@
+roles:
+- - mon.a
+  - mds.0
+  - osd.0
+- - osd.1
+- - osd.2
+- - osd.3
+- - osd.4
+- - client.0
+tasks:
+- ceph:
+    log-whitelist:
+    - wrongly marked me down or wrong addr
+- thrashosds:
+    op_delay: 30
+    clean_interval: 120
+    chance_down: .5
+- ceph-fuse:
+- workunit:
+    all:
+    - rados/load-gen-mix-small.sh
diff --git a/suites/smoke/singleton/fs/btrfs.yaml b/suites/smoke/singleton/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/smoke/thrash/clusters/6-osd-3-machine.yaml b/suites/smoke/thrash/clusters/6-osd-3-machine.yaml
new file mode 100644 (file)
index 0000000..f6247eb
--- /dev/null
@@ -0,0 +1,4 @@
+roles:
+- [mon.a, osd.0, osd.1, osd.2]
+- [mds.a, osd.3, osd.4, osd.5]
+- [client.0]
diff --git a/suites/smoke/thrash/fs/xfs.yaml b/suites/smoke/thrash/fs/xfs.yaml
new file mode 100644 (file)
index 0000000..bfc3d61
--- /dev/null
@@ -0,0 +1,3 @@
+overrides:
+  ceph:
+    fs: xfs
diff --git a/suites/smoke/thrash/thrashers/default.yaml b/suites/smoke/thrash/thrashers/default.yaml
new file mode 100644 (file)
index 0000000..96f6069
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- ceph:
+    log-whitelist:
+    - wrongly marked me down or wrong addr
+    - objects unfound and apparently lost
+- thrashosds:
diff --git a/suites/smoke/thrash/workloads/admin_socket_objecter_requests.yaml b/suites/smoke/thrash/workloads/admin_socket_objecter_requests.yaml
new file mode 100644 (file)
index 0000000..bccd0b3
--- /dev/null
@@ -0,0 +1,8 @@
+tasks:
+- radosbench:
+    clients: [client.0]
+    time: 60
+- admin_socket:
+    client.0:
+      objecter_requests:
+        test: "http://ceph.newdream.net/git/?p=ceph.git;a=blob_plain;f=src/test/admin_socket/objecter_requests;hb=HEAD"
diff --git a/suites/smoke/thrash/workloads/kclient_workunit_suites_ffsb.yaml b/suites/smoke/thrash/workloads/kclient_workunit_suites_ffsb.yaml
new file mode 100644 (file)
index 0000000..bf66220
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+- kclient:
+- workunit:
+    all:
+      - suites/ffsb.sh
diff --git a/suites/smoke/thrash/workloads/rbd_workunit_suites_iozone.yaml.disabled b/suites/smoke/thrash/workloads/rbd_workunit_suites_iozone.yaml.disabled
new file mode 100644 (file)
index 0000000..1294fe8
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+- rbd:
+    all:
+      image_size: 20480
+- workunit:
+    all:
+      - suites/iozone.sh
diff --git a/suites/smoke/thrash/workloads/snaps-few-objects.yaml b/suites/smoke/thrash/workloads/snaps-few-objects.yaml
new file mode 100644 (file)
index 0000000..561bf19
--- /dev/null
@@ -0,0 +1,12 @@
+tasks:
+- rados:
+    clients: [client.0]
+    ops: 4000
+    objects: 50
+    op_weights:
+      read: 100
+      write: 100
+      delete: 50
+      snap_create: 50
+      snap_remove: 50
+      snap_rollback: 50
diff --git a/suites/smoke/verify/clusters/fixed-3.yaml b/suites/smoke/verify/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/smoke/verify/fs/btrfs.yaml b/suites/smoke/verify/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/smoke/verify/tasks/cfuse_workunit_suites_fsstress.yaml b/suites/smoke/verify/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/smoke/verify/tasks/libcephfs_interface_tests.yaml b/suites/smoke/verify/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/smoke/verify/tasks/mon_recovery.yaml b/suites/smoke/verify/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/smoke/verify/tasks/rados_api_tests.yaml b/suites/smoke/verify/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/smoke/verify/tasks/rgw_s3tests.yaml b/suites/smoke/verify/tasks/rgw_s3tests.yaml
new file mode 100644 (file)
index 0000000..c99c85f
--- /dev/null
@@ -0,0 +1,8 @@
+tasks:
+- ceph:
+- rgw:
+    client.0:
+      valgrind: [--tool=memcheck]
+- s3tests:
+    client.0:
+      rgw_server: client.0
diff --git a/suites/smoke/verify/validater/lockdep.yaml b/suites/smoke/verify/validater/lockdep.yaml
new file mode 100644 (file)
index 0000000..25f8435
--- /dev/null
@@ -0,0 +1,5 @@
+overrides:
+  ceph:
+    conf:
+      global:
+        lockdep: true
diff --git a/suites/smoke/verify/validater/valgrind.yaml b/suites/smoke/verify/validater/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]