[Buildbot] #2951: AttributeError: 'NoneType' object has no attribute 'append'
Buildbot trac
trac at buildbot.net
Sun Oct 26 16:23:03 UTC 2014
#2951: AttributeError: 'NoneType' object has no attribute 'append'
---------------------+-----------------------
Reporter: Ben | Owner: tardyp
Type: defect | Status: assigned
Priority: critical | Milestone: 0.9.0
Version: master | Resolution:
Keywords: |
---------------------+-----------------------
Comment (by Ben):
Not exactly ... I have to confess that I have hard time finding a minimal
setup for it ...
I got it once with that:
{{{
c['builders'].append(util.BuilderConfig(name="bug2951", slavename
="example-slave", factory=util.BuildFactory(
[steps.ShellCommand(command='echo a; echo b 1>&2; exit 1') ] * 5 +
[steps.ShellCommand(command=['echo', 'a'])] +
[steps.ShellCommand(command='echo a; echo b 1>&2; exit 1') ] * 5
)))
c['schedulers'].append(schedulers.ForceScheduler(name="bug2951",
builderNames=['bug2951']))
}}}
Once exactly ...
Here is the Traceback:
{{{
2014-10-26 17:08:39+0100 [-] closing log
<buildbot.process.buildstep.SyncLogFileWrapper object at 0x102daa890>
2014-10-26 17:08:39+0100 [-]
releaseLocks(<buildbot.steps.shell.ShellCommand object at 0x102db2e90>):
[]
2014-10-26 17:08:39+0100 [-] step 'shell_3' complete: failure
2014-10-26 17:08:39+0100 [-]
ShellCommand.startCommand(cmd=<RemoteShellCommand ''echo a; echo b 1>&2;
exit 1''>)
2014-10-26 17:08:39+0100 [-] cmd.args = {'workdir': 'build', 'env':
None, 'want_stderr': 1, 'logEnviron': True, 'sigtermTime': None,
'logfiles': {}, 'timeout': 1200, 'want_stdout': 1, 'usePTY': 'slave-
config', 'maxTime': None, 'initial_stdin': None}
2014-10-26 17:08:39+0100 [-] <RemoteShellCommand ''echo a; echo b 1>&2;
exit 1''>: RemoteCommand.run [4]
2014-10-26 17:08:39+0100 [-] command 'echo a; echo b 1>&2; exit 1' in dir
'build'
2014-10-26 17:08:39+0100 [Broker,0,127.0.0.1] <RemoteShellCommand ''echo
a; echo b 1>&2; exit 1''> rc=1
2014-10-26 17:08:39+0100 [-] closing log
<buildbot.process.buildstep.SyncLogFileWrapper object at 0x102d9cbd0>
2014-10-26 17:08:39+0100 [-] Unhandled error in Deferred:
2014-10-26 17:08:39+0100 [-] Unhandled Error
Traceback (most recent call last):
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
157, in next
self._catchup()
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
155, in _catchup
@d.addBoth
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 329, in addBoth
callbackKeywords=kw, errbackKeywords=kw)
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 295, in addCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 577, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
157, in next
self._catchup()
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
159, in _catchup
self.step._start_unhandled_deferreds.append(d)
exceptions.AttributeError: 'NoneType' object has no attribute
'append'
2014-10-26 17:08:39+0100 [-] Unhandled error in Deferred:
2014-10-26 17:08:39+0100 [-] Unhandled Error
Traceback (most recent call last):
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
157, in next
self._catchup()
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
155, in _catchup
@d.addBoth
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 329, in addBoth
callbackKeywords=kw, errbackKeywords=kw)
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 295, in addCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 577, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
157, in next
self._catchup()
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
159, in _catchup
self.step._start_unhandled_deferreds.append(d)
exceptions.AttributeError: 'NoneType' object has no attribute
'append'
2014-10-26 17:08:39+0100 [-] Unhandled error in Deferred:
2014-10-26 17:08:39+0100 [-] Unhandled Error
Traceback (most recent call last):
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
157, in next
self._catchup()
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
155, in _catchup
@d.addBoth
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 329, in addBoth
callbackKeywords=kw, errbackKeywords=kw)
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 295, in addCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 577, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
157, in next
self._catchup()
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
159, in _catchup
self.step._start_unhandled_deferreds.append(d)
exceptions.AttributeError: 'NoneType' object has no attribute
'append'
2014-10-26 17:08:39+0100 [-] Unhandled error in Deferred:
2014-10-26 17:08:39+0100 [-] Unhandled Error
Traceback (most recent call last):
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
157, in next
self._catchup()
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
155, in _catchup
@d.addBoth
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 329, in addBoth
callbackKeywords=kw, errbackKeywords=kw)
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 295, in addCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 577, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
157, in next
self._catchup()
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
159, in _catchup
self.step._start_unhandled_deferreds.append(d)
exceptions.AttributeError: 'NoneType' object has no attribute
'append'
2014-10-26 17:08:39+0100 [-] from an asynchronous method executed in an
old-style step
Traceback (most recent call last):
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1155, in gotResult
_inlineCallbacks(r, g, deferred)
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1142, in _inlineCallbacks
deferred.callback(e.value)
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 382, in callback
self._startRunCallbacks(result)
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 490, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 577, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
135, in gotAsync
self._catchup()
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
159, in _catchup
self.step._start_unhandled_deferreds.append(d)
exceptions.AttributeError: 'NoneType' object has no attribute
'append'
2014-10-26 17:08:39+0100 [-]
releaseLocks(<buildbot.steps.shell.ShellCommand object at 0x102db2550>):
[]
2014-10-26 17:08:39+0100 [-] step 'shell_4' complete: exception
2014-10-26 17:08:39+0100 [-] <Build bug2951>: build finished
2014-10-26 17:08:39+0100 [-] Unhandled error in Deferred:
2014-10-26 17:08:39+0100 [-] Unhandled Error
Traceback (most recent call last):
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
135, in gotAsync
self._catchup()
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
155, in _catchup @d.addBoth
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 329, in addBoth
callbackKeywords=kw, errbackKeywords=kw)
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 295, in addCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 577, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
157, in next
self._catchup()
File
"/Users/benoit/Python/buildbot/master/buildbot/process/buildstep.py", line
159, in _catchup
self.step._start_unhandled_deferreds.append(d)
exceptions.AttributeError: 'NoneType' object has no attribute
'append'
2014-10-26 17:08:39+0100 [-] releaseLocks(<BuildSlave u'example-slave'>):
[]
2014-10-26 17:08:39+0100 [-] tried to complete 1 buildreqests, but only
completed 0
}}}
--
Ticket URL: <http://trac.buildbot.net/ticket/2951#comment:6>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list