<div dir="ltr"><div>You can see a little more detail about the communication patterns here:<br>  <a href="http://docs.buildbot.net/current/developer/master-slave.html">http://docs.buildbot.net/current/developer/master-slave.html</a><br><br></div><div>No, it all occurs over a single TCP connection from the buildslave to the buildmaster on port 9989.<br><br>master/buildbot/buildslave/manager.py<br>126             yield conn.remotePrint(message="attached")<br>127             info = yield conn.remoteGetSlaveInfo()<br>128             log.msg("Got slaveinfo from '%s'" % buildslaveName)<br><br></div><div>line 126 is what results in the "message from master: attached" log on the buildslave, so you know that is being executed.  But apparently the `remoteGetSlaveInfo` call never completes.<br><br></div><div>So either that RPC call is never reaching the buildslave, or no response is ever reaching the buildmaster.  You could distinguish those possibilities by editing buildslave/base.py to add some `print` statements to `remote_getSlaveInfo`.  At a guess, I wonder if `multiprocessing.cpu_count` hangs on the ARM platform for some reason.<br><br></div><div>Dustin<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 5, 2015 at 3:53 PM, Elliot Saba <span dir="ltr"><<a href="mailto:staticfloat@gmail.com" target="_blank">staticfloat@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">To give a small update on this, it looks like some kind of failure is going on in the initial communication between master and slave.  Contrast the twistd.log file when a working slave connects:<div><br></div><div><div><font face="monospace, monospace">2015-10-05 19:49:06+0000 [Broker,15,aaa.bbb.ccc.ddd] slave 'centos6.7-x64' attaching from IPv4Address(TCP, 'aaa.bbb.ccc.ddd', 53629)</font></div><div><font face="monospace, monospace">2015-10-05 19:49:06+0000 [Broker,15,</font><span style="font-family:monospace,monospace">aaa.bbb.ccc.ddd</span><font face="monospace, monospace">] Got slaveinfo from 'centos6.7-x64'</font></div><div><font face="monospace, monospace">2015-10-05 19:49:06+0000 [Broker,15,</font><span style="font-family:monospace,monospace">aaa.bbb.ccc.ddd</span><font face="monospace, monospace">] Starting buildslave keepalive timer for 'centos6.7-x64'</font></div><div><font face="monospace, monospace">2015-10-05 19:49:06+0000 [Broker,15,</font><span style="font-family:monospace,monospace">aaa.bbb.ccc.ddd</span><font face="monospace, monospace">] bot attached</font></div><div><font face="monospace, monospace">2015-10-05 19:49:06+0000 [Broker,15,</font><span style="font-family:monospace,monospace">aaa.bbb.ccc.ddd</span><font face="monospace, monospace">] Buildslave centos6.7-x64 attached to nuke_centos6.7-x64</font></div><div><font face="monospace, monospace">2015-10-05 19:49:06+0000 [Broker,15,</font><span style="font-family:monospace,monospace">aaa.bbb.ccc.ddd</span><font face="monospace, monospace">] Buildslave centos6.7-x64 attached to nightly_cxx64</font></div><div><font face="monospace, monospace">2015-10-05 19:49:06+0000 [Broker,15,</font><span style="font-family:monospace,monospace">aaa.bbb.ccc.ddd</span><font face="monospace, monospace">] Buildslave centos6.7-x64 attached to clean_centos6.7-x64</font></div><div><br></div><div>Versus when my new ARM slave connects:<br></div><div><font face="monospace, monospace">2015-10-05 19:49:16+0000 [Broker,16,www.xxx.yyy.zzz] slave 'ubuntu14.04-armv7l' attaching from IPv4Address(TCP, 'www.xxx.yyy.zzz', 47946)</font></div></div><div><br></div><div>It never says "<font face="monospace, monospace">Got slaveinfo from ubuntu14.04-armv7l</font>", which seems to me like there's a problem with duplex communication.  Does anyone know if I need to open ports other than the default buildmaster port of 9989?  Do I need to open ports on the buildslave side?</div><div>-E</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 2, 2015 at 11:47 PM, nachaat hassis <span dir="ltr"><<a href="mailto:nachaat05@yahoo.fr" target="_blank">nachaat05@yahoo.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>The fact that the slave is an arm-board does not matter.</div><div>I have many arm- and armhf- slaves and they are working fine.<br><br>Von meinem iPhone gesendet</div><div><div><div><br>Am 03.10.2015 um 08:21 schrieb Elliot Saba <<a href="mailto:staticfloat@gmail.com" target="_blank">staticfloat@gmail.com</a>>:<br><br></div><blockquote type="cite"><div><div dir="ltr">Hello all,<div><br></div><div>I have an ubuntu14.04 ARM machine that I'm trying to connect to my buildmaster, and although both twistd.log files show the connection being made, the web UI always says that the buildslave is disconnected, and no jobs are ever dispatched to the buildslave.</div><div><br></div><div>In slightly more detail, my buildmaster has logs of the form:</div><div><br></div><div><font face="monospace, monospace">2015-10-03 06:16:42+0000 [Broker,12,<a href="http://www.xxx.yyy.zzz" target="_blank">www.xxx.yyy.zzz</a>] slave 'ubuntu14.04-armv7l' attaching from IPv4Address(TCP, 'aaa.bbb.ccc.ddd', 47418)</font><br></div><div><br></div><div>And my buildslave shows:</div><div><br></div><div><div><font face="monospace, monospace">2015-10-03 06:16:41+0000 [-] Connecting to <a href="http://buildbot.e.ip.saba.us:9989" target="_blank">buildbot.e.ip.saba.us:9989</a></font></div><div><font face="monospace, monospace">2015-10-03 06:16:41+0000 [Broker,client] message from master: attached</font></div></div><div><br></div><div>You can see the buildslave on <a href="http://buildbot.e.ip.saba.us:8010/builders/package_tarballarm7vl" target="_blank">the webui here</a>, what can I do to figure out why this is happening?  Could this have something to do with the fact that the buildslave is an ARM machine?</div><div><br></div><div>Thanks,</div><div>-Elliot</div></div>
</div></blockquote></div></div><blockquote type="cite"><div><span>_______________________________________________</span><br><span>users mailing list</span><br><span><a href="mailto:users@buildbot.net" target="_blank">users@buildbot.net</a></span><br><span><a href="https://lists.buildbot.net/mailman/listinfo/users" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a></span></div></blockquote></div></blockquote></div><br></div>
<br>_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@buildbot.net">users@buildbot.net</a><br>
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a><br></blockquote></div><br></div>