[Buildbot-devel] running buildbot on multimaster mode
Maria Marcano
mariangemarcano at gmail.com
Mon Feb 18 13:44:27 UTC 2013
I’m trying to run buildbot with multi-master mode with the following
configuration:
Buildmaster01 have schedulers, source changes, and builders
Buildmaster02 have builders
Both are using mysql db Connecting same share database, have
c['multiMaster'] = True
and c['db_poll_interval'] = 110
When I force the build I notice the pending build request on both
Buildmaster01 and Buildmaster02 but none of the master process the
request. Do you know what’s could be wrong in my configuration?
Configuration files look something like this example:
*Buildmaster01*:
c['schedulers'].append(ForceScheduler(
name="force-various",
builderNames=[ "Build Test"],
codebases = { CodebaseParameter('', branch =
ChoiceStringParameter(name="branch", choices=["trunk", "default"],
default="trunk"),
repository =
FixedParameter(name="repository", default=hgrepo))}))
…
def TestFactory():
factory = BuildFactory()
factory.addStep(ShellCommand(command=["ls"]))
return factory
..
c['builders'] = []
c['builders'].append(
BuilderConfig(name="Build Test",
slavenames = winSlaves, slavebuilddir="test",
factory= TestFactory(),
locks = [build_lock.access('exclusive')]))
c['multiMaster'] = True
c['db_poll_interval'] = 60
* Buildmaster02 *
def TestFactory():
factory = BuildFactory()
factory.addStep(ShellCommand(command=["ls"]))
return factory
…
c['builders'] = []
c['builders'].append(
BuilderConfig(name="Build Test",
slavenames = winSlaves, slavebuilddir="test",
factory= TestFactory(),
locks = [build_lock.access('exclusive')]))
c['multiMaster'] = True
c['db_poll_interval'] = 110
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20130218/6145aff7/attachment.html>
More information about the devel
mailing list