Commit Graph

10 Commits

Author SHA1 Message Date
Tommi Virtanen
50c4b312a2 Handle interactive-on-error also when error is from contextmanager exit.
Closes: http://tracker.newdream.net/issues/1745
2011-11-30 17:07:26 -08:00
Tommi Virtanen
c651c88eac Properly handle case where first error is inside a context manager __exit__.
Closes: http://tracker.newdream.net/issues/1743
2011-11-21 16:00:49 -08:00
Josh Durgin
1cad309d65 Add failure_reason to summary for the first failure detected.
For now, this is the exception raised during a task, the error found
in the central log, or coredumps found. More specific errors
(i.e. s3-tests had 3 failures) can be added later as exceptions raised
by tasks.
2011-10-03 17:07:41 -07:00
Tommi Virtanen
4e2ec6fd8b Add interactive-on-error, to pause and explore on error.
Closes: http://tracker.newdream.net/issues/1291
2011-08-09 15:42:17 -07:00
Josh Durgin
30a8dac323 Set success at the beginning of a run.
This way internal tasks like locking can tell whether the run
succeeded, and unlock nodes if it did.
2011-08-03 14:03:13 -07:00
Tommi Virtanen
9353fcc931 Move summary inside context.
This will hopefully make run_tasks usable by tasks.
The ceph task can't use it yet, because it has its
yield inside the with nested statement.
2011-06-16 14:36:21 -07:00
Josh Durgin
9746e77498 Allow running of any function in a task. 2011-06-16 10:39:26 -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
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
ce5f0e7121 Move interactive and cfuse into tasks. 2011-06-02 15:04:01 -07:00