[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH OSSTEST 1/3] standalone: Add get-job-status to pick status out of standalone.db



On Tue, 2015-09-29 at 15:04 +0100, Ian Jackson wrote:
> Ian Campbell writes ("[PATCH OSSTEST 1/3] standalone: Add get-job-status
> to pick status out of standalone.db"):
> > The return code of sg-run-job does not reflect the state of the job,
> > which is instead written to the database. For the benefit of running
> > tests in a loop until failure add a command to retrieve the status to
> > stdout.
> 
> Maybe this would be better as a cs-* utility, useable on production
> instances too ?

Could do, although actually it turns out that the functionality in patch #2
(i.e. having standalone check the error) was the thing which I really
needed for what I was doing (scripting a loop running the job over and over
till it failed).

If cs-job-status still seems useful then I can certainly add that. I'd
probably keep the convenience wrapper in standalone unless you object.

Ian.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.