[Buildbot-devel] OS X, SVN and Buildbot

Ben Hearsum bhearsum at mozilla.com
Mon Mar 2 22:45:55 UTC 2009


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.

On 2-Mar-09, at 5:32 PM, Mark MacVicar wrote:

> Hi all,
>
> I thought I would recount a recent problem I encountered involving OS
> X, SVN and Buildbot, to pass on information to others (and elicit
> sympathy).
>
> We recently moved our subversion server, and switch authentication
> from ssh to https. the Mac OS X buildslave didn't like this. I had the
> buildslave running as a LaunchDaemon using the instructions here
> http://buildbot.net/trac/wiki/UsingLaunchd. For reasons that aren't
> clear, running it as a Daemon meant that it couldn't access the cached
> authentication info in ~/username/.subversion, and was requesting a
> password.
>
> After banging my head and the internetz against this problem for a few
> hours, I came across this info
> (http://developer.apple.com/technotes/tn2005/tn2083.html#SECACCESSINGUSERSTATE 
> )
> stating that Mac Daemons can't reliably access user's home
> directories.
>
> To workaround the problem I set the buildslave up to run as a
> LaunchAgent, with that user logging in at startup by default.
>
>
> As another slight annoyance, Mac OS X 10.5 doesn't like "svn
> --non-interactive" when using https (worked great under ssh). I found
> several complaints around the internet abou this bug, but ended up
> removing it from the Mac buildslave slave/commands.py.
>
> Let me know if this sounds familiar to anyone.
>
> Mark MacVicar
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San  
> Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the  
> Enterprise
> -Strategies to boost innovation and cut costs with open source  
> participation
> -Receive a $600 discount off the registration fee with the source  
> code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel





More information about the devel mailing list