On Sat, Apr 04, 2020 at 12:42:29AM +0200, Miro Hrončok wrote:
On 03. 04. 20 13:03, Richard W.M. Jones wrote:
>
>I've been waiting on:
>
>$ koji wait-repo f33-build-side-20855 --build=ocaml-lacaml-9.3.2-17.fc33
>
>for hours now. Seems like newRepo generation is again taking a very
>long time?
>
>Also it'd be nice if this command didn't time out after 2 hours
>(seems like a very odd and arbitrary choice - why not wait forever?)
>and also coped with transient network failures.
For timeout, there is:
--timeout=TIMEOUT Amount of time to wait (in minutes) before giving up
(default: 120)
For network issues, I've been using:
while ! koji wait-repo ...; do sleep 15; done
...quite successfully.
Thanks, hopefully with this change it'll be more robust:
http://git.annexia.org/?p=goals.git;a=commitdiff;h=cda1f0160b96e57a003708...
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/