Hello,
I've finally implemented some of the XMLRPC methods for reporting
results into the scheduler.
recipes.Abort(recipe_id, msg)
recipes.Cancel(recipe_id, msg)
recipes.tasks.Start(task_id)
recipes.tasks.Stop(task_id)
recipes.tasks.Pass(task_id, path, score, summary)
recipes.tasks.Warn(task_id, path, score, summary)
recipes.tasks.Fail(task_id, path, score, summary)
recipes.tasks.Panic(task_id, path, score, summary)
recipes.tasks.Abort(task_id, msg)
recipes.tasks.Cancel(task_id, msg)
Any status or result reported will propagate the status and result with
the highest severity to the top.
Here are the current Status and the matching severity.
New 10
Processed 20
Queued 30
Scheduled 40
Running 80
Completed 50
Cancelled 60
Aborted 70
And Results are as follows:
New 10
Pass 20
Warn 30
Fail 40
Panic 50
I was thinking it would be nice to have a recipes.tasks.StdOut(task_id,
offset, length, data) method that would take the StdOut from the running
test as its running. We would capture StdErr as well and possibly mux
them together by default or allow for separate viewing?