[Buildbot-devel] Cannot have two services with same name

André Anjos andre.anjos at idiap.ch
Sat Apr 14 13:18:57 UTC 2012


Hello,

My buildbot installation (0.8.6, not p1), after some mods in the master is
now complaining like indicated below when one of the slaves attach:

2012-04-14 15:12:01+0200 [Broker,1,172.20.16.2] slave 'mguenther-x86_64'
attaching from IPv4Address(TCP, '172.20.16.2', 44585)
2012-04-14 15:12:01+0200 [Broker,1,172.20.16.2] Starting buildslave
keepalive timer for 'mguenther-x86_64'
2012-04-14 15:12:01+0200 [Broker,1,172.20.16.2] Got slaveinfo from
'mguenther-x86_64'
2012-04-14 15:12:01+0200 [Broker,1,172.20.16.2] bot attached
2012-04-14 15:12:01+0200 [Broker,1,172.20.16.2] BuildSlave.sendBuilderList
(<BuildSlave 'mguenther-x86_64'>) failed
2012-04-14 15:12:01+0200 [Broker,1,172.20.16.2] Unhandled Error
Traceback from remote host -- Traceback unavailable
exceptions.RuntimeError: cannot have two services with same name
'idiap-10.04-x86_64-cleaner+master'

I have located the place inside the code where the problem occurs
(<buildbot-prefix>/buildslave.py method sendBuilderList(), line 540). The
method feeds a list of tuples to the remote slave. I have printed the value
of such list:

[
 ('idiap-10.04-x86_64-debug', 'idiap-10.04-x86_64-debug'),
 ('idiap-10.04-x86_64-cleaner+master',
'idiap-10.04-x86_64-incremental+master'),
 ('idiap-10.04-x86_64-release', 'idiap-10.04-x86_64-release'),
 ('ubuntu-10.04-x86_64-release', 'ubuntu-10.04-x86_64-release'),
 ('idiap-10.04-x86_64-incremental+master',
'idiap-10.04-x86_64-incremental+master'),
 ('idiap-10.04-x86_64-incremental+stable',
'idiap-10.04-x86_64-incremental+stable'),
 ('idiap-10.04-x86_64-cleaner+stable',
'idiap-10.04-x86_64-incremental+stable')
]

The order is ("builder-name", "slave-builddir"). This looks right to me.

Why does sendBuilderList() fail then?

Thanks for any tips,

A

-- 
Dr. André Anjos
Idiap Research Institute
Centre du Parc - rue Marconi 19
CH-1920 Martigny, Suisse
Phone: +41 27 721 7763
Fax: +41 27 721 7712
http://andreanjos.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20120414/6ea10d4f/attachment.html>


More information about the devel mailing list