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

ALM plugin can't parse JUnit report from soapUI

      jenkins/jenkins:2.249.3-slim
      Micro Focus Application Automation Tools - plugin 6.6
      SoapUI 5.1.2

      Hello,

      The hp-application-automation-tools-plugin is not able to parse a basic junit report.

      Even if the native Jenkins Junit parses it correctly.

       

      Error from pipeline console log :
      [Pipeline] archiveArtifactsArchiving artifacts[Pipeline] junitRecording test results[Pipeline] uploadResultToALMINFO: 'Upload test result to ALM' Post Build Step is being invoked by wichoum.
      INFO: 2 test result file found.
      INFO: Start to upload /var/jenkins_home/jobs/atlas_job_template/builds/17/archive/test_results/TEST-TestSuite_1_0_junit_report.xml
      INFO: Start to parse file: /var/jenkins_home/jobs/atlas_job_template/builds/17/archive/test_results/TEST-TestSuite_1_0_junit_report.xml
      Failed to parse file with: com.microfocus.application.automation.tools.results.parser.jenkinsjunit.JenkinsJUnitReportParserImpl
      Failed to parse file with: com.microfocus.application.automation.tools.results.parser.mavensurefire.MavenSureFireReportParserImpl
      Failed to parse file with: com.microfocus.application.automation.tools.results.parser.testngxml.TestNGXmlReportParserImpl
      Failed to parse file with: com.microfocus.application.automation.tools.results.parser.nunit3.NUnit3ReportParserImpl
      Failed to parse file with: com.microfocus.application.automation.tools.results.parser.nunit.NUnitReportParserImpl
      Failed to parse file with: com.microfocus.application.automation.tools.results.parser.antjunit.AntJUnitReportParserImpl
      ERR: There's exception while uploading /var/jenkins_home/jobs/atlas_job_template/builds/17/archive/test_results/TEST-TestSuite_1_0_junit_report.xml. Failed to parse file: /var/jenkins_home/jobs/atlas_job_template/builds/17/archive/test_results/TEST-TestSuite_1_0_junit_report.xml
      INFO: Start to upload /var/jenkins_home/jobs/atlas_job_template/builds/17/archive/test_results/TEST-TestSuite_1_1_junit_report.xml
      INFO: Start to parse file: /var/jenkins_home/jobs/atlas_job_template/builds/17/archive/test_results/TEST-TestSuite_1_1_junit_report.xml
      Failed to parse file with: com.microfocus.application.automation.tools.results.parser.jenkinsjunit.JenkinsJUnitReportParserImpl
      Failed to parse file with: com.microfocus.application.automation.tools.results.parser.mavensurefire.MavenSureFireReportParserImpl
      Failed to parse file with: com.microfocus.application.automation.tools.results.parser.testngxml.TestNGXmlReportParserImpl
      Failed to parse file with: com.microfocus.application.automation.tools.results.parser.nunit3.NUnit3ReportParserImpl
      Failed to parse file with: com.microfocus.application.automation.tools.results.parser.nunit.NUnitReportParserImpl
      Failed to parse file with: com.microfocus.application.automation.tools.results.parser.antjunit.AntJUnitReportParserImpl
      ERR: There's exception while uploading /var/jenkins_home/jobs/atlas_job_template/builds/17/archive/test_results/TEST-TestSuite_1_1_junit_report.xml. Failed to parse file: /var/jenkins_home/jobs/atlas_job_template/builds/17/archive/test_results/TEST-TestSuite_1_1_junit_report.xml
      INFO: 'Upload test result to ALM' Completed.[Pipeline] }[Pipeline] // stage[Pipeline] }[Pipeline] // node[Pipeline] End of PipelineFinished: UNSTABLE
       

      The JUnit in question is available in the attachments.

      Thanks in advance for your time,

       

          [JENKINS-65087] ALM plugin can't parse JUnit report from soapUI

          med added a comment - - edited

          Hello again,

          The JUnit report which is failing is coming from SoapUI SoapUI 5.1.2.

          Adding the "classname" attribute to the tescases elements seems to resolve the problem.

          Is it possible to have the precise JUnit xsd used by the ALM plugin ?

           

          Thanks

           

          med added a comment - - edited Hello again, The JUnit report which is failing is coming from SoapUI SoapUI 5.1.2. Adding the "classname" attribute to the tescases elements seems to resolve the problem. Is it possible to have the precise JUnit xsd used by the ALM plugin ?   Thanks  

            danieldanan Daniel Danan
            medreda med
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: