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,369,340
Community Members
 
Community Events
168
Community Groups

Bamboo Source Code Checkout fails everytime checking out large repository

Hello,

 

My repository fails everytime while checking out a repository of 2.63GB

This happens only in Bamboo because i could checkout from Tortoise SVN client instead of bamboo.


We really need a quick solution for this as soon as possible.

 

Unable to clean source directory 'E:\auto\builds\Clean1\TPSIX-MAIN-JOB1' E:\auto\builds\Clean1\TPSIX-MAIN-JOB1\.svn
27-Sep-2020 02:15:00Error occurred while running Task 'Checkout Default Repository(2)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.
27-Sep-2020 02:15:00java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Unable to clean source directory 'E:\auto\builds\Clean1\TPSIX-MAIN-JOB1' E:\auto\builds\Clean1\TPSIX-MAIN-JOB1\.svn
27-Sep-2020 02:15:00        at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:141)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:99)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:207)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:188)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.preRetrieveSourceCode(VcsCheckoutTask.java:156)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:106)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:288)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:221)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:288)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:90)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:81)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:203)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:175)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:122)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:117)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:126)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
27-Sep-2020 02:15:00        at java.lang.Thread.run(Thread.java:748)
27-Sep-2020 02:15:00Caused by: com.atlassian.bamboo.repository.RepositoryException: Unable to clean source directory 'E:\auto\builds\Clean1\TPSIX-MAIN-JOB1' E:\auto\builds\Clean1\TPSIX-MAIN-JOB1\.svn
27-Sep-2020 02:15:00        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.cleanWorkingDirIfNeeded(VcsCheckoutTask.java:264)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$100(VcsCheckoutTask.java:54)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:159)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:156)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:112)
27-Sep-2020 02:15:00        ... 21 more
27-Sep-2020 02:15:00Caused by: java.nio.file.DirectoryNotEmptyException: E:\auto\builds\Clean1\TPSIX-MAIN-JOB1\.svn
27-Sep-2020 02:15:00        at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:266)
27-Sep-2020 02:15:00        at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
27-Sep-2020 02:15:00        at java.nio.file.Files.delete(Files.java:1126)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.utils.BambooFiles.delete(BambooFiles.java:43)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.utils.BambooPathUtils.deleteNoThrow(BambooPathUtils.java:162)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.utils.BambooPathUtils.access$000(BambooPathUtils.java:38)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.utils.BambooPathUtils$1.postVisitDirectory(BambooPathUtils.java:121)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.utils.BambooPathUtils$1.postVisitDirectory(BambooPathUtils.java:91)
27-Sep-2020 02:15:00        at java.nio.file.Files.walkFileTree(Files.java:2688)
27-Sep-2020 02:15:00        at java.nio.file.Files.walkFileTree(Files.java:2742)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.utils.BambooPathUtils.cleanDirectory(BambooPathUtils.java:80)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.util.BambooFileUtils.cleanDirectory(BambooFileUtils.java:639)
27-Sep-2020 02:15:00        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.cleanWorkingDirIfNeeded(VcsCheckoutTask.java:260)
27-Sep-2020 02:15:00        ... 25 more
27-Sep-2020 02:15:00Failed to prepare the build 'TP6 - main-vs2019-candidate - Default Job #213 (TPSIX-MAIN-JOB1-213)'

1 answer

This large repository indeed stops our svn server Error: "memory allocation failed".(happens only while checking out large folder through BAMBOO)

If anyone could please help us in these matter...It would be very helpful. Please and thanks

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events