[Buildbot-devel] Pending builds get lost

Bailey, Darragh dbailey at hp.com
Fri Dec 11 10:48:02 UTC 2009



> -----Original Message-----
> From: Alexander O'Donovan-Jones [mailto:Alexander at ccpgames.com] 
> Sent: 11 December 2009 01:39
> To: Marc-Antoine Ruel; Rusterholz, Oliver
> Cc: buildbot maillist
> Subject: Re: [Buildbot-devel] Pending builds get lost
> 
> Check 
> http://djmitche.github.com/buildbot/docs/0.7.11/#Merging-BuildRequests
> I had a similar problem, and simply set the merge function to 
> always return False, since I never want builds merged.
> ________________________________________
> From: Marc-Antoine Ruel [maruel at chromium.org]
> Sent: 10 December 2009 18:31
> To: Rusterholz, Oliver
> Cc: buildbot maillist
> Subject: Re: [Buildbot-devel] Pending builds get lost
> 
> It happens when all the SourceStamps are merged together.
> 
> Maybe you always request building from HEAD instead of using 
> the specific revision (or hash) from the Change Source?
> 
> M-a
> 
> On Thu, Dec 10, 2009 at 5:40 AM, Rusterholz, Oliver 
> <olr at zuehlke.com<mailto:olr at zuehlke.com>> wrote:
> Hi
> 
> I have a problem with pending builds getting lost. If I force 
> a build it starts like it should. During that build I force 
> another one and then another one again, say 3 or 4 times, it 
> doesn't matter. I now see on the waterfall display that there 
> are like 4 builds pending and the first one is still running. 
> As soon as the first one ends the second one starts but there 
> are no more builds pending. After the second one is done no 
> other build starts. What happened here? I'd like to have 5 
> builds if I press the button five times. It's important for 
> me because several people can force that build with different 
> CustomBuildProperties.
> 
> My config is:
> 
> Version Information
>    * Buildbot: 0.7.7
>    * Twisted: 2.0.1
>    * Python: 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 
> 32 bit (Intel)]
>    * Buildmaster platform: win32
> 
> Thanks
> Oliver


FYI, it should be possible to compare the properties if you want to benefit from the odd case where two builds are pending with the same sourcestamp and build properties.

def mergeRequests(builder, req1, req2):
    """Don't merge buildrequest if properties differ"""
    if req1.source.canBeMergedWith(req2.source) and req1.properties == req2.properties
        return true
    return false

c['mergeRequests'] = mergeRequests


Oh, and don't forget to upgrade to 0.7.11 first (or at least 0.7.10), as it's the first version that this functionality appears in. Otherwise you might be a while wondering why its still not working :)


--
Regards,
Darragh Bailey

Systems Software Engineer
Hewlett Packard Galway Ltd.
+353 91 75-4674

Postal Address:    Hewlett Packard Galway Limited, Ballybrit Business Park, Galway 
Registered Office: Hewlett Packard Galway Limited, 63-74 Sir John Rogerson's Quay Dublin 2
Registered Number: 361933

_______________________________________________
The contents of this message and any attachments to it are confidential and may be legally privileged. If you have received this message in error you should delete it from your system immediately and advise the sender.
To any recipient of this message within HP, unless otherwise stated you should consider this message and attachments as "HP CONFIDENTIAL".



More information about the devel mailing list