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

Receive a disconnect during checkout - Unexpected EOF

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • Jenkins 2.235.1
      gerrit trigger 2.34.0
      git 4.6.0
      Git client 3.6.0

      We periodically receive this error:

      hudson.plugins.git.GitException: Command "git fetch --tags --force --progress – origin +refs/heads/:refs/remotes/origin/ +refs/changes/:refs/remotes/origin/" returned status code 128:
      ....
      fatal: the remote end hung up unexpectedly
      fatal: early EOF
      fatal: index-pack failed at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2436)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2050)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:84)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:572)
      at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:370)
      at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:330)
      at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:396)
      at jenkins.scm.api.SCMSource.fetch(SCMSource.java:582)
      at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:98)
      at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:309)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:428)Finished: FAILURE

      which we resolve by running gerrit GC. We believe the issue is that our repo gets too large to fetch over HTTP. We're getting to the stage now where we need to run this action multiple times a week, so soon the workaround won't be viable. Can you modify the checkout processes to go via SSH instead of HTTP?

       

       

            lucamilanesio Luca Domenico Milanesio
            joel_happyco Joel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: