Opened 4 years ago

Last modified 4 years ago

#3656 new defect

duplicate worker use case is broken — at Version 1

Reported by: tardyp Owned by:
Priority: critical Milestone: 0.9.5
Version: 0.9.0 Keywords:

Description (last modified by rutsky)

2016-12-14 11:58:54+0100 [Broker,34,] worker 'worker0' attaching from IPv4Address(TCP, '', 65520)
2016-12-14 11:58:54+0100 [Broker,34,] Got duplication connection from 'worker0' starting arbitration procedure
2016-12-14 11:58:54+0100 [Broker,30,] Got error while trying to ping connected worker worker0:rejecting duplicate worker
2016-12-14 11:58:54+0100 [Broker,30,] Old connection for 'worker0' was lost, accepting new
2016-12-14 11:58:54+0100 [Broker,30,] Worker.detached(worker0)
2016-12-14 11:58:54+0100 [Broker,30,] releaseLocks(<Worker u'worker0'>): []
2016-12-14 11:58:54+0100 [Broker,30,] Worker worker0 detached from runtests
2016-12-14 11:58:54+0100 [Broker,34,] Got workerinfo from 'worker0'
2016-12-14 11:58:54+0100 [-] False
2016-12-14 11:58:54+0100 [-] from a running build; this is a serious error - please file a bug at
        Traceback (most recent call last):
          File "/Users/ptardy/dev/bb/buildbot/sandbox/lib/python2.7/site-packages/twisted/internet/", line 1355, in gotResult
            _inlineCallbacks(r, g, deferred)
          File "/Users/ptardy/dev/bb/buildbot/sandbox/lib/python2.7/site-packages/twisted/internet/", line 1299, in _inlineCallbacks
            result = g.send(result)
          File "/Users/ptardy/dev/bb/buildbot/master/buildbot/process/", line 298, in startBuild
            yield self.buildPreparationFailure(ready_or_failure, "worker_prepare")
          File "/Users/ptardy/dev/bb/buildbot/sandbox/lib/python2.7/site-packages/twisted/internet/", line 1445, in unwindGenerator
            return _inlineCallbacks(None, gen, Deferred())
        --- <exception caught here> ---
          File "/Users/ptardy/dev/bb/buildbot/sandbox/lib/python2.7/site-packages/twisted/internet/", line 1299, in _inlineCallbacks
            result = g.send(result)
          File "/Users/ptardy/dev/bb/buildbot/master/buildbot/process/", line 352, in buildPreparationFailure
        exceptions.AttributeError: 'NoneType' object has no attribute 'putInQuarantine'

This is because of

The RuntimeError is caught means it will stop the two workers, which will in turn kill a build.

Change History (1)

comment:1 Changed 4 years ago by rutsky

  • Description modified (diff)
Note: See TracTickets for help on using tickets.