I am referencing a Linked repository from Bamboo, and I receive the below error while trying to checkout the source code during the build. It would be great if some one can help to find out the issue.
Thanks in Advance
Manoj
simple 24-Jul-2019 14:52:00 Build NML-QUTE-Rollout - QuteWebApp - Default Job #7 (APX0404-QUTWEB-JOB1-7) started building on agent JP-NML-SJ018156.JPQA.NMCorp.Nissan.Biz (2) simple 24-Jul-2019 14:52:00 Remote agent on host JP-NML-SJ018156.JPQA.NMCorp.Nissan.Biz simple 24-Jul-2019 14:52:00 Build working directory is E:\bamboo-agent1-home\xml-data\build-dir\APX0404-QUTWEB-JOB1 simple 24-Jul-2019 14:52:00 Executing build NML-QUTE-Rollout - QuteWebApp - Default Job #7 (APX0404-QUTWEB-JOB1-7) simple 24-Jul-2019 14:52:00 Starting task 'Checkout Source' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 24-Jul-2019 14:52:00 Build always requires a clean checkout simple 24-Jul-2019 14:52:00 Cleaning build directory 'E:\bamboo-agent1-home\xml-data\build-dir\APX0404-QUTWEB-JOB1' simple 24-Jul-2019 14:52:02 Checking out into E:\bamboo-agent1-home\xml-data\build-dir\APX0404-QUTWEB-JOB1 simple 24-Jul-2019 14:52:02 Updating source code to revision: 8ab68a8ceffc0752d1a2a0f44bfe62b2c3d2b441 simple 24-Jul-2019 14:52:03 Git: Updating references simple 24-Jul-2019 14:52:03 Git: simple 24-Jul-2019 14:52:03 Fetching '+refs/heads/master:refs/heads/master' from 'ssh://git@10.11.2.118:7999/apx0404/qutetrunk.git'. simple 24-Jul-2019 14:52:03 Checking out revision 8ab68a8ceffc0752d1a2a0f44bfe62b2c3d2b441. simple 24-Jul-2019 14:52:03 Creating local git repository in 'E:\bamboo-agent1-home\xml-data\build-dir\APX0404-QUTWEB-JOB1\.git'. error 24-Jul-2019 14:52:43 Checkout to revision 8ab68a8ceffc0752d1a2a0f44bfe62b2c3d2b441 has failed. simple 24-Jul-2019 14:52:43 Warning: failed to checkout source code to directory 'E:\bamboo-agent1-home\xml-data\build-dir\APX0404-QUTWEB-JOB1', trying to recover... simple 24-Jul-2019 14:52:45 Cleaned source directory 'E:\bamboo-agent1-home\xml-data\build-dir\APX0404-QUTWEB-JOB1'... simple 24-Jul-2019 14:52:45 Checking out revision 8ab68a8ceffc0752d1a2a0f44bfe62b2c3d2b441. simple 24-Jul-2019 14:52:45 Creating local git repository in 'E:\bamboo-agent1-home\xml-data\build-dir\APX0404-QUTWEB-JOB1\.git'. error 24-Jul-2019 14:53:25 Checkout to revision 8ab68a8ceffc0752d1a2a0f44bfe62b2c3d2b441 has failed. simple 24-Jul-2019 14:53:25 Updating source code to revision: 8ab68a8ceffc0752d1a2a0f44bfe62b2c3d2b441 simple 24-Jul-2019 14:53:25 Git: Updating references simple 24-Jul-2019 14:53:25 Git: simple 24-Jul-2019 14:53:25 Fetching '+refs/heads/master:refs/heads/master' from 'ssh://git@10.11.2.118:7999/apx0404/qutetrunk.git'. simple 24-Jul-2019 14:53:25 Checking out revision 8ab68a8ceffc0752d1a2a0f44bfe62b2c3d2b441. error 24-Jul-2019 14:53:28 Checkout to revision 8ab68a8ceffc0752d1a2a0f44bfe62b2c3d2b441 has failed. simple 24-Jul-2019 14:53:28 Warning: failed to checkout source code to directory 'E:\bamboo-agent1-home\xml-data\build-dir\APX0404-QUTWEB-JOB1', trying to recover... simple 24-Jul-2019 14:53:31 Cleaned source directory 'E:\bamboo-agent1-home\xml-data\build-dir\APX0404-QUTWEB-JOB1'... simple 24-Jul-2019 14:53:31 Checking out revision 8ab68a8ceffc0752d1a2a0f44bfe62b2c3d2b441. simple 24-Jul-2019 14:53:31 Creating local git repository in 'E:\bamboo-agent1-home\xml-data\build-dir\APX0404-QUTWEB-JOB1\.git'. error 24-Jul-2019 14:54:08 Checkout to revision 8ab68a8ceffc0752d1a2a0f44bfe62b2c3d2b441 has failed. simple 24-Jul-2019 14:54:09 Updating source code to revision: 8ab68a8ceffc0752d1a2a0f44bfe62b2c3d2b441 simple 24-Jul-2019 14:54:17 Git: Updating references simple 24-Jul-2019 14:54:17 Git: simple 24-Jul-2019 14:54:17 Fetching '+refs/heads/master:refs/heads/master' from 'ssh://git@10.11.2.118:7999/apx0404/qutetrunk.git'. simple 24-Jul-2019 14:54:17 Checking out revision 8ab68a8ceffc0752d1a2a0f44bfe62b2c3d2b441. error 24-Jul-2019 14:54:20 Checkout to revision 8ab68a8ceffc0752d1a2a0f44bfe62b2c3d2b441 has failed. simple 24-Jul-2019 14:54:20 Warning: failed to checkout source code to directory 'E:\bamboo-agent1-home\xml-data\build-dir\APX0404-QUTWEB-JOB1', trying to recover... simple 24-Jul-2019 14:54:22 Cleaned source directory 'E:\bamboo-agent1-home\xml-data\build-dir\APX0404-QUTWEB-JOB1'... simple 24-Jul-2019 14:54:22 Checking out revision 8ab68a8ceffc0752d1a2a0f44bfe62b2c3d2b441. simple 24-Jul-2019 14:54:22 Creating local git repository in 'E:\bamboo-agent1-home\xml-data\build-dir\APX0404-QUTWEB-JOB1\.git'. error 24-Jul-2019 14:54:59 Checkout to revision 8ab68a8ceffc0752d1a2a0f44bfe62b2c3d2b441 has failed. error 24-Jul-2019 14:54:59 Error occurred while running Task 'Checkout Source(3)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout. error 24-Jul-2019 14:54:59 java.lang.RuntimeException: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:141) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:99) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:207) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:188) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:123) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:319) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:252) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:319) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:91) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:81) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:203) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:175) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:131) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:125) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:126) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41) error 24-Jul-2019 14:54:59 at java.lang.Thread.run(Unknown Source) error 24-Jul-2019 14:54:59 Caused by: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.plugins.stash.v2.BitbucketServerWorkingCopyManager.retrieveSourceCode(BitbucketServerWorkingCopyManager.java:100) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:206) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$000(VcsCheckoutTask.java:54) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:126) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:123) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:112) error 24-Jul-2019 14:54:59 ... 20 more error 24-Jul-2019 14:54:59 Caused by: com.atlassian.bamboo.repository.RepositoryException: Checkout to revision 8ab68a8ceffc0752d1a2a0f44bfe62b2c3d2b441 has failed.There is not enough space on the disk error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.plugins.git.JGitOperationHelper.doCheckout(JGitOperationHelper.java:182) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.plugins.git.JGitOperationHelper.checkout(JGitOperationHelper.java:266) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.plugins.git.v2.GitWorkingCopyManager.lambda$checkout$0(GitWorkingCopyManager.java:259) error 24-Jul-2019 14:54:59 at io.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:293) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.plugins.git.v2.GitWorkingCopyManager.checkout(GitWorkingCopyManager.java:239) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.plugins.git.v2.GitWorkingCopyManager.retrieveSourceCode(GitWorkingCopyManager.java:101) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.plugins.stash.v2.BitbucketServerWorkingCopyManager.retrieveSourceCode(BitbucketServerWorkingCopyManager.java:90) error 24-Jul-2019 14:54:59 ... 25 more error 24-Jul-2019 14:54:59 Caused by: java.io.IOException: There is not enough space on the disk error 24-Jul-2019 14:54:59 at java.io.FileOutputStream.writeBytes(Native Method) error 24-Jul-2019 14:54:59 at java.io.FileOutputStream.write(Unknown Source) error 24-Jul-2019 14:54:59 at org.eclipse.jgit.lib.ObjectLoader.copyTo(ObjectLoader.java:266) error 24-Jul-2019 14:54:59 at org.eclipse.jgit.dircache.DirCacheCheckout.checkoutEntry(DirCacheCheckout.java:1223) error 24-Jul-2019 14:54:59 at org.eclipse.jgit.dircache.DirCacheCheckout.doCheckout(DirCacheCheckout.java:462) error 24-Jul-2019 14:54:59 at org.eclipse.jgit.dircache.DirCacheCheckout.checkout(DirCacheCheckout.java:397) error 24-Jul-2019 14:54:59 at com.atlassian.bamboo.plugins.git.JGitOperationHelper.doCheckout(JGitOperationHelper.java:143) error 24-Jul-2019 14:54:59 ... 31 more error 24-Jul-2019 14:54:59 Failed to prepare the build 'NML-QUTE-Rollout - QuteWebApp - Default Job #7 (APX0404-QUTWEB-JOB1-7)' simple 24-Jul-2019 14:54:59 Running on server: post build plugin 'NCover Results Collector' simple 24-Jul-2019 14:54:59 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 24-Jul-2019 14:54:59 Running on server: post build plugin 'Clover Delta Calculator' simple 24-Jul-2019 14:54:59 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 24-Jul-2019 14:54:59 All post build plugins have finished simple 24-Jul-2019 14:55:00 Generating build results summary... simple 24-Jul-2019 14:55:00 Saving build results to disk... simple 24-Jul-2019 14:55:00 Logging substituted variables... simple 24-Jul-2019 14:55:00 Indexing build results... simple 24-Jul-2019 14:55:00 Finished building APX0404-QUTWEB-JOB1-7.
,
Hi @Manoj Kumar
Thank you for sharing the build logs, they are very helpful.
I want to highlight these lines:
error 24-Jul-2019 14:54:59 Caused by: java.io.IOException: There is not enough space on the disk error 24-Jul-2019 14:54:59 at java.io.FileOutputStream.writeBytes(Native Method)
It seems that the checkout is failing because there is not enough space in disk for It to finish.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.