ceph/qa
Marcus Watts a45ab45f74 Test bytes_sent bugs.
Rearrange logic to make it easier to measure accumulation.
Instrument the boto request/response loop to count bytes in and out.
Accumulate byte counts in usage like structure.
Compare actual usage reported by ceph against local usage measured.
Report and assert if there are any short-comings.
Remove zone placement rule that was newly added at end: tests should be rerunable.

Nit: the logic to wait for "delete_obj" is not quite right.

Fixes: http://tracker.ceph.com/issues/19870
Signed-off-by: Marcus Watts <mwatts@redhat.com>
2017-08-08 21:56:01 -04:00
..
archs
btrfs
cephfs qa: add health whitelist for all fs sub-suites 2017-08-03 14:01:28 -07:00
client
clusters
config
debug
distros
erasure-code erasure-code: ruleset-* -> crush-* 2017-07-06 15:01:03 -04:00
libceph
machine_types Added luminous to the mix 2017-07-19 09:03:23 -07:00
mds
mon/bootstrap
mon_kv_backend
nightlies
objectstore Add ceph-deploy overrides options 2017-07-25 15:10:38 -07:00
objectstore_cephfs
overrides qa: update whitelist for "wrongly marked me down" 2017-07-24 14:54:46 +01:00
packages
qa_scripts
rbd
releases
rgw_pool_type erasure-code: ruleset-* -> crush-* 2017-07-06 15:01:03 -04:00
standalone Merge pull request #16281 from badone/wip-PG-cluster-log-audit 2017-07-27 16:25:30 -05:00
suites qa: add health whitelist for all fs sub-suites 2017-08-03 14:01:28 -07:00
tasks Test bytes_sent bugs. 2017-08-08 21:56:01 -04:00
timezone
workunits qa/workunits/ceph-disk: fix the path to ceph-helpers-root.sh 2017-08-01 21:54:44 +08:00
.gitignore
loopall.sh
Makefile
README
run_xfstests_krbd.sh
run_xfstests_qemu.sh
run_xfstests-obsolete.sh
run_xfstests.sh
run-standalone.sh qa/run-standalone.sh: fix the find option to be compatible with GNU find 2017-07-28 14:22:02 +08:00
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