Weird behaviour after plugin updates

446 views
Skip to first unread message

christop...@googlemail.com

unread,
Jan 19, 2023, 5:06:41 AM1/19/23
to Jenkins Users
Hi,

since a couple of months I'm observing a weird behavior of my jenkins installation after plugin upgrades.

I am running LTS (currently 2.375.2) on a windows server and updating very close to each kind of update releases (jenkins itself as well as plugins).
After updates using plugin manager I manually restart the windows service (in the past I had cases where builds after a restart suddenly were very slow. A service restart avoids that.

Now the issue: right after a restart after an update I can't start jobs manually and I did not find out yet what makes them start again. Might be a couple of restarts in a row. Might be a delay of a fixed time. I don't know and that makes me nervous every time.

Is there an intended delay after upgrades (how long?) or is this some sort of bug?

BR,
Christoph

christop...@googlemail.com

unread,
Jan 19, 2023, 8:38:05 AM1/19/23
to Jenkins Users
Ah, and when I'm talking about random effects after an upgrade combined with a restart: I observed lost labels of lockable resources since a similar period of time. This happened also right now after the last upgrade.

christop...@googlemail.com

unread,
Jan 31, 2023, 4:56:25 AM1/31/23
to Jenkins Users
This morning it happened again just after the update of two plugins.

I found a lot of this in the log:

Caught exception evaluating: h.getJobPropertyDescriptors(it) in /view/XXX/job/YYY/configure. Reason: java.lang.IllegalStateException: The class jenkins.security.QueueItemAuthenticatorConfiguration was not found, potentially not yet loaded java.lang.IllegalStateException: The class jenkins.security.QueueItemAuthenticatorConfiguration was not found, potentially not yet loaded    at hudson.ExtensionList.getInstance(ExtensionList.java:166)    at jenkins.security.QueueItemAuthenticatorConfiguration.get(QueueItemAuthenticatorConfiguration.java:60)    at org.jenkinsci.plugins.authorizeproject.ProjectQueueItemAuthenticator.getConfigured(ProjectQueueItemAuthenticator.java:178)    at org.jenkinsci.plugins.authorizeproject.ProjectQueueItemAuthenticator.isConfigured(ProjectQueueItemAuthenticator.java:190)    at org.jenkinsci.plugins.authorizeproject.AuthorizeProjectProperty$DescriptorImpl.isApplicable(AuthorizeProjectProperty.java:178)    at hudson.model.JobPropertyDescriptor.getPropertyDescriptors(JobPropertyDescriptor.java:101)    at hudson.Functions.getJobPropertyDescriptors(Functions.java:932)    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)    at java.base/java.lang.reflect.Method.invoke(Unknown Source)    at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)    at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
...

christop...@googlemail.com

unread,
Apr 21, 2023, 2:39:36 AM4/21/23
to Jenkins Users
It didnÄt appear for a while so I hoped the problem was solved but after the last update it happened again.
Even the scheduled builds don't run when this happens...

Björn Pedersen

unread,
Apr 21, 2023, 4:38:31 AM4/21/23
to Jenkins Users
From the backtrace and the description is seems a problem with the authorize-project plugin and restarts ( I guess the limitations for Run as user who started the job apply for restarts/resumed jobs  as well, as these are essentially scheduled jobs after the restart). 
So you would need to make sure you only restart the server with no jobs active/queued.

Björn

christop...@googlemail.com

unread,
Apr 21, 2023, 6:57:51 AM4/21/23
to Jenkins Users
thanks for the comment.
Usually I am restarting without any jobs running. This time I am sure no one ran.
Reply all
Reply to author
Forward
0 new messages