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

jgit hangs on "Updating references" with large repositories

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • git-plugin
    • Jenkins 1.509.2 on JDK 1.7.0_25, master on Debian x64, slaves on Debian x64, x86, Windows x64, x86, and CentOS x64

    Description

      While exploring the Git 2.0 plugin beta version, I found that several of my jobs which were attempting to update from a large repository would hang the Jenkins job at the "Updating references" stage.

      The jobs which hung were all using jgit rather than the command line git. When I switched the jobs from jgit back to command line git, they worked as expected.

      Attachments

        Issue Links

          Activity

            Is there a reference/issue on the jgit site we can refer to?

            domi Dominik Bartholdi added a comment - Is there a reference/issue on the jgit site we can refer to?
            markewaite Mark Waite added a comment -

            No, there is not a reference or issue in jgit as far as I know. Since the out of memory error could be reproduced with the Linux kernel repository, it probably could be submitted to jgit as an issue.

            markewaite Mark Waite added a comment - No, there is not a reference or issue in jgit as far as I know. Since the out of memory error could be reproduced with the Linux kernel repository, it probably could be submitted to jgit as an issue.

            @Mark as you'r most familiar with JENKINS-19043 and JENKINS-18960, I think you would be the best candidate to open a ticket at jgit - wdyt?

            domi Dominik Bartholdi added a comment - @Mark as you'r most familiar with JENKINS-19043 and JENKINS-18960 , I think you would be the best candidate to open a ticket at jgit - wdyt?
            markewaite Mark Waite added a comment -

            I have confirmed that the hang is visible with the jgit.sh self contained wrapper from the Eclipse jgit site using my large private repository. If time allows, I'll continue the experiment with a smaller repository (like the Linux kernel) and see if the problem can be repeated with a smaller repository. If not, then I can attempt to mutate the smaller repository into a case which shows the problem.

            Since all of those activities will come at the expense of my time on the Jenkins project, I'll limit them and may eventually surrender that it is not worth my time to invest significant effort improving jgit when I care more about improving Jenkins.

            markewaite Mark Waite added a comment - I have confirmed that the hang is visible with the jgit.sh self contained wrapper from the Eclipse jgit site using my large private repository. If time allows, I'll continue the experiment with a smaller repository (like the Linux kernel) and see if the problem can be repeated with a smaller repository. If not, then I can attempt to mutate the smaller repository into a case which shows the problem. Since all of those activities will come at the expense of my time on the Jenkins project, I'll limit them and may eventually surrender that it is not worth my time to invest significant effort improving jgit when I care more about improving Jenkins.
            markewaite Mark Waite added a comment -

            JGit 3.2.0 resolves this issue, at least with my 2.5 GB repository. JGit 3.2.0 is proposed to be included in the release of git client plugin after 1.6.1 and the release of git plugin after 2.0.1

            markewaite Mark Waite added a comment - JGit 3.2.0 resolves this issue, at least with my 2.5 GB repository. JGit 3.2.0 is proposed to be included in the release of git client plugin after 1.6.1 and the release of git plugin after 2.0.1

            People

              ndeloof Nicolas De Loof
              markewaite Mark Waite
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: