Zack Cerza
25defd40cc
Indent wrapped exceptions.
2013-08-28 11:12:10 -05:00
Zack Cerza
6afb238aba
Time is an integer, in seconds.
2013-08-27 17:26:46 -05:00
Zack Cerza
dfdac24f27
Make email formatting way, way nicer.
2013-08-27 17:22:27 -05:00
Zack Cerza
eb585d19a7
Move job listing logic to get_jobs()
2013-08-27 14:51:27 -05:00
Zack Cerza
0503803111
Add sentry events to suite email.
2013-08-26 17:21:48 -05:00
Zack Cerza
6f00939053
Use os.path.join, not urlparse.urljoin
2013-08-26 16:17:31 -05:00
Zack Cerza
300374bb07
For failures, add http links to log directories.
2013-08-26 16:17:31 -05:00
Zack Cerza
12cb686070
Rewrite email-generating code.
2013-08-26 16:17:31 -05:00
Sage Weil
f8f4c2d0e4
suite: only skip on non-vps if os-type is actually defined
...
If it's not defined, as it is (not) with most of the nightlies,
proceed!
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-22 22:18:55 -07:00
Sandon Van Ness
dad8d1aa3a
Do not run multiple tests (for distros) on baremetal.
...
Teuthology doesnt care about os_type for baremetal (ATM). This
change makes it so you can run tests that have been switched over
to run on multiple distros (on vms) on baremetal as well as all
non-ubuntu tests will be skiped (to avoid running the same test
multiple times on baremetal.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2013-08-22 19:36:46 -07:00
Sandon Van Ness
2ea841cdd3
Allow exclude_arch and exclude_os_type in qa-suite yamls
...
Adding the option:
exclude_arch:
or
exclude_os_type:
in the ceph-qa-suite yaml allows tests to be skipped for certain
types of hardware or distros.
Example:
exclude_arch: armv7l
This will make said test not run on arm machines.
exclude_os_type: rhel
Would make multi-distro tests skip a specific test on RHEL.
2013-08-22 19:36:37 -07:00
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