[Buildbot-devel] Can't get a slave to pick up more than one request at time

Francesco Di Mizio francescodimizio at gmail.com
Tue Feb 24 18:54:36 UTC 2015


One more thing:  builders seem to only be able to have 1 pending request.
The following ones just go lost.
Following is my 10 line config.


c['slaves'] = [ buildslave.BuildSlave("win_code_1", "pass") ]
c['protocols'] = {'pb': {'port': 9989}}

c['change_source'] = []

try_fake = schedulers.ForceScheduler(
name="fake_scheduler",
builderNames=["fake_builder"],
buttonName = "Kick",
)

c['schedulers'] = []
c['schedulers'].append(try_fake)


factory = util.BuildFactory()
factory.addStep(steps.ShellCommand(
name = 'test',
command=['python', 'c:\\slaves\\test.py']))

c['builders'] = []
c['builders'].append(
util.BuilderConfig(name="fake_builder",
  slavenames=['win_code_1'],
  factory=factory)
)

On Tue, Feb 24, 2015 at 6:58 PM, Francesco Di Mizio <
francescodimizio at gmail.com> wrote:

> A few days ago I was exactly in the opposite situation: I did NOT want to
> have a slave pick up more than one request. I ended up findin max_builds
> param that can be passed to BuildSlave. Setting it to 1 worked well.
>
> Now it seems no matter what value i set it to, only one request at time
> gets processed. BuildRequests get added, i can see it from the logs (as the
> UI bugout and only shows one build being que'ed up).
>
> I must be doing something stupidly dumb,  any idea where I can look at?
>
>
> Cheers,
>  Francesco
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20150224/6b736ced/attachment.html>


More information about the devel mailing list