[users at bb.net] strange reconnect bug

Pierre Tardy tardyp at gmail.com
Wed Feb 1 16:01:21 UTC 2017


Hi Greg,

I am not aware of this particular problem.
The worker management code has changed a lot bw 0.9.1 and 0.9.2, so indeed
this is worth an upgrade.

When you mean power cycle, you mean sudo reboot, or a real power cycle?

Do the system eventually recover from the error, or do you have to restart
oot your master as well?

Regards
Pierre
Le mer. 1 févr. 2017 à 16:29, Greg MacDonald <gmacdonald at trionworlds.com> a
écrit :

> So I’m running 1.9.1 currently and I’m getting a weird error if a worker
> machine is power cycled. When it tries to reconnect I get the following
> error. Has this been fixed in the latest version? I’ll try the latest
> shortly.
>
>
>
> 2017-02-01 07:25:04-0800 [Broker,4,192.168.20.56]
> Worker.detached(RWC-BUILD9)
>
> 2017-02-01 07:25:04-0800 [Broker,4,192.168.20.56] releaseLocks(<Worker
> u'RWC-BUILD9'>): []
>
> 2017-02-01 07:25:04-0800 [Broker,4,192.168.20.56] WEIRD:
> Builder.detached(<Worker u'RWC-BUILD9'>) (RWC-BUILD9) not in
> attaching_workers([]) or workers([])
>
> 2017-02-01 07:25:04-0800 [Broker,4,192.168.20.56] WEIRD:
> Builder.detached(<Worker u'RWC-BUILD9'>) (RWC-BUILD9) not in
> attaching_workers([]) or workers([])
>
> 2017-02-01 07:25:04-0800 [Broker,4,192.168.20.56] WEIRD:
> Builder.detached(<Worker u'RWC-BUILD9'>) (RWC-BUILD9) not in
> attaching_workers([]) or workers([])
>
> 2017-02-01 07:25:04-0800 [Broker,4,192.168.20.56] WEIRD:
> Builder.detached(<Worker u'RWC-BUILD9'>) (RWC-BUILD9) not in
> attaching_workers([]) or workers([])
>
> 2017-02-01 07:25:04-0800 [Broker,4,192.168.20.56] WEIRD:
> Builder.detached(<Worker u'RWC-BUILD9'>) (RWC-BUILD9) not in
> attaching_workers([]) or workers([])
>
> 2017-02-01 07:25:04-0800 [Broker,4,192.168.20.56] WEIRD:
> Builder.detached(<Worker u'RWC-BUILD9'>) (RWC-BUILD9) not in
> attaching_workers([]) or workers([])
>
> 2017-02-01 07:25:04-0800 [Broker,4,192.168.20.56] WEIRD:
> Builder.detached(<Worker u'RWC-BUILD9'>) (RWC-BUILD9) not in
> attaching_workers([]) or workers([])
>
> 2017-02-01 07:25:04-0800 [Broker,4,192.168.20.56] while invoking callback
> <bound method Worker.detached of <Worker u'RWC-BUILD9'>> to
> <SubscriptionPoint 'disconnections from RWC-BUILD9'>
>
>                 Traceback (most recent call last):
>
>                   File
> "C:\TrionBuildbot\python64\Lib\site-packages\twisted\spread\pb.py", line
> 1340, in maybeLogout
>
>                     fn()
>
>                   File
> "C:\TrionBuildbot\python64\Lib\site-packages\buildbot\pbmanager.py", line
> 186, in <lambda>
>
>                     return (pb.IPerspective, persp, lambda:
> persp.detached(mind))
>
>                   File
> "C:\TrionBuildbot\python64\Lib\site-packages\buildbot\worker\protocols\pb.py",
> line 151, in detached
>
>                     self.notifyDisconnected()
>
>                   File
> "C:\TrionBuildbot\python64\Lib\site-packages\buildbot\worker\protocols\base.py",
> line 50, in notifyDisconnected
>
>                     self._disconnectSubs.deliver()
>
>                 --- <exception caught here> ---
>
>                   File
> "C:\TrionBuildbot\python64\Lib\site-packages\buildbot\util\subscription.py",
> line 36, in deliver
>
>                     sub.callback(*args, **kwargs)
>
>                   File
> "C:\TrionBuildbot\python64\Lib\site-packages\buildbot\worker\base.py", line
> 590, in detached
>
>                     self.startMissingTimer()
>
>                   File
> "C:\TrionBuildbot\python64\Lib\site-packages\buildbot\worker\base.py", line
> 296, in startMissingTimer
>
>                     self.stopMissingTimer()  # in case it's already running
>
>                   File
> "C:\TrionBuildbot\python64\Lib\site-packages\buildbot\worker\base.py", line
> 302, in stopMissingTimer
>
>                     self.missing_timer.cancel()
>
>                   File
> "C:\TrionBuildbot\python64\Lib\site-packages\twisted\internet\base.py",
> line 89, in cancel
>
>                     raise error.AlreadyCalled
>
>                 twisted.internet.error.AlreadyCalled: Tried to cancel an
> already-called event.
>
>
>
> 2017-02-01 07:25:08-0800 [Broker,5,192.168.20.56] worker 'RWC-BUILD9'
> attaching from IPv4Address(TCP, '192.168.20.56', 59943)
>
> 2017-02-01 07:25:08-0800 [Broker,5,192.168.20.56] Got workerinfo from
> 'RWC-BUILD9'
>
> 2017-02-01 07:25:08-0800 [-] bot attached
>
> 2017-02-01 07:25:08-0800 [-] worker RWC-BUILD9 cannot attach
>
>                 Traceback (most recent call last):
>
>                 Failure: twisted.internet.error.AlreadyCalled: Tried to
> cancel an already-called event.
>
>
> _______________________________________________
> users mailing list
> users at buildbot.net
> https://lists.buildbot.net/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20170201/2e289fb4/attachment.html>


More information about the users mailing list