maven-spy log contains invalid XML

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Our maven-spy-*.log file is being generated with broken XML, for example:

      ...
      <ExecutionEvent type=">
      <ExecutionEventProjectStarted" class=" type="org.apache.maven.lifecycle.internal.DefaultExecutionEvent" _time="ProjectStarted"2017-03-28 12:05:43.464">
      ...

      This happens with other elements too; in this particular case, re-running the job leads to exactly the same malformed XML.

      This ultimately leads to an error:

      ERROR: [withMaven] WARNING Exception parsing the logs generated by the Jenkins Maven Event Spy /media/ephemeral0/jenkins/workspace/iMain-Pipeline_release_1.44-HEHP3JF3JUC3QDIC42A5YMRMVQTJR3HJ4P7IFHLSMEGVJNWC55SA@tmp/withMaven21be2166/maven-spy-20170328-094339-928.log, ignore file.  Please report a bug associated for the component 'pipeline-maven-plugin' at https://issues.jenkins-ci.org 
      ERROR: org.xml.sax.SAXParseException; lineNumber: 246; columnNumber: 16; Element type "ExecutionEvent" must be followed by either attribute specifications, ">" or "/>".
      

       

            Assignee:
            Cyrille Le Clerc
            Reporter:
            Ollie Robertshaw
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: