hudson.util.IOException2: hudson.util.IOException2: Failed to extract /home/jenkins/workspace/job736/job736.ts

Jenkins JIRA | robsimon | 3 years ago
  1. 0

    1) have ffmpeg file in remote workspace 2) archive this ffmpeg file Result: Archiving artifacts frame= 619 fps= 10 q=-1.0 Lsize= 33700kB time=00:00:22.56 bitrate=12237.3kbits/s video:30052kB audio:1058kB global headers:0kB muxing overhead 8.328698% Received signal 15: terminating. ERROR: Failed to archive artifacts: job736.ts hudson.util.IOException2: hudson.util.IOException2: Failed to extract /home/jenkins/workspace/job736/job736.ts at hudson.FilePath.readFromTar(FilePath.java:2015) at hudson.FilePath.copyRecursiveTo(FilePath.java:1927) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:137) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1601) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:241) Caused by: java.io.IOException: unexpected EOF with 272 bytes unread at hudson.org.apache.tools.tar.TarInputStream.read(TarInputStream.java:349) at java.io.FilterInputStream.read(Unknown Source) at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025) at org.apache.commons.io.IOUtils.copy(IOUtils.java:999) at hudson.util.IOUtils.copy(IOUtils.java:37) at hudson.FilePath.readFromTar(FilePath.java:2005) ... 11 more at hudson.FilePath.copyRecursiveTo(FilePath.java:1934) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:137) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1601) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:241) Caused by: java.util.concurrent.ExecutionException: java.io.IOException: request to write '8192' bytes exceeds size in header of '33279760' bytes for entry 'job736.ts' at hudson.remoting.Channel$4.adapt(Channel.java:705) at hudson.remoting.Channel$4.adapt(Channel.java:700) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59) at hudson.FilePath.copyRecursiveTo(FilePath.java:1930) ... 10 more Caused by: java.io.IOException: request to write '8192' bytes exceeds size in header of '33279760' bytes for entry 'job736.ts' at hudson.org.apache.tools.tar.TarOutputStream.write(TarOutputStream.java:284) at hudson.util.io.TarArchiver.visit(TarArchiver.java:115) at hudson.util.DirScanner$Glob.scan(DirScanner.java:133) at hudson.FilePath.writeToTar(FilePath.java:1979) at hudson.FilePath.access$1000(FilePath.java:169) at hudson.FilePath$36.invoke(FilePath.java:1920) at hudson.FilePath$36.invoke(FilePath.java:1916) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2388) at hudson.remoting.UserRequest.perform(UserRequest.java:118) 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: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 hudson.remoting.Engine$1$1.run(Engine.java:58) at java.lang.Thread.run(Thread.java:679) Build step 'Archive the artifacts' changed build result to FAILURE Note: File can be requested but it is 33MB

    Jenkins JIRA | 3 years ago | robsimon
    hudson.util.IOException2: hudson.util.IOException2: Failed to extract /home/jenkins/workspace/job736/job736.ts
  2. 0

    1) have ffmpeg file in remote workspace 2) archive this ffmpeg file Result: Archiving artifacts frame= 619 fps= 10 q=-1.0 Lsize= 33700kB time=00:00:22.56 bitrate=12237.3kbits/s video:30052kB audio:1058kB global headers:0kB muxing overhead 8.328698% Received signal 15: terminating. ERROR: Failed to archive artifacts: job736.ts hudson.util.IOException2: hudson.util.IOException2: Failed to extract /home/jenkins/workspace/job736/job736.ts at hudson.FilePath.readFromTar(FilePath.java:2015) at hudson.FilePath.copyRecursiveTo(FilePath.java:1927) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:137) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1601) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:241) Caused by: java.io.IOException: unexpected EOF with 272 bytes unread at hudson.org.apache.tools.tar.TarInputStream.read(TarInputStream.java:349) at java.io.FilterInputStream.read(Unknown Source) at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025) at org.apache.commons.io.IOUtils.copy(IOUtils.java:999) at hudson.util.IOUtils.copy(IOUtils.java:37) at hudson.FilePath.readFromTar(FilePath.java:2005) ... 11 more at hudson.FilePath.copyRecursiveTo(FilePath.java:1934) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:137) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1601) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:241) Caused by: java.util.concurrent.ExecutionException: java.io.IOException: request to write '8192' bytes exceeds size in header of '33279760' bytes for entry 'job736.ts' at hudson.remoting.Channel$4.adapt(Channel.java:705) at hudson.remoting.Channel$4.adapt(Channel.java:700) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59) at hudson.FilePath.copyRecursiveTo(FilePath.java:1930) ... 10 more Caused by: java.io.IOException: request to write '8192' bytes exceeds size in header of '33279760' bytes for entry 'job736.ts' at hudson.org.apache.tools.tar.TarOutputStream.write(TarOutputStream.java:284) at hudson.util.io.TarArchiver.visit(TarArchiver.java:115) at hudson.util.DirScanner$Glob.scan(DirScanner.java:133) at hudson.FilePath.writeToTar(FilePath.java:1979) at hudson.FilePath.access$1000(FilePath.java:169) at hudson.FilePath$36.invoke(FilePath.java:1920) at hudson.FilePath$36.invoke(FilePath.java:1916) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2388) at hudson.remoting.UserRequest.perform(UserRequest.java:118) 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: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 hudson.remoting.Engine$1$1.run(Engine.java:58) at java.lang.Thread.run(Thread.java:679) Build step 'Archive the artifacts' changed build result to FAILURE Note: File can be requested but it is 33MB

    Jenkins JIRA | 3 years ago | robsimon
    hudson.util.IOException2: hudson.util.IOException2: Failed to extract /home/jenkins/workspace/job736/job736.ts
  3. 0

    This started occurring sometimes after upgrading Jenkins ver. 1.480.1 -> 1.509.1. {quote} ERROR: Failed to archive artifacts: [...] hudson.util.IOException2: hudson.util.IOException2: Failed to extract [...] at hudson.FilePath.readFromTar(FilePath.java:2014) at hudson.FilePath.copyRecursiveTo(FilePath.java:1926) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:137) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:774) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:724) at hudson.model.Run.execute(Run.java:1600) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) Caused by: java.io.IOException: unexpected EOF with 3584 bytes unread at hudson.org.apache.tools.tar.TarInputStream.read(TarInputStream.java:349) at java.io.FilterInputStream.read(FilterInputStream.java:107) at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025) at org.apache.commons.io.IOUtils.copy(IOUtils.java:999) at hudson.util.IOUtils.copy(IOUtils.java:37) at hudson.FilePath.readFromTar(FilePath.java:2004) ... 11 more at hudson.FilePath.copyRecursiveTo(FilePath.java:1933) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:137) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:774) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:724) at hudson.model.Run.execute(Run.java:1600) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Insufficient system resources exist to complete the requested service at hudson.remoting.Channel$4.adapt(Channel.java:705) at hudson.remoting.Channel$4.adapt(Channel.java:700) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59) at hudson.FilePath.copyRecursiveTo(FilePath.java:1929) ... 10 more Caused by: java.io.IOException: Insufficient system resources exist to complete the requested service at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(Unknown Source) at hudson.util.io.TarArchiver.visit(TarArchiver.java:114) at hudson.util.DirScanner$Glob.scan(DirScanner.java:133) at hudson.FilePath.writeToTar(FilePath.java:1978) at hudson.FilePath.access$1000(FilePath.java:168) at hudson.FilePath$36.invoke(FilePath.java:1919) at hudson.FilePath$36.invoke(FilePath.java:1915) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2387) at hudson.remoting.UserRequest.perform(UserRequest.java:118) 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:72) 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) {quote}

    Jenkins JIRA | 4 years ago | pancake
    hudson.util.IOException2: hudson.util.IOException2: Failed to extract [...]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ERROR: Failed to archive artifacts: hudson.util.IOException2

    Eclipse Bugzilla | 4 years ago | david_williams
    hudson.util.IOException2: Failed to extract /opt/buildhomes/hudsonBuild/workspace/ep4-unit-lin64/**/eclipse-testing/results/**,**/eclipse-testing/**/*log
  6. 0

    This started occurring sometimes after upgrading Jenkins ver. 1.480.1 -> 1.509.1. {quote} ERROR: Failed to archive artifacts: [...] hudson.util.IOException2: hudson.util.IOException2: Failed to extract [...] at hudson.FilePath.readFromTar(FilePath.java:2014) at hudson.FilePath.copyRecursiveTo(FilePath.java:1926) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:137) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:774) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:724) at hudson.model.Run.execute(Run.java:1600) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) Caused by: java.io.IOException: unexpected EOF with 3584 bytes unread at hudson.org.apache.tools.tar.TarInputStream.read(TarInputStream.java:349) at java.io.FilterInputStream.read(FilterInputStream.java:107) at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025) at org.apache.commons.io.IOUtils.copy(IOUtils.java:999) at hudson.util.IOUtils.copy(IOUtils.java:37) at hudson.FilePath.readFromTar(FilePath.java:2004) ... 11 more at hudson.FilePath.copyRecursiveTo(FilePath.java:1933) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:137) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:774) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:724) at hudson.model.Run.execute(Run.java:1600) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Insufficient system resources exist to complete the requested service at hudson.remoting.Channel$4.adapt(Channel.java:705) at hudson.remoting.Channel$4.adapt(Channel.java:700) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59) at hudson.FilePath.copyRecursiveTo(FilePath.java:1929) ... 10 more Caused by: java.io.IOException: Insufficient system resources exist to complete the requested service at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(Unknown Source) at hudson.util.io.TarArchiver.visit(TarArchiver.java:114) at hudson.util.DirScanner$Glob.scan(DirScanner.java:133) at hudson.FilePath.writeToTar(FilePath.java:1978) at hudson.FilePath.access$1000(FilePath.java:168) at hudson.FilePath$36.invoke(FilePath.java:1919) at hudson.FilePath$36.invoke(FilePath.java:1915) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2387) at hudson.remoting.UserRequest.perform(UserRequest.java:118) 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:72) 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) {quote}

    Jenkins JIRA | 4 years ago | pancake
    hudson.util.IOException2: hudson.util.IOException2: Failed to extract [...]

    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.IOException

      unexpected EOF with 272 bytes unread

      at hudson.org.apache.tools.tar.TarInputStream.read()
    2. Hudson
      TarInputStream.read
      1. hudson.org.apache.tools.tar.TarInputStream.read(TarInputStream.java:349)
      1 frame
    3. Java RT
      FilterInputStream.read
      1. java.io.FilterInputStream.read(Unknown Source)
      1 frame
    4. Commons IO
      IOUtils.copy
      1. org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025)
      2. org.apache.commons.io.IOUtils.copy(IOUtils.java:999)
      2 frames
    5. Hudson
      Executor.run
      1. hudson.util.IOUtils.copy(IOUtils.java:37)
      2. hudson.FilePath.readFromTar(FilePath.java:2005)
      3. hudson.FilePath.copyRecursiveTo(FilePath.java:1927)
      4. hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:137)
      5. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      6. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
      7. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
      8. hudson.model.Build$BuildExecution.post2(Build.java:183)
      9. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
      10. hudson.model.Run.execute(Run.java:1601)
      11. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      12. hudson.model.ResourceController.execute(ResourceController.java:88)
      13. hudson.model.Executor.run(Executor.java:241)
      13 frames