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

After installing Git Forensic plugin , Warnings NG step is taking long time

XMLWordPrintable

      After installing the git forensics plugin, the warnings ng step is taking more than one hour and getting timed out.

      Git Forensic step:
      discoverGitReferenceBuild referenceJob: "in-community-pipeline/master", latestBuildIfNotFound: true, maxCommits: 150, skipUnknownCommits: true

      Output:

      [2021-02-12T20:15:50.181Z] [ReferenceFinder] Configured reference job: 'in-community-pipeline/master'
      [2021-02-12T20:15:50.181Z] [ReferenceFinder] No reference build found that contains matching commits
      [2021-02-12T20:15:50.181Z] [ReferenceFinder] Falling back to latest build of reference job: '1619-deploy/2021-02-09'

      Warnings NG step:

      recordIssues(enabledForFailure: true, tools: [phpCodeSniffer(id: 'phpcs-community', name: 'PHP code sniffer community platform', pattern: 'build/logs/php-checkstyle*.xml')])

       

      Output:

       [2021-02-12T20:17:22.497Z] [PHP code sniffer community platform] Searching for all files in '/var/lib/jenkins/workspace/mmunity-pipeline_dev_sharedtest1' that match the pattern 'build/logs/php-checkstyle*.xml'
      [2021-02-12T20:17:22.497Z] [PHP code sniffer community platform] -> found 1 file
      [2021-02-12T20:17:22.497Z] [PHP code sniffer community platform] Successfully parsed file /var/lib/jenkins/workspace/mmunity-pipeline_dev_sharedtest1/build/logs/php-checkstyle.xml
      [2021-02-12T20:17:22.497Z] [PHP code sniffer community platform] -> found 20297 issues (skipped 0 duplicates)
      [2021-02-12T20:17:22.503Z] The recommended git tool is: NONE
      [2021-02-12T20:17:22.515Z] using credential github-internations-jenkins
      [2021-02-12T20:17:22.562Z] The recommended git tool is: NONE
      [2021-02-12T20:17:22.571Z] using credential github-internations-jenkins
      [2021-02-12T20:17:22.538Z] > git rev-parse HEAD^{commit} # timeout=10
      [2021-02-12T20:19:51.167Z] > git rev-parse HEAD^{commit} # timeout=10

       

      At this point its run for more than 70 mins, then we have timeout set, so its exiting.

            drulli Ulli Hafner
            whitewolf123 Gourav Pattnaik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: