ceph/qa
Sage Weil 929c11bf16 Merge pull request #16883 from liewegas/wip-20939
crush,mon: fix weight-set vs crush device classes

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-13 13:59:43 -05:00
..
archs
btrfs
cephfs mds: MDS_DAMAGED to MDS_DAMAGE 2017-08-04 13:01:33 -07:00
client
clusters qa/clusters/fixed-[23]: 4 osds per node, not 3 2017-08-07 13:36:05 -04:00
config
debug
distros
erasure-code qa/suites/rados/thrash-erasure-code-big: add k=4 m=2 2017-08-03 22:50:16 -04:00
libceph
machine_types
mds
mon/bootstrap
mon_kv_backend
nightlies
objectstore qa/objectstore/bluestore-bitmap: test bluestore bitmap allocator too 2017-08-08 12:15:16 -04:00
objectstore_cephfs
overrides
packages
qa_scripts
rbd
releases
rgw_pool_type
standalone Merge pull request #16961 from xiexingguo/wip-class-rename 2017-08-11 06:18:57 -07:00
suites qa/suites/rados/objectstore/objectstore: less debug 2017-08-13 14:41:43 -04:00
tasks Merge pull request #16954 from gregsfortytwo/wip-20891-pool-metadata 2017-08-10 21:29:37 -05:00
timezone
workunits qa/workunits/mon/crush_ops.sh: test weight sets vs device classes 2017-08-11 09:40:11 -04:00
.gitignore
Makefile
README
loopall.sh
run-standalone.sh qa: Add support for core dumps 2017-08-10 12:37:04 -07:00
run_xfstests-obsolete.sh
run_xfstests.sh
run_xfstests_krbd.sh
run_xfstests_qemu.sh
runallonce.sh
runoncfuse.sh
runonkclient.sh
setup-chroot.sh
tox.ini

README

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