Details
-
Bug
-
Resolution: Fixed
-
Medium
Description
Hello, we got the following errors randomly on about 1 out of every 10 jenkins builds. Any idea why we are getting this?
#!shell git fetch --tags --progress git@bitbucket.org:cloudbeds/myfrontdesk-front.git +refs/heads/*:refs/remotes/origin/* ERROR: Error fetching remote repo 'origin' hudson.plugins.git.GitException: Failed to fetch from git@bitbucket.org:cloudbeds/myfrontdesk-front.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:862) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1129) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1160) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47) at hudson.security.ACL.impersonate(ACL.java:290) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress git@bitbucket.org:cloudbeds/myfrontdesk-front.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: remote: Counting objects: 7158, done. ... Receiving objects: 96% (6941/7158), 1.33 MiB | 520.00 KiB/s Connection to bitbucket.org closed by remote host. Receiving objects: 96% (6942/7158), 1.34 MiB | 224.00 KiB/s Receiving objects: 96% (6942/7158), 1.47 MiB | 123.00 KiB/s fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed