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

maven-spy log contains invalid XML

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • pipeline-maven-plugin
    • None
    • Java 8
      Maven 3.3
      Jenkins 2.51
      Pipeline 2.5
      Pipeline Maven Integration Plugin 2.0

    Description

      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 "/>".
      

       

      Attachments

        Issue Links

          Activity

            People

              cleclerc Cyrille Le Clerc
              ollierob Ollie Robertshaw
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: