[Buildbot-devel] Help getting SVN step to work
Amy Troschinetz
Amy.Troschinetz at adometry.com
Wed Jun 12 19:04:14 UTC 2013
I'm trying to do something relatively simple, just updating a SVN repo as part of a step in one of our configurations build factories. In master.cfg:
f = factory.BuildFactory()
f.addStep(Mercurial(repourl='/services', branchType='inrepo', defaultBranch='default'))
f.addStep(SVN(svnurl='https://paris:8443/svn/clickforensics/TRUNK/Common/Python', workdir='build/services/bin', mode='full', username='buildbot', password='bu1ldb0t'))
f.addStep(Test(command=['./unittest'], description=['unit tests'], descriptionDone=['unit tests']))
c['builders'].append({
'name': 'buildbot-services'
, 'slavename': 'linuxbot'
, 'buildir': 'services'
, 'factory': f
})
And we get this error in the log:
starting svn operation
/usr/bin/svn update --non-interactive --no-auth-cache --username buildbot --password XXXX --revision 85e9884b7117e1788898dcdbab946593bb1addca
in dir /buildbot/buildbot/buildslave/buildbot-services/build/services/bin (timeout 1200 secs)
watching logfiles {}
argv: ['/usr/bin/svn', 'update', '--non-interactive', '--no-auth-cache', '--username', 'buildbot', '--password', 'XXXX', '--revision', '85e9884b7117e1788898dcdbab946593bb1addca']
environment:
DISPLAY=localhost:10.0
HOME=/buildbot/buildbot
LANG=en_US.UTF-8
LANGUAGE=en_US:
LC_MESSAGES=C
LOGNAME=buildbot
MAIL=/var/mail/buildbot
MAKEFLAGS=
MAKELEVEL=1
MANPATH=:/var/cfengine/share/man
MFLAGS=
OLDPWD=/buildbot/buildbot/buildbot
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/var/cfengine/bin
PWD=/buildbot/buildbot/buildslave/buildbot-services/build/services/bin
SHELL=/bin/bash
SHLVL=1
SSH_CLIENT=10.10.1.221 63532 22
SSH_CONNECTION=10.10.1.221 63532 10.10.30.56 22
SSH_TTY=/dev/pts/2
TERM=xterm-256color
USER=buildbot
_=/usr/bin/make
using PTY: False
svn: Syntax error in revision argument '85e9884b7117e1788898dcdbab946593bb1addca'
Obviously that's not at all a SVN reversion number. No idea where it even came from. However, why is buildbot even trying to execute a svn update command? Doesn't specifying mode='full' in the SVN step mean that it should be blasting away any existing local copy and re-checking out the entire thing every time?
—
Amy Troschinetz | Senior Software Developer | o 512.852.7127 | amy.troschinetz at adometry.com
Adometry | www.adometry.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20130612/cfdf2783/attachment.html>
More information about the devel
mailing list