Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

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
AUG Leaders

Atlassian Community Events