[Buildbot-devel] reconfig causes exceptions.KeyError: 'category'

Russell Gallop russell at xmos.com
Tue Jan 18 12:29:41 UTC 2011


I have just updated my build master to 0.8.3p1 from 0.8.2 (previously 
upgraded from 0.8.0) and reconfig will not work for me, even with no 
changes to pick up.

I get:
2011-01-18 12:05:09+0000 [-] configuration update started
2011-01-18 12:05:09+0000 [-] Unhandled Error
        Traceback (most recent call last):
          File 
"/usr/local/lib/python2.6/site-packages/buildbot-0.8.3p1-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.3p1-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/internet/defer.py", line 
224, in addCallback
            callbackKeywords=kw)
          File 
"/usr/local/lib/python2.6/site-packages/twisted/internet/defer.py", line 
213, in addCallbacks
            self._runCallbacks()
        --- <exception caught here> ---
          File 
"/usr/local/lib/python2.6/site-packages/twisted/internet/defer.py", line 
371, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
          File 
"/usr/local/lib/python2.6/site-packages/buildbot-0.8.3p1-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.3p1-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.3p1-py2.6.egg/buildbot/process/builder.py", 
line 475, in compareToSetup
            if setup['category'] != self.category:
        exceptions.KeyError: 'category'

Never saw reconfiguration finish.

-I get this on two different buildbots that I run. One that makes use of 
categories and one that doesn't.
-I did buildbot upgrade-master after installing the new version and it 
didn't change anything in the master.cfg
-restart works okay

Any ideas? Could I be doing something wrong when upgrading?

Regards
Russ





More information about the devel mailing list