[JIRA] [hp-application-automation-tools-plugin] (JENKINS-32072) Publish HP Test Result Failure "java.io.IOException: Failed to extract"

4 views
Skip to first unread message

shizuyuki91@gmail.com (JIRA)

unread,
Dec 15, 2015, 1:03:02 AM12/15/15
to jenkinsc...@googlegroups.com
yuki tang created an issue
 
Jenkins / Bug JENKINS-32072
Publish HP Test Result Failure "java.io.IOException: Failed to extract"
Issue Type: Bug Bug
Assignee: yuki tang
Components: hp-application-automation-tools-plugin
Created: 15/Dec/15 6:02 AM
Environment: Jenkins ver. 1.625.1
HP Application Automation Tools ver 4.0
Labels: jenkins slave hpuft
Priority: Major Major
Reporter: yuki tang

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

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

shizuyuki91@gmail.com (JIRA)

unread,
Dec 15, 2015, 1:14:01 AM12/15/15
to jenkinsc...@googlegroups.com

shizuyuki91@gmail.com (JIRA)

unread,
Dec 15, 2015, 5:40:02 AM12/15/15
to jenkinsc...@googlegroups.com

li.lu@hpe.com (JIRA)

unread,
Aug 8, 2016, 9:54:01 PM8/8/16
to jenkinsc...@googlegroups.com
Roy Lu commented on Bug JENKINS-32072
 
Re: Publish HP Test Result Failure "java.io.IOException: Failed to extract"

Notice there's a error message "E:\Jenkins\workspace\UFT_File_System_PeopleFinder\People Finder\TestScript\PeopleFinder_TEST_V2.0.2/Default.xls (No such file or directory)". Where did you configure this path? You'd better attach the screenshot of your build step and post build step configuration.

This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

kazak@hpe.com (JIRA)

unread,
Oct 27, 2016, 1:43:06 AM10/27/16
to jenkinsc...@googlegroups.com

kazak@hpe.com (JIRA)

unread,
Oct 27, 2016, 1:44:04 AM10/27/16
to jenkinsc...@googlegroups.com

xiwen.zhao@hpe.com (JIRA)

unread,
Jan 11, 2017, 3:51:02 AM1/11/17
to jenkinsc...@googlegroups.com
xiwen zhao resolved as Fixed
 

unable to reproduce, marked as resolved by now. if the problem still exists please reopen the defect and specify clear steps to reproduce it. thank you.

Change By: xiwen zhao
Status: Open Resolved
Resolution: Fixed
Reply all
Reply to author
Forward
0 new messages