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

Jenkins job fails while parsing JMeter jtl result file throws Character reference "&# org.xml.sax.SAXParseException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • performance-plugin
    • None
    • Using Jenkins v1.6 and Performance  Plugin v2.0

      Throws below exception while parsing JMeter result file however, overall job status is SUCCESS.
      Performance: Recording JMeter reports '/scratch/apache-jmeter-3.0/Results/AMS_Single_DAASAPIFULL_1Vu_8_17.1.5RC.jtl'
      Performance: Parsing JMeter report file '/var/lib/jenkins/jobs/AMS_API_PSR_Benchmark_Test/builds/8/performance-reports/JMeter/AMS_Single_DAASAPIFULL_1Vu_8_17.1.5RC.jtl'.
      Performance: Failed to parse file '/var/lib/jenkins/jobs/AMS_API_PSR_Benchmark_Test/builds/8/performance-reports/JMeter/AMS_Single_DAASAPIFULL_1Vu_8_17.1.5RC.jtl': Character reference "&#
      org.xml.sax.SAXParseException; systemId: file:/var/lib/jenkins/jobs/AMS_API_PSR_Benchmark_Test/builds/8/performance-reports/JMeter/AMS_Single_DAASAPIFULL_1Vu_8_17.1.5RC.jtl; lineNumber: 52449; columnNumber: 8; Character reference "&#
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:441)
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368)
      at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1436)
      at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanCharReferenceValue(XMLScanner.java:1320)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3059)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:648)
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:332)
      at javax.xml.parsers.SAXParser.parse(SAXParser.java:328)
      at hudson.plugins.performance.JMeterParser.parseXml(JMeterParser.java:88)
      at hudson.plugins.performance.JMeterParser.parse(JMeterParser.java:46)
      at hudson.plugins.performance.AbstractParser.parse(AbstractParser.java:54)
      at hudson.plugins.performance.PerformancePublisher.perform(PerformancePublisher.java:330)
      at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
      at hudson.model.Build$BuildExecution.post2(Build.java:185)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
      at hudson.model.Run.execute(Run.java:1763)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:410)
      Setting threshold: ${PSRTestType}${Functionality}${Concurrency}Vu_${BUILD_NUMBER}_${ReleaseLabel}.jtl:500
      Performance: Percentage of errors greater or equal than 5% sets the build as unstable
      Performance: Percentage of errors greater or equal than 5% sets the build as failure

      Checking for post-build
      Performing post-build step
      Checking if email needs to be generated
      Email was triggered for: Always
      Sending email for trigger: Always
      messageContentType = text/html; charset=UTF-8
      ERROR: Error accessing files to attach: remote file operation failed: /psr_share/jenkins/workspace/AMS_API_PSR_Benchmark_Test at hudson.remoting.Channel@1c015657:JMeter_Node: java.io.IOException: Expecting Ant GLOB pattern, but saw '/scratch/apache-jmeter-3.0/Results/AMS_Single_DAASAPIFULL_1Vu_8_17.1.5RC.jtl'. See
      http://ant.apache.org/manual/Types/fileset.html
      for syntax
      Collecting change authors...
      build: 8
      Adding recipients from project recipient list
      Adding recipients from trigger recipient list
      Successfully created MimeMessage
      Sending email to: kirti.das@gmail.com
      Finished: SUCCESS
       

            artem_fedorov Artem Fedorov
            kirti_das Kirti Das
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: