java.io.IOException: Failed to expand /var/lib/jenkins/plugins/ssh-slaves.jpi

Jenkins JIRA | gene lzr | 3 years ago
  1. 0

    I see many of these errors in the log: {code}Mar 07, 2014 8:32:51 PM SEVERE jenkins.InitReactorRunner$1 onTaskFailed Failed Inspecting plugin /var/lib/jenkins/plugins/ssh-slaves.jpi java.io.IOException: Failed to expand /var/lib/jenkins/plugins/ssh-slaves.jpi at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:429) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:126) at hudson.PluginManager$1$3$1.run(PluginManager.java:236) 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:899) 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.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) Caused by: Error while expanding /var/lib/jenkins/plugins/ssh-slaves.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:501) at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:426) ... 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{code} As a result the plugins don't load. All their dependencies don't load too. No errors are displayed in the frontend which is extremely confusing.

    Jenkins JIRA | 3 years ago | gene lzr
    java.io.IOException: Failed to expand /var/lib/jenkins/plugins/ssh-slaves.jpi
  2. 0

    I see many of these errors in the log: {code}Mar 07, 2014 8:32:51 PM SEVERE jenkins.InitReactorRunner$1 onTaskFailed Failed Inspecting plugin /var/lib/jenkins/plugins/ssh-slaves.jpi java.io.IOException: Failed to expand /var/lib/jenkins/plugins/ssh-slaves.jpi at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:429) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:126) at hudson.PluginManager$1$3$1.run(PluginManager.java:236) 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:899) 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.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) Caused by: Error while expanding /var/lib/jenkins/plugins/ssh-slaves.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:501) at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:426) ... 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{code} As a result the plugins don't load. All their dependencies don't load too. No errors are displayed in the frontend which is extremely confusing.

    Jenkins JIRA | 3 years ago | gene lzr
    java.io.IOException: Failed to expand /var/lib/jenkins/plugins/ssh-slaves.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 /var/lib/jenkins/plugins/ssh-slaves.jpi

    at hudson.ClassicPluginStrategy.explode()
  2. Hudson
    PluginManager$1$3$1.run
    1. hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:429)
    2. hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:126)
    3. hudson.PluginManager$1$3$1.run(PluginManager.java:236)
    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:899)
    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.runWorker(ThreadPoolExecutor.java:1146)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    3. java.lang.Thread.run(Thread.java:701)
    3 frames