Commit Graph

4576 Commits

Author SHA1 Message Date
Josh Durgin
9d70d04893 Add function to output a secret key to a file. 2011-06-15 18:06:57 -07:00
Josh Durgin
9d60344700 Output a summary file when archiving a run.
For now, just record whether the test succeeded.
2011-06-15 15:52:36 -07:00
Josh Durgin
98a8071935 Remove unused imports and variable. 2011-06-15 15:22:12 -07:00
Tommi Virtanen
1a20ba1121 Tee teuthology log into the archive directory, if archiving. 2011-06-15 12:32:22 -07:00
Tommi Virtanen
2bae22f0a3 Create the archive dir earlier, move out of ceph task. 2011-06-15 12:10:27 -07:00
Tommi Virtanen
faa855dd2e Add task for running ceph workunits, QA tests that expect cwd to be ceph mount. 2011-06-15 11:59:57 -07:00
Tommi Virtanen
e00b7fc6ad Clean up after an autotest run. 2011-06-15 11:51:16 -07:00
Tommi Virtanen
cd8f31db0f Write config.yaml directly to file. 2011-06-15 11:50:32 -07:00
Tommi Virtanen
d157e32393 Move imports to the top. 2011-06-15 11:49:04 -07:00
Josh Durgin
c49f9471f1 Archive teuthology config. 2011-06-14 17:53:19 -07:00
Samuel Just
883991a057 added thrashosds
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-06-13 17:01:02 -07:00
Samuel Just
398a333833 adding radosbench.py to tasks
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-06-13 17:00:43 -07:00
Samuel Just
5cbe10c3bb added testsnaps
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-06-10 14:42:52 -07:00
Josh Durgin
d09ae0b280 With coverage, use SIGTERM to make the daemons exit(0). 2011-06-10 11:24:26 -07:00
Josh Durgin
e52bb0cf07 Put all coverage data in the archive dir. 2011-06-10 11:17:11 -07:00
Josh Durgin
41e19f5ecb Initialize BASE before using it. 2011-06-10 11:12:49 -07:00
Tommi Virtanen
798f3cc68c Can now run specific ceph version based on sha1. 2011-06-09 17:17:47 -07:00
Tommi Virtanen
ae77af0847 Simplify ceph sha1 saving. No need to round-trip, store N copies. 2011-06-09 17:17:47 -07:00
Josh Durgin
2533edde83 Save ceph sha1 in coverage dir.
This is needed to postprocess the coverage data.
2011-06-09 17:17:47 -07:00
Tommi Virtanen
18b1173966 Add TODO notes. 2011-06-09 17:17:47 -07:00
Tommi Virtanen
c45488c24c Show status message before gcov-style shutdown of daemons. 2011-06-09 17:17:47 -07:00
Tommi Virtanen
7c5eed2f90 Check daemon exit codes, even when using gcov. 2011-06-09 17:17:47 -07:00
Josh Durgin
43f37b8da2 Add coverage support. 2011-06-09 17:17:47 -07:00
Tommi Virtanen
f162f07edb Support ceph tarball "favors", that is different gitbuilders.
Use that for picking the gcov gitbuilder, when told to record code
coverage. Actual coverage support comes in the next commit.

Assuming all the world is a VA.. I mean amd64, for now.
2011-06-09 17:16:06 -07:00
Tommi Virtanen
f3757f76d8 Let ceph task config specify branch or tag to run. 2011-06-09 17:12:54 -07:00
Tommi Virtanen
4903d06a76 Archive everything written to the "archive" directory.
This avoids listing "log", "profiling-logger", etc individually.
Adding new types of archived files should just be a matter of
adding a subdirectory under "archive".
2011-06-09 17:10:11 -07:00
Sage Weil
e8abcf0e5e readme: need libevent-dev
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-09 11:18:56 -07:00
Tommi Virtanen
e19d639f4b Gevent 0.14 switches to libev, avoid it for now.
This was in requirements.txt earlier, but using this library
from elsewhere does not respect that, only setup.py.
2011-06-08 13:20:44 -07:00
Tommi Virtanen
fcc73e0d1d Class loading no longer needs a temp dir. 2011-06-07 14:51:56 -07:00
Tommi Virtanen
047669e916 Cleanup is done, adjust TODO. 2011-06-07 14:48:44 -07:00
Tommi Virtanen
e6ae6bddf3 Archive logs if given --archive=PATH. Clean up after a test run. 2011-06-07 14:47:30 -07:00
Tommi Virtanen
37cbd7abc7 Support PIPE for stdout and stderr, too. 2011-06-07 14:41:50 -07:00
Tommi Virtanen
ce10d4f5e0 Add missing trailing commas.
Lists of strings where last item has no comma are just
traps waiting to hurt you when you add a new item at
the end.
2011-06-07 12:58:48 -07:00
Tommi Virtanen
c8ecd12949 Remove mountpoint after shutting down cfuse. 2011-06-06 15:38:20 -07:00
Tommi Virtanen
a988083c4b Add orchestra.cluster, for running commands on multiple hosts. 2011-06-06 15:12:13 -07:00
Tommi Virtanen
26d720d3f2 Add TODO note about results gathering. 2011-06-06 14:32:35 -07:00
Tommi Virtanen
2b237882d6 First draft of documentation. 2011-06-06 14:22:49 -07:00
Tommi Virtanen
ad81fccd96 Use orchestra repo on ceph.newdream.net, now that it exists. 2011-06-06 12:36:44 -07:00
Tommi Virtanen
7f393379c1 Prettify exception handling.
Display exception type (e.g. "RuntimeError").

Don't re-display the traceback.
2011-06-03 14:49:05 -07:00
Tommi Virtanen
086076923d Remove dead code. 2011-06-03 14:48:09 -07:00
Tommi Virtanen
b6e22436f2 Prettify config debug printing. 2011-06-03 14:47:58 -07:00
Tommi Virtanen
57f979f177 Refactor for modularity.
New style: run "./virtualenv/bin/teuthology -v interactive.yaml".
2011-06-03 14:47:44 -07:00
Tommi Virtanen
0d975b5b8c Record Remote in RemoteProcess.remote, for caller convenience. 2011-06-03 14:44:29 -07:00
Tommi Virtanen
97ff24c060 Un-hardcode tasks. 2011-06-03 09:48:22 -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
Tommi Virtanen
ce5f0e7121 Move interactive and cfuse into tasks. 2011-06-02 15:04:01 -07:00
Tommi Virtanen
95163e9470 Fetch ceph binary tarball independently on every node.
Avoids shuffling the bytes through the controlling node.
Use sha1 file to make sure everyone gets the same version.
2011-06-02 09:09:08 -07:00
Tommi Virtanen
de0f0c72fc Refactor to use Cluster and Remote, to evaluate the new APIs. 2011-06-01 16:04:52 -07:00
Tommi Virtanen
7a474b10b1 Use orchesta.remote as a higher-level wrapper, stop worrying about hostnames.
This changes just first caller in a series of many; the rest will change
once a role-based API is in place.
2011-05-31 15:01:41 -07:00