On 01/23/2014 08:20 AM, Dan Callaghan wrote:
I would
like to improve the way we show installation status/progress [1]
That reminds me, I forgot to mention the bonus feature that Dan included
as a necessary part of implementing this: the results XML now includes
an <installation/> element that reports the installation progress for a
recipe. This is included automatically in the output of "bkr
job-results" (and any other mechanism that retrieves the results XML).
For example:
<installation install_finished="2014-01-22 22:43:15"
install_started="2014-01-22 22:35:36" postinstall_finished="2014-01-22
22:44:30"/>
The installation progress can be inferred from this element:
Not started: element not present
Installing: install_started set, other attributes missing
Running postinstall: install_started & install_finished set,
postinstall_finished missing
Running tests: all three attributes set
I don't believe we currently capture this in the docs anywhere, so I've
added a comment to that effect in the bug.
Cheers,
Nick.
--
Nick Coghlan
Red Hat Hosted & Shared Services
Software Engineering & Development, Brisbane
Testing Solutions Team Lead
Beaker Development Lead (
http://beaker-project.org/)