The startTime variable in buildbot.slave.commands.ShellCommand? doesn't get initialized which results in an TypeError? in finished() when trying to calculate the elapsed time.
This happens on a vanilla 0.7.9 installation when trying run a test. Everything works fine on 0.7.8. The relevant traceback is below:
2008-10-11 22:14:11+0300 [-] Unhandled Error
Traceback (most recent call last):
File "/home/dokai/collective.buildbot/eggs/Twisted-8.1.0-py2.5-linux-i686.egg/twisted/internet/selectreactor.py", line 15
6, in _doReadOrWrite
self._disconnectSelectable(selectable, why, method=="doRead")
File "/home/dokai/collective.buildbot/eggs/Twisted-8.1.0-py2.5-linux-i686.egg/twisted/internet/posixbase.py", line 193, i
n _disconnectSelectable
selectable.connectionLost(f)
File "/home/dokai/collective.buildbot/eggs/Twisted-8.1.0-py2.5-linux-i686.egg/twisted/internet/process.py", line 915, in
connectionLost
self.maybeCallProcessEnded()
File "/home/dokai/collective.buildbot/eggs/Twisted-8.1.0-py2.5-linux-i686.egg/twisted/internet/process.py", line 906, in
maybeCallProcessEnded
_BaseProcess.maybeCallProcessEnded(self)
--- <exception caught here> ---
File "/home/dokai/collective.buildbot/eggs/Twisted-8.1.0-py2.5-linux-i686.egg/twisted/internet/process.py", line 333, in
maybeCallProcessEnded
self.proto.processEnded(failure.Failure(e))
File "/home/dokai/collective.buildbot/eggs/buildbot-0.7.9-py2.5.egg/buildbot/slave/commands.py", line 158, in processEnde
d
self.command.finished(sig, rc)
File "/home/dokai/collective.buildbot/eggs/buildbot-0.7.9-py2.5.egg/buildbot/slave/commands.py", line 474, in finished
self.elapsedTime = time.time() - self.startTime
exceptions.TypeError: unsupported operand type(s) for -: 'float' and 'NoneType'