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

Print log if post processing has been skipped

    Details

    • Similar Issues:
    • Released As:
      8.0.0

      Description

      Filtration feature of warning-ng 7.0.0 or above version is not working

      Steps invoked:

      recordIssues tools: [taskingVx(name: 'Tasking ctc', pattern: '**/*.ec')],
                  filters: files,
                  healthy: 0 ,
                  unhealthy: 100 ,
                  minimumSeverity: 'HIGH'
      

      After upgrading the warning-ng plugin from 6.1.1 version to 7.0.0 version, the filtration feature of warning-ng plugin is stoped working and
      hyperlink on the file having issues are also disabled.

      [Tasking ctc ] -> found 596 issues (skipped 594 duplicates)
      [Tasking ctc ] Attaching ResultAction with ID 'tasking-vx' to run 'Playground/HIL_Interface/Test_entire_pipeline #222'.
      [Tasking ctc ] Using reference build 'Playground/HIL_Interface/Test_entire_pipeline #220' to compute new, fixed, and outstanding issues
      [Tasking ctc ] Issues delta (vs. reference build): outstanding: 596, new: 0, fixed: 0
      [Tasking ctc ] No quality gates have been set - skipping
      [Tasking ctc ] Health report is disabled - skipping
      [Tasking ctc ] Created analysis result for 596 issues (found 0 new issues, fixed 0 issues
      

      Entire post processing is missing, if warning ng 7.0.0 or above version is used. 

      The same functionality is working fine for warning-ng 6.1.1 or below version

       

      [Tasking ctc ] -> found 596 issues (skipped 594 duplicates)
      [Tasking ctc ] [-ERROR-] Can't resolve absolute paths for some files:
      [Tasking ctc ] [-ERROR-] Can't create fingerprints for some files:
      [Tasking ctc ] [-ERROR-] - 'D:/Jenkins/shubhamTest/workspace/Playground/HIL_Interface/Test_entire_pipeline/SW/APP/CD/SF/OsSf/ABC/src/Test.c', provided encoding 'UTF-8' seems to be wrong
      [Tasking ctc ] [-ERROR-] - 'D:/Jenkins/shubhamTest/workspace/Playground/HIL_Interface/Test_entire_pipeline/SW/APP/CD/SF/OsSf/ABC/src/Test1.c', provided encoding 'UTF-8' seems to be wrong
      [Tasking ctc ] Post processing issues on 'FRVSF56M' with source code encoding 'UTF-8'
      [Tasking ctc ] Resolving absolute file names for all issues in workspace 'D:\Jenkins\shubhamTest\workspace\Playground\HIL_Interface\Test_entire_pipeline\SW'
      [Tasking ctc ] -> 211 resolved, 1 unresolved, 1 already resolved
      [Tasking ctc ] Resolving module names from module definitions (build.xml, pom.xml, or Manifest.mf files)
      [Tasking ctc ] -> resolved module names for 596 issues
      [Tasking ctc ] Resolving package names (or namespaces) by parsing the affected files
      [Tasking ctc ] -> resolved package names of 213 affected files
      [Tasking ctc ] Applying 322 filters on the set of 596 issues (547 issues have been removed, 49 issues will be published)
      [Tasking ctc ] Creating fingerprints for all affected code blocks to track issues over different builds
      [Tasking ctc ] -> created fingerprints for 47 issues
      [Tasking ctc ] Copying affected files to Jenkins' build folder '/var/jenkins_home/builds/Playground/HIL_Interface/Test_entire_pipeline/223/files-with-issues'
      [Tasking ctc ] -> 11 copied, 0 not in workspace, 0 not-found, 0 with I/O error
      [Tasking ctc ] Attaching ResultAction with ID 'tasking-vx' to run 'Playground/HIL_Interface/Test_entire_pipeline #223'.
      [Tasking ctc ] Using reference build 'Playground/HIL_Interface/Test_entire_pipeline #222' to compute new, fixed, and outstanding issues
      [Tasking ctc ] Issues delta (vs. reference build): outstanding: 0, new: 49, fixed: 596
      [Tasking ctc ] No quality gates have been set - skipping
      [Tasking ctc ] Health report is disabled - skipping
      [Tasking ctc ] Created analysis result for 49 issues (found 49 new issues, fixed 596 issues)
      

        Attachments

          Issue Links

            Activity

            Hide
            drulli Ulli Hafner added a comment -

            Logger output is not shown if post processing has been skipped.

            Show
            drulli Ulli Hafner added a comment - Logger output is not shown if post processing has been skipped.
            Hide
            shubhamsrivastava726 shubham srivastava added a comment -

            I just removed all the empty files from the directory whose name is matching with the regex and then the plugin works fine. if even a single empty file is present in the directory the complete post processing is skipped and logger output is not shown

            Show
            shubhamsrivastava726 shubham srivastava added a comment - I just removed all the empty files from the directory whose name is matching with the regex and then the plugin works fine. if even a single empty file is present in the directory the complete post processing is skipped and logger output is not shown
            Hide
            shubhamsrivastava726 shubham srivastava added a comment -

            Hi Ulli Hafner

            Just wanted to know when can i expect the fix for this issue.

            Show
            shubhamsrivastava726 shubham srivastava added a comment - Hi  Ulli Hafner Just wanted to know when can i expect the fix for this issue.
            Hide
            drulli Ulli Hafner added a comment -

            This is not on my priority list. If you are interested in providing a PR please let me know.

            Show
            drulli Ulli Hafner added a comment - This is not on my priority list. If you are interested in providing a PR please let me know.
            Hide
            shubhamsrivastava726 shubham srivastava added a comment -

            Post processing feature is skipped/not working when any empty file matches with the pattern.
            Issue is not fixed in warning-ng-8.0.0 version

            Show
            shubhamsrivastava726 shubham srivastava added a comment - Post processing feature is skipped/not working when any empty file matches with the pattern. Issue is not fixed in warning-ng-8.0.0 version

              People

              • Assignee:
                Unassigned
                Reporter:
                shubhamsrivastava726 shubham srivastava
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: