Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

SVN Checkout issue on remote agent

Aaron Beauvais February 22, 2012

I setup a remote agent on a Redhat Enterprise 6 box. It attempts to check out the source from the SVN and I get this error...

2-Feb-2012 15:49:05 Error occurred while running Task 'Checkout Default Repository(1)'. This build will fail. Caused by:
22-Feb-2012 15:49:05 java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Failed to checkout source code to revision '2615' for http://svnserver/svn/trunk</td<>>
22-Feb-2012 15:49:05 at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:119)
22-Feb-2012 15:49:05 at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:79)
22-Feb-2012 15:49:05 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:174)
22-Feb-2012 15:49:05 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:97)
22-Feb-2012 15:49:05 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:180)
22-Feb-2012 15:49:05 at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:64)
22-Feb-2012 15:49:05 at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:66)
22-Feb-2012 15:49:05 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:202)
22-Feb-2012 15:49:05 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103)
22-Feb-2012 15:49:05 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:109)
22-Feb-2012 15:49:05 at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50)
22-Feb-2012 15:49:05 at java.lang.Thread.run(Thread.java:636)
22-Feb-2012 15:49:05 Caused by: com.atlassian.bamboo.repository.RepositoryException: Failed to checkout source code to revision '2615' for http://svnserver/iTRACS/trunk</td<>>
22-Feb-2012 15:49:05 at com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:1073)
22-Feb-2012 15:49:05 at com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:1095)
22-Feb-2012 15:49:05 at com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCodeWithException(SvnRepository.java:631)
22-Feb-2012 15:49:05 at com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCodeWithCleanup(SvnRepository.java:565)
22-Feb-2012 15:49:05 at com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCode(SvnRepository.java:507)
22-Feb-2012 15:49:05 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.checkoutCode(VcsCheckoutTask.java:153)
22-Feb-2012 15:49:05 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$100(VcsCheckoutTask.java:41)
22-Feb-2012 15:49:05 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:102)
22-Feb-2012 15:49:05 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:98)
22-Feb-2012 15:49:05 at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:100)
22-Feb-2012 15:49:05 ... 11 more
22-Feb-2012 15:49:05 Caused by: org.tmatesoft.svn.core.SVNException: svn: The path '/home/buildadmin/bamboo-agent-home/xml-data/build-dir' appears to be part of Subversion 1.7 (SVNKit 1.4) or greater
22-Feb-2012 15:49:05 working copy rooted at '/home/buildadmin'.
22-Feb-2012 15:49:05 Please upgrade your Subversion (SVNKit) client to use this working copy.
22-Feb-2012 15:49:05 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
22-Feb-2012 15:49:05 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
22-Feb-2012 15:49:05 at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.checkWCNG(SVNAdminAreaFactory.java:143)
22-Feb-2012 15:49:05 at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.checkWCNG(SVNAdminAreaFactory.java:145)
22-Feb-2012 15:49:05 at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.checkWCNG(SVNAdminAreaFactory.java:145)
22-Feb-2012 15:49:05 at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.checkWCNG(SVNAdminAreaFactory.java:145)
22-Feb-2012 15:49:05 at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.open(SVNAdminAreaFactory.java:190)
22-Feb-2012 15:49:05 at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:379)
22-Feb-2012 15:49:05 at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:283)
22-Feb-2012 15:49:05 at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:276)
22-Feb-2012 15:49:05 at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.openAnchor(SVNWCAccess.java:156)
22-Feb-2012 15:49:05 at org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:512)
22-Feb-2012 15:49:05 at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:942)
22-Feb-2012 15:49:05 at com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:1069)
22-Feb-2012 15:49:05 ... 20 more
22-Feb-2012 15:49:05 Failed to prepare the build 'V3-V3CLEANNIGHTLYLINUX-COMMONWIN32-11'

2 answers

1 accepted

0 votes
Answer accepted
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 22, 2012

I think you've used a SVN 1.7 command line client on that workspace and it automatically upgraded your workspace. SVN 1.7 workspace format is not yet supported by Bamboo.Remove that directory and everything should work fine. Make sure that you don't use tools that perform working copy update to 1.7.

You can track this improvement request here

Aaron Beauvais February 22, 2012

I have already removed SVN 1.7 and put 1.6 on there. I also tried removing all the folders and reinstalled the agent

Aaron Beauvais February 22, 2012

Got it resolved. There was a .svn folder higher up in the hierarchy

0 votes
ArmenA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 26, 2013

For the record, I just saw a similar issue:

Error occurred while running Task 'Checkout Default Repository(1)'. This build will fail. Caused by:
error26-Feb-2013 10:12:33java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Failed to checkout source code to revision

Deleting the bamboo repository and recreating it helped.

Armen

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events