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

xUnit Plugin Does Not Parse Some Boost 1.63 Test Reports

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Currently the xUnit plugin does not accept some test reports generated by the test framework of Boost 1.63. The problem is that these reports may contain a "Message" element as child of a "TestSuite" element (see attached file "boost_test_report.xml") which will not pass the validation by the current "boosttest-1.5.0.xsd" file of the plugin. I have also attached a modified xsd file which will accept the attached report format.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Nikolas Falco
          Path:
          src/main/resources/org/jenkinsci/plugins/xunit/types/boosttest-1.5.0.xsd
          src/test/java/org/jenkinsci/plugins/xunit/types/BoostTestTest.java
          src/test/resources/org/jenkinsci/plugins/xunit/types/boosttest/testcase19/junit-result.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/boosttest/testcase19/testlog.xml
          http://jenkins-ci.org/commit/xunit-plugin/da4a90d80b0ef8f34f593e32e71627ee1c9a538d
          Log:
          Merge branch 'feature/JENKINS-42031'

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nikolas Falco Path: src/main/resources/org/jenkinsci/plugins/xunit/types/boosttest-1.5.0.xsd src/test/java/org/jenkinsci/plugins/xunit/types/BoostTestTest.java src/test/resources/org/jenkinsci/plugins/xunit/types/boosttest/testcase19/junit-result.xml src/test/resources/org/jenkinsci/plugins/xunit/types/boosttest/testcase19/testlog.xml http://jenkins-ci.org/commit/xunit-plugin/da4a90d80b0ef8f34f593e32e71627ee1c9a538d Log: Merge branch 'feature/ JENKINS-42031 '
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Thomas Ascher
          Path:
          src/main/resources/org/jenkinsci/plugins/xunit/types/boosttest-1.5.0.xsd
          src/test/java/org/jenkinsci/plugins/xunit/types/BoostTestTest.java
          src/test/resources/org/jenkinsci/plugins/xunit/types/boosttest/testcase19/junit-result.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/boosttest/testcase19/testlog.xml
          http://jenkins-ci.org/commit/xunit-plugin/ce609d4fe0b508544da529b42eb9ccd031e257be
          Log:
          JENKINS-42031 xUnit Plugin Does Not Parse Some Boost 1.63 Test Reports

          Change the boosttest-1.5.0.xsd validation file to accept some test
          reports generated by the test framework of Boost 1.63 where these
          reports may contain a "Message" element as child of a "TestSuite"
          element.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Thomas Ascher Path: src/main/resources/org/jenkinsci/plugins/xunit/types/boosttest-1.5.0.xsd src/test/java/org/jenkinsci/plugins/xunit/types/BoostTestTest.java src/test/resources/org/jenkinsci/plugins/xunit/types/boosttest/testcase19/junit-result.xml src/test/resources/org/jenkinsci/plugins/xunit/types/boosttest/testcase19/testlog.xml http://jenkins-ci.org/commit/xunit-plugin/ce609d4fe0b508544da529b42eb9ccd031e257be Log: JENKINS-42031 xUnit Plugin Does Not Parse Some Boost 1.63 Test Reports Change the boosttest-1.5.0.xsd validation file to accept some test reports generated by the test framework of Boost 1.63 where these reports may contain a "Message" element as child of a "TestSuite" element.
          Hide
          nfalco Nikolas Falco added a comment - - edited

          Thanks Thomas Ascher for the report and the attached report. With the pull request 52 and attached file I will try fix this bug soon with a proper test case.

          Since 1.64.0 of boosttest is able to produce directly the JUnit report I will reduce the priority.

          Show
          nfalco Nikolas Falco added a comment - - edited Thanks Thomas Ascher for the report and the attached report. With the pull request 52 and attached file I will try fix this bug soon with a proper test case. Since 1.64.0 of boosttest is able to produce directly the JUnit report I will reduce the priority.
          Hide
          spoorcc Ben Spoor added a comment -

          Based on activity on repository of xunit plugin, doesn't seem Gregory Boissinot is very active anymore with this plugin.

          Show
          spoorcc Ben Spoor added a comment - Based on activity on repository of xunit plugin, doesn't seem Gregory Boissinot is very active anymore with this plugin.
          Show
          spoorcc Ben Spoor added a comment - Created https://github.com/jenkinsci/xunit-plugin/pull/52
          Hide
          spoorcc Ben Spoor added a comment -

          Is there an associated Pull Request with the adaptations?

          It is basically adding Message element:
              <xs:element ref="Message" minOccurs="0" maxOccurs="unbounded"/>

          To the choice of the TestSuite element in https://github.com/jenkinsci/xunit-plugin/blob/master/src/main/resources/org/jenkinsci/plugins/xunit/types/boosttest-1.5.0.xsd?

          Show
          spoorcc Ben Spoor added a comment - Is there an associated Pull Request with the adaptations? It is basically adding Message element:     <xs:element ref="Message" minOccurs="0" maxOccurs="unbounded"/> To the choice of the TestSuite element in https://github.com/jenkinsci/xunit-plugin/blob/master/src/main/resources/org/jenkinsci/plugins/xunit/types/boosttest-1.5.0.xsd?

            People

            • Assignee:
              nfalco Nikolas Falco
              Reporter:
              tascher Thomas Ascher
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: