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

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

      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.

          [JENKINS-64862] After installing Git Forensic plugin , Warnings NG step is taking long time

          Gourav Pattnaik created issue -
          Gourav Pattnaik made changes -
          Description Original: After installing the git forensics plugin, the warnings ng step is taking more than one hour and getting timed out.

          Warnings NG step:

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

          Error:

           
          [2021-02-12T17:16:44.455Z] [PHP code sniffer community platform] Searching for all files in '/var/lib/jenkins/workspace/munity-pipeline_dev_INRFC-9--spa' that match the pattern 'build/logs/php-checkstyle*.xml'
          [|https://ci.internations.org/blue/organizations/jenkins/in-community-pipeline/detail/dev%2FINRFC-9--spa/1/pipeline/255#step-826-log-2][2021-02-12T17:16:44.455Z] [PHP code sniffer community platform] -> found 1 file
          [|https://ci.internations.org/blue/organizations/jenkins/in-community-pipeline/detail/dev%2FINRFC-9--spa/1/pipeline/255#step-826-log-3][2021-02-12T17:16:44.455Z] [PHP code sniffer community platform] Successfully parsed file /var/lib/jenkins/workspace/munity-pipeline_dev_INRFC-9--spa/build/logs/php-checkstyle.xml
          [|https://ci.internations.org/blue/organizations/jenkins/in-community-pipeline/detail/dev%2FINRFC-9--spa/1/pipeline/255#step-826-log-4][2021-02-12T17:16:44.455Z] [PHP code sniffer community platform] -> found 20299 issues (skipped 0 duplicates)
          [|https://ci.internations.org/blue/organizations/jenkins/in-community-pipeline/detail/dev%2FINRFC-9--spa/1/pipeline/255#step-826-log-5][2021-02-12T17:16:44.459Z] The recommended git tool is: git
          [|https://ci.internations.org/blue/organizations/jenkins/in-community-pipeline/detail/dev%2FINRFC-9--spa/1/pipeline/255#step-826-log-6][2021-02-12T17:16:44.475Z] using credential xxxxxxxxx
          [|https://ci.internations.org/blue/organizations/jenkins/in-community-pipeline/detail/dev%2FINRFC-9--spa/1/pipeline/255#step-826-log-7][2021-02-12T17:16:44.506Z] The recommended git tool is: git
          [|https://ci.internations.org/blue/organizations/jenkins/in-community-pipeline/detail/dev%2FINRFC-9--spa/1/pipeline/255#step-826-log-8][2021-02-12T17:16:44.519Z] using credential xxxxxxxxx  
          [|https://ci.internations.org/blue/organizations/jenkins/in-community-pipeline/detail/dev%2FINRFC-9--spa/1/pipeline/255#step-826-log-9][2021-02-12T17:16:44.491Z] > git rev-parse HEAD^\{commit} # timeout=10
          [|https://ci.internations.org/blue/organizations/jenkins/in-community-pipeline/detail/dev%2FINRFC-9--spa/1/pipeline/255#step-826-log-10][2021-02-12T17:18:39.356Z] > git rev-parse HEAD^\{commit} # timeout=10

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

          Warnings NG step:

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

          Error:

           
           [2021-02-12T17:16:44.455Z] [PHP code sniffer community platform] Searching for all files in '/var/lib/jenkins/workspace/munity-pipeline_dev_INRFC-9--spa' that match the pattern 'build/logs/php-checkstyle*.xml'
          [2021-02-12T17:16:44.455Z] [PHP code sniffer community platform] -> found 1 file
          [2021-02-12T17:16:44.455Z] [PHP code sniffer community platform] Successfully parsed file /var/lib/jenkins/workspace/munity-pipeline_dev_INRFC-9--spa/build/logs/php-checkstyle.xml

          [2021-02-12T17:16:44.455Z] [PHP code sniffer community platform] -> found 20299 issues (skipped 0 duplicates)
          [2021-02-12T17:16:44.459Z] The recommended git tool is: git
          [2021-02-12T17:16:44.475Z] using credential xxxxxxxxx
          [2021-02-12T17:16:44.506Z] The recommended git tool is: git
          [2021-02-12T17:16:44.519Z] using credential xxxxxxxxx  
          [2021-02-12T17:16:44.491Z] > git rev-parse HEAD^\{commit} # timeout=10
          [|https://ci.internations.org/blue/organizations/jenkins/in-community-pipeline/detail/dev%2FINRFC-9--spa/1/pipeline/255#step-826-log-10][2021-02-12T17:18:39.356Z] > git rev-parse HEAD^\{commit} # timeout=10

          After this it is getting timed out.
          Gourav Pattnaik made changes -
          Description Original: After installing the git forensics plugin, the warnings ng step is taking more than one hour and getting timed out.

          Warnings NG step:

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

          Error:

           
           [2021-02-12T17:16:44.455Z] [PHP code sniffer community platform] Searching for all files in '/var/lib/jenkins/workspace/munity-pipeline_dev_INRFC-9--spa' that match the pattern 'build/logs/php-checkstyle*.xml'
          [2021-02-12T17:16:44.455Z] [PHP code sniffer community platform] -> found 1 file
          [2021-02-12T17:16:44.455Z] [PHP code sniffer community platform] Successfully parsed file /var/lib/jenkins/workspace/munity-pipeline_dev_INRFC-9--spa/build/logs/php-checkstyle.xml

          [2021-02-12T17:16:44.455Z] [PHP code sniffer community platform] -> found 20299 issues (skipped 0 duplicates)
          [2021-02-12T17:16:44.459Z] The recommended git tool is: git
          [2021-02-12T17:16:44.475Z] using credential xxxxxxxxx
          [2021-02-12T17:16:44.506Z] The recommended git tool is: git
          [2021-02-12T17:16:44.519Z] using credential xxxxxxxxx  
          [2021-02-12T17:16:44.491Z] > git rev-parse HEAD^\{commit} # timeout=10
          [|https://ci.internations.org/blue/organizations/jenkins/in-community-pipeline/detail/dev%2FINRFC-9--spa/1/pipeline/255#step-826-log-10][2021-02-12T17:18:39.356Z] > git rev-parse HEAD^\{commit} # timeout=10

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

          Warnings NG step:

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

          Error:

           
           [2021-02-12T17:16:44.455Z] [PHP code sniffer community platform] Searching for all files in '/var/lib/jenkins/workspace/munity-pipeline_dev_INRFC-9--spa' that match the pattern 'build/logs/php-checkstyle*.xml'
           [2021-02-12T17:16:44.455Z] [PHP code sniffer community platform] -> found 1 file
           [2021-02-12T17:16:44.455Z] [PHP code sniffer community platform] Successfully parsed file /var/lib/jenkins/workspace/munity-pipeline_dev_INRFC-9--spa/build/logs/php-checkstyle.xml

          [2021-02-12T17:16:44.455Z] [PHP code sniffer community platform] -> found 20299 issues (skipped 0 duplicates)
           [2021-02-12T17:16:44.459Z] The recommended git tool is: git
           [2021-02-12T17:16:44.475Z] using credential xxxxxxxxx
           [2021-02-12T17:16:44.506Z] The recommended git tool is: git
           [2021-02-12T17:16:44.519Z] using credential xxxxxxxxx  
           [2021-02-12T17:16:44.491Z] > git rev-parse HEAD^\{commit} # timeout=10
          [|https://ci.internations.org/blue/organizations/jenkins/in-community-pipeline/detail/dev%2FINRFC-9--spa/1/pipeline/255#step-826-log-10][2021-02-12T17:18:39.356Z] > git rev-parse HEAD^\{commit} # timeout=10

          After this it is getting timed out.
          Gourav Pattnaik made changes -
          Description Original: After installing the git forensics plugin, the warnings ng step is taking more than one hour and getting timed out.

          Warnings NG step:

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

          Error:

           
           [2021-02-12T17:16:44.455Z] [PHP code sniffer community platform] Searching for all files in '/var/lib/jenkins/workspace/munity-pipeline_dev_INRFC-9--spa' that match the pattern 'build/logs/php-checkstyle*.xml'
           [2021-02-12T17:16:44.455Z] [PHP code sniffer community platform] -> found 1 file
           [2021-02-12T17:16:44.455Z] [PHP code sniffer community platform] Successfully parsed file /var/lib/jenkins/workspace/munity-pipeline_dev_INRFC-9--spa/build/logs/php-checkstyle.xml

          [2021-02-12T17:16:44.455Z] [PHP code sniffer community platform] -> found 20299 issues (skipped 0 duplicates)
           [2021-02-12T17:16:44.459Z] The recommended git tool is: git
           [2021-02-12T17:16:44.475Z] using credential xxxxxxxxx
           [2021-02-12T17:16:44.506Z] The recommended git tool is: git
           [2021-02-12T17:16:44.519Z] using credential xxxxxxxxx  
           [2021-02-12T17:16:44.491Z] > git rev-parse HEAD^\{commit} # timeout=10
          [|https://ci.internations.org/blue/organizations/jenkins/in-community-pipeline/detail/dev%2FINRFC-9--spa/1/pipeline/255#step-826-log-10][2021-02-12T17:18:39.356Z] > git rev-parse HEAD^\{commit} # timeout=10

          After this it is getting timed out.
          New: 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.
          Ulli Hafner made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Ulli Hafner made changes -
          Link New: This issue is blocked by JENKINS-60793 [ JENKINS-60793 ]

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

              Created:
              Updated:
              Resolved: