Commit Graph

3873 Commits

Author SHA1 Message Date
Josh Durgin
4d778289d3 nuke: localize again imports so they occur after gevent monkey-patching
This is necessary to make ssh work properly.
2011-09-01 10:35:25 -07:00
Josh Durgin
51ac06175c nuke: reboot if rbd is mounted 2011-08-31 19:46:10 -07:00
Josh Durgin
d340ebac4e schedule: add a way to delete jobs from the queue 2011-08-31 17:43:14 -07:00
Josh Durgin
f9daa70259 parallel: don't hang if no tasks were spawned
This makes 6d91915217 work.
2011-08-31 17:28:23 -07:00
Josh Durgin
3d69965c42 workunits: remove unused variable 2011-08-31 16:49:05 -07:00
Josh Durgin
8c67d5ad20 Don't specify kernel in any tasks.
This can be added to every task at once when the suite is run.
2011-08-31 16:35:01 -07:00
Josh Durgin
697f3419d0 nuke: add option to reboot all nodes 2011-08-31 14:37:16 -07:00
Josh Durgin
ec768ba3ca Fix pyflakes warnings. 2011-08-31 14:36:01 -07:00
Josh Durgin
5dd50b3990 coverage: remove debugging 2011-08-30 17:21:36 -07:00
Josh Durgin
5b42b08527 workunit: save coverage and coredumps
Anything that runs a ceph utility should be using these commands.
2011-08-30 17:13:44 -07:00
Greg Farnum
ed2d1eac3c basic workunits: switch to run on all clients simultaneously instead of client.0
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-30 16:36:23 -07:00
Greg Farnum
6d91915217 workunits: rework a little bit to allow "all" clients in a run
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-30 15:49:10 -07:00
Sage Weil
ec97dd8203 cfuse: support running through valgrind
Also switch up the config code so we can take per-client options.
2011-08-30 13:34:52 -07:00
Greg Farnum
0c2bee1514 valgrind: don't run valgrind_post if there's no valgrind
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-29 16:47:22 -07:00
Greg Farnum
3a3c859f5b valgrind: scan logs for bad results
It's not sophisticated but it will warn you about a node
if at least one node has issues.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-29 14:03:02 -07:00
Greg Farnum
50a648bdfc valgrind: use xml output for tools that support it
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-29 14:03:02 -07:00
Josh Durgin
7be9eaa030 suite: add option to send an email if the entire suite passed 2011-08-29 12:42:45 -07:00
Josh Durgin
4f4227a44d Generate coverage at the end of a suite run,
and optionally email failures and ongoing jobs.
2011-08-29 10:23:12 -07:00
Josh Durgin
2b66938232 queue: delete every job when it finishes, so only running jobs are buried 2011-08-29 10:23:12 -07:00
Josh Durgin
b582764b62 Add teuthology-coverage for analyzing test coverage for a suite run. 2011-08-29 10:23:12 -07:00
Josh Durgin
0545e2fa68 Add scripts to analyze coverage for a single teuthology run. 2011-08-29 10:23:12 -07:00
Greg Farnum
fb33ef3c69 thrasher: improve documentation a little
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-25 15:27:30 -07:00
Greg Farnum
83e263425a thrasher: add option to mark OSDs down instead of out.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-25 15:19:30 -07:00
Greg Farnum
0f9b74e28c thrasher: allow a config to set values
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-25 15:18:42 -07:00
Greg Farnum
5d5de0e70c thrasher: remove redundant wait_till_clean()
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-25 14:38:34 -07:00
Greg Farnum
83a248b55b add multiclient collection with a locking task 2011-08-24 17:12:58 -07:00
Greg Farnum
1130e5fe37 coverage: create dir conditionally
We don't need to create the dir if we aren't using coverage.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-24 16:48:14 -07:00
Greg Farnum
0840d05a8f lockfile: add a lockfile task
This allows pretty highly configurable testing of
fcntl locking via a teuthology task.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-24 16:39:23 -07:00
Sage Weil
103a1983a7 more kclient workunit/suites 2011-08-24 15:05:28 -07:00
Sage Weil
76123404ed add fsx workunit under cfuse, kclient, rbd 2011-08-24 15:02:55 -07:00
Sage Weil
c2c5ac0c54 lock: --list-targets: list locks and dump result in targets: yaml format. 2011-08-24 10:03:43 -07:00
Sage Weil
42318c57cb check ceph cluster log for badness (ERR, WRN, SEC) 2011-08-23 21:00:26 -07:00
Sage Weil
21d04419b8 ceph: copy cluster log file to archive/ceph.log 2011-08-22 22:04:57 -07:00
Sage Weil
fc4da5289f rados_api_tests: run on top of cfuse, not rbd
Slightly less inclined to break (e.g. due to old kernel)
2011-08-21 17:27:01 -07:00
Sage Weil
e79dda9a9d workunits: set CEPH_CONF environment
This allows any ceph util we run (including the rados-api tests) find
the config and keyrings they need.
2011-08-21 17:26:15 -07:00
Sage Weil
aa575c1318 rbd: make default image 10G instead of 1G 2011-08-21 15:14:02 -07:00
Sage Weil
410d963e9e add multimds subtree thrashing test 2011-08-19 16:23:45 -07:00
Colin Patrick McCabe
a42d9a803d add rados_api_tests.yaml
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-19 16:18:35 -07:00
Sage Weil
cfd5456f3f suite: support a suite consisting of multiple collections
suite = many collections, and maybe some shared files
collection = a collection of facets
facet = a config fragment
2011-08-18 16:30:08 -07:00
Greg Farnum
e20bae2a7f valgrind: Document!
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-17 10:35:37 -07:00
Greg Farnum
73de620c9e Merge branch 'wip-valgrind' 2011-08-17 10:32:57 -07:00
Greg Farnum
4efc95fa57 include log in valgrind log file names
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-17 10:30:26 -07:00
Greg Farnum
d5eb2c2b77 ceph task: split up arguments a little more
This allows selective daemon kill signal changes. With valgrind
daemons we want term instead of kill, for instance.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-17 10:30:24 -07:00
Greg Farnum
5323e1796f valgrind: move valgrind logs to log dir
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-17 10:29:54 -07:00
Greg Farnum
aa74481728 ceph: split up daemon-running arguments and insert valgrind ones
This setup should let us insert other kinds of things too, if we
need them.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-15 15:35:42 -07:00
Greg Farnum
9ec19f13df ceph: Set up valgrind as a flavor, and create a dir for logging.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-15 15:32:23 -07:00
Greg Farnum
98ac89a54e ceph task: pass the full config to the daemon startup subs
So far as I can tell there is no reason to reduce them to
the coverage config, and I want the full config for my
soon-to-exist valgrind options.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-15 15:31:18 -07:00
Tommi Virtanen
747deecaf6 Add assert to catch simple typos in roles list.
Input of "roles:\n- [mds,1]" used to make teuthology crash
in a non-obviou way.
2011-08-15 09:36:06 -07:00
Greg Farnum
0139323e51 Merge branch 'wip-nuke'
Conflicts:
	teuthology/task/kernel.py
2011-08-10 16:16:25 -07:00
Greg Farnum
6938946a19 manypools: remove commented-out code
This accidentally got left in from my development.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-10 16:12:53 -07:00