ceph/qa
John Spray 7f7f44ea5c qa/tasks: force umount during kclient teardown
Previously we could readily end up hanging on teardown
when something had gone wrong with umount.  Forcing
is a big hammer (umount_wait will power cycle the node
if umount isn't working), so if we had to do that
then raise an exception to indicate that something
was wrong with the test.

Fixes: http://tracker.ceph.com/issues/18663
Signed-off-by: John Spray <john.spray@redhat.com>
2017-02-01 00:26:59 +00: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 move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
client
clusters move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06: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 qa/distros: make centos_latest 7.3 2017-01-16 09:36:19 -05:00
erasure-code move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06: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 rbd_cli_tests.pl and RbdLib.pm 2017-01-08 16:17:08 +01:00
rbd
releases move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
rgw_pool_type move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
suites Merge pull request #13071 from liewegas/wip-omap-getkeys-rados-test 2017-01-30 21:43:17 -06:00
tasks qa/tasks: force umount during kclient teardown 2017-02-01 00:26:59 +00:00
timezone move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
workunits qa/workunits/rest: use unique pool names for cephfs test 2017-01-30 11:14:31 -05: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