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

Publish HP Test Result Failure "java.io.IOException: Failed to extract"

XMLWordPrintable

      I using HP UFT File System to performing the testing task, the test is passed, but the result is failed. What is the problem on this? Can anyone please help me? Thanks..

      Report archiving mode is set to: ALWAYS_ARCHIVE_TEST_REPORT
      add html report info to ReportInfoToCollect: [date]15/12/2015 05:54:45
      Zipping report folder: E:\Jenkins\workspace\UFT_File_System_PeopleFinder\People Finder\TestScript\PeopleFinder_TEST_V2.0.2\Report
      copy from slave to master: /opt/cloudhost/jenkins/home/jobs/UFT_File_System_PeopleFinder/builds/20/archive/PeopleFinder_TEST_V2.0.2_Report.zip
      begin to collectAndPrepareHtmlReports
      collectAndPrepareHtmlReports, collecting:E:\Jenkins\workspace\UFT_File_System_PeopleFinder\People Finder\TestScript\PeopleFinder_TEST_V2.0.2\Report
      copying html report, source: E:\Jenkins\workspace\UFT_File_System_PeopleFinder\People Finder\TestScript\PeopleFinder_TEST_V2.0.2\Report target: E:\Jenkins\workspace\UFT_File_System_PeopleFinder\People Finder\TestScript\PeopleFinder_TEST_V2.0.2
      ERROR: Publisher 'Publish HP tests result' aborted due to exception:
      java.io.IOException: java.io.IOException: Failed to extract E:\Jenkins\workspace\UFT_File_System_PeopleFinder\People Finder\TestScript\PeopleFinder_TEST_V2.0.2\Report/*/
      at hudson.FilePath.readFromTar(FilePath.java:2299)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:2210)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:2114)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:2097)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:2082)
      at com.hp.application.automation.tools.results.RunResultRecorder.collectAndPrepareHtmlReports(RunResultRecorder.java:306)
      at com.hp.application.automation.tools.results.RunResultRecorder.archiveTestsReport(RunResultRecorder.java:563)
      at com.hp.application.automation.tools.results.RunResultRecorder.perform(RunResultRecorder.java:221)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
      at hudson.model.Build$BuildExecution.post2(Build.java:185)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
      at hudson.model.Run.execute(Run.java:1766)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:408)
      Caused by: java.io.FileNotFoundException: E:\Jenkins\workspace\UFT_File_System_PeopleFinder\People Finder\TestScript\PeopleFinder_TEST_V2.0.2/Default.xls (No such file or directory)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:171)
      at hudson.util.IOUtils.copy(IOUtils.java:38)
      at hudson.FilePath.readFromTar(FilePath.java:2289)
      ... 16 more

      at hudson.FilePath.copyRecursiveTo(FilePath.java:2217)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:2114)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:2097)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:2082)
      at com.hp.application.automation.tools.results.RunResultRecorder.collectAndPrepareHtmlReports(RunResultRecorder.java:306)
      at com.hp.application.automation.tools.results.RunResultRecorder.archiveTestsReport(RunResultRecorder.java:563)
      at com.hp.application.automation.tools.results.RunResultRecorder.perform(RunResultRecorder.java:221)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
      at hudson.model.Build$BuildExecution.post2(Build.java:185)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
      at hudson.model.Run.execute(Run.java:1766)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:408)
      Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Pipe is already closed
      at hudson.remoting.Channel$2.adapt(Channel.java:810)
      at hudson.remoting.Channel$2.adapt(Channel.java:805)
      at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:2213)
      ... 15 more
      Caused by: java.io.IOException: Pipe is already closed
      at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:108)
      at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:203)
      at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:122)
      at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
      at java.io.BufferedOutputStream.write(Unknown Source)
      at com.jcraft.jzlib.DeflaterOutputStream.deflate(DeflaterOutputStream.java:144)
      at com.jcraft.jzlib.DeflaterOutputStream.write(DeflaterOutputStream.java:102)
      at java.io.BufferedOutputStream.write(Unknown Source)
      at org.apache.tools.tar.TarBuffer.writeBlock(TarBuffer.java:410)
      at org.apache.tools.tar.TarBuffer.writeRecord(TarBuffer.java:351)
      at hudson.org.apache.tools.tar.TarOutputStream.writeEOFRecord(TarOutputStream.java:356)
      at hudson.org.apache.tools.tar.TarOutputStream.finish(TarOutputStream.java:137)
      at hudson.org.apache.tools.tar.TarOutputStream.close(TarOutputStream.java:149)
      at hudson.util.io.TarArchiver.close(TarArchiver.java:125)
      at hudson.FilePath.writeToTar(FilePath.java:2264)
      at hudson.FilePath.access$2100(FilePath.java:191)
      at hudson.FilePath$45.invoke(FilePath.java:2203)
      at hudson.FilePath$45.invoke(FilePath.java:2199)
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2691)
      at hudson.remoting.UserRequest.perform(UserRequest.java:121)
      at hudson.remoting.UserRequest.perform(UserRequest.java:49)
      at hudson.remoting.Request$2.run(Request.java:326)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at hudson.remoting.Engine$1$1.run(Engine.java:69)
      at java.lang.Thread.run(Unknown Source)
      at ......remote call to windows-slave-1(Native Method)
      at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1413)
      at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
      at hudson.remoting.Channel$2.adapt(Channel.java:808)
      ... 18 more
      Caused by: java.io.IOException: Pipe is already closed
      at hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:154)
      at hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:138)
      at hudson.remoting.ProxyOutputStream$Chunk$1.run(ProxyOutputStream.java:246)
      at hudson.remoting.PipeWriter$1.run(PipeWriter.java:158)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at...
      at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112)
      at java.io.FilterInputStream.close(FilterInputStream.java:181)
      at com.jcraft.jzlib.InflaterInputStream.close(InflaterInputStream.java:168)
      at org.apache.tools.tar.TarBuffer.close(TarBuffer.java:456)
      at hudson.org.apache.tools.tar.TarInputStream.close(TarInputStream.java:110)
      at hudson.FilePath.readFromTar(FilePath.java:2306)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:2210)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:2114)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:2097)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:2082)
      at com.hp.application.automation.tools.results.RunResultRecorder.collectAndPrepareHtmlReports(RunResultRecorder.java:306)
      at com.hp.application.automation.tools.results.RunResultRecorder.archiveTestsReport(RunResultRecorder.java:563)
      at com.hp.application.automation.tools.results.RunResultRecorder.perform(RunResultRecorder.java:221)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
      at hudson.model.Build$BuildExecution.post2(Build.java:185)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
      at hudson.model.Run.execute(Run.java:1766)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:408)
      Finished: FAILURE

            xiwenhpe xiwen zhao
            iceyuki91 yuki tang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: