Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54710

GitException was not retried in shared libraries fetcher

XMLWordPrintable

      https://github.com/jenkinsci/workflow-cps-global-lib-plugin/blob/master/src/main/java/org/jenkinsci/plugins/workflow/libs/SCMSourceRetriever.java#L129

      GitException is not subclass of IOException

      org.eclipse.jgit.errors.NoRemoteRepositoryException: X: fatal: remote error: Server busy Bitbucket is currently under heavy load and is not able to service your request. Please wait briefly and try your request again.
      
      	at org.eclipse.jgit.transport.TransportGitSsh.cleanNotFound(TransportGitSsh.java:209)
      	at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:290)
      	at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:162)
      	at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:198)
      Caused: org.eclipse.jgit.api.errors.TransportException: X: fatal: remote error: Server busy Bitbucket is currently under heavy load and is not able to service your request. Please wait briefly and try your request again.
      
      	at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:221)
      	at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:159)
      	at org.jenkinsci.plugins.gitclient.JGitAPIImpl.getRemoteReferences(JGitAPIImpl.java:787)
      Caused: hudson.plugins.git.GitException
      	at org.jenkinsci.plugins.gitclient.JGitAPIImpl.getRemoteReferences(JGitAPIImpl.java:801)
      	at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:708)
      	at jenkins.scm.api.SCMSource.fetch(SCMSource.java:598)
      	at org.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.retrieve(SCMSourceRetriever.java:80)
      	at org.jenkinsci.plugins.workflow.libs.LibraryAdder.retrieve(LibraryAdder.java:153)
      	at org.jenkinsci.plugins.workflow.libs.LibraryStep$Execution.run(LibraryStep.java:205)
      	at org.jenkinsci.plugins.workflow.libs.LibraryStep$Execution.run(LibraryStep.java:154)
      	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)
      

            Unassigned Unassigned
            fengxx Ted Xiao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: