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

Unable to archive report when run UFT test from file system

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Jenkins 2.60.3
      Micro Focus Application Automation Tools 5.5.2-beta

      We are getting error when run UFT tests from file system (plugin version is 5.5.2-beta), it throws exception when publish test report. Here is the Error Details

       It's working when run UFT tests from ALM.
      Recording test results
      Report archiving mode is set to: ALWAYS_ARCHIVE_TEST_REPORT
      Zipping report folder: C:\JenkinsMO6\workspace\AOS-COMMON-105-SCM-UFT\Advantage_Shopping\Report
      copy from slave to master: /var/jenkins_home/jobs/AOS-COMMON-105-SCM-UFT/builds/3/archive/Advantage_Shopping_Report.zip
      ERROR: Build step failed with exception
      java.lang.NullPointerException
      at com.microfocus.application.automation.tools.results.RunResultRecorder.writeReportMetaData2XML(RunResultRecorder.java:603)
      at com.microfocus.application.automation.tools.results.RunResultRecorder.archiveTestsReport(RunResultRecorder.java:566)
      at com.microfocus.application.automation.tools.results.RunResultRecorder.recordRunResults(RunResultRecorder.java:217)
      at com.microfocus.application.automation.tools.results.RunResultRecorder.perform(RunResultRecorder.java:1462)
      at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:735)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:676)
      at hudson.model.Build$BuildExecution.post2(Build.java:186)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:621)
      at hudson.model.Run.execute(Run.java:1760)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:405)
      Build step 'Publish Micro Focus tests result' marked build as failure
      Finished: FAILURE

            steven166 Steven Hermans
            tracy_1984 tracy he
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: