[Buildbot-commits] [Buildbot] #2281: removing a buildstep causes exception in process.py
Buildbot
nobody at buildbot.net
Fri Apr 13 18:18:05 UTC 2012
#2281: removing a buildstep causes exception in process.py
---------------------+------------------------
Reporter: stepchen | Owner:
Type: defect | Status: new
Priority: major | Milestone: undecided
Version: 0.8.6p1 | Resolution:
Keywords: |
---------------------+------------------------
Description changed by tom.prince:
Old description:
> After removing a ShellCommand step from a builder and reconfigure, we got
> the exception below in twistd.log every time the builder is scheduled to
> run. Adding a no-op ShellCommand step back works around the exception.
>
> 2012-04-12 14:29:57-0400 [-] <Build host-trunk>.startBuild
> 2012-04-12 14:29:57-0400 [-] Build.setupBuild failed
> 2012-04-12 14:29:57-0400 [-] Unhandled Error
> Traceback (most recent call last):
> File "/usr/lib/python2.7/site-
> packages/twisted/internet/defer.py", line 551, in _runCallbacks
> current.result = callback(current.result, *args, **kw)
> File "/usr/lib/python2.7/site-
> packages/twisted/internet/defer.py", line 916, in gotResult
> _deferGenerator(g, deferred)
> File "/usr/lib/python2.7/site-
> packages/twisted/internet/defer.py", line 891, in _deferGenerator
> result = g.next()
> File "/usr/lib/python2.7/site-
> packages/buildbot-0.8.6p1-py2.7.egg/buildbot/process/builder.py", line
> 378, in _startBuildFor
> d = build.startBuild(bs, self.expectations, slavebuilder)
> --- <exception caught here> ---
> File "/usr/lib/python2.7/site-
> packages/buildbot-0.8.6p1-py2.7.egg/buildbot/process/build.py", line 240,
> in startBuild
> self.setupBuild(expectations) # create .steps
> File "/usr/lib/python2.7/site-
> packages/buildbot-0.8.6p1-py2.7.egg/buildbot/process/build.py", line 341,
> in setupBuild
> self.progress.setExpectationsFrom(expectations)
> File "/usr/lib/python2.7/site-
> packages/buildbot-0.8.6p1-py2.7.egg/buildbot/status/progress.py", line
> 153, in setExpectationsFrom
> s = self.steps[name]
> exceptions.KeyError: 'shell_2'
>
> 2012-04-12 14:29:57-0400 [-] releaseLocks(<BuildSlave 'host'>): []
New description:
After removing a ShellCommand step from a builder and reconfigure, we got
the exception below in twistd.log every time the builder is scheduled to
run. Adding a no-op ShellCommand step back works around the exception.
{{{
2012-04-12 14:29:57-0400 [-] <Build host-trunk>.startBuild
2012-04-12 14:29:57-0400 [-] Build.setupBuild failed
2012-04-12 14:29:57-0400 [-] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/site-
packages/twisted/internet/defer.py", line 551, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/lib/python2.7/site-
packages/twisted/internet/defer.py", line 916, in gotResult
_deferGenerator(g, deferred)
File "/usr/lib/python2.7/site-
packages/twisted/internet/defer.py", line 891, in _deferGenerator
result = g.next()
File "/usr/lib/python2.7/site-
packages/buildbot-0.8.6p1-py2.7.egg/buildbot/process/builder.py", line
378, in _startBuildFor
d = build.startBuild(bs, self.expectations, slavebuilder)
--- <exception caught here> ---
File "/usr/lib/python2.7/site-
packages/buildbot-0.8.6p1-py2.7.egg/buildbot/process/build.py", line 240,
in startBuild
self.setupBuild(expectations) # create .steps
File "/usr/lib/python2.7/site-
packages/buildbot-0.8.6p1-py2.7.egg/buildbot/process/build.py", line 341,
in setupBuild
self.progress.setExpectationsFrom(expectations)
File "/usr/lib/python2.7/site-
packages/buildbot-0.8.6p1-py2.7.egg/buildbot/status/progress.py", line
153, in setExpectationsFrom
s = self.steps[name]
exceptions.KeyError: 'shell_2'
2012-04-12 14:29:57-0400 [-] releaseLocks(<BuildSlave 'host'>): []
}}}
--
--
Ticket URL: <http://trac.buildbot.net/ticket/2281#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list