[Buildbot-devel] cleanly taking slave offline?

Stephen Davis stephendavis at mac.com
Thu Jul 28 23:28:59 UTC 2005


On Jul 28, 2005, at 3:40 PM, Stephen Thorne wrote:

> On 29/07/05, Stephen Davis <stephendavis at mac.com> wrote:
>
>> I'm sure I just missed it but is there a way to cleanly take a slave
>> offline after it completes its current build?  I'm short on platforms
>> so sometimes I have to use a slave and it's inconvenient to have it
>> running builds in the background while I'm trying to use it (I have
>> some builds which drive GUI apps so having them pop up and go away
>> while I'm using the machine is quite irritating).
>>
>> I noticed that each build page now has a "stop build" button but that
>> doesn't really seem to do anything b/c my slave keeps running after I
>> click it.  What is its purpose?
>>
>
> ''Stop Build" is to stop a build in progress. Some builds don't  
> like being
> stopped and so just keep going.
>
> You should be able to run the command 'buildbot stop /path/to/ 
> builder' and
> that will take the slave offline cleanly.

No, it doesn't;  the master responds to such acts (kill `cat  
twistd.pid`) as "build failed, slave lost" (at least for me).  What I  
want is to signal to the slave (or the master) that this slave should  
be taken offline when it finishes its current build.  Ideally, it  
could send email notification so that the person who wanted it  
stopped will know when it's done since it might take 30 minutes or  
more to finish.

stephen




More information about the devel mailing list