Jesse Glick created SUREFIRE-1022:
-------------------------------------
Summary: <system-out> malformed XML
Key: SUREFIRE-1022
URL: https://jira.codehaus.org/browse/SUREFIRE-1022
Project: Maven Surefire
Issue Type: Bug
Affects Versions: 2.15
Reporter: Jesse Glick
Priority: Critical
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:
{code:xml}
<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>
{code}
Here the original stdout contains ANSI escapes. It seems
{{StatelessXmlReporter.escapeXml}} is inserting the {{&#;}} for reasons
relating to SUREFIRE-456. Whatever the intent was ({{&\#27;}}?), it is clearly
not working.
Cf.: https://issues.jenkins-ci.org/browse/JENKINS-19186
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira