Bamboo build fails when checking out SVN repo - E155004

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

Bamboo build fails with the exception below:

1 java.lang.RuntimeException : com.atlassian.bamboo.repository.RepositoryException: Unable to retrieve source code for revision '47283', plan 'PROJ1-PLAN1-JOB1': svn: E155004: Working copy '/bamboo/xml-data/build-dir/PROJ1-PLAN1-JOB1' locked svn: E155004: '/bamboo/xml-data/build-dir/PROJ1-PLAN1-JOB1' is already locked. 

Cause

This seems be an issue related to the Subversion workspace of the failing plan.

Resolution

Try to clear the SVN workspace for the failing plan (BambooHome/xml-data/build-dir/PROJ1-PLAN1-JOB1) as it's suggested on this page and run the Bamboo build again:

Update and clean your working copy.

1 2 svn update svn cleanup
Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.