[Buildbot-devel] Issue with master 0.8.8

Francesco Di Mizio francescodimizio at gmail.com
Tue May 6 13:10:40 UTC 2014


My last reply has probably nothing to do with the issue we were talking
about.
Not sure why I am getting this now.


On Tue, May 6, 2014 at 2:34 PM, Francesco Di Mizio <
francescodimizio at gmail.com> wrote:

> Hi Dustin,
>
> after adding the code you mentioned, here is what I get:
>
> 2014-05-06 14:27:36+0200 [-] Unhandled Error
> Traceback (most recent call last):
>  Failure: twisted.internet.defer.FirstError: FirstError[#0, [Failure
> instance: Traceback: <type 'exceptions.AttributeError'>: SourceStamp
> instance has no attribute 'codebase'
>
> /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:1048:_inlineCallbacks
>
> /usr/local/lib/python2.7/dist-packages/buildbot/process/buildrequest.py:127:_make_br
>
> /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:301:addCallback
> /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:290:addCallbacks
>  --- <exception caught here> ---
>
> /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:551:_runCallbacks
>
> /usr/local/lib/python2.7/dist-packages/buildbot/process/buildrequest.py:122:store_source
> ]]
>  2014-05-06 14:27:36+0200 [-] Unhandled error in Deferred:
> 2014-05-06 14:27:36+0200 [-] Unhandled Error
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line
> 1048, in _inlineCallbacks
>     result = g.send(result)
>   File
> "/usr/local/lib/python2.7/dist-packages/buildbot/process/buildrequest.py",
> line 127, in _make_br
>     d.addCallback(store_source)
>   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line
> 301, in addCallback
>     callbackKeywords=kw)
>   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line
> 290, in addCallbacks
>     self._runCallbacks()
> --- <exception caught here> ---
>   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line
> 551, in _runCallbacks
>     current.result = callback(current.result, *args, **kw)
>   File
> "/usr/local/lib/python2.7/dist-packages/buildbot/process/buildrequest.py",
> line 122, in store_source
>     buildrequest.sources[source.codebase] = source
> exceptions.AttributeError: SourceStamp instance has no attribute 'codebase'
>
> Thanks for your time, very appreciated.
>
> Francesco
>
>
> On Mon, May 5, 2014 at 10:20 PM, Dustin J. Mitchell <dustin at v.igoro.us>wrote:
>
>> On Mon, May 5, 2014 at 6:49 AM, Francesco Di Mizio
>> <francescodimizio at gmail.com> wrote:
>> > In the beginning I was on Twisted 11.1.0. Having had the same guess as
>> you,
>> > I upgraded to 12.0 but the issue is still there.
>>
>> Well, Twisted's weak point is its tracebacks, so it's pretty hard to
>> tell exactly what's wrong from what you've attached.  It looks like
>> something, somewhere, is calling defer.returnValue(xx) where xx is
>> itself a Deferred.  But you figured that out in the OP.  I can't see
>> that happening in any of the related code, though, and it's something
>> I would expect unit tests to uncover.  I've never seen this error
>> before.
>>
>> Is any of the Buildbot or Twisted code modified from upstream?  Can
>> you verify that to be sure?
>>
>> If not, please try adding a 'traceback.print_stack()' call to
>> defer.returnValue, conditioned on its argument being an instance of
>> Deferred.  That should show where the offending call is.
>>
>> Dustin
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20140506/04fb214c/attachment.html>


More information about the devel mailing list