You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not quite sure where to report this issue, but this seems like a reasonable place to start. The answer may well end up being somewhere else, however - I also faced this issue when updating plugins on my most recent Jenkins deployment. Declaring the commons-text-api as a top-level dependency worked there, which points to this being more than a test harness issue.
I've been updating some plugins from baseline Jenkins 2.375.4 to 2.387.3 and getting several failures from InjectedTest.testPluginActive that look like this:
[ERROR] InjectedTest.testPluginActive -- Time elapsed: 0.003 s <<< FAILURE!
java.lang.AssertionError: While testing build-name-setter, plugin-util-api failed to start
at org.jvnet.hudson.test.PluginAutomaticTestBuilder$OtherTests.testPluginActive(PluginAutomaticTestBuilder.java:98)
...
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.io.IOException: Failed to load: Plugin Utilities API Plugin (plugin-util-api 3.3.0)
- Plugin is missing: commons-text-api (1.10.0-36.vc008c8fcda_7b_)
- Plugin is missing: commons-lang3-api (3.12.0-36.vd97de6465d5b_)
plugin-util-api is not a dependency of the project. In looking at the dependencies of recent releases of plugin-util-api, I did not see anything to suggest this dependency was just dropped either. Here are a few examples where running mvn clean verify will reproduce the problem:
Hi,
I'm not quite sure where to report this issue, but this seems like a reasonable place to start. The answer may well end up being somewhere else, however - I also faced this issue when updating plugins on my most recent Jenkins deployment. Declaring the commons-text-api as a top-level dependency worked there, which points to this being more than a test harness issue.
I've been updating some plugins from baseline Jenkins 2.375.4 to 2.387.3 and getting several failures from
InjectedTest.testPluginActive
that look like this:plugin-util-api
is not a dependency of the project. In looking at the dependencies of recent releases of plugin-util-api, I did not see anything to suggest this dependency was just dropped either. Here are a few examples where runningmvn clean verify
will reproduce the problem:In one case I fixed the test by adding a test-scoped dependency, but a more centralized fix would be better.
jenkinsci/naginator-plugin@85c11e2
The text was updated successfully, but these errors were encountered: