[users at bb.net] Reloading the master.cfg on Windows

Greg MacDonald gmacdonald at trionworlds.com
Fri Feb 26 19:16:34 UTC 2016


Hi Honas,

I’m on windows too and I haven’t experienced that issue. Buildbot stop should work. Is the old server still running? There’s a way with eight to reload the config without bringing down the server. I haven’t tried it with nine:

http://docs.buildbot.net/0.8.3/debugclient.html

It worked on windows for me, but it was tricky getting the right gtk dependencies.

You can try taskkill to kill all python processes:

C:\> taskkill /f /im python.exe

Then restart the master as usual. If that works then maybe the old server was still running.

Or you can create a batch file to start the master. If you can do it in such a way that the command window stays open then you can simply close the terminal window to kill the master process.

My batch file contains:

python %PWD%\python\Scripts\buildbot start buildbot_master

Mostly because nine’s startup scripts aren’t working so good with windows but it has the nice side effect of keeping the terminal window open.

-Greg

From: users [mailto:users-bounces at buildbot.net] On Behalf Of honas grael
Sent: Wednesday, February 24, 2016 4:44 AM
To: users at buildbot.net
Subject: [users at bb.net] Reloading the master.cfg on Windows

Hello
I have noticed that when I do the following

  *   update the master.cfg file
  *   then do buildbot stop
  *   followed by buildbot start in my buildmaster directory,
  *
the updated master.cfg doesn't seem to be re-read. so whenever I change the master.cfg I have to reboot the entire PC before the changes are picked up. Note: I am using Windows 7

How should I get buildbot to re-read the master.cfg once I have made changes to it?
I tried buildbot sighup, but that is not supported on Windows, even buildbot restart did not seem to work. Any suggestions.
Just in case I have missed this if I have both buildmaster and a buildlave running,
and I want to restart everything because of a change to the master.cfg file, should I
restart the master then the buildslave
On the buildmaster do

  *   buildbot restart

On the buildslave do:

  *   buildslave stop
  *   buildslave start

or go the other way stop the buildslave, then restart the buildmaster?



Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20160226/9b3e20a4/attachment.html>


More information about the users mailing list