[Buildbot-commits] [Buildbot] #2305: If doStepIf callable errors out build ends badly

Buildbot nobody at buildbot.net
Sat May 26 23:40:53 UTC 2012


#2305: If doStepIf callable errors out build ends badly
----------------------+--------------------
Reporter:  Jc2k       |       Owner:
    Type:  defect     |      Status:  new
Priority:  major      |   Milestone:  0.8.+
 Version:  master     |  Resolution:
Keywords:  buildstep  |
----------------------+--------------------

Comment (by dustin):

 That was relatively easy to fix!

 Now I get:

 {{{
  (view as text)

 Traceback (most recent call last):
   File "/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
 packages/twisted/internet/defer.py", line 368, in callback
     self._startRunCallbacks(result)
   File "/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
 packages/twisted/internet/defer.py", line 464, in _startRunCallbacks
     self._runCallbacks()
   File "/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
 packages/twisted/internet/defer.py", line 551, in _runCallbacks
     current.result = callback(current.result, *args, **kw)
   File
 "/home/dustin/code/buildbot/t/buildbot/master/buildbot/process/buildstep.py",
 line 636, in finished
     self._finishFinished(results)
 --- <exception caught here> ---
   File
 "/home/dustin/code/buildbot/t/buildbot/master/buildbot/process/buildstep.py",
 line 645, in _finishFinished
     hidden = self._maybeEvaluate(self.hideStepIf, results, self)
   File
 "/home/dustin/code/buildbot/t/buildbot/master/buildbot/process/buildstep.py",
 line 766, in _maybeEvaluate
     value = value(*args, **kwargs)
 exceptions.TypeError: <lambda>() takes no arguments (2 given)


 }}}

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


More information about the Commits mailing list