Opened 5 years ago

Closed 5 years ago

#11957 closed bug (no change required)

Let git checkout on buildbots retry on failure.

Reported by: pulkomandy Owned by: haiku-sysadmin
Priority: normal Milestone: Unscheduled
Component: Sys-Admin Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All


We have rather frequent failures on our bots similar to this: 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 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.

Change History (2)

comment:1 by zooey, 5 years ago

All our Git steps use the following:

  • retry = (30, 10)
  • retryFetch = True

Unfortunately, this does not seem to help.

comment:2 by pulkomandy, 5 years ago

Resolution: no change required
Status: newclosed

Ok, in that particular case there was a config problem on the buildslave (firewalld/iptables was interfering with git). The slave has been fixed.

Note: See TracTickets for help on using tickets.