<div dir="ltr"><div>Buildbot shows pending builds, but never begins running the build, almost like the worker has crashed. However, the worker's twistd.log shows it's still running.<br><br></div>I also thought that my experimental nextBuild callback was the cause of the issue, so I removed it and restarted buildbot. However, the problem existed before I added my callback, and the problem remains after I removed it.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 6, 2017 at 1:19 PM, Pierre Tardy <span dir="ltr"><<a href="mailto:tardyp@gmail.com" target="_blank">tardyp@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi Chris. I am not sure exactly what you mean as hang. Could you please describe me what happens and what should happen instead for you?</p>
<p dir="ltr">I see you are also playing with nextBuild in another thread. Beware that a crashing or misbehaving nextBuild can easily make buildbot stop creating new build.<br>
</p>
<br><div class="gmail_quote"><div><div class="h5"><div dir="ltr">Le jeu. 6 avr. 2017 16:44, Chris Spencer <<a href="mailto:chrisspen@gmail.com" target="_blank">chrisspen@gmail.com</a>> a écrit :<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr" class="m_-3939228543352312762gmail_msg"><div class="m_-3939228543352312762gmail_msg"><div class="m_-3939228543352312762gmail_msg">OS: Ubuntu 16.04<br class="m_-3939228543352312762gmail_msg"></div>Twisted: 17.1.0<br class="m_-3939228543352312762gmail_msg"></div>Buildbot: 0.9.4<br class="m_-3939228543352312762gmail_msg"><br class="m_-3939228543352312762gmail_msg"><div class="m_-3939228543352312762gmail_msg"><br class="m_-3939228543352312762gmail_msg"></div></div><div class="gmail_extra m_-3939228543352312762gmail_msg"><br class="m_-3939228543352312762gmail_msg"><div class="gmail_quote m_-3939228543352312762gmail_msg">On Thu, Apr 6, 2017 at 10:29 AM, Dan Kegel <span dir="ltr" class="m_-3939228543352312762gmail_msg"><<a href="mailto:dank@kegel.com" class="m_-3939228543352312762gmail_msg" target="_blank">dank@kegel.com</a>></span> wrote:<br class="m_-3939228543352312762gmail_msg"><blockquote class="gmail_quote m_-3939228543352312762gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="m_-3939228543352312762gmail_msg">On Thu, Apr 6, 2017 at 6:54 AM, Chris Spencer <<a href="mailto:chrisspen@gmail.com" class="m_-3939228543352312762gmail_msg" target="_blank">chrisspen@gmail.com</a>> wrote:<br class="m_-3939228543352312762gmail_msg">
> I'm continuing to see some strange issues with Buildbot hanging. I tried<br class="m_-3939228543352312762gmail_msg">
> using a crontab to see if the worker or master had crashed and restart them,<br class="m_-3939228543352312762gmail_msg">
> but it looks like they're still running just fine. Buildbot's even showing<br class="m_-3939228543352312762gmail_msg">
> pending builds, but it's not ignoring them.<br class="m_-3939228543352312762gmail_msg">
><br class="m_-3939228543352312762gmail_msg">
> If I manually restart them, it immediately begins working again, but I have<br class="m_-3939228543352312762gmail_msg">
> no way to detect it being hung except to login and check if there are<br class="m_-3939228543352312762gmail_msg">
> pending builds with nothing being processed.<br class="m_-3939228543352312762gmail_msg">
><br class="m_-3939228543352312762gmail_msg">
> How do I diagnose and fix this?<br class="m_-3939228543352312762gmail_msg">
<br class="m_-3939228543352312762gmail_msg">
</span>I know the pain.  (On cygwin, with a very old twisted, I'm<br class="m_-3939228543352312762gmail_msg">
seeing a hang very often at the end of the git step; twisted<br class="m_-3939228543352312762gmail_msg">
is failing to notice its child has finished.  I have also seen<br class="m_-3939228543352312762gmail_msg">
hangs on Linux, but not that one, and much less often.)<br class="m_-3939228543352312762gmail_msg">
<br class="m_-3939228543352312762gmail_msg">
What OS, and versions of twisted and buildbot?<br class="m_-3939228543352312762gmail_msg">
<br class="m_-3939228543352312762gmail_msg">
Can you get a backtrace from the hung worker?<br class="m_-3939228543352312762gmail_msg">
</blockquote></div><br class="m_-3939228543352312762gmail_msg"></div></div></div>
______________________________<wbr>_________________<br class="m_-3939228543352312762gmail_msg">
users mailing list<br class="m_-3939228543352312762gmail_msg">
<a href="mailto:users@buildbot.net" class="m_-3939228543352312762gmail_msg" target="_blank">users@buildbot.net</a><br class="m_-3939228543352312762gmail_msg">
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" class="m_-3939228543352312762gmail_msg" target="_blank">https://lists.buildbot.net/<wbr>mailman/listinfo/users</a></blockquote></div>
</blockquote></div><br></div>