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

Bamboo Build failed

bsarkar April 9, 2013

I am trying to checkout code from SVN and compile it.

But when I am going to checkout the code I Got and excetion in bamboo....

10-Apr-2013 01:06:49 	Error occurred while running Task 'Checkout Settings Hook(1)'. This build will fail. Caused by:
10-Apr-2013 01:06:49 	java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Unable to retrieve source code for revision '1851', plan 'SVA-BUILD-SETTINGSHOOK': svn: E155004: There are unfinished work items in '/home/sibuild/bamboo_home/xml-data/build-dir/SVA-BUILD-SETTINGSHOOK'; run 'svn cleanup' first.
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132)
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88)
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191)
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176)
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:109)
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:181)
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:69)
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:69)
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:206)
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103)
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:111)
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52)
10-Apr-2013 01:06:49 	        at java.lang.Thread.run(Thread.java:722)
10-Apr-2013 01:06:49 	Caused by: com.atlassian.bamboo.repository.RepositoryException: Unable to retrieve source code for revision '1851', plan 'SVA-BUILD-SETTINGSHOOK': svn: E155004: There are unfinished work items in '/home/sibuild/bamboo_home/xml-data/build-dir/SVA-BUILD-SETTINGSHOOK'; run 'svn cleanup' first.
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCode(SvnRepository.java:607)
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:180)
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$100(VcsCheckoutTask.java:46)
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:114)
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:110)
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108)
10-Apr-2013 01:06:49 	        ... 12 more
10-Apr-2013 01:06:49 	Caused by: org.tmatesoft.svn.core.SVNException: svn: E155004: There are unfinished work items in '/home/sibuild/bamboo_home/xml-data/build-dir/SVA-BUILD-SETTINGSHOOK'; run 'svn cleanup' first.
10-Apr-2013 01:06:49 	        at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
10-Apr-2013 01:06:49 	        at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
10-Apr-2013 01:06:49 	        at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.obtainWCLock(SVNWCDb.java:4154)
10-Apr-2013 01:06:49 	        at org.tmatesoft.svn.core.internal.wc17.SVNWCContext.acquireWriteLock(SVNWCContext.java:1510)
10-Apr-2013 01:06:49 	        at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.update(SvnNgAbstractUpdate.java:72)
10-Apr-2013 01:06:49 	        at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:38)
10-Apr-2013 01:06:49 	        at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:18)
10-Apr-2013 01:06:49 	        at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
10-Apr-2013 01:06:49 	        at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
10-Apr-2013 01:06:49 	        at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1235)
10-Apr-2013 01:06:49 	        at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:291)
10-Apr-2013 01:06:49 	        at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:311)
10-Apr-2013 01:06:49 	        at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:291)
10-Apr-2013 01:06:49 	        at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:387)
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.repository.svn.SvnRepository.update(SvnRepository.java:1302)
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCodeWithException(SvnRepository.java:716)
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCodeWithCleanup(SvnRepository.java:642)
10-Apr-2013 01:06:49 	        at com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCode(SvnRepository.java:584)
10-Apr-2013 01:06:49 	        ... 17 more
10-Apr-2013 01:06:49 	Failed to prepare the build 'SVA-BUILD-SETTINGSHOOK-96'

I already clear the build directory .but still have the problem..

Any idea???

1 answer

1 accepted

0 votes
Answer accepted
bsarkar April 9, 2013

got the solution .....

The build directory hold the hidden "./svn" and ".project" folder and file.

after remove those folder and file problem solved.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events