jenkinsci / jenkinsci/subversion-plugin

[JENKINS-29597] Update error - Inconsistent file length

Open
#1,289 9 comments 0 reactions 0 assignees View on GitHub
component:subversion-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
131
Forks
275
Avg merge
12h 4m
Merged PRs (30d)
6

Description

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.(Unknown Source)

at java.util.zip.ZipFile.(Unknown Source)

at java.util.jar.JarFile.(Unknown Source)

at java.util.jar.JarFile.(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

---
Originally reported by jonathangrm, imported from: Update error - Inconsistent file length


  • assignee: recena
  • status: Reopened
  • priority: Minor
  • component(s): subversion-plugin
  • resolution: Unresolved
  • votes: 3
  • watchers: 9
  • imported: 20251212-090250

Raw content of original issue

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

environment

```
Subversion-Plugin 2.5.1

Jenkins 1.611

Windows Server 2012 R2
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.