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

java.io.IOException: Failed to rename during Plugin Update

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core
    • Windows
      Jenkins 2.17

      We are currently unable to update plugins in our jenkins installation, because this exception occurs:

      java.io.IOException: Failed to rename C:\Program Files (x86)\Jenkins\plugins\windows-slaves.jpi.tmp to C:\Program Files (x86)\Jenkins\plugins\windows-slaves.jpi
      at hudson.model.UpdateCenter$InstallationJob.replace(UpdateCenter.java:1952)
      at hudson.model.UpdateCenter$UpdateCenterConfiguration.install(UpdateCenter.java:1178)
      at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1653)
      at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1848)
      at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1624)
      at java.util.concurrent.Executors$RunnableAdapter.call(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)

      It doesn't seem to affect all plugins, but it also happends for the JUnit plugin.

          [JENKINS-37332] java.io.IOException: Failed to rename during Plugin Update

          Claus Näveke created issue -
          Keith Davis made changes -
          Comment [ Also, for Windows Slaves Plugin:

          java.io.IOException: Failed to rename C:\Jenkins\plugins\windows-slaves.jpi.tmp to C:\Jenkins\plugins\windows-slaves.jpi
          at hudson.model.UpdateCenter$InstallationJob.replace(UpdateCenter.java:1952)
          at hudson.model.UpdateCenter$UpdateCenterConfiguration.install(UpdateCenter.java:1178)
          at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1653)
          at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1848)
          at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1624)
          at java.util.concurrent.Executors$RunnableAdapter.call(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) ]
          Claus Näveke made changes -
          Description Original: We are currently unable to update plugins in our jenkins installation, because this exception happens:

          java.io.IOException: Failed to rename C:\Program Files (x86)\Jenkins\plugins\windows-slaves.jpi.tmp to C:\Program Files (x86)\Jenkins\plugins\windows-slaves.jpi
          at hudson.model.UpdateCenter$InstallationJob.replace(UpdateCenter.java:1952)
          at hudson.model.UpdateCenter$UpdateCenterConfiguration.install(UpdateCenter.java:1178)
          at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1653)
          at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1848)
          at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1624)
          at java.util.concurrent.Executors$RunnableAdapter.call(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)

          It doesn't seem to affect als plugin, but it also happend for the JUnit plugin.
          New: We are currently unable to update plugins in our jenkins installation, because this exception occurs:

          java.io.IOException: Failed to rename C:\Program Files (x86)\Jenkins\plugins\windows-slaves.jpi.tmp to C:\Program Files (x86)\Jenkins\plugins\windows-slaves.jpi
          at hudson.model.UpdateCenter$InstallationJob.replace(UpdateCenter.java:1952)
          at hudson.model.UpdateCenter$UpdateCenterConfiguration.install(UpdateCenter.java:1178)
          at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1653)
          at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1848)
          at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1624)
          at java.util.concurrent.Executors$RunnableAdapter.call(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)

          It doesn't seem to affect all plugins, but it also happends for the JUnit plugin.
          Jeff Dafoe made changes -
          Attachment New: screenshot-1.png [ 33611 ]
          Daniel Beck made changes -
          Assignee New: Oleg Nenashev [ oleg_nenashev ]
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Oleg Nenashev made changes -
          Priority Original: Major [ 3 ] New: Critical [ 2 ]
          Oleg Nenashev made changes -
          Remote Link New: This issue links to "PR #2516 (Web Link)" [ 14744 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Oleg Nenashev made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Oleg Nenashev made changes -
          Labels New: lts-candidate

            oleg_nenashev Oleg Nenashev
            nitek Claus Näveke
            Votes:
            13 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: