com.atlassian.bamboo.repository.RepositoryException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • The SVNKit log messages do not report any problem and the checkout seem to finish without problems. However the whole process fails. Adding complete read/write to the Agent /tmp permissions, fixes the problem. {code} | jvm 1 | 2011/11/10 17:18:33 | 2011-11-10 17:18:33,247 INFO [1-BAM::colblapp1d.datacenter.automotive.com::Agent:pool-3-thread-1] [SvnRepository] Working directory '/bamboo/agents/webproj/xml-data/build-dir/PROJ-PLAN-JOB1' is empty. Checking out SVN URL 'http://svn.domain.com/webproj/proj123/trunk' INFO | jvm 1 | 2011/11/10 17:18:33 | 2011-11-10 17:18:33,697 WARN [1-BAM::colblapp1d.datacenter.automotive.com::Agent:pool-3-thread-1] [BuildAgentControllerImpl] Error occurred while executing the build for PHPCI-FAL-JOB1-40 INFO | jvm 1 | 2011/11/10 17:18:33 | com.atlassian.bamboo.repository.RepositoryException: Failed to checkout source code to revision '16570' for http://svn.automotive.com/webphp/flow.autoloan.v1/trunk INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:926) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:948) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCodeWithException(SvnRepository.java:510) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCodeWithCleanup(SvnRepository.java:448) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCode(SvnRepository.java:393) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild.doCall(CheckoutUpdateForBuild.java:136) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild.call(CheckoutUpdateForBuild.java:41) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:187) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:90) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:102) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50) INFO | jvm 1 | 2011/11/10 17:18:33 | at java.lang.Thread.run(Thread.java:662) INFO | jvm 1 | 2011/11/10 17:18:33 | Caused by: org.tmatesoft.svn.core.SVNException: svn: Permission denied INFO | jvm 1 | 2011/11/10 17:18:33 | svn: PROPFIND request failed on '/webproj/proj123/trunk' INFO | jvm 1 | 2011/11/10 17:18:33 | at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) INFO | jvm 1 | 2011/11/10 17:18:33 | at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) INFO | jvm 1 | 2011/11/10 17:18:33 | at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties(DAVUtil.java:126) INFO | jvm 1 | 2011/11/10 17:18:33 | at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselineProperties(DAVUtil.java:216) INFO | jvm 1 | 2011/11/10 17:18:33 | at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselineInfo(DAVUtil.java:174) INFO | jvm 1 | 2011/11/10 17:18:33 | at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.checkPath(DAVRepository.java:221) INFO | jvm 1 | 2011/11/10 17:18:33 | at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:904) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:922) INFO | jvm 1 | 2011/11/10 17:18:33 | ... 11 more {code}
    via by Renan Battaglin,
  • The SVNKit log messages do not report any problem and the checkout seem to finish without problems. However the whole process fails. Adding complete read/write to the Agent /tmp permissions, fixes the problem. {code} | jvm 1 | 2011/11/10 17:18:33 | 2011-11-10 17:18:33,247 INFO [1-BAM::colblapp1d.datacenter.automotive.com::Agent:pool-3-thread-1] [SvnRepository] Working directory '/bamboo/agents/webproj/xml-data/build-dir/PROJ-PLAN-JOB1' is empty. Checking out SVN URL 'http://svn.domain.com/webproj/proj123/trunk' INFO | jvm 1 | 2011/11/10 17:18:33 | 2011-11-10 17:18:33,697 WARN [1-BAM::colblapp1d.datacenter.automotive.com::Agent:pool-3-thread-1] [BuildAgentControllerImpl] Error occurred while executing the build for PHPCI-FAL-JOB1-40 INFO | jvm 1 | 2011/11/10 17:18:33 | com.atlassian.bamboo.repository.RepositoryException: Failed to checkout source code to revision '16570' for http://svn.automotive.com/webphp/flow.autoloan.v1/trunk INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:926) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:948) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCodeWithException(SvnRepository.java:510) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCodeWithCleanup(SvnRepository.java:448) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCode(SvnRepository.java:393) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild.doCall(CheckoutUpdateForBuild.java:136) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild.call(CheckoutUpdateForBuild.java:41) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:187) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:90) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:102) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50) INFO | jvm 1 | 2011/11/10 17:18:33 | at java.lang.Thread.run(Thread.java:662) INFO | jvm 1 | 2011/11/10 17:18:33 | Caused by: org.tmatesoft.svn.core.SVNException: svn: Permission denied INFO | jvm 1 | 2011/11/10 17:18:33 | svn: PROPFIND request failed on '/webproj/proj123/trunk' INFO | jvm 1 | 2011/11/10 17:18:33 | at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) INFO | jvm 1 | 2011/11/10 17:18:33 | at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) INFO | jvm 1 | 2011/11/10 17:18:33 | at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties(DAVUtil.java:126) INFO | jvm 1 | 2011/11/10 17:18:33 | at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselineProperties(DAVUtil.java:216) INFO | jvm 1 | 2011/11/10 17:18:33 | at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselineInfo(DAVUtil.java:174) INFO | jvm 1 | 2011/11/10 17:18:33 | at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.checkPath(DAVRepository.java:221) INFO | jvm 1 | 2011/11/10 17:18:33 | at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:904) INFO | jvm 1 | 2011/11/10 17:18:33 | at com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:922) INFO | jvm 1 | 2011/11/10 17:18:33 | ... 11 more {code}
    via by Renan Battaglin,
  • issue with subversion repo and jenkins
    via by Subin V,
    • com.atlassian.bamboo.repository.RepositoryException: Failed to checkout source code to revision '16570' for http://svn.automotive.com/webphp/flow.autoloan.v1/trunk at com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:926) at com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:948) at com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCodeWithException(SvnRepository.java:510) at com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCodeWithCleanup(SvnRepository.java:448) at com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCode(SvnRepository.java:393) at com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild.doCall(CheckoutUpdateForBuild.java:136) at com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild.call(CheckoutUpdateForBuild.java:41) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:187) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:90) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:102) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50) at java.lang.Thread.run(Thread.java:662) Caused by: org.tmatesoft.svn.core.SVNException: svn: Permission denied svn: PROPFIND request failed on '/webproj/proj123/trunk' at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties(DAVUtil.java:126) at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselineProperties(DAVUtil.java:216) at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselineInfo(DAVUtil.java:174) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.checkPath(DAVRepository.java:221) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:904) at com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:922) ... 11 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    15 more bugmates