Opened 9 months ago

Last modified 7 months ago

#3656 new defect

duplicate worker use case is broken

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

Description (last modified by rutsky)

2016-12-14 11:58:54+0100 [Broker,34,127.0.0.1] worker 'worker0' attaching from IPv4Address(TCP, '127.0.0.1', 65520)
2016-12-14 11:58:54+0100 [Broker,34,127.0.0.1] Got duplication connection from 'worker0' starting arbitration procedure
2016-12-14 11:58:54+0100 [Broker,30,127.0.0.1] Got error while trying to ping connected worker worker0:rejecting duplicate worker
2016-12-14 11:58:54+0100 [Broker,30,127.0.0.1] Old connection for 'worker0' was lost, accepting new
2016-12-14 11:58:54+0100 [Broker,30,127.0.0.1] Worker.detached(worker0)
2016-12-14 11:58:54+0100 [Broker,30,127.0.0.1] releaseLocks(<Worker u'worker0'>): []
2016-12-14 11:58:54+0100 [Broker,30,127.0.0.1] Worker worker0 detached from runtests
2016-12-14 11:58:54+0100 [Broker,34,127.0.0.1] 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 http://buildbot.net
        Traceback (most recent call last):
          File "/Users/ptardy/dev/bb/buildbot/sandbox/lib/python2.7/site-packages/twisted/internet/defer.py", line 1355, in gotResult
            _inlineCallbacks(r, g, deferred)
          File "/Users/ptardy/dev/bb/buildbot/sandbox/lib/python2.7/site-packages/twisted/internet/defer.py", line 1299, in _inlineCallbacks
            result = g.send(result)
          File "/Users/ptardy/dev/bb/buildbot/master/buildbot/process/build.py", 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/defer.py", 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/defer.py", line 1299, in _inlineCallbacks
            result = g.send(result)
          File "/Users/ptardy/dev/bb/buildbot/master/buildbot/process/build.py", line 352, in buildPreparationFailure
            self.workerforbuilder.worker.putInQuarantine()
        exceptions.AttributeError: 'NoneType' object has no attribute 'putInQuarantine'

This is because of https://github.com/buildbot/buildbot/commit/7e3003d241072f18d2845b487cd6cdf7fd364960

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

Change History (4)

comment:1 Changed 9 months ago by rutsky

  • Description modified (diff)

comment:2 Changed 8 months ago by tardyp

  • Milestone changed from 0.9.3 to 0.9.4

Ticket retargeted after milestone closed

comment:3 Changed 8 months ago by tardyp

  • Milestone changed from 0.9.4 to 0.9.5

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.