[Buildbot] #2951: AttributeError: 'NoneType' object has no attribute 'append'

Buildbot trac trac at buildbot.net
Mon Oct 20 19:35:21 UTC 2014


#2951: AttributeError: 'NoneType' object has no attribute 'append'
-------------------+--------------------
Reporter:  Ben     |       Owner:
    Type:  defect  |      Status:  new
Priority:  major   |   Milestone:  0.9.0
 Version:  0.8.9   |  Resolution:
Keywords:          |
-------------------+--------------------
Description changed by dustin:

Old description:

> Using nine, my logs is full of it ... (multiple time for each per step).
> I can provide more information, just don;t know where to start ....
>
> 2014-10-20 13:29:55+0200 [-] Unhandled error in Deferred:
> 2014-10-20 13:29:55+0200 [-] Unhandled Error
>         Traceback (most recent call last):
>           File
> "/home/benoit/buildbot/buildbot/master/buildbot/process/buildstep.py",
> line 158, in next
>             self._catchup()
>           File
> "/home/benoit/buildbot/buildbot/master/buildbot/process/buildstep.py",
> line 156, in _catchup
>             @d.addBoth
>           File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
> /site-packages/twisted/internet/defer.py", line 329, in addBoth
>             callbackKeywords=kw, errbackKeywords=kw)
>           File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
> /site-packages/twisted/internet/defer.py", line 295, in addCallbacks
>             self._runCallbacks()
>         --- <exception caught here> ---
>           File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
> /site-packages/twisted/internet/defer.py", line 577, in _runCallbacks
>             current.result = callback(current.result, *args, **kw)
>           File
> "/home/benoit/buildbot/buildbot/master/buildbot/process/buildstep.py",
> line 158, in next
>             self._catchup()
>           File
> "/home/benoit/buildbot/buildbot/master/buildbot/process/buildstep.py",
> line 160, in _catchup
>             self.step._start_unhandled_deferreds.append(d)
>         exceptions.AttributeError: 'NoneType' object has no attribute
> 'append'
>
> 2014-10-20 13:29:55+0200 [-] from an asynchronous method executed in an
> old-style step
>         Traceback (most recent call last):
>           File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
> /site-packages/twisted/internet/defer.py", line 1155, in gotResult
>             _inlineCallbacks(r, g, deferred)
>           File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
> /site-packages/twisted/internet/defer.py", line 1142, in _inlineCallbacks
>             deferred.callback(e.value)
>           File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
> /site-packages/twisted/internet/defer.py", line 382, in callback
>             self._startRunCallbacks(result)
>           File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
> /site-packages/twisted/internet/defer.py", line 490, in
> _startRunCallbacks
>             self._runCallbacks()
>         --- <exception caught here> ---
>           File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
> /site-packages/twisted/internet/defer.py", line 577, in _runCallbacks
>             current.result = callback(current.result, *args, **kw)
>           File
> "/home/benoit/buildbot/buildbot/master/buildbot/process/buildstep.py",
> line 136, in gotAsync
>             self._catchup()
>           File
> "/home/benoit/buildbot/buildbot/master/buildbot/process/buildstep.py",
> line 160, in _catchup
>             self.step._start_unhandled_deferreds.append(d)
>         exceptions.AttributeError: 'NoneType' object has no attribute
> 'append'

New description:

 Using nine, my logs is full of it ... (multiple time for each per step). I
 can provide more information, just don;t know where to start ....

 {{{
 2014-10-20 13:29:55+0200 [-] Unhandled error in Deferred:
 2014-10-20 13:29:55+0200 [-] Unhandled Error
         Traceback (most recent call last):
           File
 "/home/benoit/buildbot/buildbot/master/buildbot/process/buildstep.py",
 line 158, in next
             self._catchup()
           File
 "/home/benoit/buildbot/buildbot/master/buildbot/process/buildstep.py",
 line 156, in _catchup
             @d.addBoth
           File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
 /site-packages/twisted/internet/defer.py", line 329, in addBoth
             callbackKeywords=kw, errbackKeywords=kw)
           File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
 /site-packages/twisted/internet/defer.py", line 295, in addCallbacks
             self._runCallbacks()
         --- <exception caught here> ---
           File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
 /site-packages/twisted/internet/defer.py", line 577, in _runCallbacks
             current.result = callback(current.result, *args, **kw)
           File
 "/home/benoit/buildbot/buildbot/master/buildbot/process/buildstep.py",
 line 158, in next
             self._catchup()
           File
 "/home/benoit/buildbot/buildbot/master/buildbot/process/buildstep.py",
 line 160, in _catchup
             self.step._start_unhandled_deferreds.append(d)
         exceptions.AttributeError: 'NoneType' object has no attribute
 'append'

 2014-10-20 13:29:55+0200 [-] from an asynchronous method executed in an
 old-style step
         Traceback (most recent call last):
           File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
 /site-packages/twisted/internet/defer.py", line 1155, in gotResult
             _inlineCallbacks(r, g, deferred)
           File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
 /site-packages/twisted/internet/defer.py", line 1142, in _inlineCallbacks
             deferred.callback(e.value)
           File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
 /site-packages/twisted/internet/defer.py", line 382, in callback
             self._startRunCallbacks(result)
           File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
 /site-packages/twisted/internet/defer.py", line 490, in _startRunCallbacks
             self._runCallbacks()
         --- <exception caught here> ---
           File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
 /site-packages/twisted/internet/defer.py", line 577, in _runCallbacks
             current.result = callback(current.result, *args, **kw)
           File
 "/home/benoit/buildbot/buildbot/master/buildbot/process/buildstep.py",
 line 136, in gotAsync
             self._catchup()
           File
 "/home/benoit/buildbot/buildbot/master/buildbot/process/buildstep.py",
 line 160, in _catchup
             self.step._start_unhandled_deferreds.append(d)
         exceptions.AttributeError: 'NoneType' object has no attribute
 'append'
 }}}

--

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


More information about the bugs mailing list