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

Queue maintainance task is kicked off before global config / jobs are loaded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None

      the queue maintaince task is running before Jenkins has even loaded its configuration.

       

      The only protection in maintain is against Jenkins.getInstanceOrNull() returning null.

      I would have thought at a minimum the queue should not do anything before we have reached JOBS_LOADED.

       

      Sep 04, 2019 5:15:54 PM org.eclipse.jetty.server.Server doStart
      INFO: Started @2708ms
      Sep 04, 2019 5:15:54 PM winstone.Logger logInternal
      INFO: Winstone Servlet Engine v4.0 running: controlPort=disabled
      Sep 04, 2019 5:15:55 PM jenkins.InitReactorRunner$1 onAttained
      INFO: Started initialization
      Sep 04, 2019 5:15:57 PM jenkins.InitReactorRunner$1 onAttained
      INFO: Listed all plugins
      Sep 04, 2019 5:15:59 PM hudson.model.Queue maintain
      FINE: Queue maintenance started on hudson.model.Queue@7ebe628a with Queue.Snapshot{waitingList=[];blockedProjects=[];buildables=[];pendings=[]}
      Sep 04, 2019 5:15:59 PM hudson.model.Queue updateSnapshot
      FINEST: Queue.Snapshot{waitingList=[];blockedProjects=[];buildables=[];pendings=[]} ? Queue.Snapshot{waitingList=[];blockedProjects=[];buildables=[];pendings=[]}; leftItems={}
      Sep 04, 2019 5:15:59 PM hudson.model.Queue updateSnapshot
      FINEST: Queue.Snapshot{waitingList=[];blockedProjects=[];buildables=[];pendings=[]} ? Queue.Snapshot{waitingList=[];blockedProjects=[];buildables=[];pendings=[]}; leftItems={}
      Sep 04, 2019 5:16:04 PM hudson.model.Queue maintain
      FINE: Queue maintenance started on hudson.model.Queue@7ebe628a with Queue.Snapshot{waitingList=[];blockedProjects=[];buildables=[];pendings=[]}
      Sep 04, 2019 5:16:04 PM hudson.model.Queue updateSnapshot
      FINEST: Queue.Snapshot{waitingList=[];blockedProjects=[];buildables=[];pendings=[]} ? Queue.Snapshot{waitingList=[];blockedProjects=[];buildables=[];pendings=[]}; leftItems={}
      Sep 04, 2019 5:16:04 PM hudson.model.Queue updateSnapshot
      FINEST: Queue.Snapshot{waitingList=[];blockedProjects=[];buildables=[];pendings=[]} ? Queue.Snapshot{waitingList=[];blockedProjects=[];buildables=[];pendings=[]}; leftItems={}
      Sep 04, 2019 5:16:09 PM hudson.model.Queue maintain
      FINE: Queue maintenance started on hudson.model.Queue@7ebe628a with Queue.Snapshot{waitingList=[];blockedProjects=[];buildables=[];pendings=[]}
      Sep 04, 2019 5:16:09 PM hudson.model.Queue updateSnapshot
      FINEST: Queue.Snapshot{waitingList=[];blockedProjects=[];buildables=[];pendings=[]} ? Queue.Snapshot{waitingList=[];blockedProjects=[];buildables=[];pendings=[]}; leftItems={}
      Sep 04, 2019 5:16:09 PM hudson.model.Queue updateSnapshot
      FINEST: Queue.Snapshot{waitingList=[];blockedProjects=[];buildables=[];pendings=[]} ? Queue.Snapshot{waitingList=[];blockedProjects=[];buildables=[];pendings=[]}; leftItems={}
      Sep 04, 2019 5:16:13 PM jenkins.InitReactorRunner$1 onAttained
      INFO: Prepared all plugins 

       

            Unassigned Unassigned
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: