[JIRA] (JENKINS-12803) Installing plugin (without restarting) is broken with other non-refreshable extension.
Title: Message Title Jason Jardina reopened an issue Jenkins / JENKINS-12803 Installing plugin (without restarting) is broken with other non-refreshable extension. Change By: Jason Jardina Resolution: Fixed Status: Resolved Reopened Assignee: sogabe Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.143261.1329392148000.1692.1575568320543%40Atlassian.JIRA.
[JIRA] (JENKINS-12803) Installing plugin (without restarting) is broken with other non-refreshable extension.
Title: Message Title Jason Jardina commented on JENKINS-12803 Re: Installing plugin (without restarting) is broken with other non-refreshable extension. Can this be reopened, possible regression? I just had this happen to me: I'm running Jenkins 2.190.3, following instructions here: https://help.veracode.com/reader/PgbNZUD7j8aY7iG~hQZWxQ/_4G8gT1rhWMgVVtCI1C57A I downloaded the Veracode Jenkins Plugin, custom hpi plugin. When I get to step 5, upload the plugin, it starts to install and I get the following error: veracode-jenkins-plugin [http://10.0.3.131:8080/static/ed09d5fa/images/24x24/red.png Failure - jenkins.ExtensionRefreshException: org.jvnet.hudson.test.TestExtensionLoader@9ac9542> doesn't support refresh at jenkins.model.Jenkins.refreshExtensions(Jenkins.java:2670) at hudson.PluginManager.start(PluginManager.java:951) at hudson.PluginManager.dynamicLoad(PluginManager.java:935) Caused: java.io.IOException: Failed to install veracode-jenkins-plugin plugin at hudson.PluginManager.dynamicLoad(PluginManager.java:942) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2052) Caused: java.io.IOException: Failed to dynamically deploy this plugin at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2056) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1740) 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:112) at java.lang.Thread.run(Thread.java:748) Even though the error presented itself and showed failure for install of plugin. I rebooted the Jenkins server and it showed installed in the plugin section. I then was able to use the plugin successfully. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
[JIRA] (JENKINS-12803) Installing plugin (without restarting) is broken with other non-refreshable extension.
Gavriil Konovalenko commented on JENKINS-12803 Installing plugin (without restarting) is broken with other non-refreshable extension. Hi evernat, A year has passed, but as I remember the issue is that I'd try to install other plugin not this. And installation process failed due to non-refreshable extension was activated. So I expect that installation of one plugin shouldn't be affected with other extension. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] (JENKINS-12803) Installing plugin (without restarting) is broken with other non-refreshable extension.
evernat commented on JENKINS-12803 Installing plugin (without restarting) is broken with other non-refreshable extension. I understand your point of view now. It makes sense. But I think that the best solution is that this Persona plugin just upgrades its parent Jenkins dependency. And so that a "refresh()" method is added in hudson.plugins.persona.xml.XmlPersonaFinder It would make it compatible with installing a plugin without restarting. Anyway, this issue is probably valid and needs to be fixed one way or the other. (But I am not the author of the persona plugin) This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] (JENKINS-12803) Installing plugin (without restarting) is broken with other non-refreshable extension.
evernat updated JENKINS-12803 Installing plugin (without restarting) is broken with other non-refreshable extension. Change By: evernat (15/Feb/13 9:12 PM) Component/s: persona This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] (JENKINS-12803) Installing plugin (without restarting) is broken with other non-refreshable extension.
evernat commented on JENKINS-12803 Installing plugin (without restarting) is broken with other non-refreshable extension. @Gravrill And so this plugin currently says that its extension is not refreshable and you hope that it can be installed without restarting? I would say that something like this, saying that it can not be refreshed and so that it can not be installed without restarting is expected. In fact, if this plugin and the update-center can not do that, they should certainly say it. What do you expect instead? This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] (JENKINS-12803) Installing plugin (without restarting) is broken with other non-refreshable extension.
evernat edited a comment on JENKINS-12803 Installing plugin (without restarting) is broken with other non-refreshable extension. @Gavriil And so this plugin currently says that its extension is not refreshable and you hope that it can be installed without restarting? I would say that something like this, saying that it can not be refreshed and so that it can not be installed without restarting is expected. In fact, if this plugin and the update-center can not do that, they should certainly say it. What do you expect instead? This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] (JENKINS-12803) Installing plugin (without restarting) is broken with other non-refreshable extension.
Gavriil Konovalenko created JENKINS-12803: - Summary: Installing plugin (without restarting) is broken with other non-refreshable extension. Key: JENKINS-12803 URL: https://issues.jenkins-ci.org/browse/JENKINS-12803 Project: Jenkins Issue Type: Bug Components: update-center Affects Versions: current Reporter: Gavriil Konovalenko Priority: Minor Fix For: current Installing plugins without restart don't work in case if non-refreshable extension is activated. In my case I had https://wiki.jenkins-ci.org/display/JENKINS/Persona+Plugin installed, and received following exception: hudson.util.IOException2: Failed to dynamically deploy this plugin at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1137) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:955) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: hudson.util.IOException2: Failed to install build-name-setter-plugin plugin at hudson.PluginManager.dynamicLoad(PluginManager.java:365) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1133) ... 7 more Caused by: jenkins.ExtensionRefreshException: hudson.plugins.persona.xml.XmlPersonaFinder@1664d71 doesn't support refresh at jenkins.model.Jenkins.refreshExtensions(Jenkins.java:1970) at hudson.PluginManager.dynamicLoad(PluginManager.java:358) ... 8 more -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-12803) Installing plugin (without restarting) is broken with other non-refreshable extension.
[ https://issues.jenkins-ci.org/browse/JENKINS-12803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=159162#comment-159162 ] Gavriil Konovalenko commented on JENKINS-12803: --- In the code, I see that ExtensionRefreshException thrown in Jenkins.refreshExtensions() is handled to raise IOException2 and fail plugin installation process. So it seems that such behavior is by design? If so, then I'd suggest to change this behavior, and this bug report should be reclassified as feature request. Installing plugin (without restarting) is broken with other non-refreshable extension. -- Key: JENKINS-12803 URL: https://issues.jenkins-ci.org/browse/JENKINS-12803 Project: Jenkins Issue Type: Bug Components: update-center Affects Versions: current Reporter: Gavriil Konovalenko Priority: Minor Labels: exception, install, jenkins, plugin Fix For: current Installing plugins without restart don't work in case if non-refreshable extension is activated. In my case I had https://wiki.jenkins-ci.org/display/JENKINS/Persona+Plugin installed, and received following exception: hudson.util.IOException2: Failed to dynamically deploy this plugin at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1137) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:955) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: hudson.util.IOException2: Failed to install build-name-setter-plugin plugin at hudson.PluginManager.dynamicLoad(PluginManager.java:365) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1133) ... 7 more Caused by: jenkins.ExtensionRefreshException: hudson.plugins.persona.xml.XmlPersonaFinder@1664d71 doesn't support refresh at jenkins.model.Jenkins.refreshExtensions(Jenkins.java:1970) at hudson.PluginManager.dynamicLoad(PluginManager.java:358) ... 8 more -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira