From 1f5aba674c170aae8b9e4b7d122f822eefd59f26 Mon Sep 17 00:00:00 2001 From: Vasu Kulkarni Date: Tue, 12 Sep 2017 13:49:39 -0700 Subject: [PATCH] Various whitelists for tests to pass See tracker http://tracker.ceph.com/issues/21376 for details Signed-off-by: Vasu Kulkarni --- qa/suites/smoke/basic/tasks/mon_thrash.yaml | 12 +++++++++++- qa/suites/smoke/basic/tasks/rados_api_tests.yaml | 16 ++++++++++++---- qa/suites/smoke/basic/tasks/rados_bench.yaml | 12 ++++++++++-- .../smoke/basic/tasks/rados_cache_snaps.yaml | 12 ++++++++++-- qa/suites/smoke/basic/tasks/rados_cls_all.yaml | 8 ++++++++ qa/suites/smoke/basic/tasks/rados_ec_snaps.yaml | 12 ++++++++++-- qa/suites/smoke/basic/tasks/rados_python.yaml | 8 +++++++- .../basic/tasks/rados_workunit_loadgen_mix.yaml | 4 ++++ qa/suites/smoke/basic/tasks/rbd_api_tests.yaml | 7 +++++++ qa/suites/smoke/basic/tasks/rbd_fsx.yaml | 11 +++++++++++ 10 files changed, 90 insertions(+), 12 deletions(-) diff --git a/qa/suites/smoke/basic/tasks/mon_thrash.yaml b/qa/suites/smoke/basic/tasks/mon_thrash.yaml index 591931d9f28..946c99f55f6 100644 --- a/qa/suites/smoke/basic/tasks/mon_thrash.yaml +++ b/qa/suites/smoke/basic/tasks/mon_thrash.yaml @@ -2,7 +2,17 @@ overrides: ceph: log-whitelist: - reached quota - - \(POOL_APP_NOT_ENABLED\) + - mons down + - overall HEALTH_ + - \(OSDMAP_FLAGS\) + - \(OSD_ + - \(PG_ + - \(POOL_ + - \(CACHE_POOL_ + - \(SMALLER_PGP_NUM\) + - \(OBJECT_ + - \(REQUEST_SLOW\) + - \(TOO_FEW_PGS\) conf: global: ms inject delay max: 1 diff --git a/qa/suites/smoke/basic/tasks/rados_api_tests.yaml b/qa/suites/smoke/basic/tasks/rados_api_tests.yaml index d17f60db104..38bbeb3a590 100644 --- a/qa/suites/smoke/basic/tasks/rados_api_tests.yaml +++ b/qa/suites/smoke/basic/tasks/rados_api_tests.yaml @@ -3,10 +3,18 @@ tasks: - ceph: fs: ext4 log-whitelist: - - reached quota - - but it is still running - - objects unfound and apparently lost - - (POOL_APP_NOT_ENABLED) + - overall HEALTH_ + - \(OSDMAP_FLAGS\) + - \(OSD_ + - \(PG_ + - \(POOL_ + - \(CACHE_POOL_ + - \(SMALLER_PGP_NUM\) + - \(OBJECT_ + - \(REQUEST_SLOW\) + - \(TOO_FEW_PGS\) + - reached quota + - but it is still running - thrashosds: chance_pgnum_grow: 2 chance_pgpnum_fix: 1 diff --git a/qa/suites/smoke/basic/tasks/rados_bench.yaml b/qa/suites/smoke/basic/tasks/rados_bench.yaml index f46ffb9bb57..562cf51fc36 100644 --- a/qa/suites/smoke/basic/tasks/rados_bench.yaml +++ b/qa/suites/smoke/basic/tasks/rados_bench.yaml @@ -12,8 +12,16 @@ tasks: - ceph: fs: xfs log-whitelist: - - but it is still running - - objects unfound and apparently lost + - overall HEALTH_ + - \(OSDMAP_FLAGS\) + - \(OSD_ + - \(PG_ + - \(POOL_ + - \(CACHE_POOL_ + - \(SMALLER_PGP_NUM\) + - \(OBJECT_ + - \(REQUEST_SLOW\) + - \(TOO_FEW_PGS\) - thrashosds: chance_pgnum_grow: 2 chance_pgpnum_fix: 1 diff --git a/qa/suites/smoke/basic/tasks/rados_cache_snaps.yaml b/qa/suites/smoke/basic/tasks/rados_cache_snaps.yaml index e7d9e89f7d7..8b14092d5c6 100644 --- a/qa/suites/smoke/basic/tasks/rados_cache_snaps.yaml +++ b/qa/suites/smoke/basic/tasks/rados_cache_snaps.yaml @@ -2,8 +2,16 @@ tasks: - install: null - ceph: log-whitelist: - - but it is still running - - objects unfound and apparently lost + - overall HEALTH_ + - \(OSDMAP_FLAGS\) + - \(OSD_ + - \(PG_ + - \(POOL_ + - \(CACHE_POOL_ + - \(SMALLER_PGP_NUM\) + - \(OBJECT_ + - \(REQUEST_SLOW\) + - \(TOO_FEW_PGS\) - thrashosds: chance_pgnum_grow: 2 chance_pgpnum_fix: 1 diff --git a/qa/suites/smoke/basic/tasks/rados_cls_all.yaml b/qa/suites/smoke/basic/tasks/rados_cls_all.yaml index 7f18a7e95bd..a3e4980dfd9 100644 --- a/qa/suites/smoke/basic/tasks/rados_cls_all.yaml +++ b/qa/suites/smoke/basic/tasks/rados_cls_all.yaml @@ -1,3 +1,11 @@ +overrides: + ceph: + conf: + osd: + osd_class_load_list: "cephfs hello journal lock log numops rbd refcount + replica_log rgw sdk statelog timeindex user version" + osd_class_default_list: "cephfs hello journal lock log numops rbd refcount + replica_log rgw sdk statelog timeindex user version" tasks: - install: - ceph: diff --git a/qa/suites/smoke/basic/tasks/rados_ec_snaps.yaml b/qa/suites/smoke/basic/tasks/rados_ec_snaps.yaml index a2e23ae602e..c83d08b4ece 100644 --- a/qa/suites/smoke/basic/tasks/rados_ec_snaps.yaml +++ b/qa/suites/smoke/basic/tasks/rados_ec_snaps.yaml @@ -3,8 +3,16 @@ tasks: - ceph: fs: xfs log-whitelist: - - but it is still running - - objects unfound and apparently lost + - overall HEALTH_ + - \(OSDMAP_FLAGS\) + - \(OSD_ + - \(PG_ + - \(POOL_ + - \(CACHE_POOL_ + - \(SMALLER_PGP_NUM\) + - \(OBJECT_ + - \(REQUEST_SLOW\) + - \(TOO_FEW_PGS\) - thrashosds: chance_pgnum_grow: 3 chance_pgpnum_fix: 1 diff --git a/qa/suites/smoke/basic/tasks/rados_python.yaml b/qa/suites/smoke/basic/tasks/rados_python.yaml index c6d2ceea384..2a802cd63e7 100644 --- a/qa/suites/smoke/basic/tasks/rados_python.yaml +++ b/qa/suites/smoke/basic/tasks/rados_python.yaml @@ -2,7 +2,13 @@ tasks: - install: - ceph: log-whitelist: - - but it is still running + - but it is still running + - overall HEALTH_ + - \(OSDMAP_FLAGS\) + - \(PG_ + - \(OSD_ + - \(OBJECT_ + - \(POOL_APP_NOT_ENABLED\) - ceph-fuse: - workunit: clients: diff --git a/qa/suites/smoke/basic/tasks/rados_workunit_loadgen_mix.yaml b/qa/suites/smoke/basic/tasks/rados_workunit_loadgen_mix.yaml index 0d472a33b79..5e82e9842e6 100644 --- a/qa/suites/smoke/basic/tasks/rados_workunit_loadgen_mix.yaml +++ b/qa/suites/smoke/basic/tasks/rados_workunit_loadgen_mix.yaml @@ -2,6 +2,10 @@ tasks: - install: - ceph: fs: ext4 + log-whitelist: + - but it is still running + - overall HEALTH_ + - \(POOL_APP_NOT_ENABLED\) - ceph-fuse: - workunit: clients: diff --git a/qa/suites/smoke/basic/tasks/rbd_api_tests.yaml b/qa/suites/smoke/basic/tasks/rbd_api_tests.yaml index a0dda21a51f..f7245bab6fc 100644 --- a/qa/suites/smoke/basic/tasks/rbd_api_tests.yaml +++ b/qa/suites/smoke/basic/tasks/rbd_api_tests.yaml @@ -1,6 +1,13 @@ tasks: - install: - ceph: + log-whitelist: + - overall HEALTH_ + - \(OSDMAP_FLAGS\) + - \(OSD_ + - \(PG_ + - \(POOL_ + - \(CACHE_POOL_ fs: xfs - ceph-fuse: - workunit: diff --git a/qa/suites/smoke/basic/tasks/rbd_fsx.yaml b/qa/suites/smoke/basic/tasks/rbd_fsx.yaml index ed737a3333e..cbb5aedcc51 100644 --- a/qa/suites/smoke/basic/tasks/rbd_fsx.yaml +++ b/qa/suites/smoke/basic/tasks/rbd_fsx.yaml @@ -1,5 +1,16 @@ overrides: ceph: + log-whitelist: + - overall HEALTH_ + - \(OSDMAP_FLAGS\) + - \(OSD_ + - \(PG_ + - \(POOL_ + - \(CACHE_POOL_ + - \(SMALLER_PGP_NUM\) + - \(OBJECT_ + - \(REQUEST_SLOW\) + - \(TOO_FEW_PGS\) conf: client: rbd cache: true -- 2.39.5