[Buildbot-commits] [SPAM] Re: [Buildbot] #675: traceback for exception on slave is not propagated to master (was: poor rendering of a traceback)

Buildbot buildbot-devel at lists.sourceforge.net
Fri Jan 8 00:20:49 UTC 2010


#675: traceback for exception on slave is not propagated to master
----------------------+-----------------------------------------------------
Reporter:  ddunbar    |        Owner:           
    Type:  undecided  |       Status:  new      
Priority:  major      |    Milestone:  undecided
 Version:  0.7.12     |   Resolution:           
Keywords:             |  
----------------------+-----------------------------------------------------

Comment(by ddunbar):

 The actual reason for the failure is that the slave is on 0.7.10 and is
 hitting a bug which has already been fixed. From the slaves log file:
 --
 2010-01-07 14:52:49-0800 [Broker,client] <bound method
 SlaveBuilder.remote_startCommand of <SlaveBuilder 'llvm-
 gcc-x86_64-darwin10-gdb' at 4330739256>> didn't accept
 (<twisted.spread.pb.RemoteReference instance at 0x101622a28>, '42962',
 'shell', {'workdir': '.', 'timeout': 1200, 'want_stderr': 1, 'logfiles':
 {}, 'logEnviron': True, 'command': ['pwd'], 'env': None, 'want_stdout': 1,
 'usePTY': 'slave-config', 'maxTime': None}) and {}
 2010-01-07 14:52:49-0800 [Broker,client] Peer will receive following PB
 traceback:
 2010-01-07 14:52:49-0800 [Broker,client] Unhandled Error
         Traceback (most recent call last):
           File "/Library/Python/2.6/site-
 packages/Twisted-8.2.0-py2.6-macosx-10.6-universal.egg/twisted/spread/banana.py",
 line 146, in gotItem
             self.callExpressionReceived(item)
           File "/Library/Python/2.6/site-
 packages/Twisted-8.2.0-py2.6-macosx-10.6-universal.egg/twisted/spread/banana.py",
 line 111, in callExpressionReceived
             self.expressionReceived(obj)
           File "/Library/Python/2.6/site-
 packages/Twisted-8.2.0-py2.6-macosx-10.6-universal.egg/twisted/spread/pb.py",
 line 514, in expressionReceived
             method(*sexp[1:])
           File "/Library/Python/2.6/site-
 packages/Twisted-8.2.0-py2.6-macosx-10.6-universal.egg/twisted/spread/pb.py",
 line 826, in proto_message
             self._recvMessage(self.localObjectForID, requestID, objectID,
 message, answerRequired, netArgs, netKw)
         --- <exception caught here> ---
           File "/Library/Python/2.6/site-
 packages/Twisted-8.2.0-py2.6-macosx-10.6-universal.egg/twisted/spread/pb.py",
 line 840, in _recvMessage
             netResult = object.remoteMessageReceived(self, message,
 netArgs, netKw)
           File "/Library/Python/2.6/site-
 packages/Twisted-8.2.0-py2.6-macosx-10.6-universal.egg/twisted/spread/flavors.py",
 line 114, in remoteMessageReceived
             state = method(*args, **kw)
           File "/Library/Python/2.6/site-
 packages/buildbot-0.7.10p1-py2.6.egg/buildbot/slave/bot.py", line 162, in
 remote_startCommand
             self.stopCommand()
           File "/Library/Python/2.6/site-
 packages/buildbot-0.7.10p1-py2.6.egg/buildbot/slave/bot.py", line 198, in
 stopCommand
             self.command.doInterrupt() # shut up! and die!
           File "/Library/Python/2.6/site-
 packages/buildbot-0.7.10p1-py2.6.egg/buildbot/slave/commands.py", line
 755, in doInterrupt
             self.interrupt()
           File "/Library/Python/2.6/site-
 packages/buildbot-0.7.10p1-py2.6.egg/buildbot/slave/commands.py", line
 1217, in interrupt
             self.command.kill("command interrupted")
           File "/Library/Python/2.6/site-
 packages/buildbot-0.7.10p1-py2.6.egg/buildbot/slave/commands.py", line
 578, in kill
             msg += ", killing pid %d" % self.process.pid
         exceptions.TypeError: %d format: a number is required, not
 NoneType

 --

 I would expect this traceback to get communicated to the master.

-- 
Ticket URL: <http://buildbot.net/trac/ticket/675#comment:3>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list