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

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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • junit-plugin
    • None
    • Platform: PC, OS: Windows XP

      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.

          [JENKINS-3149] Single malformed junit result causes failure to import rest of junit results.

          dangthill created issue -
          Alan Harder made changes -
          Assignee New: huybrechts [ huybrechts ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-19186 [ JENKINS-19186 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 133222 ] New: JNJira + In-Review [ 202004 ]

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

              Created:
              Updated:
              Resolved: