[Buildbot-devel] Interference between buildslaves?

Mike Winter miwinter at cisco.com
Fri Feb 19 17:29:53 UTC 2010


This smacks of 2 slaves of the same name on 2 boxes causing flip-flopping in the master.

I have run multiple slaves on the same physical host as master and also a different host to the master both with no problem.

If the NAT is correctly implemented then you should not see a problem in the circumstances you describe. 

I assume NAT is a level 3 or lower, but I have never had to deal with it in my work.

my 2c: Consider investigating the nature of the failure using tools like wireshark and tcpdump.


On Feb 19, 2010, at 7:32 AM, Chris wrote:

> Hi,
> 
> I have a problem with interference between multiple buildslaves, and 
> would like to find out if anyone else has had this problem and knows 
> what to do.
> 
> I have the buildmaster running on a linux machine "master", and a
> buildslave running on another linux machine "slave". I also have
> another buildslave running on a virtual linux machine that's running
> on slave ("virtual-slave"). The virtual machine is using NAT, so the
> IP of slave and virtual-slave will appear the same to master.
> 
> I expected this to work, because for a long time I've also had a
> different linux machine running a buildslave, plus a buildslave on a
> Windows virtual machine that's on that same linux machine.
> 
> What I find, though, is that the buildmaster mixes up the buildslave
> on slave and virtual-slave. For instance, starting the buildslave on
> slave-virtual can make the buildmaster believe that builders on slave
> have connected. Or one of the buildslaves will constantly connect and
> disconnect. Why would this work ok with a linux machine hosting a
> virtual Windows machine, but not ok with a linux machine hosting a
> virtual linux machine? I've checked my master.cfg several times; the
> builders are correctly using slave or virtual-slave buildslaves. The
> only thing shared between the builders using slave and virtual-slave
> is a slavelock (for slave, since virtual-slave is also on slave).
> 
> I hope my description is not too confusing! If it is, please let me
> know. Anyway, here are the details of the installations:
> 
> 
> master: Ubuntu 8.04 LTS
> 
> buildbot at master:~$ buildbot --version
> Buildbot version: 0.7.11p3
> Twisted version: 2.5.0
> (buildbot installed from http://ppa.launchpad.net/mwhudson/ppa/ubuntu)
> 
> 
> slave: Ubuntu 8.04 LTS
> 
> buildbot at slave:~$ buildbot --version
> Buildbot version: 0.7.11p3
> Twisted version: 2.5.0
> (buildbot installed from http://ppa.launchpad.net/mwhudson/ppa/ubuntu)
> 
> 
> slave-virtual: Ubuntu 9.10
> 
> buildbot at slave-virtual:~$ buildbot --version
> Buildbot version: 0.7.11p3
> Twisted version: 8.2.0
> (buildbot installed from 9.10 repository)
> 
> 
> 
> Any advice will be greatly appreciated!
> 
> Thanks,
> Chris
> 
> 
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel





More information about the devel mailing list