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

Single malformed junit result causes failure to import rest of junit results.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: junit-plugin
    • Labels:
      None
    • Environment:
      Platform: PC, OS: Windows XP

      Description

      Background:

      I am using Hudson for a C++ project. I have created a job which acts as a
      regression test (via some scripting). This script creates several XML files in
      the junit report format--it does not actually use Junit.

      Problem:

      If one of the junit results files is malformed enough to cause the XML parser
      to fail (for example, a segfault in the script causes the XML file to be
      incomplete), none of the remaining (or already parsed) results files, which may
      be completely valid, are imported into Hudson. The build results will not show
      any test results.

      I would expect only the test results from the malformed results file to be
      missing from the build status--not all of test results.

        Issue Links

          Activity

            People

            • Assignee:
              huybrechts huybrechts
              Reporter:
              dangthill dangthill
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: