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

Git creates malformed changelog.xml files

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: git-client-plugin
    • Labels:
      None
    • Environment:
      jenkins 1.608
      git-plugin 2.3.5
      git-client 1.17.0
      git 1.9.2/FreeBSD 9.1 on master or git 2.3.1/FreeBSD10.1 on slaves
    • Similar Issues:

      Description

      While investigating JENKINS-28920 it became apparent that some git component was creating malformed changelog.xml files. These headers are missing SHA1 values for the parent value.

      I don't know why the headers were missing, any information about where the changelog.xml is generated would be helpful, since a git log --pretty=raw $SHA1 in the slave working directory shows the parent correctly. (I should note that the master is an older git because maintenance is downtime and the slaves are all ansible'ized and up to date.)

      We are also using reference repositories which are updated nightly.

      The log from the build that started this issue looks like this:

      00:00:00.013 Started by user J. Longman
      00:00:00.014 Started by user J. Longman
      00:00:00.032 Building remotely on vagrant-freebsd-10-10.10.1.174 (special swarm) in workspace /usr/home/jenkins/workspace/4.9.1
      00:00:00.033 
      00:00:00.033 Deleting project workspace... done
      00:00:00.197 
      00:00:01.042  > /usr/local/bin/git rev-parse --is-inside-work-tree # timeout=10
      00:00:01.440 Fetching changes from the remote Git repository
      00:00:01.443  > /usr/local/bin/git config remote.origin.url ssh://jenkins@git/git/Main.git # timeout=10
      00:00:01.475 Fetching upstream changes from ssh://jenkins@git/git/Main.git
      00:00:01.477  > /usr/local/bin/git --version # timeout=10
      00:00:01.501  > /usr/local/bin/git -c core.askpass=true fetch --tags --progress ssh://jenkins@git/git/Main.git +refs/heads/*:refs/remotes/origin/* # timeout=15
      00:00:02.357  > /usr/local/bin/git rev-parse refs/remotes/origin/Special_9^{commit} # timeout=10
      00:00:02.370  > /usr/local/bin/git rev-parse refs/remotes/origin/origin/Special_9^{commit} # timeout=10
      00:00:02.381 Checking out Revision f316cb2ceee9a38b393629c49eba2d33dc9669f6 (refs/remotes/origin/Special_9)
      00:00:02.393  > /usr/local/bin/git config core.sparsecheckout # timeout=10
      00:00:02.409  > /usr/local/bin/git checkout -f f316cb2ceee9a38b393629c49eba2d33dc9669f6 # timeout=15
      00:00:04.336  > /usr/local/bin/git rev-list 477e7dfabbfe71fd12d12b4238cc3d105061310c # timeout=10
      00:00:09.567 FATAL: null
      00:00:09.567 java.lang.ArrayIndexOutOfBoundsException
      00:00:09.597 FATAL: null
      00:00:09.597 java.lang.ArrayIndexOutOfBoundsException
      00:00:09.611 Finished: FAILURE
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ndeloof Nicolas De Loof
                Reporter:
                jlongman jlongman
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: