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

jobs fail to "parse changelog" for pull requests with "catch-up" merges from destination branch

      the latest git + git-client combination that worked is:

      plugin version
      git 2.4.1
      git-client 1.19.2

      I have upgraded from the above combination to 2.4.2 + 1.19.6, and then I've started experiencing the following problem for pull requests that had a "catchup" (one or more merges FROM destination branch before the pull request):

      20:22:31 java.io.IOException: Failed to parse changelog
      20:22:31 	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:625)
      20:22:31 	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      20:22:31 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
      20:22:31 	at hudson.model.Run.execute(Run.java:1738)
      20:22:31 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      20:22:31 	at hudson.model.ResourceController.execute(ResourceController.java:98)
      20:22:31 	at hudson.model.Executor.run(Executor.java:410)
      20:22:31 Caused by: java.lang.NullPointerException
      20:22:31 	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)
      20:22:31 	at com.google.jenkins.plugins.metadata.scm.SourceMetadata.<init>(SourceMetadata.java:62)
      20:22:31 	at com.google.jenkins.plugins.metadata.scm.SourceMetadataExtractor$FromGitBuildActions.getSourceMetadata(SourceMetadataExtractor.java:242)
      20:22:31 	at com.google.jenkins.plugins.metadata.scm.SourceMetadataExtractor$FromBuildActions.extract(SourceMetadataExtractor.java:139)
      20:22:31 	at com.google.jenkins.plugins.metadata.scm.SourceMetadataExtractor.extract(SourceMetadataExtractor.java:101)
      20:22:31 	at com.google.jenkins.plugins.metadata.scm.SourceMetadataBuildListener.onChangeLogParsed(SourceMetadataBuildListener.java:50)
      20:22:31 	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:120)
      20:22:31 	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:623)
      20:22:31 	... 6 more
      

          [JENKINS-33433] jobs fail to "parse changelog" for pull requests with "catch-up" merges from destination branch

          Max Kovgan created issue -
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 169350 ] New: JNJira + In-Review [ 183460 ]
          Raphaël UNIQUE made changes -
          Priority Original: Minor [ 4 ] New: Critical [ 2 ]
          Raphaël UNIQUE made changes -
          Component/s New: scm-api-plugin [ 18054 ]
          Raphaël UNIQUE made changes -
          Component/s New: subversion-plugin [ 15485 ]
          Raphaël UNIQUE made changes -
          Component/s New: hp-application-automation-tools-plugin [ 17322 ]
          Yafim Kazak made changes -
          Assignee New: Michael Seldin [ mseldin ]
          Yafim Kazak made changes -
          Labels New: octane
          Yafim Kazak made changes -
          Link New: This issue duplicates JENKINS-42580 [ JENKINS-42580 ]
          Yafim Kazak made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

            yafim_kazak Yafim Kazak
            mvk Max Kovgan
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: