[JIRA] [core] (JENKINS-34710) Installation Wizard: SEVERE errors in logs, enabling of the enabled plugin

1 view
Skip to first unread message

o.v.nenashev@gmail.com (JIRA)

unread,
May 10, 2016, 9:27:01 AM5/10/16
to jenkinsc...@googlegroups.com
Oleg Nenashev created an issue
 
Jenkins / Bug JENKINS-34710
Installation Wizard: SEVERE errors in logs, enabling of the enabled plugin
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: Screen Shot 2016-05-10 at 14.42.35.png
Components: core
Created: 2016/May/10 1:26 PM
Environment: jenkins-2.2
Custom update site
Labels: ui log installation
Priority: Major Major
Reporter: Oleg Nenashev

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)
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

o.v.nenashev@gmail.com (JIRA)

unread,
May 10, 2016, 9:34:01 AM5/10/16
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
May 10, 2016, 9:34:01 AM5/10/16
to jenkinsc...@googlegroups.com
Oleg Nenashev started work on Bug JENKINS-34710
 
Change By: Oleg Nenashev
Status: Open In Progress

o.v.nenashev@gmail.com (JIRA)

unread,
May 10, 2016, 9:34:01 AM5/10/16
to jenkinsc...@googlegroups.com

scm_issue_link@java.net (JIRA)

unread,
May 11, 2016, 6:12:01 AM5/11/16
to jenkinsc...@googlegroups.com
SCM/JIRA link daemon commented on Bug JENKINS-34710
 
Re: Installation Wizard: SEVERE errors in logs, enabling of the enabled plugin

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)

o.v.nenashev@gmail.com (JIRA)

unread,
May 17, 2016, 6:20:01 AM5/17/16
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
 
Change By: Oleg Nenashev
Labels: installation log  lts-candidate  ui

o.v.nenashev@gmail.com (JIRA)

unread,
May 17, 2016, 6:20:01 AM5/17/16
to jenkinsc...@googlegroups.com
Oleg Nenashev resolved as Fixed
 

The fix has been released in jenkins-2.4

Change By: Oleg Nenashev
Status: In Progress Resolved
Resolution: Fixed

scm_issue_link@java.net (JIRA)

unread,
May 25, 2016, 4:26:12 AM5/25/16
to jenkinsc...@googlegroups.com

Code changed in jenkins
User: Oleg Nenashev
Path:
core/src/main/java/hudson/PluginWrapper.java

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

ogondza@gmail.com (JIRA)

unread,
May 25, 2016, 2:08:43 PM5/25/16
to jenkinsc...@googlegroups.com
Oliver Gondža updated an issue
 
Change By: Oliver Gondža
Labels: 1.651.3-fixed installation log  lts-candidate  ui
Reply all
Reply to author
Forward
0 new messages