Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-29597

Update error - Inconsistent file length

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • subversion-plugin
    • None
    • Subversion-Plugin 2.5.1
      Jenkins 1.611
      Windows Server 2012 R2

      Hi,

      The latest version of the Subversion-Plugin is failing to install via the Update center Updates tab...


      hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/subversion/2.5.1/subversion.hpi (redirected to: http://ftp.nluug.nl/programming/jenkins/plugins/subversion/2.5.1/subversion.hpi)
      at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:797)
      at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1148)
      at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1309)
      at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1126)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.io.IOException: Inconsistent file length: expected 7209281 but only got 5793684
      at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:784)
      ... 8 more


      I also downloaded the hpi file and attempted to use the Upload Plugin option...


      java.io.IOException: Failed to dynamically deploy this plugin
      at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1328)
      at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1126)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.util.zip.ZipException: error in opening zip file
      at java.util.zip.ZipFile.open(Native Method)
      at java.util.zip.ZipFile.<init>(Unknown Source)
      at java.util.zip.ZipFile.<init>(Unknown Source)
      at java.util.jar.JarFile.<init>(Unknown Source)
      at java.util.jar.JarFile.<init>(Unknown Source)
      at hudson.ClassicPluginStrategy.getShortName(ClassicPluginStrategy.java:107)
      at hudson.PluginManager.dynamicLoad(PluginManager.java:439)
      at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1324)
      ... 6 more


      All other plugins are updating ok.

      Thanks

            recena Manuel Recena Soto
            jonathangrm Jonathan Graham
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: