Open timja opened 10 years ago
Hello,
Jenkins: 1.544
Ownership plugin: 0.3.1
Role-stratgy plugin: do not use it
Have you seen the issue before the update to 1.544?
I test the plugin on 1.509.3, 1.509.4 and 1.532.1, so there can be issues in "Latest and Sometimes Stable" versions.
The issue is quite similar to JENKINS-17425, but it requires some investigation.
I am not sure which version of Jenkins it started to appear?
But I think it was before 1.544. I think it might have been a couple of versions before.
I will try to see if I can dig out some more info.
I confirm the issue. It appears when role-strategy plugin is not installed.
All classes in the log implement RoleMacro extension from this plugin. This dependency is optional, so class loading issues should be a normal case.
I'll check changes in PluginManager classes and the re-assign the issue to Jenkins Core
I've updated the issue's description and re-assigned it to the Jenkins core.
Hopefully, somebody will continue its analysis.
[Originally related to: JENKINS-17425]
// This issue has been originally created by Per Arnold Blaasmo for RoleMacro extensions in Ownership plugin.
Seems that ClassicPluginStrategy improperly searches for extensions, which use optional dependencies of plugin. It leads to warnings inside plugin loading procedures.
Reproduction steps:
Analysis results:
Class loading stack trace:
The log fills up with the following warnings from the ownership plugin:
Originally reported by pablaasmo, imported from: Loading of non-describable extensions with missing optional dependencies leads toWarnings inside Jenkins log