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

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

    XMLWordPrintable

Details

    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

            oleg_nenashev Oleg Nenashev created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-34708 [ JENKINS-34708 ]
            oleg_nenashev Oleg Nenashev made changes -
            Remote Link This issue links to "PR 2327 (Web Link)" [ 14286 ]
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Oleg Nenashev [ oleg_nenashev ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            oleg_nenashev Oleg Nenashev added a comment - https://github.com/jenkinsci/jenkins/pull/2327

            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)

            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)
            oleg_nenashev Oleg Nenashev made changes -
            Labels installation log ui installation log lts-candidate ui
            oleg_nenashev Oleg Nenashev added a comment -

            The fix has been released in jenkins-2.4

            oleg_nenashev Oleg Nenashev added a comment - The fix has been released in jenkins-2.4
            oleg_nenashev Oleg Nenashev made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]

            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

            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
            olivergondza Oliver Gondža made changes -
            Labels installation log lts-candidate ui 1.651.3-fixed installation log ui
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 170889 ] JNJira + In-Review [ 198971 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: