[Buildbot-commits] [Buildbot] #1776: reconfig broken, but start/stop works.

Buildbot nobody at buildbot.net
Sat Jan 22 02:54:29 UTC 2011


#1776: reconfig broken, but start/stop works.
--------------------+-------------------------------
Reporter:  tfogal   |      Owner:
    Type:  defect   |     Status:  new
Priority:  major    |  Milestone:  undecided
 Version:  0.8.3p1  |   Keywords:  reconfig database
--------------------+-------------------------------
 Using {{{6643f3a347abe693971cc37a561148dd934eee76}}} (latest 0.8.3, I
 think).

 I cannot reconfig:
 {{{
 visit at buildbot master buildbot reconfig
 sending SIGHUP to process 6553
 2011-01-21 19:56:04-0700 [-] loading configuration from
 /home/visit/master/master.cfg
 2011-01-21 19:56:04-0700 [-] configuration update started
 2011-01-21 19:56:04-0700 [-] Unhandled Error
         Traceback (most recent call last):
           File "/usr/local/lib/python2.5/site-packages/buildbot-0.8
 .1rc3_784_g6bedeee-py2.5.egg/buildbot/master.py", line 703, in
 loadTheConfigFile
             d = self.loadConfig(f)
           File "/usr/local/lib/python2.5/site-packages/buildbot-0.8
 .1rc3_784_g6bedeee-py2.5.egg/buildbot/master.py", line 1032, in loadConfig
             d.addCallback(lambda res: self.loadConfig_Builders(builders))
           File "/usr/local/lib/python2.5/site-
 packages/Twisted-10.0.0-py2.5-linux-x86_64.egg/twisted/internet/defer.py",
 line 224, in addCallback
             callbackKeywords=kw)
           File "/usr/local/lib/python2.5/site-
 packages/Twisted-10.0.0-py2.5-linux-x86_64.egg/twisted/internet/defer.py",
 line 213, in addCallbacks
             self._runCallbacks()
         --- <exception caught here> ---
           File "/usr/local/lib/python2.5/site-
 packages/Twisted-10.0.0-py2.5-linux-x86_64.egg/twisted/internet/defer.py",
 line 371, in _runCallbacks
             self.result = callback(self.result, *args, **kw)
           File "/usr/local/lib/python2.5/site-packages/buildbot-0.8
 .1rc3_784_g6bedeee-py2.5.egg/buildbot/master.py", line 1032, in <lambda>
             d.addCallback(lambda res: self.loadConfig_Builders(builders))
           File "/usr/local/lib/python2.5/site-packages/buildbot-0.8
 .1rc3_784_g6bedeee-py2.5.egg/buildbot/master.py", line 1186, in
 loadConfig_Builders
             elif old.compareToSetup(data):
           File "/usr/local/lib/python2.5/site-packages/buildbot-0.8
 .1rc3_784_g6bedeee-py2.5.egg/buildbot/process/builder.py", line 475, in
 compareToSetup
             if setup['category'] != self.category:
         exceptions.KeyError: 'category'
 }}}

 however a buildbot stop / start iteration works fine.

 From the stack, it looks like I could set a category to fix this.  I've
 never defined a category before.

 I feel like this came up on the mailing list recently, but cannot find the
 thread.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/1776>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list