ceph/qa
Nathan Cutler db2582e25e tests: fix regression in qa/tasks/ceph_master.py
https://github.com/ceph/ceph/pull/13194 introduced a regression:

2017-02-06T16:14:23.162 INFO:tasks.thrashosds.thrasher:Traceback (most recent call last):
  File "/home/teuthworker/src/github.com_ceph_ceph_master/qa/tasks/ceph_manager.py", line 722, in wrapper
    return func(self)
  File "/home/teuthworker/src/github.com_ceph_ceph_master/qa/tasks/ceph_manager.py", line 839, in do_thrash
    self.choose_action()()
  File "/home/teuthworker/src/github.com_ceph_ceph_master/qa/tasks/ceph_manager.py", line 305, in kill_osd
    output = proc.stderr.getvalue()
AttributeError: 'NoneType' object has no attribute 'getvalue'

This is because the original patch failed to pass "stderr=StringIO()" to run().

Fixes: http://tracker.ceph.com/issues/16263
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-06 19:37:38 +01: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 #13158 from dillaman/wip-18594 2017-02-02 08:27:49 +02:00
tasks tests: fix regression in qa/tasks/ceph_master.py 2017-02-06 19:37:38 +01:00
timezone move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
workunits tests: ceph-helpers.sh reduce get_timeout_delays() verbosity 2017-02-04 17:10:49 +08: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