Buildbot master generates a setupBuild exception when attempting to run a builder
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
buildbot (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: buildbot
I installed buildbot on one master and two slave systems. I configured the master with a minimal configuration, and attached the two slaves. The configuration file passed validation from buildbot checkconfig. The buildbot service started, and the slaves connected. I attempted to start a build and the build immediately failed with a setupBuild exception. Examining twistd.log on the server revealed this as the cause of the setupBuild exception.
----- Start copy of twistd.log -----
2009-12-07 23:44:45+1100 [HTTPChannel,
2009-12-07 23:44:45+1100 [Broker,
2009-12-07 23:44:45+1100 [Broker,
2009-12-07 23:44:45+1100 [Broker,
2009-12-07 23:44:45+1100 [Broker,
2009-12-07 23:44:45+1100 [Broker,
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
d = build.startBuil
--- <exception caught here> ---
File "/usr/lib/
File "/usr/lib/
step = factory(**args)
----- End copy of twistd.log -----
I have attached the relevant master.cfg file to this bug report.
With this bug, buildbot is non-functional on a Karmic host.
ProblemType: Bug
Architecture: amd64
Date: Mon Dec 7 23:59:43 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/buildbot
InterpreterPath: /usr/bin/python2.6
Package: buildbot 0.7.11p3-1
PackageArchitec
ProcEnviron:
PATH=(custom, no user)
LANG=en_AU.UTF-8
SHELL=/bin/sh
ProcVersionSign
SourcePackage: buildbot
Uname: Linux 2.6.31-16-server x86_64
I have duplicated this exact same bug on Ubuntu 9.04. I have attached the .apport file generated from ubuntu-bug, and have copied the output from twistd.log below.
--- Start of twistd.log ---- 0,10.0. 0.113] 10.0.0.113 - - [08/Dec/ 2009:11: 30:35 +0000] "GET /builders/ ubuntu- 904-amd64- gcc43-rwd/ force?username= &comments= &branch= &revision= HTTP/1.1" 302 180 "http:// 10.0.0. 135:8010/ builders/ ubuntu- 904-amd64- gcc43-rwd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.15) Gecko/2009102815 Ubuntu/9.04 (jaunty) Firefox/3.0.15" 0,10.0. 0.118] ping finished: success 0,10.0. 0.118] <Build ubuntu- 904-amd64- gcc43-rwd> .startBuild 0,10.0. 0.118] error while creating step, factory= [<buildbot. steps.source. Git instance at 0x331a7e8>], args={} 0,10.0. 0.118] Build.setupBuild failed 0,10.0. 0.118] Unhandled Error python2. 6/dist- packages/ twisted/ internet/ defer.py" , line 243, in callback _startRunCallba cks(result) python2. 6/dist- packages/ twisted/ internet/ defer.py" , line 312, in _startRunCallbacks _runCallbacks( ) python2. 6/dist- packages/ twisted/ internet/ defer.py" , line 328, in _runCallbacks self.result, *args, **kw) python2. 6/dist- packages/ buildbot/ process/ builder. py", line 637, in _startBuild_2 d(bs, self.expectations, sb) python2. 6/dist- packages/ buildbot/ process/ base.py" , line 336, in startBuild setupBuild( expectations) # create .steps python2. 6/dist- packages/ buildbot/ process/ base.py" , line 387, in setupBuild TypeError: 'list' object is not callable
22:30:35+1100 [HTTPChannel,
2009-12-08 22:30:35+1100 [Broker,
2009-12-08 22:30:35+1100 [Broker,
2009-12-08 22:30:35+1100 [Broker,
2009-12-08 22:30:35+1100 [Broker,
2009-12-08 22:30:35+1100 [Broker,
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.result = callback(
File "/usr/lib/
d = build.startBuil
--- <exception caught here> ---
File "/usr/lib/
self.
File "/usr/lib/
step = factory(**args)
exceptions.
---- End of twistd.log ----