[Buildbot-commits] [Buildbot] #1924: buildbot reconfig fails from 0.8.3 onwards
Buildbot
nobody at buildbot.net
Sun Apr 10 12:04:23 UTC 2011
#1924: buildbot reconfig fails from 0.8.3 onwards
---------------------+-----------------------
Reporter: jonathan | Owner:
Type: defect | Status: new
Priority: major | Milestone: undecided
Version: 0.8.3 | Keywords:
---------------------+-----------------------
Running buildbot reconfig on a 0.8.3 master fails with the following
traceback. This seems strange because I would have expected
"self.category = setup.get('category', None)" to return None rather than
causing a KeyError
{{{
2011-04-10 12:49:43+0100 [-] Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.6/site-
packages/buildbot-0.8.3-py2.6.egg/buildbot/master.py", line 703, in
loadTheConfigFile
d = self.loadConfig(f)
File "/usr/local/lib/python2.6/site-
packages/buildbot-0.8.3-py2.6.egg/buildbot/master.py", line 1032, in
loadConfig
d.addCallback(lambda res: self.loadConfig_Builders(builders))
File "/usr/local/lib/python2.6/site-
packages/Twisted-11.0.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py",
line 297, in addCallback
callbackKeywords=kw)
File "/usr/local/lib/python2.6/site-
packages/Twisted-11.0.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py",
line 286, in addCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/local/lib/python2.6/site-
packages/Twisted-11.0.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py",
line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/local/lib/python2.6/site-
packages/buildbot-0.8.3-py2.6.egg/buildbot/master.py", line 1032, in
<lambda>
d.addCallback(lambda res: self.loadConfig_Builders(builders))
File "/usr/local/lib/python2.6/site-
packages/buildbot-0.8.3-py2.6.egg/buildbot/master.py", line 1186, in
loadConfig_Builders
elif old.compareToSetup(data):
File "/usr/local/lib/python2.6/site-
packages/buildbot-0.8.3-py2.6.egg/buildbot/process/builder.py", line 475,
in compareToSetup
if setup['category'] != self.category:
exceptions.KeyError: 'category'
}}}
--
Ticket URL: <http://trac.buildbot.net/ticket/1924>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list