[Closed] (SUREFIRE-1559) XML Report elements rerunError, rerunFailure, flakyFailure, flakyError should contain element stackTrace and should not be simpleContent.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Closed] (SUREFIRE-1559) XML Report elements rerunError, rerunFailure, flakyFailure, flakyError should contain element stackTrace and should not be simpleContent.

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/SUREFIRE-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tibor Digana closed SUREFIRE-1559.
----------------------------------
    Resolution: Fixed

https://gitbox.apache.org/repos/asf?p=maven-surefire.git;a=commit;h=15475f28d005b73e1d1eaf8ebb70f18aeca4d30e

> XML Report elements rerunError, rerunFailure, flakyFailure, flakyError should contain element stackTrace and should not be simpleContent.
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1559
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1559
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Failsafe Plugin, Maven Surefire Plugin, Maven Surefire Report Plugin, xml generation
>            Reporter: Tibor Digana
>            Assignee: Tibor Digana
>            Priority: Major
>             Fix For: 2.22.1
>
>
> The problem is that XML is invalid due to {{rerunError, rerunFailure, flakyFailure, flakyError}} are
> {{simpleContent}} having stack trace as simple XML string-value. Additionally, it contains elements {{system-out}}, {{system-err}} which belong to complexType. The Jenkins and Travis should be informed about this fix and their plugins should adapt.
> These elements should be {{complexType}} and the value of {{simpleContent}} should appear in new element {{stackTrace}}.
> https://github.com/travis-ci/travis-ci/issues/10033
> https://issues.jenkins-ci.org/browse/JENKINS-53237



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)