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/**/*

Jenkins JIRA | yuki tang | 12 months ago
  1. 0

    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

    Jenkins JIRA | 12 months ago | yuki tang
    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/**/*
  2. 0

    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

    Jenkins JIRA | 12 months ago | yuki tang
    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/**/*
  3. 0

    Edit New issue Jenkins matrix-job collector fails

    GitHub | 2 years ago | eroshenkoam
    java.io.IOException: Failed to extract /jenkins/compound-root/workspace/awaps-functional-test-matrix/LABEL/awaps-basic-openstack/TESTPACK/P1/reports/**/*
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    1) have a file generated on a slave 8.76GB which shall be archived on master 2) smaller files around 6.37GB are archived from slave to master without problems 3) during the archiving of the 8.76GB file the following exception occurred, the file didn't make it on the master and the job was marked as failed, filename on master archive looks strange with all those cryptic symbols - file can be copied with other tools from slave to master without problems Archiving artifacts ERROR: Failed to archive artifacts: AFILE.EXT java.io.IOException: java.io.IOException: Failed to extract /SLAVE/workspace/JOBNAME/transfer of 1 files at hudson.FilePath.readFromTar(FilePath.java:2089) at hudson.FilePath.copyRecursiveTo(FilePath.java:2001) at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:57) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:140) 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:714) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:663) at hudson.model.Run.execute(Run.java:1713) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: java.io.FileNotFoundException: MASTER\jobs\JOBNAME\builds\2014-05-02_10-55-39\archive\ᅲDマ¦￲ム-qヘ﾿￰ᆲ￸ᄋ¬w' (The filename, directory name, or volume label syntax is incorrect) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at hudson.util.IOUtils.copy(IOUtils.java:38) at hudson.FilePath.readFromTar(FilePath.java:2079) ... 12 more at hudson.FilePath.copyRecursiveTo(FilePath.java:2008) at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:57) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:140) 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:714) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:663) at hudson.model.Run.execute(Run.java:1713) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Pipe is already closed at hudson.remoting.Channel$3.adapt(Channel.java:755) at hudson.remoting.Channel$3.adapt(Channel.java:750) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59) at hudson.FilePath.copyRecursiveTo(FilePath.java:2004) ... 11 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:135) at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126) at com.jcraft.jzlib.DeflaterOutputStream.deflate(DeflaterOutputStream.java:144) at com.jcraft.jzlib.DeflaterOutputStream.write(DeflaterOutputStream.java:102) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:122) 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:2055) at hudson.FilePath.access$1000(FilePath.java:172) at hudson.FilePath$41.invoke(FilePath.java:1994) at hudson.FilePath$41.invoke(FilePath.java:1990) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2462) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) Caused by: java.io.IOException: Pipe is already closed at hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:147) at hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:131) at hudson.remoting.ProxyOutputStream$Chunk$1.run(ProxyOutputStream.java:250) at hudson.remoting.PipeWriter$1.run(PipeWriter.java:158) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:111) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 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 java.lang.Thread.run(Unknown Source) Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) at java.io.FilterInputStream.close(Unknown Source) 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:2096) at hudson.FilePath.copyRecursiveTo(FilePath.java:2001) at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:57) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:140) 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:714) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:663) at hudson.model.Run.execute(Run.java:1713) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Build step 'Archive the artifacts' changed build result to FAILURE Email was triggered for: Failure Sending email for trigger: Failure

    Jenkins JIRA | 3 years ago | robsimon
    java.io.IOException: java.io.IOException: Failed to extract /SLAVE/workspace/JOBNAME/transfer of 1 files
  6. 0

    I created a simple project which didn't contain any build actions, only a post-build "archive artifacts" action. The project was supposed to pull a bunch of files out of SVN and dump them into a zip file, excluding certain files to make it easier for me to deploy. One of the files however is named {{specialcharacters-ę.html}} - notice the non-ASCII character. On attempting to "build" the project, the following content is dumped to the console log: {noformat} Archiving artifacts ERROR: Failed to archive artifacts: **/* java.io.IOException: java.io.IOException: Failed to extract E:\Jenkins\workspace\demo.cyotek.com/transfer of 151 files at hudson.FilePath.readFromTar(FilePath.java:2300) at hudson.FilePath.copyRecursiveTo(FilePath.java:2209) at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:236) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668) at hudson.model.Run.execute(Run.java:1763) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.io.FileNotFoundException: E:\Jenkins\jobs\demo.cyotek.com\builds\3\archive\features\specialcharacters-?.html (The filename, directory name, or volume label syntax is incorrect) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at hudson.util.IOUtils.copy(IOUtils.java:38) at hudson.FilePath.readFromTar(FilePath.java:2290) ... 13 more at hudson.FilePath.copyRecursiveTo(FilePath.java:2216) at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:236) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668) at hudson.model.Run.execute(Run.java:1763) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.util.concurrent.ExecutionException: java.io.IOException: This archives contains unclosed entries. at hudson.remoting.Channel$2.adapt(Channel.java:813) at hudson.remoting.Channel$2.adapt(Channel.java:808) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59) at hudson.FilePath.copyRecursiveTo(FilePath.java:2212) ... 12 more Caused by: java.io.IOException: This archives contains unclosed entries. at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.finish(TarArchiveOutputStream.java:225) at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.close(TarArchiveOutputStream.java:241) at hudson.util.io.TarArchiver.close(TarArchiver.java:111) at hudson.FilePath.writeToTar(FilePath.java:2263) at hudson.FilePath.access$2100(FilePath.java:190) at hudson.FilePath$45.invoke(FilePath.java:2202) at hudson.FilePath$45.invoke(FilePath.java:2198) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2719) at hudson.remoting.UserRequest.perform(UserRequest.java:120) at hudson.remoting.UserRequest.perform(UserRequest.java:48) 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:62) at java.lang.Thread.run(Unknown Source) at ......remote call to JUPITER(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416) at hudson.remoting.UserResponse.retrieve(UserRequest.java:220) at hudson.remoting.Channel$2.adapt(Channel.java:811) ... 15 more Build step 'Archive the artifacts' changed build result to FAILURE {noformat} Judging from the way it converted the {{ę}} to {{?}} I assume it's an encoding issue of some sort. I did a fairly brief search of issues but didn't find anything specific. I did find a note in one issue relating to console output which stated that the encoding of Java was incorrect. Accordingly, I tried adding {{-Dfile.encoding=UTF8}} to {{jenkins.xml}}, restarted the service, and confirmed via /systeminfo that the encoding was now set to UTF8 however retrying to the build result in the same error. The file is used as part of a test so is required to be named that way. Can you offer any suggestions on resolving the issue, or is it an an actual bug that I can't workaround? I've classed it as major as I'm aware of no workaround save to rename the file - which isn't a solution in this case, but feel free to disagree with that assessment! Thanks;

    Jenkins JIRA | 10 months ago | Richard Moss
    java.io.IOException: java.io.IOException: Failed to extract E:\Jenkins\workspace\demo.cyotek.com/transfer of 151 files

  1. eti22 3 times, last 2 weeks ago
  2. tyson925 49 times, last 1 week ago
  3. MoYapro 1 times, last 1 month ago
  4. musketyr 3 times, last 1 month ago
  5. iridic 12 times, last 1 month ago
23 more registered users
72 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.open(Native Method)
    2. java.io.FileOutputStream.<init>(FileOutputStream.java:221)
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:171)
    3 frames
  3. Hudson
    FilePath.copyRecursiveTo
    1. hudson.util.IOUtils.copy(IOUtils.java:38)
    2. hudson.FilePath.readFromTar(FilePath.java:2289)
    3. hudson.FilePath.copyRecursiveTo(FilePath.java:2210)
    4. hudson.FilePath.copyRecursiveTo(FilePath.java:2114)
    5. hudson.FilePath.copyRecursiveTo(FilePath.java:2097)
    6. hudson.FilePath.copyRecursiveTo(FilePath.java:2082)
    6 frames
  4. com.hp.application
    RunResultRecorder.perform
    1. com.hp.application.automation.tools.results.RunResultRecorder.collectAndPrepareHtmlReports(RunResultRecorder.java:306)
    2. com.hp.application.automation.tools.results.RunResultRecorder.archiveTestsReport(RunResultRecorder.java:563)
    3. com.hp.application.automation.tools.results.RunResultRecorder.perform(RunResultRecorder.java:221)
    3 frames
  5. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
    3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
    4. hudson.model.Build$BuildExecution.post2(Build.java:185)
    5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
    6. hudson.model.Run.execute(Run.java:1766)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    8. hudson.model.ResourceController.execute(ResourceController.java:98)
    9. hudson.model.Executor.run(Executor.java:408)
    9 frames