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

BoostTest output coverting to JUnit format can't be recognized if contains Exceptions in boostTest result

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: xunit-plugin
    • Labels:
      None
    • Environment:
      BoostTest-1.37.0 (default)
      xUnit-1.13
    • Similar Issues:

      Description

      [xUnit] [INFO] - Converting '/var/lib/hudson/workspace/crete/test-results/crete-unittest.xml' .
      [xUnit] [ERROR] - The converted file for the input file '/var/lib/hudson/workspace/crete/test-results/crete-unittest.xml' doesn't match the JUnit format
      [xUnit] [ERROR] - At line 361 of file:/var/lib/hudson/workspace/crete/generatedJUnitFiles/BoostTest/TEST-526197109.xml:cvc-complex-type.2.4.d: Invalid content was found starting with element 'testcase'. No child element is expected at this point.
      

      The file contents around line 361 is as followings

      357    <testcase classname="Crete Unit Test." name="CheckLicense_0" time="0.01">
      358       <error>&#xD;[Exception] - child has exited; pid: 18326; uid: 101; exit value: 2&#xD; == [File] - &#xD; == [Line] -&#xD;</error>
      359    </testcase>
      360    <system-err>&#xD;[Exception] - child has exited; pid: 18326; uid: 101; exit value: 2&#xD; == [File] - &#xD; == [Line] - &#xD;</system-err>
      361    <testcase classname="Crete Unit Test." name="CheckLicense_1" time="0">
      362       <error>&#xD;[Exception] - signal: SIGABRT (application abort requested)&#xD; == [File] - &#xD; == [Line] -&#xD;</error>
      363    </testcase>
      364    <system-err>&#xD;[Exception] - signal: SIGABRT (application abort requested)&#xD; == [File] - &#xD; == [Line] - &#xD;</system-err>
      

        Attachments

          Activity

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              kevincai Kevin Cai
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: