Sage Weil
|
6dbbcf03fc
|
queue: fix logging of child return code
|
2012-08-14 15:08:21 -07:00 |
|
Tommi Virtanen
|
273a43eda8
|
Flush data to temp file before reading it in another process.
|
2012-08-09 09:42:35 -07:00 |
|
Tommi Virtanen
|
8aaf21d537
|
Oops tempfile now gives us file objects not fds.
|
2012-08-09 09:42:13 -07:00 |
|
Tommi Virtanen
|
99e99758e5
|
In teuthology-worker, shuffle the child stdout/stderr into our log.
Otherwise, child can suffer a failure that does not get logged by
it's own exception handling machinery, and we have no idea why.
|
2012-08-08 14:48:21 -07:00 |
|
Tommi Virtanen
|
05007f7e0f
|
Minimize scope of try-except.
os.write and list.append won't raise CalledProcessError, and now
we don't need to try to contain them for temp file clean up reasons.
|
2012-08-08 14:45:49 -07:00 |
|
Tommi Virtanen
|
4b9e17626d
|
Use tempfile.NamedTemporaryFile instead of mkstemp.
Simpler code, no manual cleanup needed. We see a littering of
zero-length temp files from teuthology-worker, and this seems
like a likely source.
|
2012-08-08 14:44:47 -07: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
|
321381d75f
|
teuthology-worker: remove --keep-locked-on-error
|
2011-10-07 14:51:46 -07:00 |
|
Josh Durgin
|
7b7ff6e8ce
|
teuthology-worker: clean up last_in_suite jobs
There's no reason not to delete them once they start.
|
2011-10-04 12:32:58 -07:00 |
|
Josh Durgin
|
c7ff5fc38b
|
queue: results_timeout needs to be converted to a string
|
2011-09-22 18:23:42 -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
|
ac0a469b78
|
teuthology-worker: log to a file with timestamps
|
2011-08-03 15:28:46 -07:00 |
|
Josh Durgin
|
d079d51037
|
teuthology-worker: keep machines locked on error
This prevents a failure to clean up in one case from affecting the
rest of the tests.
|
2011-08-02 17:59:08 -07:00 |
|
Josh Durgin
|
731fe41022
|
Remove print that clutters the worker logs.
|
2011-07-19 17:13:13 -07:00 |
|
Josh Durgin
|
85c24bda7f
|
Add teuthology-schedule and teuthology-worker.
schedule puts jobs in a beanstalk queue, worker takes them out and runs them.
|
2011-07-11 13:49:06 -07:00 |
|