[Buildbot-devel] getting buildslaves to exit after one build?

Dan Kegel dank at kegel.com
Wed Aug 29 04:15:11 UTC 2012


On Tue, Aug 28, 2012 at 7:20 PM, Dustin J. Mitchell <dustin at v.igoro.us> wrote:
> So, Mozilla's release engineering has a similar need, but using "real"
> machines.  The approach they've used is a buildstep that reboots the
> slave.

I kind of need that case, too, for testing Wine.  (Those darn 3rd
party graphics drivers...)

> This means all builds end with "exception slave lost", which
> is kind of yucky, but it ensures that no extra builds sneak in.

Hmm.  If they used my patch, and only rebooted after the slave
exited, they wouldn't have that problem.  Maybe there's room
for official support of a one-shot buildslave?

> The interesting failure case is when a build fails quickly and in such
> a way that the reboot fails silently.  Suddenly a single slave can eat
> up a *lot* of pending builds!

I'd love to have that problem.  It would mean I was actually doing
lots of builds on real machines, and I'm a ways off from that yet...
- Dan




More information about the devel mailing list