[Buildbot-devel] empty self.slave list

trebosc olivier oltreb at yahoo.fr
Wed Jan 2 16:18:56 UTC 2008




I'm a newbie to buildbot and I'm running into an issue
that I can solve.

I made a 'master.cfg' file which seems to work fine: 
....2007/12/19 10:32 +0200 [-] configuration update
started
	2007/12/19 10:32 +0200 [-] configuration update
complete
	The buildmaster appears to have (re)started
correctly.

I use svn as CV, when I make a source change, "tail
twisted.log" gives:
	2007/12/19 10:33 +0200 [-] SVNPoller polling
	2007/12/19 10:33 +0200 [-] svnPoller:
_process_changes 16 .. 17
	2007/12/19 10:33 +0200 [-] Adding change revision 17
	2007/12/19 10:33 +0200 [-] adding change, who root, 1
files, rev=17, branch=None, comments remise de pt-vrgl
	2007/12/19 10:33 +0200 [-] <Scheduler 'quick' at
46912616155616>: change is important, adding
<buildbot.changes.changes.Change instance at
0x2aaab23008c0>
	2007/12/19 10:33 +0200 [-] <Scheduler 'quick' at
46912616155616>: setting timer to 09:33:40
	2007/12/19 10:33 +0200 [-] SVNPoller finished polling
	2007/12/19 10:33 +0200 [-] _finished : None
	2007/12/19 10:33 +0200 [-] maybeStartBuild <Builder
'build-hobbes' at 46912619444272>:
[<buildbot.process.base.BuildRequest instance at
0x2aaab22b6d40>] []
	2007/12/19 10:33 +0200 [-] <Builder 'build-hobbes' at
46912619444272>: want to start build, but we don't
have a remote
	
As you can see, the buildbot detects a new commit has
been done, but as it says "we don't have a remote". 
In consequence the Buildbot can't launch a build and
so it doesn't tell me how bad the build fails... It
seems this 
problem is due to an empty self.slaves list (as we can
see on the line above "maybeStartBuild... []")

Any ideas on what I can do to solve this issue?

Thanks in advance,
Olivier

Here is my 'master.cfg' file. 
########################################################################
#		master.cfg
########################################################################
c = BuildmasterConfig = {}


#BUILDSLAVES
from buildbot.buildslave import BuildSlave
c['slaves'] = [BuildSlave("biroot", "hobbes")] 

c['slavePortnum'] = 8406

#CHANGESOURCES
from buildbot.changes.svnpoller import SVNPoller
c['change_source'] = []

fc_source =
SVNPoller(svnurl="file:///data/home/biroot/svn/repository/Lib/trunk",
split_file=None, svnuser=None, svnpasswd=None,
pollinterval=6, histmax=100)
c['change_source'].append(fc_source)

#SCHEDULERS
from buildbot import scheduler
quick = scheduler.Scheduler("quick", None, 60, 
["build-hobbes"])
c['schedulers'] = [quick]


# BUILDERS
from buildbot.steps.source import SVN
from buildbot.steps.shell import Compile
from buildbot.steps.python_twisted import Trial
from buildbot.steps import source, shell
from buildbot.process import factory

f=factory.BuildFactory()
f.addStep(source.SVN(svnurl="file:///data/home/biroot/svn/repository/LibTIM/trunk"))

f.addStep(shell.Compile(command="make all"))

b1 = {'name': "build-hobbes", 
      'slavename': "biroot",
      'builddir': "full",
      'factory': f}

c['builders'] = [b1]

# STATUS TARGETS
c['status'] = []
from buildbot.status import html
c['status'].append(html.WebStatus(http_port=8404))

from buildbot.status import mail
c['status'].append(mail.MailNotifier(fromaddr="buildbot at localhost",
                                     
extraRecipients=['oltreb at yahoo.fr'],
                                     
sendToInterestedUsers=False))

# PROJECT IDENTITY
c['projectName'] = "Buildbot"
c['projectURL'] = "http://buildbot.sourceforge.net/"
c['buildbotURL'] = "http://localhost:8404/"






      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr




More information about the devel mailing list