[Buildbot-commits] [Buildbot] #1704: ShellCommand's description, descriptionDone default to None, causing exceptions

Buildbot buildbot-devel at lists.sourceforge.net
Fri Dec 3 19:44:20 UTC 2010


#1704: ShellCommand's description, descriptionDone default to None, causing
exceptions
-------------------+--------------------------------------------------------
Reporter:  dustin  |       Owner:       
    Type:  defect  |      Status:  new  
Priority:  major   |   Milestone:  0.8.3
 Version:  0.8.2   |    Keywords:       
-------------------+--------------------------------------------------------

Comment(by ayust):

 Including entire error traceback here:

 {{{
 2010-12-03 16:52:44+0100 [-] Unhandled Error
        Traceback (most recent call last):
          File "/usr/lib/python2.5/site-
 packages/twisted/internet/defer.py",
 line 195, in addCallback
            callbackKeywords=kw)
          File "/usr/lib/python2.5/site-
 packages/twisted/internet/defer.py",
 line 186, in addCallbacks
            self._runCallbacks()
          File "/usr/lib/python2.5/site-
 packages/twisted/internet/defer.py",
 line 328, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
          File "/usr/lib/python2.5/site-
 packages/buildbot/process/buildstep.py", line 742, in _startStep_2
            self.step_status.setText(self.describe(False))
        --- <exception caught here> ---
          File "/usr/lib/python2.5/site-packages/buildbot/steps/shell.py",
 line 144, in describe
            if len(words) < 1:
        exceptions.TypeError: object of type 'NoneType' has no len()
 2010-12-03 16:52:44+0100 [-] buildbot-mongodb-status: Step
 4cf9124cdc30b36873000005 for build 4cf9123ddc30b36873000000 started
 2010-12-03 16:52:44+0100 [-]
 ShellCommand.startCommand(cmd=<RemoteShellCommand
 'None'>)
 2010-12-03 16:52:44+0100 [-]   cmd.args = {'workdir': 'build', 'env':
 None,
 'want_stderr': 1, 'logfiles': {}, 'logEnviron': True, 'timeout': 1200,
 'want_stdout':
  1, 'usePTY': 'slave-config', 'maxTime': None}
 2010-12-03 16:52:44+0100 [-] Error describing step
 2010-12-03 16:52:44+0100 [-] Unhandled Error
        Traceback (most recent call last):
          File "/usr/lib/python2.5/site-
 packages/twisted/internet/defer.py",
 line 328, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
          File "/usr/lib/python2.5/site-
 packages/buildbot/process/buildstep.py", line 753, in _startStep_2
            skip = self.start()
          File "/usr/lib/python2.5/site-packages/buildbot/steps/shell.py",
 line 224, in start
            self.startCommand(cmd, warnings)
          File "/usr/lib/python2.5/site-
 packages/buildbot/process/buildstep.py", line 1017, in startCommand
            self.step_status.setText(self.describe(False))
        --- <exception caught here> ---
          File "/usr/lib/python2.5/site-packages/buildbot/steps/shell.py",
 line 144, in describe
            if len(words) < 1:
        exceptions.TypeError: object of type 'NoneType' has no len()
 2010-12-03 16:52:44+0100 [-] <RemoteShellCommand 'None'>:
 RemoteCommand.run
 [4]
 2010-12-03 16:52:44+0100 [-] command 'None' in dir 'build'
 2010-12-03 16:52:44+0100 [-] LoggedRemoteCommand.start
 2010-12-03 16:52:44+0100 [-] BuildStep.failed, traceback follows
 2010-12-03 16:52:44+0100 [-] Unhandled Error
        Traceback (most recent call last):
        Failure: buildbot.slave.commands.base.AbandonChain
 }}}

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


More information about the Commits mailing list