summaryrefslogtreecommitdiffstats
path: root/qa/suites
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2017-07-20 11:28:22 +0200
committerGitHub <noreply@github.com>2017-07-20 11:28:22 +0200
commit67db89f6c231de6225c2362ba961032d41d503e1 (patch)
tree25bf1eb6f28c651a05e55dcf4e45f2cf3eb8ac6a /qa/suites
parentMerge pull request #16424 from tchaikov/wip-assert-in-c (diff)
parentqa/suites/krbd: add luminous thrash tests (diff)
downloadceph-67db89f6c231de6225c2362ba961032d41d503e1.tar.xz
ceph-67db89f6c231de6225c2362ba961032d41d503e1.zip
Merge pull request #16428 from idryomov/wip-krbd-luminous-thrash
qa: thrash tests for backoff and upmap Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
Diffstat (limited to 'qa/suites')
-rw-r--r--qa/suites/krbd/thrash/ceph/ceph.yaml3
-rw-r--r--qa/suites/krbd/thrash/thrashers/backoff.yaml14
-rw-r--r--qa/suites/krbd/thrash/thrashers/mon-thrasher.yaml2
-rw-r--r--qa/suites/krbd/thrash/thrashers/pggrow.yaml (renamed from qa/suites/krbd/thrash/thrashers/default.yaml)9
-rw-r--r--qa/suites/krbd/thrash/thrashers/upmap.yaml16
l---------qa/suites/krbd/thrash/thrashosds-health.yaml1
-rw-r--r--qa/suites/krbd/thrash/workloads/rbd_fio.yaml6
-rw-r--r--qa/suites/krbd/thrash/workloads/rbd_workunit_suites_iozone.yaml.disabled8
8 files changed, 44 insertions, 15 deletions
diff --git a/qa/suites/krbd/thrash/ceph/ceph.yaml b/qa/suites/krbd/thrash/ceph/ceph.yaml
new file mode 100644
index 00000000000..2030acb9083
--- /dev/null
+++ b/qa/suites/krbd/thrash/ceph/ceph.yaml
@@ -0,0 +1,3 @@
+tasks:
+- install:
+- ceph:
diff --git a/qa/suites/krbd/thrash/thrashers/backoff.yaml b/qa/suites/krbd/thrash/thrashers/backoff.yaml
new file mode 100644
index 00000000000..44c86ba6d20
--- /dev/null
+++ b/qa/suites/krbd/thrash/thrashers/backoff.yaml
@@ -0,0 +1,14 @@
+overrides:
+ ceph:
+ conf:
+ osd:
+ osd backoff on peering: true
+ osd backoff on degraded: true
+ log-whitelist:
+ - wrongly marked me down
+ - objects unfound and apparently lost
+tasks:
+- thrashosds:
+ timeout: 1200
+ chance_pgnum_grow: 1
+ chance_pgpnum_fix: 1
diff --git a/qa/suites/krbd/thrash/thrashers/mon-thrasher.yaml b/qa/suites/krbd/thrash/thrashers/mon-thrasher.yaml
index 90612f21865..2ce44c8601f 100644
--- a/qa/suites/krbd/thrash/thrashers/mon-thrasher.yaml
+++ b/qa/suites/krbd/thrash/thrashers/mon-thrasher.yaml
@@ -1,6 +1,4 @@
tasks:
-- install:
-- ceph:
- mon_thrash:
revive_delay: 20
thrash_delay: 1
diff --git a/qa/suites/krbd/thrash/thrashers/default.yaml b/qa/suites/krbd/thrash/thrashers/pggrow.yaml
index 14d772583cf..1cd6d291d7a 100644
--- a/qa/suites/krbd/thrash/thrashers/default.yaml
+++ b/qa/suites/krbd/thrash/thrashers/pggrow.yaml
@@ -1,7 +1,10 @@
-tasks:
-- install:
-- ceph:
+overrides:
+ ceph:
log-whitelist:
- wrongly marked me down
- objects unfound and apparently lost
+tasks:
- thrashosds:
+ timeout: 1200
+ chance_pgnum_grow: 2
+ chance_pgpnum_fix: 1
diff --git a/qa/suites/krbd/thrash/thrashers/upmap.yaml b/qa/suites/krbd/thrash/thrashers/upmap.yaml
new file mode 100644
index 00000000000..7f7298605e8
--- /dev/null
+++ b/qa/suites/krbd/thrash/thrashers/upmap.yaml
@@ -0,0 +1,16 @@
+overrides:
+ ceph:
+ crush_tunables: optimal
+ conf:
+ mon:
+ mon osd initial require min compat client: luminous
+ log-whitelist:
+ - wrongly marked me down
+ - objects unfound and apparently lost
+tasks:
+- thrashosds:
+ timeout: 1200
+ chance_pgnum_grow: 1
+ chance_pgpnum_fix: 1
+ chance_thrash_pg_upmap: 3
+ chance_thrash_pg_upmap_items: 3
diff --git a/qa/suites/krbd/thrash/thrashosds-health.yaml b/qa/suites/krbd/thrash/thrashosds-health.yaml
new file mode 120000
index 00000000000..ebf7f34f39b
--- /dev/null
+++ b/qa/suites/krbd/thrash/thrashosds-health.yaml
@@ -0,0 +1 @@
+../../../tasks/thrashosds-health.yaml \ No newline at end of file
diff --git a/qa/suites/krbd/thrash/workloads/rbd_fio.yaml b/qa/suites/krbd/thrash/workloads/rbd_fio.yaml
index 191928e5ba1..157210f53ea 100644
--- a/qa/suites/krbd/thrash/workloads/rbd_fio.yaml
+++ b/qa/suites/krbd/thrash/workloads/rbd_fio.yaml
@@ -1,9 +1,11 @@
tasks:
- rbd_fio:
client.0:
- fio-io-size: 90%
+ fio-io-size: 100%
formats: [2]
features: [[layering,exclusive-lock]]
- io-engine: sync
+ io-engine: libaio
rw: randrw
+ bs: 1024
+ io-depth: 256
runtime: 1200
diff --git a/qa/suites/krbd/thrash/workloads/rbd_workunit_suites_iozone.yaml.disabled b/qa/suites/krbd/thrash/workloads/rbd_workunit_suites_iozone.yaml.disabled
deleted file mode 100644
index d61ede1bd66..00000000000
--- a/qa/suites/krbd/thrash/workloads/rbd_workunit_suites_iozone.yaml.disabled
+++ /dev/null
@@ -1,8 +0,0 @@
-tasks:
-- rbd:
- all:
- image_size: 20480
-- workunit:
- clients:
- all:
- - suites/iozone.sh