java.io.IOException

Failed to install http://github.com/zaproxy/zaproxy/releases/download/2.5.0/ZAP_2.5.0_Linux.tar.gz to /build/jenkins-home/tools/com.cloudbees.jenkins.plugins.customtools.CustomTool/ZAP_2.5.0

Solutions on the web20162

  • via Google Groups by Prakhash Sivakumar, 1 year ago
    Failed to install http://github.com/zaproxy/zaproxy/releases/download/2.5.0/ZAP_2.5.0_Linux.tar.gz to /build/jenkins-home/tools/com.cloudbees.jenkins.plugins.customtools.CustomTool/ZAP_2.5.0
  • via GitHub by Mouheb22
    , 1 year ago
    Failed to install https://github.com/zaproxy/zaproxy/releases/download/2.4.3/ZAP_2.4.3_Windows.exe to C:\Program Files (x86)\Jenkins\tools\com.cloudbees.jenkins.plugins.customtools.CustomTool\ZAP_2.4.3_Standard
  • via Stack Overflow by AcMuD
    , 1 year ago
    Failed to install https://github.com/zaproxy/zaproxy/wiki/Downloads/ZAP_2.4.3_Core.tar.gz to /var/lib/jenkins/tools/com.cloudbees.jenkins.plugins.customtools.CustomTool/ZAProxy_2.4.3
  • Stack trace

    • java.io.IOException: Failed to install http://github.com/zaproxy/zaproxy/releases/download/2.5.0/ZAP_2.5.0_Linux.tar.gz to /build/jenkins-home/tools/com.cloudbees.jenkins.plugins.customtools.CustomTool/ZAP_2.5.0 at hudson.FilePath.installIfNecessaryFrom(FilePath.java:833) at hudson.tools.ZipExtractionInstaller.performInstallation(ZipExtractionInstaller.java:79) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:108) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206) at com.cloudbees.jenkins.plugins.customtools.CustomTool.forNode(CustomTool.java:154) at com.cloudbees.jenkins.plugins.customtools.CustomTool.forNode(CustomTool.java:59) at fr.novia.zaproxyplugin.ZAProxy.retrieveZapHomeWithToolInstall(ZAProxy.java:739) at fr.novia.zaproxyplugin.ZAProxy.checkParams(ZAProxy.java:797) at fr.novia.zaproxyplugin.ZAProxy.startZAP(ZAProxy.java:856) at fr.novia.zaproxyplugin.ZAProxyBuilder.perform(ZAProxyBuilder.java:189) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.build(MavenModuleSetBuild.java:905) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:856) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1741) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:525) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Caused by: java.io.IOException: Failed to unpack http://github.com/zaproxy/zaproxy/releases/download/2.5.0/ZAP_2.5.0_Linux.tar.gz (0 bytes read of total 0) at hudson.FilePath.installIfNecessaryFrom(FilePath.java:827) ... 19 more Caused by: java.io.IOException: Failed to extract input stream at hudson.FilePath.readFromTar(FilePath.java:2299) at hudson.FilePath.access$400(FilePath.java:191) at hudson.FilePath$10.invoke(FilePath.java:721) at hudson.FilePath$10.invoke(FilePath.java:719) at hudson.FilePath.act(FilePath.java:991) at hudson.FilePath.act(FilePath.java:969) at hudson.FilePath.untarFrom(FilePath.java:719) at hudson.FilePath.installIfNecessaryFrom(FilePath.java:825) ... 19 more Caused by: java.io.EOFException: Unexpected end of ZLIB input stream at com.jcraft.jzlib.InflaterInputStream.fill(InflaterInputStream.java:186) at com.jcraft.jzlib.InflaterInputStream.read(InflaterInputStream.java:106) at org.apache.tools.tar.TarBuffer.readBlock(TarBuffer.java:257) at org.apache.tools.tar.TarBuffer.readRecord(TarBuffer.java:223) at hudson.org.apache.tools.tar.TarInputStream.getNextEntry(TarInputStream.java:228) at hudson.FilePath.readFromTar(FilePath.java:2276) ... 26 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago