ceph/qa
Sage Weil 6383fa5b30 qa/workunits/mgr/test_localpool: simple test for localpool mode
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-25 12:34:53 -04:00
..
archs
btrfs
cephfs
client
clusters
config
debug
distros
erasure-code
libceph
machine_types Merge pull request #16494 from asomers/bin_bash 2017-08-27 10:14:14 +08:00
mds
mon/bootstrap
mon_kv_backend
nightlies
objectstore
objectstore_cephfs
overrides qa/overrides/2-size-2-min-size: whitelist REQUEST_STUCK 2017-08-24 15:50:45 -04:00
packages
qa_scripts Merge pull request #16494 from asomers/bin_bash 2017-08-27 10:14:14 +08:00
rbd
releases qa/suites/rados/upgrade: jewel-x -> luminous-x 2017-08-28 23:11:27 -04:00
rgw_pool_type
standalone mon/OSDMonitor: make 'osd crush class rename' idempotent 2017-08-29 10:43:35 +08:00
suites qa/workunits/mgr/test_localpool: simple test for localpool mode 2017-09-25 12:34:53 -04:00
tasks qa/tasks/ceph_manager: revive osds before doing final rerr reset 2017-08-31 14:55:46 -04:00
timezone
workunits qa/workunits/mgr/test_localpool: simple test for localpool mode 2017-09-25 12:34:53 -04:00
.gitignore
loopall.sh
Makefile
README
run_xfstests_qemu.sh
run_xfstests-obsolete.sh
run_xfstests.sh qa/run_xfstests.sh: quit building xfstests on test nodes 2017-08-29 16:08:27 +02:00
run-standalone.sh tests: run-standalone.sh skip core_pattern if already set 2017-08-18 10:27:12 -07:00
runallonce.sh
runoncfuse.sh
runonkclient.sh
setup-chroot.sh
tox.ini

ceph-qa-suite
-------------

clusters/    - some predefined cluster layouts
suites/      - set suite

The suites directory has a hierarchical collection of tests.  This can be
freeform, but generally follows the convention of

  suites/<test suite name>/<test group>/...

A test is described by a yaml fragment.

A test can exist as a single .yaml file in the directory tree.  For example:

 suites/foo/one.yaml
 suites/foo/two.yaml

is a simple group of two tests.

A directory with a magic '+' file represents a test that combines all
other items in the directory into a single yaml fragment.  For example:

 suites/foo/bar/+
 suites/foo/bar/a.yaml
 suites/foo/bar/b.yaml
 suites/foo/bar/c.yaml

is a single test consisting of a + b + c.

A directory with a magic '%' file represents a test matrix formed from
all other items in the directory.  For example,

 suites/baz/%
 suites/baz/a.yaml
 suites/baz/b/b1.yaml
 suites/baz/b/b2.yaml
 suites/baz/c.yaml
 suites/baz/d/d1.yaml
 suites/baz/d/d2.yaml

is a 4-dimensional test matrix.  Two dimensions (a, c) are trivial (1
item), so this is really 2x2 = 4 tests, which are

  a + b1 + c + d1
  a + b1 + c + d2
  a + b2 + c + d1
  a + b2 + c + d2

Symlinks are okay.

The teuthology code can be found in https://github.com/ceph/teuthology.git