ceph/qa
Kefu Chai 9ca7ccf5f1 tasks/workunit.py: specify the branch name when cloning a branch
c1309fb failed to specify a branch when cloning using --depth=1, which
by default clones the HEAD. and we can not "git checkout" a specific
sha1 if it is not HEAD, after cloning using '--depth=1', so in this
change, we dispatch "tag", "branch", "HEAD" using three Refspec classes.

Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-03-30 20:30:09 -07:00
..
archs move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
btrfs
ceph-deploy-overrides move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
cephfs qa/suites: run mgr daemon(s) 2017-03-29 11:39:26 -04:00
client
clusters qa/suites: run mgr daemon(s) 2017-03-29 11:39:26 -04:00
config qa/config/rados.yaml: enable osd_debug_verify_cached_snaps 2016-12-15 10:50:49 -08:00
config_options move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
debug move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
distros tests: update SUSE yaml facets in qa/distros/all 2017-02-08 15:27:00 +01:00
erasure-code qa/suites: run mgr daemon(s) 2017-03-29 11:39:26 -04:00
fs merge ceph-qa-suite 2016-12-14 11:29:58 -06:00
libceph
machine_types changed script name 2016-12-20 15:34:56 -08:00
mds
mon/bootstrap
mon_kv_backend move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
nightlies move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
objectstore move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
overrides tests: override yaml to set client pid file to empty string 2017-01-06 12:05:31 +01:00
packages move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
qa_scripts tests: drop obsolete Perl scripts 2017-03-13 23:19:43 +01:00
rbd
releases mon/MgrMonitor: health warn/err if no active mgr 2017-03-30 17:57:34 -04:00
rgw_pool_type move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
suites qa/suites/upgrade/jewel-x: don't initially start mgr daemons 2017-03-29 11:39:26 -04:00
tasks tasks/workunit.py: specify the branch name when cloning a branch 2017-03-30 20:30:09 -07:00
timezone move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
workunits qa/workunits/cephtool/test.sh: test_auth_profiles must include mgr 2017-03-29 11:39:26 -04:00
.gitignore move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
loopall.sh
Makefile
README move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
run_xfstests_krbd.sh
run_xfstests_qemu.sh
run_xfstests-obsolete.sh
run_xfstests.sh
runallonce.sh
runoncfuse.sh
runonkclient.sh
setup-chroot.sh
tox.ini move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00

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