Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Duplicate
-
2.15
-
None
-
None
-
None
Description
https://jenkins.ci.cloudbees.com/job/core/job/jenkins_main_trunk/ws/test/target/surefire-reports/TEST-hudson.tasks.EnvVarsInConfigTasksTest.xml as of build #1082 was malformed:
<system-out>=== Starting EnvVarsInConfigTasksTest.testNativeMavenOnSlave #1 completed Legacy code started this job. No cause information is available Building remotely on &#;[8mha:AAAAnB+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAy2EgYB/eT83ILSktQi/eKcxLJUQwA49mDyxQAAAA==&#;[0mslave1 in workspace /scratch/jenkins/workspace/core/jenkins_main_trunk/test/target/hudson8856170059407332280test/workspace/test0 Deleting existing workspace /scratch/jenkins/workspace/core/jenkins_main_trunk/test/target/hudson8856170059407332280test/workspace/test0 Staging file:/scratch/jenkins/workspace/core/jenkins_main_trunk/test/target/classes/simple-projects.zip ERROR: Maven Home /scratch/jenkins/workspace/core/jenkins_main_trunk/test/target/apache-maven-2.2.1${TOOLS_DUMMY_LOCATION} doesn't exist &#;[8mha:AAAAWB+LCAAAAAAAAP9b85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=&#;[0mFinished: FAILURE #2 completed </system-out>
Here the original stdout contains ANSI escapes. It seems StatelessXmlReporter.escapeXml is inserting the &#; for reasons relating to SUREFIRE-456. Whatever the intent was (?), it is clearly not working.
Attachments
Issue Links
- duplicates
-
SUREFIRE-1020 Incorrect XML escape in <system-out> and <system-err> content of junit xml report
- Closed
-
SUREFIRE-998 Problems with Umlauts in <system-out> (and probably <system-err>) content of junit xml report.
- Closed
-
SUREFIRE-1014 Unparsable test report XML when sysout contains invalid XML
- Closed