Commit Graph

20 Commits

Author SHA1 Message Date
Zack Cerza
158f9ba1ff Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'"
This reverts commit d693b3f895.
2014-03-27 11:35:28 -05:00
Warren Usui
d693b3f895 Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'
and '(remote,) = ctx.cluster.only(role).remotes.iterkeys()' would fail with
ValueError and no message if there were less than 0 or more than 1 key.
Now a new function, get_single_remote_value() is called which prints out
more understandable messages.

Fixes: 7510
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-03-26 18:43:48 -07:00
Warren Usui
a1d8225b7d Added docstrings, and improved some of the comments on several tasks. 2013-10-12 01:35:34 -07:00
Sage Weil
0ad55b3604 cfuse -> ceph-fuse 2013-02-18 13:39:05 -08:00
Sam Lang
ace4cb07b2 Replace /tmp/cephtest/ with configurable path
Teuthology uses /tmp/cephtest/ as the scratch test directory for
a run.  This patch replaces /tmp/cephtest/ everywhere with a
per-run directory: {basedir}/{rundir} where {basedir} is a directory
configured in .teuthology.yaml (/tmp/cephtest if not specified),
and {rundir} is the name of the run, as given in --name.  If no name
is specified, {user}-{timestamp} is used.

To get the old behavior (/tmp/cephtest), set test_path: /tmp/cephtest
in .teuthology.yaml.

This change was modivated by #3782, which requires a test dir that
survives across reboots, but also resolves #3767.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-01-31 08:23:31 -06:00
Sage Weil
008cf7fd95 autotest: pull from github.com/ceph/autotest 2012-03-10 19:15:21 -08:00
Tommi Virtanen
a2372fce12 Move orchestra to teuthology.orchestra so there's just one top-level package. 2011-09-13 14:53:02 -07:00
Josh Durgin
091b0ae3de autotest: allow tests to be run on all clients 2011-09-07 17:50:12 -07:00
Josh Durgin
9721e33457 Better interface for running functions in parallel. 2011-07-14 14:39:50 -07:00
Josh Durgin
a282991bed Download and run autotests on multiple clients in parallel.
These clients must still be on different machines,
or they'll clobber each other's results.
2011-07-13 14:02:43 -07:00
Tommi Virtanen
6a32f723a3 Autotests run no ceph software, so don't try to do code coverage there. 2011-06-17 16:01:26 -07:00
Tommi Virtanen
b49c7390cc Archive autotest result output. 2011-06-16 16:09:49 -07:00
Tommi Virtanen
5b237fc50e Support running multiple autotest tests.
Docs had this from the start, it was just buggy. Still
doesn't support using the "autotest" task more than once,
no easy way to differentiate the results in that case.
2011-06-16 16:09:49 -07:00
Tommi Virtanen
e00b7fc6ad Clean up after an autotest run. 2011-06-15 11:51:16 -07:00
Josh Durgin
e52bb0cf07 Put all coverage data in the archive dir. 2011-06-10 11:17:11 -07:00
Josh Durgin
43f37b8da2 Add coverage support. 2011-06-09 17:17:47 -07:00
Tommi Virtanen
2b237882d6 First draft of documentation. 2011-06-06 14:22:49 -07:00
Tommi Virtanen
086076923d Remove dead code. 2011-06-03 14:48:09 -07:00
Tommi Virtanen
3be4b482e5 Make autotest show debug messages.
Otherwise it's very quiet for a long time.
2011-06-03 09:40:55 -07:00
Tommi Virtanen
1634f3e4c2 Move autotest running into a task. 2011-06-03 09:40:18 -07:00