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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Critical
    • Resolution: Fixed
    • core
    • Windows
      Jenkins 2.17

    Description

      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.

      Attachments

        Issue Links

          Activity

            nitek Claus Näveke created issue -
            laurin1 Keith Davis made changes -
            Field Original Value New Value
            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) ]
            nitek Claus Näveke made changes -
            Description 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.
            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.
            jeffdafoe Jeff Dafoe made changes -
            Attachment screenshot-1.png [ 33611 ]
            danielbeck Daniel Beck made changes -
            Assignee Oleg Nenashev [ oleg_nenashev ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            oleg_nenashev Oleg Nenashev made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            oleg_nenashev Oleg Nenashev made changes -
            Remote Link This issue links to "PR #2516 (Web Link)" [ 14744 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            oleg_nenashev Oleg Nenashev made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            oleg_nenashev Oleg Nenashev made changes -
            Labels lts-candidate
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is related to JENKINS-37041 [ JENKINS-37041 ]
            brianeray Brian Ray made changes -
            Attachment RDTabs_2016-09-03_13-15-18.png [ 33807 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status Reopened [ 4 ] Resolved [ 5 ]
            oleg_nenashev Oleg Nenashev made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            olivergondza Oliver Gondža made changes -
            Labels lts-candidate 2.7.4-
            olivergondza Oliver Gondža made changes -
            Resolution Fixed [ 1 ]
            Status Reopened [ 4 ] Resolved [ 5 ]
            olivergondza Oliver Gondža made changes -
            Labels 2.7.4- 2.7.4-fixed
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal OSS-1392 (Web Link)" [ 18717 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: