[JIRA] (JENKINS-37041) If an older version of a detached plugin is already installed it does not get upgraded

31 views
Skip to first unread message

stephenconnolly@java.net (JIRA)

unread,
Jul 28, 2016, 10:42:01 AM7/28/16
to jenkinsc...@googlegroups.com
stephenconnolly created an issue
 
Jenkins / Bug JENKINS-37041
If an older version of a detached plugin is already installed it does not get upgraded
Issue Type: Bug Bug
Assignee: stephenconnolly
Components: core
Created: 2016/Jul/28 2:41 PM
Environment: 2.16-SNAPSHOT with bouncycastle-api 1.648.0 installed
Priority: Blocker Blocker
Reporter: stephenconnolly
INFO: Listed all plugins
Jul 28, 2016 3:21:44 PM jenkins.model.Jenkins$7 runTask
WARNING: Loading plugin bouncycastle-api failed perhaps due to plugin dependency issues
java.io.IOException: Unable to load jenkins.bouncycastle.api.SecurityProviderInitializer from bouncycastle-api
	at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:508)
	at hudson.PluginManager$2$1$1.run(PluginManager.java:512)
	at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
	at jenkins.model.Jenkins$7.runTask(Jenkins.java:1022)
	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
	at java.lang.Class.getConstructor0(Class.java:3075)
	at java.lang.Class.newInstance(Class.java:412)
	at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:502)
	... 9 more
Caused by: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 14 more
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

stephenconnolly@java.net (JIRA)

unread,
Jul 28, 2016, 10:44:01 AM7/28/16
to jenkinsc...@googlegroups.com
stephenconnolly started work on Bug JENKINS-37041
 
Change By: stephenconnolly
Status: Open In Progress

stephenconnolly@java.net (JIRA)

unread,
Jul 28, 2016, 11:15:01 AM7/28/16
to jenkinsc...@googlegroups.com

stephenconnolly@java.net (JIRA)

unread,
Jul 28, 2016, 5:58:01 PM7/28/16
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Aug 1, 2016, 11:59:03 AM8/1/16
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Aug 1, 2016, 11:59:04 AM8/1/16
to jenkinsc...@googlegroups.com

ogondza@gmail.com (JIRA)

unread,
Aug 17, 2016, 2:01:03 PM8/17/16
to jenkinsc...@googlegroups.com

scm_issue_link@java.net (JIRA)

unread,
Aug 18, 2016, 10:05:01 AM8/18/16
to jenkinsc...@googlegroups.com
SCM/JIRA link daemon commented on Bug JENKINS-37041
 
Re: If an older version of a detached plugin is already installed it does not get upgraded

Code changed in jenkins
User: Stephen Connolly
Path:
core/src/main/java/hudson/ClassicPluginStrategy.java
core/src/main/java/hudson/PluginManager.java
http://jenkins-ci.org/commit/jenkins/6ea7883fed497b68eec9f89ec89082edf1b39ce5
Log:
[FIXED JENKINS-37041] Ensure that detached plugins are always at least their minimum version

(cherry picked from commit 2a450e5ac2ecd83a54f05c83729852073601816e)

Reply all
Reply to author
Forward
0 new messages