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

Performance Plugin error with HP Performance center test reporting

    Details

    • Similar Issues:

      Description

      We are trying out Performance plugin to create trend reporting for tests executed with HPE automation plugin (HP Performance center 12.53)

      As per http://jenkinsci.github.io/performance-plugin/Reporting.html, HPE loadrunner is one of supported report format. HP performance center produces same html report file like loadrunner.

      Tried both autodetect and path to report.html file

      1. Auto detect source files option

      Test_JenkinsPC #38 Console [Jenkins]
      Build step 'Publish Performance test result report' changed build result to FAILURE
      Finished: FAILURE
      2. Path to report.html

      Source data file: C:\Program Files (x86)\Jenkins\jobs\Test_JenkinsPC\builds**\archive\performanceTestsReports\pcRun\Report.html

      Getting the following error which makes build as failed

      Test_JenkinsPC #37 Console [Jenkins]
      ERROR: Build step failed with exception
      org.xml.sax.SAXParseException; systemId: file:///C:/Program%20Files%20(x86)/Jenkins/jobs/Test_JenkinsPC/builds/37/temp/Report.html;
      lineNumber: 5; columnNumber: 3; The element type "meta" must be terminated by the matching end-tag "</meta>".
      at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
      at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
      at hudson.plugins.performance.parsers.ParserDetector.detectXMLFileType(ParserDetector.java:124)
      Caused: java.lang.RuntimeException: XML parsing error:
      at hudson.plugins.performance.parsers.ParserDetector.detectXMLFileType(ParserDetector.java:137)
      at hudson.plugins.performance.parsers.ParserDetector.detect(ParserDetector.java:40)
      at hudson.plugins.performance.parsers.ParserFactory.getParserUsingAntPatternAbsolutePath(ParserFactory.java:116)
      at hudson.plugins.performance.parsers.ParserFactory.getParserWithAbsolutePath(ParserFactory.java:78)
      at hudson.plugins.performance.parsers.ParserFactory.getParser(ParserFactory.java:37)
      at hudson.plugins.performance.PerformancePublisher.getParsers(PerformancePublisher.java:312)
      at hudson.plugins.performance.PerformancePublisher.perform(PerformancePublisher.java:363)
      at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
      at hudson.model.Build$BuildExecution.post2(Build.java:186)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
      at hudson.model.Run.execute(Run.java:1752)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:429)
      Build step 'Publish Performance test result report' marked build as failure
       

       

        Attachments

          Activity

          Hide
          senyam08 Senthilkumar Rasan added a comment -

          Thanks. Is there any way i can get custom percentile response time(85 percentile) in trend graph and for expert mode comparison. Instead of 90%, dev team wants to analyze 85% response time. Right now i am querying from mdb file through custom script. If you could add custom percentile(i am looking for 85%) in this plugin, it would help. Also can we add more than 1 graph in trending graphs like average response time and 90% or custom percentile. Right now select graphed metric has drop down with median,90,average. But we cant add more than 1 metric for trending. Thanks

          Show
          senyam08 Senthilkumar Rasan added a comment - Thanks. Is there any way i can get custom percentile response time(85 percentile) in trend graph and for expert mode comparison. Instead of 90%, dev team wants to analyze 85% response time. Right now i am querying from mdb file through custom script. If you could add custom percentile(i am looking for 85%) in this plugin, it would help. Also can we add more than 1 graph in trending graphs like average response time and 90% or custom percentile. Right now select graphed metric has drop down with median,90,average. But we cant add more than 1 metric for trending. Thanks
          Hide
          artem_fedorov Artem Fedorov added a comment -

          Hello, We have idea to implement custom percentile input field. It'll be a text field in which user can configure comma-separated percentiles, like: "50,90,99.9"

          Show
          artem_fedorov Artem Fedorov added a comment - Hello, We have idea to implement custom percentile input field. It'll be a text field in which user can configure comma-separated percentiles, like: "50,90,99.9"
          Hide
          senyam08 Senthilkumar Rasan added a comment -

          Thanks. Let me know, once its added to plugin. Appreciated.

          Show
          senyam08 Senthilkumar Rasan added a comment - Thanks. Let me know, once its added to plugin. Appreciated.
          Show
          artem_fedorov Artem Fedorov added a comment - FYI  https://issues.jenkins-ci.org/browse/JENKINS-49022
          Hide
          mahi_fepoc Mahipal Erasani added a comment -

          Hi Artem, Right now I am using Performance Center 12.6 integrated with Jenkins. I am trying to use this Plug-In to 'Publish Performance test result report' after the test has been done in Performance Center 12.6. I provided the Source Data Files = output.mdb and when the build is done I am not getting the Performance Test Result report and I am seeing the below error in the Console Log: Can anyone please let me know if you use this plug-in in getting performance test result report from Performance Center after the build has been ran.

           
          Recording plot data
          Cannot detect file type because of error: Failed to copy /apps/jenkins/jobs/performanceCenter/jobs/1219_FEPDRET_PERCRTSLA_TREND/workspace/*/output.mdb to /apps/jenkins/jobs/performanceCenter/jobs/1219_FEPDRET_PERCRTSLA_TREND/builds/2/temp/*/output.mdb
          Build step 'Publish Performance test result report' changed build result to FAILURE

          Show
          mahi_fepoc Mahipal Erasani added a comment - Hi Artem, Right now I am using Performance Center 12.6 integrated with Jenkins. I am trying to use this Plug-In to 'Publish Performance test result report' after the test has been done in Performance Center 12.6. I provided the Source Data Files = output.mdb and when the build is done I am not getting the Performance Test Result report and I am seeing the below error in the Console Log: Can anyone please let me know if you use this plug-in in getting performance test result report from Performance Center after the build has been ran.   Recording plot data Cannot detect file type because of error: Failed to copy /apps/jenkins/jobs/performanceCenter/jobs/1219_FEPDRET_PERCRTSLA_TREND/workspace/* /output.mdb to /apps/jenkins/jobs/performanceCenter/jobs/1219_FEPDRET_PERCRTSLA_TREND/builds/2/temp/ */output.mdb Build step 'Publish Performance test result report' changed build result to FAILURE

            People

            • Assignee:
              undera Andrey Pokhilko
              Reporter:
              senyam08 Senthilkumar Rasan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: