[Buildbot-devel] Problem with retry=() without checkout

Brad Hards bradh at frogmouth.net
Tue Oct 4 11:35:20 UTC 2005


On Tuesday 04 October 2005 12:02 pm, Brad Hards wrote:
> In my setup, the changes are generated from a mail that comes
> from the main SVN repo, but the build is done off a mirror.
> Naturally, sometimes the mirror doesn't have the change
> (it then blows away the whole checkout, and it fails again).
>
> I'm trying to use the retry option, as: retry=(2*60, 10)
>
> It seems OK (still testing this, since it is a race, afterall), except
> where there is no checkout. Then it throws a svn exception ("heh,
>  that purple colour isn't good!"):
Still not quite right.

I think the logic should be
checkout with spec'd revision.
if fails due to local locks, do the svn cleanup
if fails due to don't have spec'd revision or some network problem, 
back-off/retry
if fails for some other reason, do the clobber.
if it still fails, bail out.

How does this look? Any objections to using the svn python bindings instead of 
a shell command?

Brad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://buildbot.net/pipermail/devel/attachments/20051004/bb3d05f9/attachment.bin>


More information about the devel mailing list