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

Installation Wizard: SEVERE errors in logs, enabling of the enabled plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It's a spin-off of JENKINS-34708. I'm experimenting with a custom Jenkins WAR file build. This build defines a custom update site, from which Jenkins takes plugins.

      So the steps I perform:
      1) Launch Jenkins with installation wizard
      2) Go to the fine-grain select
      3) Keep everything by default and press OK

      Expected result:
      1) Jenkins installs all plugins and starts up
      2) No errors in the log

      Actual result:
      1) Jenkins installs the most of the plugins
      2) Build timeout and matrix auth cannot be enabled according to logs
      4) According to the filesystem, plugin.jpi.disabled files just do not exist at this time

      The only useful info in the installation wizard is a stacktrace:

      May 10, 2016 2:36:53 PM hudson.model.UpdateCenter$EnableJob run
      SEVERE: Failed to enable Matrix Authorization Strategy Plugin
      java.io.IOException: Failed to delete /Users/nenashev/Documents/XXX/tmp/plugins/matrix-auth.jpi.disabled
      	at hudson.PluginWrapper.enable(PluginWrapper.java:444)
      	at hudson.model.UpdateCenter$EnableJob.run(UpdateCenter.java:1447)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
      	at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Issue Links

            Activity

            Show
            oleg_nenashev Oleg Nenashev added a comment - https://github.com/jenkinsci/jenkins/pull/2327
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            core/src/main/java/hudson/PluginWrapper.java
            http://jenkins-ci.org/commit/jenkins/c83a8fdf0d048905928ba531d45527c1173f868d
            Log:
            JENKINS-34710 - PluginWrapper should not throw IOException if somebody enables the enabled plugin (#2327)

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: core/src/main/java/hudson/PluginWrapper.java http://jenkins-ci.org/commit/jenkins/c83a8fdf0d048905928ba531d45527c1173f868d Log: JENKINS-34710 - PluginWrapper should not throw IOException if somebody enables the enabled plugin (#2327)
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            The fix has been released in jenkins-2.4

            Show
            oleg_nenashev Oleg Nenashev added a comment - The fix has been released in jenkins-2.4
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            core/src/main/java/hudson/PluginWrapper.java
            http://jenkins-ci.org/commit/jenkins/baf831faf6ebf0b65b165b909575d26c8592c1a9
            Log:
            JENKINS-34710 - PluginWrapper should not throw IOException if somebody enables the enabled plugin (#2327)
            (cherry picked from commit c83a8fdf0d048905928ba531d45527c1173f868d)

            Compare: https://github.com/jenkinsci/jenkins/compare/f391f8be2bd0...baf831faf6eb

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: core/src/main/java/hudson/PluginWrapper.java http://jenkins-ci.org/commit/jenkins/baf831faf6ebf0b65b165b909575d26c8592c1a9 Log: JENKINS-34710 - PluginWrapper should not throw IOException if somebody enables the enabled plugin (#2327) (cherry picked from commit c83a8fdf0d048905928ba531d45527c1173f868d) Compare: https://github.com/jenkinsci/jenkins/compare/f391f8be2bd0...baf831faf6eb

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                oleg_nenashev Oleg Nenashev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: