[users at bb.net] BuildBot Worker Not Returning Command Prompt When Started Under Windows

Glen Neff (gneff) gneff at cisco.com
Mon Nov 21 19:44:25 UTC 2016


Why though, does this behavior differ from the master?:

C:\Users\gneff>cd bbmaster

C:\Users\gneff\bbmaster>Scripts\activate

(bbmaster) C:\Users\gneff\bbmaster>Scripts\buildbot start master

(bbmaster) C:\Users\gneff\bbmaster>

Regards,
-G


[banner4]



Glen Neff
ENGINEER.NETWORK CONSULTING

Cisco Systems, Inc.



United States
cisco.com


[http://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif]Think before you print.

This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.
Please click here<http://www.cisco.com/web/about/doing_business/legal/cri/index.html> for Company Registration Information.


From: Stephen Davis [mailto:buildbot at soundgeek.org]
Sent: Monday, November 21, 2016 14:39
To: Glen Neff (gneff) <gneff at cisco.com>
Cc: users at buildbot.net
Subject: Re: [users at bb.net] BuildBot Worker Not Returning Command Prompt When Started Under Windows

The buildbot process on Windows doesn't "daemonize" so it never returns to the prompt like it does on POSIX systems.  That's expected behavior unless things have changed in 0.9 but I would doubt it (I'm on 0.8.12).

Unless you take the extra steps of turning the buildbot into a Service, you have to leave a cmd window running with that process running inside it.  The docs talk about making the buildbot slave into a Service but I've never had much luck with it since it doesn't behave properly if you are building/testing a GUI app (which I am).

hth,
stephen

On Nov 21, 2016, at 10:54 AM, Glen Neff (gneff) <gneff at cisco.com<mailto:gneff at cisco.com>> wrote:

I’m new to BuildBot and actually new to deploying Python software on Windows.  I’ve been following the tutorial best I can to do a test deployment of BuildBot on Windows 10, but the eventual target platform is Windows 8 Server (not my choice).

I do actually have a master and a worker functioning, but when I launch the worker, it works, but I never get the command prompt back, and if I hit control-C to get the prompt back, or close the cmd window, the worker dies.

Environment Info:
-Windows version: 10 (proof of concept deployment)
-Python version: 2.7.12
-Buildbot version: 0.9.1
-Twisted version: 16.5.0

C:\Users\gneff>cd bbworker

C:\Users\gneff\bbworker>Scripts\activate.bat

(bbworker) C:\Users\gneff\bbworker>Scripts\buildbot-worker.exe start worker

(then nothing, unless I hit control-C or kill the cmd window)

Does anyone have a suggestion on how I can work past this?

Thanks,
-G



<image002.png>



Glen Neff
ENGINEER.NETWORK CONSULTING

Cisco Systems, Inc.



United States
cisco.com<http://cisco.com/>


<image004.png>Think before you print.

This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.
Please click here<http://www.cisco.com/web/about/doing_business/legal/cri/index.html> for Company Registration Information.


_______________________________________________
users mailing list
users at buildbot.net<mailto:users at buildbot.net>
https://lists.buildbot.net/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20161121/9305a135/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 121281 bytes
Desc: image005.png
URL: <http://lists.buildbot.net/pipermail/users/attachments/20161121/9305a135/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 1068 bytes
Desc: image006.png
URL: <http://lists.buildbot.net/pipermail/users/attachments/20161121/9305a135/attachment-0001.png>


More information about the users mailing list