ExportXMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Major
    • Component/s: analysis-core-plugin
    • None
    • Environment:
      windows

      Jenkins 2.492.3 to 2.568.3

      warnings-ng 12.5.0 to 13.x

      analysis-model-api

          1. Environment
      • Warnings Next Generation: upgraded from 12.5.0 to [exact installed version]
      • Analysis Model API: [installed version]
      • Jenkins: [version]
          1. Minimal input
            ```text
            ltc I465: reading LSL file(s)
            ltc I466: applying memory attributes from LSL
            ltc I400: activating link phase
            ```
          1. Reproduction
            Save the input as tasking.log and run:

      ```groovy
      recordIssues(
          tools: [taskingVx(pattern: 'tasking.log')],
          filters: [excludeCategory('Info')],
          qualityGates: [[
              type: 'TOTAL',
              threshold: 1,
              criticality: 'FAILURE'
          ]]
      )
      ```

          1. Expected behavior
            TASKING informational (`I`) messages retain category `Info`, allowing
            the existing category filter to exclude them.
          1. Actual behavior
            The messages have LOW severity but an empty category.
            `excludeCategory('Info')` no longer matches, so the TOTAL quality gate
            counts informational linker progress messages and fails.

      In our before/after builds, the same 23 informational messages were
      parsed. Before the upgrade, all 23 were filtered out; afterward, none
      were filtered out. The filter configuration and threshold were unchanged.

          1. Source comparison
            The analysis-model v13.2.0 TASKING parser explicitly assigns category
            `Info` for `I` messages:
            https://github.com/jenkinsci/analysis-model/blob/v13.2.0/src/main/java/edu/hm/hafner/analysis/parser/TaskingVxCompilerParser.java

      The current main implementation assigns LOW severity but does not set
      a category:
      https://github.com/jenkinsci/analysis-model/blob/main/src/main/java/edu/hm/hafner/analysis/parser/TaskingVxCompilerParser.java

          1. Requested resolution
            Restore the TASKING category mapping, or document the intentional
            behavior change and provide a supported migration for existing filters.
            Please add regression coverage for informational-message filtering.

            Assignee:
            Ulli Hafner
            Reporter:
            tresa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: