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

Failure of Warnings ng plugin to detect QAC analysis

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • analysis-model

      Description of Issue:

      • Current QAC Version:
        • The installed QAC version is 8.1.2 (C:\PRQA\QAC-8.1.2-R).
        • The installed warnings-ng plugin version is 9.20.1
      • Warnings and Job Failures:
        • QAC Jobs run but do not fail despite warnings in certain files
      *10:15:29* 	A composite expression of 'essentially unsigned' type (-identifier-) is being cast to a wider unsigned type, '-identifier-'.
      *10:15:29* <S>COUNT   7    4424         1
      *10:15:29* 	An expression of 'essentially enum' type (-identifier-) is being converted to unsigned type, '-identifier-' on assignment.
      *10:15:29* 
      *10:15:29*          level number occurrences
      *10:15:29* <S>COUNT   6     715         2
      *10:15:29* 	[L] Nesting of control structures (statements) exceeds 15 - program does not conform strictly to ISO:C90.
      
        • The QA-C analyzer post-build action does not detect warnings
      10:17:25 POST BUILD TASK : SUCCESS
      10:17:25 END OF POST BUILD TASK : 0
      10:17:25 [QA-C Sourcecode Analyser] Parsing console log (workspace: 'd:\jenkins\workspace\Qac_Check')
      10:17:25 [QA-C Sourcecode Analyser] -> found 0 issues (skipped 0 duplicates)
      10:17:25 [QA-C Sourcecode Analyser] Parsing console log (workspace: 'd:\jenkins\workspace\Qac_Check')
      10:17:25 [QA-C Sourcecode Analyser] -> found 0 issues (skipped 0 duplicates)
      10:17:25 [QA-C Sourcecode Analyser] Successfully parsed console log
      10:17:25 [QA-C Sourcecode Analyser] -> found 0 issues (skipped 0 duplicates)
      10:17:25 [QA-C Sourcecode Analyser] Parsing console log (workspace: 'd:\jenkins\workspace\Qac_Check')
      10:17:25 [QA-C Sourcecode Analyser] Skipping post processing
      10:17:25 [QA-C Sourcecode Analyser] No filter has been set, publishing all 0 issues
      10:17:25 [QA-C Sourcecode Analyser] Repository miner is not configured, skipping repository mining
      10:17:25 [QA-C Sourcecode Analyser] Reference build recorder is not configured
      10:17:25 [QA-C Sourcecode Analyser] Obtaining reference build from same job (Qac_Check)
      10:17:25 [QA-C Sourcecode Analyser] Using reference build 'Qac_Check #44' to compute new, fixed, and outstanding issues
      10:17:25 [QA-C Sourcecode Analyser] Issues delta (vs. reference build): outstanding: 0, new: 0, fixed: 0
      10:17:25 [QA-C Sourcecode Analyser] Evaluating quality gates
      10:17:25 [QA-C Sourcecode Analyser] -> PASSED - Total (any severity): 0 - Quality Gate: 1
      10:17:25 [QA-C Sourcecode Analyser] -> All quality gates have been passed
      10:17:25 [QA-C Sourcecode Analyser] Health report is disabled - skipping
      10:17:25 [QA-C Sourcecode Analyser] Created analysis result for 0 issues (found 0 new issues, fixed 0 issues)
      

       

      Required Actions:

      Address the issue with the QA-C analyzer post-build action to ensure warnings are detected and jobs fail as expected.

            drulli Ulli Hafner
            ayakout_magna Ali
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: