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
btrfs
ceph-deploy-overrides
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
config_options
debug
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
libceph
machine_types
mds
mon/bootstrap
mon_kv_backend
nightlies
objectstore
overrides tests: override yaml to set client pid file to empty string 2017-01-06 12:05:31 +01:00
packages
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
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
workunits qa/workunits/cephtool/test.sh: test_auth_profiles must include mgr 2017-03-29 11:39:26 -04:00
.gitignore
loopall.sh
Makefile
README
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

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