[Buildbot-devel] locking for multiple BuildSteps

Leif Walsh leif.walsh at gmail.com
Wed Jul 10 20:27:37 UTC 2013

Is there a way to specify that a lock should be held for a sequence of
multiple steps, without holding it for the entire build?  I can see how to
hold a lock for one BuildStep, and how to hold it for an entire Builder,
but nothing in between.  I have a BuildStep that starts a server, several
that run tests against that server, and another that shuts it down.  So if
another Builder grabs the lock in between any of these steps, things get
screwed up.

My only options right now are to stick all these steps in a new Builder
and trigger it from the original Builder, but that's kind of a pain and
I'm hoping for a better solution, or to just hold the lock for the whole
Builder, but there are other (much longer running) parts that I would
really like to parallelize.


More information about the devel mailing list