java.io.IOException: Failed to expand /data/jenkins/plugins/cvs.jpi

Jenkins JIRA | visual zhang | 2 years ago
  1. 0

    Jenkins version 1.568,after update to 1.569,issue still remains. It's a little bit complicated to reproduce the bug. The Jenkins server we use is behind the firewall with limited access to the internet.So one day our ops decide to update the plugin we use on a whim,when he re-login to check the status later,all plugin just vanished.Not just disappear from the plugin manager list,the plugin files don't exist on the system too. And here's some log: Jun 26, 2014 4:58:17 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Inspecting plugin /data/jenkins/plugins/cvs.jpi java.io.IOException: Failed to expand /data/jenkins/plugins/cvs.jpi at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:484) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:150) at hudson.PluginManager$1$3$1.run(PluginManager.java:240) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:885) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: Error while expanding /data/jenkins/plugins/cvs.jpi java.util.zip.ZipException: archive is not a ZIP archive at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192) at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132) at hudson.ClassicPluginStrategy.unzipExceptClasses(ClassicPluginStrategy.java:556) at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:481) ... 10 more Caused by: java.util.zip.ZipException: archive is not a ZIP archive at org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:481) at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:320) at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:186) at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:170) ... 13 more

    Jenkins JIRA | 2 years ago | visual zhang
    java.io.IOException: Failed to expand /data/jenkins/plugins/cvs.jpi
  2. 0

    Jenkins version 1.568,after update to 1.569,issue still remains. It's a little bit complicated to reproduce the bug. The Jenkins server we use is behind the firewall with limited access to the internet.So one day our ops decide to update the plugin we use on a whim,when he re-login to check the status later,all plugin just vanished.Not just disappear from the plugin manager list,the plugin files don't exist on the system too. And here's some log: Jun 26, 2014 4:58:17 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Inspecting plugin /data/jenkins/plugins/cvs.jpi java.io.IOException: Failed to expand /data/jenkins/plugins/cvs.jpi at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:484) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:150) at hudson.PluginManager$1$3$1.run(PluginManager.java:240) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:885) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: Error while expanding /data/jenkins/plugins/cvs.jpi java.util.zip.ZipException: archive is not a ZIP archive at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192) at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132) at hudson.ClassicPluginStrategy.unzipExceptClasses(ClassicPluginStrategy.java:556) at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:481) ... 10 more Caused by: java.util.zip.ZipException: archive is not a ZIP archive at org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:481) at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:320) at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:186) at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:170) ... 13 more

    Jenkins JIRA | 2 years ago | visual zhang
    java.io.IOException: Failed to expand /data/jenkins/plugins/cvs.jpi
  3. 0

    Our Jenkins instance keeps crashing

    Google Groups | 3 years ago | David Aldrich
    java.io.IOException: Failed to expand /var/lib/jenkins/plugins/uploaded2537880836547508584.jpi
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Failed to change file modification time

    Google Groups | 4 years ago | Jeff Williams
    java.io.IOException: Failed to set the timestamp of /raid1/jenkins/plugins/sonar/.timestamp to 1349943792000
  6. 0

    Install plugins? Not a ZIP archive

    GitHub | 2 years ago | WillBeebe
    java.io.IOException: Failed to expand /var/jenkins_home/plugins/scm-sync-configuration.hpi

  1. davidvanlaatum 14 times, last 6 months ago
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

    Failed to expand /data/jenkins/plugins/cvs.jpi

    at hudson.ClassicPluginStrategy.explode()
  2. Hudson
    PluginManager$1$3$1.run
    1. hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:484)
    2. hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:150)
    3. hudson.PluginManager$1$3$1.run(PluginManager.java:240)
    3 frames
  3. init
    Reactor.runTask
    1. org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
    2. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
    2 frames
  4. jenkins.model
    Jenkins$7.runTask
    1. jenkins.model.Jenkins$7.runTask(Jenkins.java:885)
    1 frame
  5. init
    Reactor$Node.run
    1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
    2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
    2 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    3. java.lang.Thread.run(Thread.java:662)
    3 frames