[users at bb.net] All slaves shown as 'offline' but both master and slave twisted.log show connection
Caleb Crome
caleb at signalessence.com
Mon Apr 10 18:48:41 UTC 2017
Hi all,
I'm bringing up a new buildbot master with a previously working master.cfg.
I'm running both master and slave inside the same docker, so my first
thought is some port mapping issue, but not sure. All seems to be
correct.
buildbot version 0.8.12
ubuntu linux.
after buildbot start master:
------ master/twisted.log -----
... all seems okay ...
PBServerFactory starting on 9989
... all seems okay...
2017-04-10 18:33:50+0000 [-] BuildMaster is running
Then i create a slave:
buildslave create-slave slave-64-bit-linux localhost:9989
slave-64-bit-linux password
----- slave-64-bit-linux/master.cfg -----
2017-04-10 18:35:02+0000 [-] Loaded.
2017-04-10 18:35:02+0000 [-] twistd 17.1.0 (/usr/bin/python 2.7.6) starting up.
2017-04-10 18:35:02+0000 [-] reactor class:
twisted.internet.epollreactor.EPollReactor.
2017-04-10 18:35:02+0000 [-] Starting BuildSlave -- version: 0.8.12
2017-04-10 18:35:02+0000 [-] recording hostname in twistd.hostname
2017-04-10 18:35:02+0000 [-] Starting factory
<buildslave.bot.BotFactory instance at 0x7faec02c24d0>
2017-04-10 18:35:02+0000 [-] Connecting to localhost:9989
2017-04-10 18:35:02+0000 [Broker,client] message from master: attached
2017-04-10 18:35:02+0000 [Broker,client] Connected to localhost:9989;
slave is ready
2017-04-10 18:35:02+0000 [Broker,client] sending application-level
keepalives every 600 seconds
And back in master/twisted.log I get:
2017-04-10 18:44:18+0000 [Broker,2,172.17.0.1] slave
'slave-64-bit-linux' attaching from IPv4Address(TCP, '172.17.0.1',
60490)
2017-04-10 18:44:18+0000 [Broker,2,172.17.0.1] Got slaveinfo from
'slave-64-bit-linux'
2017-04-10 18:44:18+0000 [Broker,2,172.17.0.1] Starting buildslave
keepalive timer for 'slave-64-bit-linux'
2017-04-10 18:44:18+0000 [Broker,2,172.17.0.1] bot attached
which sure seems fine to me.
However when I take a look at my web server, it shows the slave is offline.
I did in fact verify that when I stop the master, the buildbot website
stops working (just making sure that there are not 2 buildbot masters
running).
Any ideas?
Thanks,
-Caleb
More information about the users
mailing list