[Buildbot-devel] Parallel builds on slaves

Amber Yust ayust at yelp.com
Tue Nov 23 21:34:13 UTC 2010


Multiple slaves specified for one builder = Buildbot picks a random slave to
use for any given build of that builder.

Multiple builders that all specify the same slave = 1 build from each
builder can be running in parallel on that slave (up to that slave's
max_builds).

Basically, you got the parallelism backwards. :)

~Amber

On Tue, Nov 23, 2010 at 1:29 PM, Ryan Haynes <rhaynesak at gmail.com> wrote:

> Hello all,
> I'm new to the mailing list.  I work at stsci.edu.  We are starting to
> use buildbot for various projects in house.  Hopefully we can get some
> adaptation amongst developers as everyone is pretty oldschool here.
>
> I have an issue...
> I'm kind of lost on this.  The documentation suggest that a build
> factory will run on all slaves in parallel defined by slavenames in
> the builder. However, I do not see this happen.
>
> for instance...
>
> bf1 = factory.BuildFactory()
> bf1.addStep(ShellCommand(command=['echo', 'IM ALIVE']))
>
> c['builders'] = []
> from buildbot.config import BuilderConfig
>
> c['builders'].append(
>    BuilderConfig(name='tester', slavenames=['bond', 'rh5_arzach'],
> factory=bf1)
> )
>
> tester = timed.Periodic(name="FIVE_MIN",
>                builderNames=["tester"],
>                periodicBuildTimer=5*60)
>
> When I look at the waterfall it shows one buildslave.  It alternates
> the buildslaves each time the periodic scheduler runs.  So first I'll
> have bond run, then five minutes later arzach runs.
>
> I am really confused about this behavior.  Shouldn't they run on both
> machines in parallel?
>
> Cheers,
> Ryan
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20101123/30bc0a07/attachment.html>


More information about the devel mailing list