[Buildbot-devel] Concurrent builds on different slaves

Jean-Paul Calderone exarkun at divmod.com
Wed Nov 12 00:30:34 UTC 2008


On Tue, 11 Nov 2008 19:27:49 -0500, "Dustin J. Mitchell" <dustin at zmanda.com> wrote:
>On Tue, Nov 11, 2008 at 6:41 PM, Jean-Paul Calderone <exarkun at divmod.com> wrote:
>>        'locks': [oneCPULock]}
>...
>> However, when I do this, builds across the two builders seem to end up
>> serialized instead of parallelised.  However, just to make things complicated,
>> *some* builds will run in parallel.  I cannot discern what pattern these
>> builds follow, though.
>
>Your "slave.copy()" is a shallow copy, so those slaves are sharing a
>single lock object.

Completely true.  Is that bad?  My reading of the documentation is that
this is fine.  I suppose I could see how the exact opposite interpretation
could be extracted, though, now that you point out that this might be a
bad thing.

Jean-Paul




More information about the devel mailing list