[Buildbot-devel] "Connection lost in a non-clean fashion" / duplicate slave

Harry Percival harry at pythonanywhere.com
Mon Nov 17 09:28:02 UTC 2014

Hi there,

We've been running a build farm with a linux master and windows slaves 
for many years.  Have been experimenting with moving the slaves to 
Azure, and I'm seeing a lot of errors saying:

     remoteFailed: [Failure instance: Traceback (failure with no 
frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to 
the other side was lost in a non-clean fashion.

Which abort the build.  In the twistd.log, I'm seeing these messages at 
around the same time:

     <timestamp> [Broker,<n>,<ip>] duplicate slave <slavename>; delaying 
new slave (IPv4Address(TCP, '<ip>', <port>)) and pinging old 
(IPv4Address(TCP, '<port>', <other-port>))
     <timestamp+10s> [Broker,<n-1>,<ip>] BuildSlave.detached(<slavename>)

What could be happening here?

The slaves are running Windows Server 2012R2 Datacenter.

I've had a look at this: 
and tried changing the buildbot.tax keepalive variable, no apparent change.

thanks for any help!


Harry Percival
harry at pythonanywhere.com

PythonAnywhere - a fully browser-based Python development and hosting environment

PythonAnywhere LLP
17a Clerkenwell Road, London EC1M 5RD, UK
VAT No.: GB 893 5643 79
Registered in England and Wales as company number OC378414.
Registered address: 28 Ely Place, 3rd Floor, London EC1N 6TD, UK

More information about the devel mailing list