Mailinglist Archive: opensuse-buildservice (145 mails)

< Previous Next >
Re: [opensuse-buildservice] stuck builds
On Tue, Oct 01, 2013 at 10:48:07PM -0400, Brian K. White wrote:
How can I abort and restart a hung build if the web interface nor osc
abortbuild works?

https://build.opensuse.org/package/live_build_log/home:aljex/python-pyzmq/openSUSE_11.4/i586

...has been hung some hours.


$ osc abortbuild home\:aljex python-pyzmq openSUSE_11.4 i586
ok
$ osc rebuild home\:aljex python-pyzmq openSUSE_11.4 i586
ok
$


Didn't really change anything that I can see. The abortbuild command did
take 10 or so solid seconds before it says "ok"
I'm unclear from the output of "osc help abortbuild" if it's even intended
to operate on a local or remote build.

Yes, abortbuild should probably not just give up.

Other than that, you actually want "restartbuild", which seems to be
missing from osc. Dunno why Marcus skipped it when he added "abortbuild".

For now you can use 'osc api' to do it:

osc api -X POST
/build/home:aljex\?cmd=restartbuild\&package=python-pyzmq\&repository=openSUSE_11.4\&arch=i586

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
References