Commit Graph

44 Commits

Author SHA1 Message Date
Sandon Van Ness
5f9a1d8a0f Worker processes by machine type instead of teuthology branch.
teuthology-suite and schedulewill now take --worker instead of
--branch. The branch is set by setting teuthology_branch in the
yaml used to schedule the job.

The teuthology branches are assumed to be in ~/teuthology-$branch
of whatever user is running the workers.
2013-07-18 12:04:08 -07:00
Sage Weil
66e27fa589 suite: shorten subject a bit
Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-19 12:12:56 -07:00
Sander Pool
69e613f053 Starting to auto-document this code. 2012-11-14 17:24:50 -08:00
tamil
d94821244c Printing the number of tests passed when 'all' tests are successful
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-10-05 17:33:57 -07:00
Josh Durgin
a09153b688 Allow scheduled jobs to use different teuthology branches
teuthology-[schedule|suite] get a parameter to specify the branch,
to put the job in a branch-specific queue. Workers running that
branch of teuthology can pull jobs from that queue.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-09-21 17:16:56 -07:00
Sage Weil
042edcbe1e schedule/suite: schedule job, suite N times 2012-07-14 13:51:51 -07:00
Josh Durgin
218b69246f teuthology-ls: tolerate non-existent 'success' key in summary file 2012-06-20 10:13:48 -07:00
Sage Weil
22b1f17f78 ls: another newline 2012-04-10 08:59:47 -07:00
Sage Weil
7757fbb9bd ls: remote stray newline 2012-04-10 08:57:19 -07:00
Josh Durgin
6f0f250b26 suite: add missing print statement 2012-03-21 12:00:55 -07:00
Josh Durgin
8a9a567067 suite: fix print statement when summary doesn't exist 2012-03-21 11:58:17 -07:00
Josh Durgin
815fc3e2f6 suite: failed runs might not have durations
This was one cause of emails not being sent - stale /tmp/cephtest dirs
fail without recording a duration.
2012-03-20 07:50:08 -07:00
Josh Durgin
a65d4136e5 suite, coverage: use absolute dirs for isdir checks
This fixes the results to wait for all jobs to complete again.
2012-03-19 14:16:14 -07:00
Josh Durgin
6c8db1a807 suite: more results logging 2012-03-19 11:31:33 -07:00
Sage Weil
7d2e1056fd fix teuthology-ls isdir check 2012-03-18 10:50:17 -07:00
Josh Durgin
07b97fe77f suite: log results and coverage generation
Need to figure out where and when results emails are failing.
2012-03-16 11:44:13 -07:00
Josh Durgin
8fbd087d6b results: make sure email is sent before anything else fails 2012-03-15 17:34:19 -07:00
Sage Weil
5f9445c88b suite.results: include test duration in output 2012-02-20 13:38:06 -08:00
Sage Weil
9419f583c6 ls: include duration, less noise 2012-01-16 13:18:49 -08:00
Sage Weil
7b47e49fa8 ls: fix extraneous newline 2012-01-16 10:47:44 -08:00
Sage Weil
fbfa94bb09 teuthology-ls: show pid, last line of output for running jobs 2012-01-15 22:52:58 -08:00
Josh Durgin
561f06cf94 suite: make email-on-success the default behavior
This way you can tell when a run is complete, instead of wondering if
it's stuck in the queue.
2012-01-05 17:27:31 -08:00
Josh Durgin
42cecb5e55 suite: put common config before facets
This lets you add tasks to the beginning of a run, like the chef task.
2011-11-17 17:26:21 -08:00
Josh Durgin
044a88ce59 suite: schedule a list of collections for running instead of a single suite directory 2011-11-17 17:16:23 -08:00
Josh Durgin
bad609e63e teuthology-results: include passed tests in email 2011-10-03 17:11:53 -07:00
Josh Durgin
8bcd2a74ca teuthology-results: include reasons for failure in email 2011-10-03 17:08:29 -07:00
Josh Durgin
030161ed8d teuthology-ls: show reasons for failures with -v 2011-10-03 17:07:41 -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
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
Sage Weil
479af4bb44 ls: mention directories without summary.yaml 2011-07-11 20:32:44 -07:00
Josh Durgin
5fadb1c11c Whitespace and style cleanup. 2011-07-11 18:07:37 -07:00
Josh Durgin
d1eb9cef38 suite: schedule jobs instead of executing each configuration serially. 2011-07-11 13:49:32 -07:00
Josh Durgin
a260da1277 teuthology-suite: pass --lock and --block to teuthology 2011-07-07 16:19:26 -07:00
Tommi Virtanen
6e73607147 More idiomatic Python. 2011-07-01 09:34:08 -07:00
Tommi Virtanen
ce041a525c summary is used outside the try: except:, move it outside it. 2011-07-01 09:33:06 -07:00
Tommi Virtanen
c1cd141b29 Only ignore ENOENT errors in teuthology-ls. 2011-07-01 09:32:30 -07:00
Tommi Virtanen
fdbf591cba Whitespace cleanup. 2011-07-01 09:29:19 -07:00
Tommi Virtanen
cb4ffc3157 Use idiomatic python. 2011-06-30 11:25:15 -07:00
Sage Weil
7d57b355d8 teuthology-ls: summarize results from an archive-dir
ugly but basically works
2011-06-29 12:55:25 -07:00
Sage Weil
770edc3a0b suite: set each run description to combination of facet names 2011-06-29 12:09:38 -07:00
Tommi Virtanen
1a68b6fbb4 Remove unused import. 2011-06-22 16:03:20 -07:00
Tommi Virtanen
b0c8b1d7b8 Ensure suite components are run in alphabetical order. 2011-06-22 16:03:20 -07:00
Tommi Virtanen
330ec41ff7 Add teuthology-suite, to run multiple tests in a batch. 2011-06-21 10:00:16 -07:00