[Buildbot-devel] Problem Getting BuildBot to Build Things
James Kelly
JKelly at vectorworks.net
Wed Oct 8 15:51:06 UTC 2008
Hi all,
I have to imagine this is going to be something incredibly dumb, but I'm
having a problem to get buildbot to, uh, build. :) As I'm sure will become
obvious, this is my first buildbot setup.
I set up a buildmaster (via easy_install) on a OS X 10.4 machine, and it has
a slave on the same machine. Here is the version information:
Version Information
* Buildbot: 0.7.9
* Twisted: 8.1.0
* Python: 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC 4.0.1 (Apple
Computer, Inc. build 5363)]
* Buildmaster platform: darwin
I set it up to run both the master and slave through launchd, that's all
working great, the slave connects to the master and I can see status updates
and such. The problem is, nothing ever happens. I commit changes to our
perforce server, and the buildmaster doesn't seem to care. I originally had
some problems hooking up the P4Source (P4PASSWD unset, resolved that), but
it definitely is hooked up because it said "P4Poller: starting at change
149" in the log (149 being the last changelist number on the perforce
server). Yet the waterfall display still says idle.
Some relevant configuration lines:
c['slaves'] = [BuildSlave('macinstall','XXXXXXX', max_builds=2)]
s = P4Source(p4bin='/usr/local/bin/p4',
p4base='//depot/Projects/Installer/Stable/',pollinterval=30,
p4port='test.nemetschek.net:1666',p4user='jkelly',p4passwd='XXXXXXXXXXX')
c['schedulers'].append(Scheduler(name="Installer", branch=None,
treeStableTimer=30,
builderNames=["Installer Framework"]))
zBuildFactory = factory.BuildFactory()
zBuildFactory.addStep(P4(p4base='//depot/Projects/Installer/Stable',
p4port='test.nemetschek.net:1666',
p4user='jkelly',
p4passwd='XXXXXXXXXXX'))
zBuildFactory.addStep(Compile(command=['python', './setup.py',
WithProperties('%s', 'revision'), 'build', 'bdist-egg']))
zBuildFactory.addStep(FileUpload(slavesrc=WithProperties('dist/Installer-0.1
.%s-py2.5.egg', 'revision'),
masterdest='/Library/WebServer/Documents/dist'))
installer = {'name': "Installer Framework",
'slavename':"macinstall",
'builddir':"macbuilds",
'factory':zBuildFactory,
}
c['builders'] = [installer]
The logs no show errors, it just kinda sits there. I tried to use the debug
console to force a build, but got an error that there was no module named
gobject. I gave up trying to get that dependency met after going down a
rabbit hole reminiscent of RPM dependencies circa RedHat 9. :) Incidently,
this seems to be a reproduceable problem on all machines I have buildbot
installed on (OS X 10.4, 10.5, and Windows XP), I could file a bug if this
is an unknown issue.
Anyway, any ideas?
Thanks,
Jim
More information about the devel
mailing list