[Buildbot-devel] Problem Getting BuildBot to Build Things
James Kelly
JKelly at vectorworks.net
Fri Oct 10 15:45:28 UTC 2008
On 10/8/08 8:10 PM, "Charles Lepple" <clepple at gmail.com> wrote:
> On Wed, Oct 8, 2008 at 11:51 AM, James Kelly <JKelly at vectorworks.net> wrote:
>> Yet the waterfall display still says idle.
>
> Do you see any changes logged in the waterfall? (this would be the
> column just to the right of the time in the waterfall - not the
> builder column itself).
No, there is a "?" for when the builder was created, and nothing else in
that column. When I click the changes link, it just lists the single
p4source I configured, with the information I configured for it.
In the log on the master, all I have is " P4Poller: starting at change 149"
again implying that it's at least able to read from perforce, it just
doesn't seem to care about changes.
>> 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.
>
> Which is reproducible on all platforms, the P4 issue, or not being
> able to find gobject?
>
> For gobject, you probably need Python bindings to GTK+. (The
> easy_install dependencies only cover the core functionality of
> BuildBot - the non-web GUIs require pygtk, which can be installed via
> Fink or MacPorts on OS X.)
Ah, my apologies for not being clear, the gobject issue is on all platforms,
but based on what you said here that is expected. I'll wrestle with the
pygtk install to try and get that working. :)
> Also, to force a build, it is probably easier to change the allowForce
> parameter of the WebStatus module to True:
>
> http://buildbot.net/repos/release/docs/buildbot.html#WebStatus-Configuration-P
> arameters
>
> You will probably want to protect that from public access.
Ah! Okay, I was wondering about this, and must have missed it in the docs.
I kept reading about forcing a build, but never could find it on the web
interface.
I just did a ping of the builder with the new options available to me on the
web interface, and that was a success. I then attempted to force a build,
and get this in my log:
2008-10-10 07:26:44-0700 [HTTPChannel,0,192.168.6.3] web forcebuild of
builder 'Installer Framework', branch='None', revision='149'
2008-10-10 07:26:44-0700 [HTTPChannel,0,192.168.6.3] maybeStartBuild
<Builder 'Installer Framework' at 34381536>:
[<buildbot.process.base.BuildRequest instance at 0x20c9c10>] [<SlaveBuilder
builder=Installer Framework slave=macinstall>]
2008-10-10 07:26:45-0700 [HTTPChannel,0,192.168.6.3] <Builder 'Installer
Framework' at 34381536>: want to start build, but we don't have a remote
I googled for the 'want to start build, but we don't have a remote' error.
I see a couple other people with the issue. It seemed the consensus was
that restarting the slave would allow it to continue, and this worked. I
then ran into a problem where the source sync on the slave failed unless I
added a perforce client specification name (which according to the docs is
optional).
I then ran into this when it is attempting to do the actual sync:
remoteFailed: [Failure instance: Traceback from remote host -- Traceback
(most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packag
es/Twisted-8.1.0-py2.5-macosx-10.3-ppc.egg/twisted/internet/defer.py", line
186, in addCallbacks
self._runCallbacks()
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packag
es/Twisted-8.1.0-py2.5-macosx-10.3-ppc.egg/twisted/internet/defer.py", line
328, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packag
es/Twisted-8.1.0-py2.5-macosx-10.3-ppc.egg/twisted/internet/defer.py", line
289, in _continue
self.unpause()
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packag
es/Twisted-8.1.0-py2.5-macosx-10.3-ppc.egg/twisted/internet/defer.py", line
285, in unpause
self._runCallbacks()
--- <exception caught here> ---
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packag
es/Twisted-8.1.0-py2.5-macosx-10.3-ppc.egg/twisted/internet/defer.py", line
328, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packag
es/buildbot-0.7.9-py2.5.egg/buildbot/slave/commands.py", line 1299, in
writeSourcedata
open(self.sourcedatafile, "w").write(self.sourcedata)
exceptions.IOError: [Errno 2] No such file or directory:
'/var/buildbot/slave/installer/macbuilds/build/.buildbot-sourcedata'
The odd thing is, I figured I could just create the 'build' directory for
it, but it (rightly so) blows out the macbuilds directory before every
build. Any ideas what I could be missing? It seems there must be some
simple I'm missing.
Thanks!
Jim
More information about the devel
mailing list