[Buildbot] #3604: exceptions.AttributeError: 'NoneType' object has no attribute 'notifyOnDisconnect'

Buildbot trac trac at buildbot.net
Sun Sep 4 18:02:36 UTC 2016

#3604: exceptions.AttributeError: 'NoneType' object has no attribute
Reporter:  rayene   |      Owner:
    Type:  defect   |     Status:  new
Priority:  major    |  Milestone:  undecided
 Version:  0.9.0b9  |   Keywords:
 Buildbot version : 0.9.0rc2

 Steps to reproduce :

 - Launch a job with an OpenStackLatentWorker
 - We have noticed that sometimes, the worker is not substantiated. The job
 stays in 'preparing worker' mode for about 60 minutes. After that, it
 tries to re-substantiate. Sometimes it succeeds and the job resumes. but
 sometimes, it fails and we have the traceback below.


 2016-09-04 17:45:06+0000 [_GenericHTTPChannelProtocol,15471,] No
 changes found
 2016-09-04 17:45:09+0000 [Broker,262,]
 2016-09-04 17:45:09+0000 [Broker,262,]
 releaseLocks(<EveOpenStackLatentWorker u'ow002-ring-'>): []
 2016-09-04 17:45:09+0000 [-] Unhandled error in Deferred:
 2016-09-04 17:45:09+0000 [-] Unhandled Error
         Traceback (most recent call last):
         Failure: twisted.spread.pb.PBConnectionLost: [Failure instance:
 Traceback (failure with no frames): <class
 'twisted.internet.error.ConnectionLost'>: Connection to the other side was
 lost in a non-clean fashion.

 2016-09-04 17:45:09+0000 [-] Starting factory
 <twisted.web.client._HTTP11ClientFactory instance at 0x7f25700b7128>
 2016-09-04 17:45:11+0000 [Broker,262,]
 EveOpenStackLatentWorker ow002-ring- starting instance 72c43512-c228-4a2b-
 ad33-d91c7eb173ae (image <Image: Ubuntu 14.04 LTS (Trusty Tahr) (PVHVM)>)
 2016-09-04 17:45:49+0000 [-] EveOpenStackLatentWorker ow002-ring-
 terminating instance 72c43512-c228-4a2b-ad33-d91c7eb173ae (ow002-ring-)
 2016-09-04 17:45:49+0000 [-] starting build <Build openstack-build>..
 pinging the worker <LatentWorkerForBuilder builder=u'openstack-build'
 worker=u'ow002-ring-' state=BUILDING>
 2016-09-04 17:45:49+0000 [-] from a running build; this is a serious error
 - please file a bug at http://buildbot.net
         Traceback (most recent call last):
           File "/root/eve/workspaces/ring/venv/local/lib/python2.7/site-
 packages/twisted/internet/defer.py", line 393, in callback
           File "/root/eve/workspaces/ring/venv/local/lib/python2.7/site-
 packages/twisted/internet/defer.py", line 501, in _startRunCallbacks
           File "/root/eve/workspaces/ring/venv/local/lib/python2.7/site-
 packages/twisted/internet/defer.py", line 588, in _runCallbacks
             current.result = callback(current.result, *args, **kw)
           File "/root/eve/workspaces/ring/venv/local/lib/python2.7/site-
 packages/twisted/internet/defer.py", line 1184, in gotResult
             _inlineCallbacks(r, g, deferred)
         --- <exception caught here> ---
           File "/root/eve/workspaces/ring/venv/local/lib/python2.7/site-
 packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks
             result = g.send(result)
           File "/root/eve/workspaces/ring/venv/local/lib/python2.7/site-
 packages/buildbot/process/build.py", line 326, in startBuild
             self.subs = self.conn.notifyOnDisconnect(self.lostRemote)
         exceptions.AttributeError: 'NoneType' object has no attribute

 2016-09-04 17:45:49+0000 [-] Starting factory
 <twisted.web.client._HTTP11ClientFactory instance at 0x7f25605b1830>


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

More information about the bugs mailing list