Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-62294

Jenkins not authorized to run jobs on any worker

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • core
    • Jenkins 2.236-alpine in a docker image

      I use the role based authentication strategy with an LDAP backend. The list of plugins I use is long, so I've attached them as a CSV.

      On updating from 2.230 to 2.236, Jenkins was unable to run tasks. They all sit in the queue waiting for an executor on their node. All nodes are connection and have all executor slots free. The UI suggests the tasks are not permitted to run on the configured nodes.

      In the log I get one of these for each task that is added to the queue:

      2020-05-15 01:59:21.049+0000 [id=48]	SEVERE	hudson.triggers.SafeTimerTask#run: Timer task hudson.model.Queue$MaintainTask@235d18c4 failed
      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:61)
      	at jenkins.security.QueueItemAuthenticatorConfiguration$ProviderImpl.getAuthenticators(QueueItemAuthenticatorConfiguration.java:70)
      	at jenkins.security.QueueItemAuthenticatorProvider$IteratorImpl.hasNext(QueueItemAuthenticatorProvider.java:44)
      	at hudson.model.Queue$Item.authenticate(Queue.java:2331)
      	at hudson.model.Node.canTake(Node.java:401)
      	at hudson.model.Queue$JobOffer.getCauseOfBlockage(Queue.java:276)
      	at hudson.model.Queue.maintain(Queue.java:1633)
      	at hudson.model.Queue$MaintainTask.doRun(Queue.java:2904)
      	at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:91)
      	at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:58)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      

      Downgrading to the previous version I ran (2.230), without downgrading any of the plugins, resolved the issue, so I've picked "core" as component.

        1. plugins.csv
          14 kB
          Peter Lieverdink

            Unassigned Unassigned
            cafuego Peter Lieverdink
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: