[Buildbot-devel] buildslave connects briefly after graceful shutdown?

Dan Kegel dank at kegel.com
Tue Jan 8 00:28:08 UTC 2013


This is more a note to myself to look into this more fully, but:

I've configured my slaves to gracefully shut down after each build,
and have noticed that if I quickly click on the 'stop' and then 'force build'
buttons, the new build starts, is aborted with 'Retry exception slave lost',
and then starts correctly.

While I was debugging something else, I happened to use tcpdump
on the slave connection, and noticed that there was a short-lived
connect from the slave right after it did the graceful shutdown.

My hunch was that the graceful shutdown was a command to
a lower-level event loop, but the higher-level loop was still
running, and managed to initiate a connection after the
lower-level one closed the connection, but before the
lower-level one fully shut down.

But as I said, this is just a rumor at this point, I'll look at it when
it bubbles up to the top of my annoyances list.




More information about the devel mailing list