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

Boost C++ unit tests and the xUnit plugin - Not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • xunit-plugin
    • None

      output format of my result.xml looks like below
      <TestLog><TestSuite name="SIPParserUT"><TestSuite name=" ....../ and so on

      I am facing following error while publishing output

      [xUnit] [INFO] - Processing BoostTest-1.x (default)
      [xUnit] [INFO] - [BoostTest-1.x (default)] - 1 test report file(s) were found with the pattern '*.xml' relative to '/home/jenkins/jenkins/perforce/CS-GCC-SIP' for the testing framework 'BoostTest-1.x (default)'.
      [xUnit] [ERROR] - The result file '/home/jenkins/jenkins/perforce/CS-GCC-SIP/results.xml' for the metric 'BoostTest' is not valid. The result file has been skipped.
      [xUnit] [INFO] - Failing BUILD because 'set build failed if errors' option is activated.
      [xUnit] [INFO] - There are errors when processing test results.
      [xUnit] [INFO] - Skipping tests recording.
      [xUnit] [INFO] - Stop build.

        1. core-159.xml
          18 kB
        2. test.xml
          79 kB

            nfalco Nikolas Falco
            satish2427 satish kumar
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: