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

Problem with SVN Checkout

Maurus Hilber
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 15, 2020

Hello

We have many times problems, with the code checkout from SVN. In the Log files of the Process is always displayed this error. What is the reason for this problem?

Have a nice day

Maurus Hilber

simple	15-Oct-2020 16:04:13	Existing workspace found at 'D:\bamboo-home\xml-data\build-dir\SOCCTR-BC2-JOB1'. updating...
error	15-Oct-2020 16:04:13	Error occurred while running Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.
error	15-Oct-2020 16:04:13	java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Unable to retrieve source code for revision '454', plan 'SOCCTR-BC2-JOB1': svn: E155004: There are unfinished work items in 'D:\bamboo-home\xml-data\build-dir\SOCCTR-BC2-JOB1'; run 'svn cleanup' first.
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:141)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:99)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:207)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:188)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:123)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:319)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:252)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:319)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:112)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:73)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:204)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:176)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:131)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:125)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:127)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
error	15-Oct-2020 16:04:13		at java.lang.Thread.run(Unknown Source)
error	15-Oct-2020 16:04:13	Caused by: com.atlassian.bamboo.repository.RepositoryException: Unable to retrieve source code for revision '454', plan 'SOCCTR-BC2-JOB1': svn: E155004: There are unfinished work items in 'D:\bamboo-home\xml-data\build-dir\SOCCTR-BC2-JOB1'; run 'svn cleanup' first.
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.repository.svn.v2.SvnWorkingCopyManager.retrieveSourceCodeInternal(SvnWorkingCopyManager.java:173)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.repository.svn.v2.SvnWorkingCopyManager.retrieveSourceCode(SvnWorkingCopyManager.java:120)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:206)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$000(VcsCheckoutTask.java:54)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:126)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:123)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:112)
error	15-Oct-2020 16:04:13		... 20 more
error	15-Oct-2020 16:04:13	Caused by: org.tmatesoft.svn.core.SVNException: svn: E155004: There are unfinished work items in 'D:\bamboo-home\xml-data\build-dir\SOCCTR-BC2-JOB1'; run 'svn cleanup' first.
error	15-Oct-2020 16:04:13		at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:70)
error	15-Oct-2020 16:04:13		at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:57)
error	15-Oct-2020 16:04:13		at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.obtainWCLock(SVNWCDb.java:5862)
error	15-Oct-2020 16:04:13		at org.tmatesoft.svn.core.internal.wc17.SVNWCContext.acquireWriteLock(SVNWCContext.java:1652)
error	15-Oct-2020 16:04:13		at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.update(SvnNgAbstractUpdate.java:110)
error	15-Oct-2020 16:04:13		at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:40)
error	15-Oct-2020 16:04:13		at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:18)
error	15-Oct-2020 16:04:13		at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
error	15-Oct-2020 16:04:13		at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
error	15-Oct-2020 16:04:13		at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1239)
error	15-Oct-2020 16:04:13		at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
error	15-Oct-2020 16:04:13		at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:311)
error	15-Oct-2020 16:04:13		at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:291)
error	15-Oct-2020 16:04:13		at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:387)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.repository.svn.v2.SvnWorkingCopyManager.update(SvnWorkingCopyManager.java:421)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.repository.svn.v2.SvnWorkingCopyManager.retrieveSourceCodeWithException(SvnWorkingCopyManager.java:322)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.repository.svn.v2.SvnWorkingCopyManager.retrieveSourceCodeWithCleanup(SvnWorkingCopyManager.java:262)
error	15-Oct-2020 16:04:13		at com.atlassian.bamboo.repository.svn.v2.SvnWorkingCopyManager.retrieveSourceCodeInternal(SvnWorkingCopyManager.java:145)
error	15-Oct-2020 16:04:13		... 26 more

r:

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 15, 2020

This suggests something is already using the area Bamboo is trying to work with.  It may be that something went wrong and left an indicator that it's in use lying around.

This is not a Bamboo problem, but a Subversion one.

You'll need to halt the Bamboo attempts to build, then run the following, as the user that Bamboo is running the job as:

svn update

svn cleanup

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events