[Buildbot] #3277: Builds that contain commands with SlaveLocks fail with exceptions due to inability to coerce SlaveLock to renderable

Buildbot trac trac at buildbot.net
Wed Jun 10 20:44:54 UTC 2015


#3277: Builds that contain commands with SlaveLocks fail with exceptions due to
inability to coerce SlaveLock to renderable
----------------------+-------------------
Reporter:  cody       |      Owner:
    Type:  undecided  |     Status:  new
Priority:  major      |  Milestone:  0.8.x
 Version:  master     |   Keywords:
----------------------+-------------------
 Here's the exception given:

 {{{
 Traceback (most recent call last):
 Failure: twisted.internet.defer.FirstError: FirstError[#0, [Failure
 instance: Traceback (failure with no frames): <class
 'twisted.internet.defer.FirstError'>: FirstError[#0, [Failure instance:
 Traceback: <type 'exceptions.TypeError'>: ('Could not adapt',
 <SlaveLock(multirust, 1)[c1edhp04_ikabit] 140130560311520>,
 <InterfaceClass buildbot.interfaces.IRenderable>)
 /usr/local/lib/python2.7/dist-
 packages/buildbot-0.8.13_pre_48_g0f5d964-py2.7.egg/buildbot/process/properties.py:157:render
 /usr/local/lib/python2.7/dist-packages/Twisted-15.0.0-py2.7-linux-
 x86_64.egg/twisted/internet/defer.py:140:maybeDeferred
 /usr/local/lib/python2.7/dist-
 packages/buildbot-0.8.13_pre_48_g0f5d964-py2.7.egg/buildbot/process/properties.py:722:getRenderingFor
 /usr/local/lib/python2.7/dist-
 packages/buildbot-0.8.13_pre_48_g0f5d964-py2.7.egg/buildbot/process/properties.py:157:render
 --- <exception caught here> ---
 /usr/local/lib/python2.7/dist-packages/Twisted-15.0.0-py2.7-linux-
 x86_64.egg/twisted/internet/defer.py:140:maybeDeferred
 /usr/local/lib/python2.7/dist-
 packages/buildbot-0.8.13_pre_48_g0f5d964-py2.7.egg/buildbot/process/properties.py:739:getRenderingFor
 /usr/local/lib/python2.7/dist-
 packages/buildbot-0.8.13_pre_48_g0f5d964-py2.7.egg/buildbot/process/properties.py:156:render
 ]]
 ]]
 }}}

 Using a dummy util.renderer to return a list of lock accesses doesn't work
 either (it tries to iterate over the renderable, which is not iterable),
 so I'm not sure if there is anyway to use locks on a per-command basis at
 present.

--
Ticket URL: <http://trac.buildbot.net/ticket/3277>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list