[Buildbot-devel] OS X, SVN and Buildbot

john gale john at smadness.com
Mon Mar 2 23:45:54 UTC 2009


On Mar 2, 2009, at 2:45 PM, Ben Hearsum wrote:

> This sounds similar to a problem we've encountered. Our Mac buildbot
> slaves become unable to checkout code via CVS and other weird problems
> if they are started via ssh.
>
> If started via Terminal via VNC and that Terminal is left open,
> everything is fine. It's also fine using launchd if the user is set to
> automatically log in.
>
> Other than one of those two things we haven't found a solution to  
> this.



These are all because of the way that OS X handles security sessions.   
If you log in via ssh, start some child processes, then log out, the  
user's session is torn down, disabling certain abilities (like  
DirectoryService authentication) for child processes that linger about.

The best way to use buildbot under OS X is to either a) launch it from  
a terminal window on the slave, or b) create a launchd plist to run  
the slave as.  Over ssh, you can sometimes start the buildbot slave  
with "nohup buildbot start <pathToMaster>" (man nohup for more) but  
even that's not guaranteed to work.

	~ john

=================
support the arts!
www.smadness.com

updated October 12, 2005






More information about the devel mailing list