[haiku-bugs] [Haiku] #11957: Let git checkout on buildbots retry on failure.

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Wed, 08 Apr 2015 17:37:39 -0000

#11957: Let git checkout on buildbots retry on failure.
------------------------+------------------------------
Reporter: pulkomandy | Owner: haiku-sysadmin
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Sys-Admin | Version: R1/Development
Keywords: | Blocked By:
Blocking: | Has a Patch: 0
Platform: All |
------------------------+------------------------------
We have rather frequent failures on our bots similar to this:
http://buildbot.haiku-os.org/builders/haiku-master-x86_hybrid/builds/1572
The build fails while checking out the source.

This is rather annoying as it is hard to detect actual build failures in
these conditions (and it spams the IRC channel with failure then success
notifications).

According to http://docs.buildbot.net/latest/manual/cfg-buildsteps.html
the checkout step can have a retry parameter:


retry
If set, this specifies a tuple of (delay, repeats) which means that when a
full VC checkout fails, it should be retried up to repeats times, waiting
delay seconds between attempts. If you don't provide this, it defaults to
None, which means VC operations should not be retried. This is provided to
make life easier for buildslaves which are stuck behind poor network
connections.

We should enable this, so these temporary failures are not too annoying.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11957>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: