[Buildbot-devel] reboot slaves hosts after build

Ben Hearsum bhearsum at mozilla.com
Mon Oct 21 13:45:07 UTC 2013


We've got a special step that we use to do this without affecting overall build status: https://github.com/mozilla/build-buildbotcustom/blob/master/steps/misc.py#L451

You still need to pass an appropiate "command" to that, too. Eg: https://github.com/mozilla/build-buildbotcustom/blob/master/process/factory.py#L564 (we use a script that will reboot after N jobs, but you can also just pass "reboot" or "shutdown -t 0 -r" or whatever you'd like there).

On Mon, Oct 21, 2013 at 01:28:09PM +0000, asibilev wrote:
> Hello!
> I use Buildbot 0.8.7p1 and I want to reboot servers after each build. 
> Tried interlocks(didn't figured out how to apply), shutdown step - it throws 
> exception because build hasn't finished yet and halted slave..
> 
> Looking forward allow_shutdown arg for Slave constructor, but may be there is 
> another quick method?
> Thanks!
> 
> 
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://buildbot.net/pipermail/devel/attachments/20131021/3a0962d1/attachment.bin>


More information about the devel mailing list