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

klocwork - update to recognize 9.5.x xml schema

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: klocwork-plugin
    • Labels:
      None
    • Environment:
      rhel 5.5
    • Similar Issues:

      Description

      schema changed. current plugin can digest

      <errorList version="9.2.2">
      ...
      <citingStatus>Analyze</citingStatus><state>Existing</state><severity>Error</severity><severitylevel>3</severitylevel><displayAs>Error</displayAs><dateOriginated>1327694645000</dateOriginated>

      but new owner field appears in 9.5

      <errorList version="9.5.2">
      <citingStatus>Analyze</citingStatus><state>New</state><owner>unowned</owner><severity>Critical</severity><severitylevel>1</severitylevel><displayAs>Error</displayAs>

      that causes publisher to be less than graceful:

      22:08:53 Processing 2 files with the pattern 'kw*.xml'.
      22:08:53 Parsing has been canceled. XML Validation failed. See errors below :
      22:08:53 At line 47 of file:/view/mafi_int_kw/vobs/csci33/csc11/kw.xml:cvc-complex-type.2.4.a: Invalid content was found starting with element 'owner'. One of '

      {"http://www.klocwork.com/inForce/report/1.0":severity, "http://www.klocwork.com/inForce/report/1.0":severitylevel, "http://www.klocwork.com/inForce/report/1.0":displayAs, "http://www.klocwork.com/inForce/report/1.0":dateOriginated, "http://www.klocwork.com/inForce/report/1.0":url, "http://www.klocwork.com/inForce/report/1.0":comment, "http://www.klocwork.com/inForce/report/1.0":history, "http://www.klocwork.com/inForce/report/1.0":lastCommitter, "http://www.klocwork.com/inForce/report/1.0":dateFixed, "http://www.klocwork.com/inForce/report/1.0":category, "http://www.klocwork.com/inForce/report/1.0":lastCommit}

      ' is expected.

        Attachments

          Activity

          Hide
          gbois Gregory Boissinot added a comment -

          The issue persists in another code part.

          Show
          gbois Gregory Boissinot added a comment - The issue persists in another code part.
          Hide
          gbois Gregory Boissinot added a comment -

          The issue should be fix in 1.13.
          I'm afraid the initial code misses many checks.
          Please let me know if you have further problems.

          Show
          gbois Gregory Boissinot added a comment - The issue should be fix in 1.13. I'm afraid the initial code misses many checks. Please let me know if you have further problems.
          Hide
          weakcamel Waldek M added a comment -

          I'll give it a try. Thank you!
          BTW, could you please write what logger should I subscribe to to gather some more kw plugin debug information in future?

          Show
          weakcamel Waldek M added a comment - I'll give it a try. Thank you! BTW, could you please write what logger should I subscribe to to gather some more kw plugin debug information in future?
          Hide
          gbois Gregory Boissinot added a comment -

          I'm afraid I don't understand your last question about logger.
          Do you ask me which kind of tool to use when you'll have new issues?
          Thanks

          Show
          gbois Gregory Boissinot added a comment - I'm afraid I don't understand your last question about logger. Do you ask me which kind of tool to use when you'll have new issues? Thanks
          Hide
          weakcamel Waldek M added a comment -

          OK, so let me rephrase it; perhaps I wasn't too clear, indeed.
          Is there a way that I could gather some more detailed logs from the Klocwork plugin?
          Waldek

          Show
          weakcamel Waldek M added a comment - OK, so let me rephrase it; perhaps I wasn't too clear, indeed. Is there a way that I could gather some more detailed logs from the Klocwork plugin? Waldek

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              moncreaff Greg Moncreaff
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: