[Buildbot-devel] locking and properties?

Jim Rowan jmr at computing.com
Fri Feb 7 23:00:12 UTC 2014


On Feb 7, 2014, at 7:30 AM, Dustin J. Mitchell wrote:

> You might add the step *twice*, once with and once without the
> counting lock.  Then use doStepIf to control which one runs.


I've muddled the description.   I have to lock the builder, not the  
step  ... the reason being that the existence of the property causes  
this one extra step to run where it ordinarily would be skipped; the  
step triggers *another* builder with wait=True, and that "secondary"  
builder requires the same buildslaves as the parent.  If all the  
buildslaves get occupied with this sort of build, we have a deadlock.




More information about the devel mailing list