[Buildbot-devel] Removing a reference to a builder which no longer exists

Eric Wimmer ewimmer at ilm.com
Wed Nov 20 19:42:15 UTC 2013


I'm running buildbot 0.8.7p1 and it appears that I have a reference to 
an older builder that no longer exists in the db.  I'd like to purge 
that out but I'm not sure how.

This builder used to be active but it was removed in my master.cfg a 
while back.  Now, when I'm running, I see these errors in the twistd.log 
frequently:

2013-11-20 09:29:42-0800 [HTTPChannel,7,10.66.43.42] Unhandled Error
         Traceback (most recent call last):
           File 
"/usr/local/lib/python2.7/site-packages/twisted/protocols/basic.py", 
line 581, in dataReceived
             why = self.lineReceived(line)
           File 
"/usr/local/lib/python2.7/site-packages/twisted/web/http.py", line 1611, 
in lineReceived
             self.allContentReceived()
           File 
"/usr/local/lib/python2.7/site-packages/twisted/web/http.py", line 1686, 
in allContentReceived
             req.requestReceived(command, path, version)
           File 
"/usr/local/lib/python2.7/site-packages/twisted/web/http.py", line 790, 
in requestReceived
             self.process()
         --- <exception caught here> ---
           File 
"/usr/local/lib/python2.7/site-packages/twisted/web/server.py", line 
187, in process
             resrc = self.site.getResourceFor(self)
           File 
"/usr/local/lib/python2.7/site-packages/twisted/web/server.py", line 
723, in getResourceFor
             return resource.getChildForRequest(self.resource, request)
           File 
"/usr/local/lib/python2.7/site-packages/twisted/web/resource.py", line 
98, in getChildForRequest
             resource = resource.getChildWithDefault(pathElement, request)
           File 
"/usr/local/lib/python2.7/site-packages/twisted/web/resource.py", line 
201, in getChildWithDefault
             return self.getChild(path, request)
           File 
"/usr/local/lib/python2.7/site-packages/buildbot/status/web/olpb.py", 
line 39, in getChild
             builder = status.getBuilder(path)
           File 
"/usr/local/lib/python2.7/site-packages/buildbot/status/master.py", line 
221, in getBuilder
             return self.botmaster.builders[name].builder_status
         exceptions.KeyError: 'katana1.4-linux64-gcc461-opt-tests'

How can I go about cleaning that out manually?

Thank you




More information about the devel mailing list