[Buildbot-devel] svnversion broken on a slave

David Froger david.froger at inria.fr
Wed Nov 27 08:58:28 UTC 2013


Hi,

Seems that it was just because the shebang line was missing:

    #!/bin/bash
    svn info | grep Revision | cut -f2 -d: | tr -d ' '

works now.

Quoting David Froger (2013-11-26 16:24:19)
> Dear all,
> 
> After upgrading a Mac OS X slave, the 'svnversion' command on this slave no 
> more works. (see for example: https://bugzilla.redhat.com/show_bug.cgi?id=821642)
> 
> For some reason, it's hard to fix the problem due to svn/sqlite on this Mac.
> 
> We are trying to replace the call to '/usr/bin/snvversion' with a call to
> '/path/to/a/patched/snvversion', which is a script that give the same result
> as the broken svnversion with this bash command:
>     svn info | grep Revision | cut -f2 -d: | tr -d ' '
> 
> We add '/path/to/a/patched/snvversion' to the slave PATH, make it 
> executable, and restarted the slave.
> 
> When trying to update his SVN repo copy, the slave does:
> svn --version (ok)
> svn info --non-interactive --no-auth-cache (ok)
> svn update --revision NNNN --non-interactive --no-auth-cache (ok)
> svnversion (error)
> 
> The 'svnversion' that is executed is still '/usr/bin/svnversion', although the
> PATH printed above with all environment variables is:
> PATH=/path/to/a/patch/svnversion:(...):/usr/bin:(...)
> 
> Any idea to solve the problem?
> 
> Thanks,
> David
> 
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT 
> organizations don't have a clear picture of how application performance 
> affects their revenue. With AppDynamics, you get 100% visibility into your 
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
> _______________________________________________
> 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