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

There are dependency errors loading some plugins in git lab and ruby

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hi ,
      I am facing two important problems. how to solve it.

      Ruby :
      Success
      Ruby Runtime Plugin
      Failure -
      java.io.IOException: Failed to dynamically deploy this plugin
      at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1895)
      at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1652)
      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)
      Caused by: java.io.IOException: Unable to delete 'C:\Program Files (x86)\Jenkins\plugins\ruby-runtime'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.
      at hudson.Util.deleteRecursive(Util.java:346)
      at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:604)
      at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:167)
      at hudson.PluginManager.dynamicLoad(PluginManager.java:847)
      at hudson.PluginManager.dynamicLoad(PluginManager.java:813)
      at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1891)
      ... 5 more
      Caused by: java.nio.file.FileSystemException: C:\Program Files (x86)\Jenkins\plugins\ruby-runtime\WEB-INF\lib\classes.jar: The process cannot access the file because it is being used by another process.

      at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
      at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
      at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
      at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source)
      at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(Unknown Source)
      at java.nio.file.Files.deleteIfExists(Unknown Source)
      at hudson.Util.tryOnceDeleteFile(Util.java:287)
      at hudson.Util.tryOnceDeleteRecursive(Util.java:364)
      at hudson.Util.tryOnceDeleteContentsRecursive(Util.java:383)
      at hudson.Util.tryOnceDeleteRecursive(Util.java:363)
      at hudson.Util.tryOnceDeleteContentsRecursive(Util.java:383)
      at hudson.Util.tryOnceDeleteRecursive(Util.java:363)
      at hudson.Util.tryOnceDeleteContentsRecursive(Util.java:383)
      at hudson.Util.tryOnceDeleteRecursive(Util.java:363)
      at hudson.Util.deleteRecursive(Util.java:341)
      ... 10 more
      Git Lab

      Gitlab Hook Plugin
      Failure -
      java.io.IOException: Failed to dynamically deploy this plugin
      at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1895)
      at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1652)
      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)
      Caused by: java.io.IOException: Unable to delete 'C:\Program Files (x86)\Jenkins\plugins\gitlab-hook'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.
      at hudson.Util.deleteRecursive(Util.java:346)
      at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:604)
      at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:167)
      at hudson.PluginManager.dynamicLoad(PluginManager.java:847)
      at hudson.PluginManager.dynamicLoad(PluginManager.java:813)
      at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1891)
      ... 5 more
      Caused by: java.nio.file.FileSystemException: C:\Program Files (x86)\Jenkins\plugins\gitlab-hook\WEB-INF\lib\classes.jar: The process cannot access the file because it is being used by another process.

      at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
      at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
      at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
      at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source)
      at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(Unknown Source)
      at java.nio.file.Files.deleteIfExists(Unknown Source)
      at hudson.Util.tryOnceDeleteFile(Util.java:287)
      at hudson.Util.tryOnceDeleteRecursive(Util.java:364)
      at hudson.Util.tryOnceDeleteContentsRecursive(Util.java:383)
      at hudson.Util.tryOnceDeleteRecursive(Util.java:363)
      at hudson.Util.tryOnceDeleteContentsRecursive(Util.java:383)
      at hudson.Util.tryOnceDeleteRecursive(Util.java:363)
      at hudson.Util.tryOnceDeleteContentsRecursive(Util.java:383)
      at hudson.Util.tryOnceDeleteRecursive(Util.java:363)
      at hudson.Util.deleteRecursive(Util.java:341)
      ... 10 more
      Thanks
      Prasad

        Attachments

          Activity

          Hide
          venkis182 Venkatesh Sathyanarayanan added a comment -

          Is there any update on the above issue?

           

          Show
          venkis182 Venkatesh Sathyanarayanan added a comment - Is there any update on the above issue?  

            People

            Assignee:
            javiplx Javier Palacios
            Reporter:
            prasad456 Prasad Anumolu
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: