mjava.io.IOException: Failed to extract input stream

Jenkins JIRA | James Nord | 1 year ago
  1. 0

    it is impossible for a windows developer to help fix/improve the windows packages without a Linux machine. Attempting to use a pure local setup of cygwin + jenkins etc results in distfork being invoked with an archive to copy of /tmp/id/script.tgx. Obviously this /tmp path is a cygwin path and bears no resemblance to any path that a windows process could hope to locate. It should not be *expected* that a person who is an excellent Wix/Windows person should have to have a Linux machine as well to build only the windows package. ``` make WAR=../../../../wars/jenkins.war BRANDING=branding/test.mk CREDENTIALS=credentials/test.mk env/test.mk msi <snip> + cp /cygdrive/c/workarea/source/jenkinsci/packaging_2/packaging/credentials/test.pkcs12.password.txt /tmp/6992/key.password + tar cvzf /tmp/6992/bundle.tgz -C ./msi FindJava.java build.sh jenkins.exe.config bootstrapper.xml -C /tmp/6992 jenkins.wxs key.pkcs12 key.password FindJava.java build.sh jenkins.exe.config bootstrapper.xml jenkins.wxs key.pkcs12 key.password + java -jar target/jenkins-cli.jar dist-fork -z /tmp/6992/bundle.tgz -f jenkinstest.war=../../../../wars/jenkins.war -l windows -F target/msi/jenkinstest-1.626 .zip=jenkinstest-windows.zip bash -ex build.sh jenkinstest.war 1.626 jenkinstest 'Jenkins Test' 7777 ERROR: Failed to execute a process ←[8mha:AAAAWB+LCAAAAAAAAP9b85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=←[0mjava.io.IOException: Failed to extract input stream at hudson.FilePath.readFromTar(FilePath.java:2297) at hudson.FilePath.access$400(FilePath.java:191) at hudson.FilePath$10.invoke(FilePath.java:719) at hudson.FilePath$10.invoke(FilePath.java:717) at hudson.FilePath.act(FilePath.java:989) at hudson.FilePath.act(FilePath.java:967) at hudson.FilePath.untarFrom(FilePath.java:717) at hudson.plugins.distfork.DistForkCommand$1.run(DistForkCommand.java:134) at hudson.plugins.distfork.DistForkTask$1.run(DistForkTask.java:74) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) Caused by: java.io.IOException: java.io.FileNotFoundException: \tmp\6992\bundle.tgz (The system cannot find the path specified) at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:169) at java.io.BufferedInputStream.read1(BufferedInputStream.java:284) at java.io.BufferedInputStream.read(BufferedInputStream.java:345) Makefile:39: recipe for target 'target/msi/jenkinstest-1.626.zip' failed make: *** [target/msi/jenkinstest-1.626.zip] Error 127 ```

    Jenkins JIRA | 1 year ago | James Nord
    mjava.io.IOException: Failed to extract input stream
  2. 0

    it is impossible for a windows developer to help fix/improve the windows packages without a Linux machine. Attempting to use a pure local setup of cygwin + jenkins etc results in distfork being invoked with an archive to copy of /tmp/id/script.tgx. Obviously this /tmp path is a cygwin path and bears no resemblance to any path that a windows process could hope to locate. It should not be *expected* that a person who is an excellent Wix/Windows person should have to have a Linux machine as well to build only the windows package. ``` make WAR=../../../../wars/jenkins.war BRANDING=branding/test.mk CREDENTIALS=credentials/test.mk env/test.mk msi <snip> + cp /cygdrive/c/workarea/source/jenkinsci/packaging_2/packaging/credentials/test.pkcs12.password.txt /tmp/6992/key.password + tar cvzf /tmp/6992/bundle.tgz -C ./msi FindJava.java build.sh jenkins.exe.config bootstrapper.xml -C /tmp/6992 jenkins.wxs key.pkcs12 key.password FindJava.java build.sh jenkins.exe.config bootstrapper.xml jenkins.wxs key.pkcs12 key.password + java -jar target/jenkins-cli.jar dist-fork -z /tmp/6992/bundle.tgz -f jenkinstest.war=../../../../wars/jenkins.war -l windows -F target/msi/jenkinstest-1.626 .zip=jenkinstest-windows.zip bash -ex build.sh jenkinstest.war 1.626 jenkinstest 'Jenkins Test' 7777 ERROR: Failed to execute a process ←[8mha:AAAAWB+LCAAAAAAAAP9b85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=←[0mjava.io.IOException: Failed to extract input stream at hudson.FilePath.readFromTar(FilePath.java:2297) at hudson.FilePath.access$400(FilePath.java:191) at hudson.FilePath$10.invoke(FilePath.java:719) at hudson.FilePath$10.invoke(FilePath.java:717) at hudson.FilePath.act(FilePath.java:989) at hudson.FilePath.act(FilePath.java:967) at hudson.FilePath.untarFrom(FilePath.java:717) at hudson.plugins.distfork.DistForkCommand$1.run(DistForkCommand.java:134) at hudson.plugins.distfork.DistForkTask$1.run(DistForkTask.java:74) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) Caused by: java.io.IOException: java.io.FileNotFoundException: \tmp\6992\bundle.tgz (The system cannot find the path specified) at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:169) at java.io.BufferedInputStream.read1(BufferedInputStream.java:284) at java.io.BufferedInputStream.read(BufferedInputStream.java:345) Makefile:39: recipe for target 'target/msi/jenkinstest-1.626.zip' failed make: *** [target/msi/jenkinstest-1.626.zip] Error 127 ```

    Jenkins JIRA | 1 year ago | James Nord
    mjava.io.IOException: Failed to extract input stream
  3. 0

    Deleting Workspace Post Maven Execution in LInux Machine

    Stack Overflow | 1 year ago | Mona
    java.io.IOException: java.io.FileNotFoundException: /opt/hudson/workspace/testjob/pom.xml (No such file or directory)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    добавить проверку на наличие файлов в директории

    GitHub | 3 years ago | mavlyutov
    java.io.IOException: Failed to extract /jenkins/compound-root/workspace/functional-test-matrix/LABEL/basic-os/TESTPACK/P4/reports/**/*
  6. 0

    Jenkins html publisher Failed to extract

    Stack Overflow | 2 years ago | Luci
    java.io.IOException: java.io.IOException: Failed to extract C:\WiboxTesting\NPO testing\build\reports\tests/**/*

    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

      java.io.FileNotFoundException: \tmp\6992\bundle.tgz (The system cannot find the path specified)

      at hudson.remoting.FastPipedInputStream.read()
    2. Hudson :: Remoting Layer
      FastPipedInputStream.read
      1. hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:169)
      1 frame
    3. Java RT
      BufferedInputStream.read
      1. java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
      2. java.io.BufferedInputStream.read(BufferedInputStream.java:345)
      2 frames