[Buildbot-commits] [Buildbot] #2253: Deal gracefully with exceptions thrown before a build is fully started.

Buildbot nobody at buildbot.net
Thu Mar 22 05:06:05 UTC 2012


#2253: Deal gracefully with exceptions thrown before a build is fully started.
-----------------------+-----------------------
Reporter:  tom.prince  |      Owner:
    Type:  defect      |     Status:  new
Priority:  major       |  Milestone:  undecided
 Version:  0.8.6       |   Keywords:
-----------------------+-----------------------
 Traceback from #2252 demonstrating this.

 {{{
 2012-03-22 14:23:39+1300 [-] Unhandled error in Deferred:
 2012-03-22 14:23:39+1300 [-] Unhandled Error
         Traceback (most recent call last):
           File "/usr/local/lib/python2.7/site-
 packages/buildbot-0.8.6-py2.7.egg/buildbot/process/build.py", line 396, in
 _stepDone
             return self.startNextStep()
           File "/usr/local/lib/python2.7/site-
 packages/buildbot-0.8.6-py2.7.egg/buildbot/process/build.py", line 387, in
 startNextStep
             d.addErrback(self.buildException)
           File "/usr/local/lib/python2.7/site-
 packages/Twisted-12.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
 line 312, in addErrback
             errbackKeywords=kw)
           File "/usr/local/lib/python2.7/site-
 packages/Twisted-12.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
 line 290, in addCallbacks
             self._runCallbacks()
         --- <exception caught here> ---
           File "/usr/local/lib/python2.7/site-
 packages/Twisted-12.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
 line 551, in _runCallbacks
             current.result = callback(current.result, *args, **kw)
           File "/usr/local/lib/python2.7/site-
 packages/buildbot-0.8.6-py2.7.egg/buildbot/process/build.py", line 491, in
 buildException
             self.buildFinished(["build", "exception"], EXCEPTION)
           File "/usr/local/lib/python2.7/site-
 packages/buildbot-0.8.6-py2.7.egg/buildbot/process/build.py", line 507, in
 buildFinished
             self.remote.dontNotifyOnDisconnect(self.lostRemote)
           File "/usr/local/lib/python2.7/site-
 packages/Twisted-12.0.0-py2.7-linux-x86_64.egg/twisted/spread/pb.py", line
 306, in dontNotifyOnDisconnect
             self.disconnectCallbacks.remove(callback)
         exceptions.ValueError: list.remove(x): x not in list
 }}}

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


More information about the Commits mailing list