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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,869
Community Members
 
Community Events
176
Community Groups

Problem with SVN Checkout

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

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

Atlassian Community Events