The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

com.atlassian.bamboo.repository.RepositoryException: Build foo failed to check SVN repository

Clario
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 4, 2012

When we create a release tag and initiate a manual build, we (consistently) receive the following error: failed to check SVN repository

The stacktrace yields: File not found: revision 7037, path '/Project/tags/REL-3.4.0/foo/foo-monitor'

The stacktrace is accurate as there is no REL-3.4.0 tag at r7037 -- the tag was created well after that revision. We are currently able to get around the issue by re-building the last release tag, which seems to allow Bamboo to pull in the correct revision state of the repository. At that point, we can then build the tag we want.

A bit of background on your setup:

* standard SVN repo structure Project/{branches,tags,trunk}

* we use global variables for driving the version of the branch, tag we wish to build

* ${bamboo.qa.ver}, ${bamboo.prod.ver}

* this configuration worked without incident in the version of Bamboo we were running previously (3.4.x)

Any ideas?

Full stacktrace below:

com.atlassian.bamboo.repository.RepositoryException: Build 'PROD-SFTPMONITOR' failed to check SVN repository

at com.atlassian.bamboo.repository.svn.SvnRepository.collectChangesSinceLastBuild(SvnRepository.java:330)

at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuild(DefaultChangeDetectionManager.java:256)

at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:218)

at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:136)

at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectAllChangesSinceLastBuild(DefaultChangeDetectionManager.java:123)

at com.atlassian.bamboo.v2.trigger.ManualBuildDetectionAction.performDelayedChangeDetection(ManualBuildDetectionAction.java:109)

at com.atlassian.bamboo.chains.ChainExecutionManagerImpl$2.getChainState(ChainExecutionManagerImpl.java:199)

at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.tryStartChainState(ChainExecutionManagerImpl.java:252)

at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.delayedStart(ChainExecutionManagerImpl.java:189)

at sun.reflect.GeneratedMethodAccessor1536.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)

at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)

at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

at $Proxy78.delayedStart(Unknown Source)

at sun.reflect.GeneratedMethodAccessor1536.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)

at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)

at $Proxy79.delayedStart(Unknown Source)

at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1.call(PlanExecutionManagerImpl.java:262)

at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1.call(PlanExecutionManagerImpl.java:258)

at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:324)

at com.atlassian.bamboo.plan.PlanExecutionLockServiceImpl.lock(PlanExecutionLockServiceImpl.java:77)

at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.doWithProcessLock(PlanExecutionManagerImpl.java:429)

at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.access$200(PlanExecutionManagerImpl.java:44)

at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1.run(PlanExecutionManagerImpl.java:257)

at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52)

at java.lang.Thread.run(Thread.java:662)

Caused by: org.tmatesoft.svn.core.SVNException: svn: File not found: revision 7037, path '/Project/tags/REL-3.4.0/foo/foo-monitor'

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.svn.SVNReader.handleFailureStatus(SVNReader.java:269)

at org.tmatesoft.svn.core.internal.io.svn.SVNReader.parse(SVNReader.java:248)

at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.read(SVNConnection.java:268)

at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.read(SVNRepositoryImpl.java:1290)

at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.getLocationsImpl(SVNRepositoryImpl.java:292)

at org.tmatesoft.svn.core.io.SVNRepository.getLocations(SVNRepository.java:1088)

at org.tmatesoft.svn.core.io.SVNRepository.getLocations(SVNRepository.java:1516)

at org.tmatesoft.svn.core.internal.wc2.SvnRepositoryAccess.getLocations(SvnRepositoryAccess.java:178)

at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.createRepositoryFor(SvnNgRepositoryAccess.java:44)

at org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteLog.run(SvnRemoteLog.java:160)

at org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteLog.run(SvnRemoteLog.java:35)

at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)

at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1224)

at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:291)

at org.tmatesoft.svn.core.wc.SVNLogClient.doLog(SVNLogClient.java:967)

at org.tmatesoft.svn.core.wc.SVNLogClient.doLog(SVNLogClient.java:872)

at com.atlassian.bamboo.repository.svn.SvnRepository.detectCommitsForUrl(SvnRepository.java:514)

at com.atlassian.bamboo.repository.svn.SvnRepository.collectChangesSinceLastBuild(SvnRepository.java:269)

... 33 more

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
CB
July 30, 2013

I keep seeing 'Fixed in Bamboo 4.3.3. This may not be true according to Simone Longoni, he states "... Any luck with Atlassian Support? How did you get it solved?

I have the same issue with a couple of plans on Bamboo 4.4.3 and Subversion 1.6x...." (https://answers.atlassian.com/questions/141927/svn-checkout-fails-while-running-job-in-bamboo)

0 votes
Clario
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 3, 2013

Fixed in Bamboo 4.3.3

TAGS
AUG Leaders

Atlassian Community Events