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

Regression: Job stuck in queue waiting forever after upgrade

      I "apt dist-upgrade"-d my build Jenkins server, and was updated from 2.204.4 to 2.222.1, and now I am running into issues.

      The major issue is that my throttled builds do not work. I have a build (see attached creenshot)
      that is configured with throttling:

      <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.2">
      <maxConcurrentPerNode>1</maxConcurrentPerNode>
      <maxConcurrentTotal>1</maxConcurrentTotal>
      <categories class="java.util.concurrent.CopyOnWriteArrayList">
      <string>vm-installer</string>
      <string>kickstart-repo</string>
      </categories>
      <throttleEnabled>true</throttleEnabled>
      <throttleOption>category</throttleOption>
      <limitOneJobWithMatchingParams>true</limitOneJobWithMatchingParams>
      <matrixOptions>
      <throttleMatrixBuilds>false</throttleMatrixBuilds>
      <throttleMatrixConfigurations>true</throttleMatrixConfigurations>
      </matrixOptions>
      <paramsToUseForLimit></paramsToUseForLimit>
      <configVersion>1</configVersion>
      </hudson.plugins.throttleconcurrents.ThrottleJobProperty>

      It is set up to build on a single node:

      <hudson.matrix.LabelAxis>
      <name>label</name>
      <values>
      <string>kickstartbuild</string>
      </values>
      </hudson.matrix.LabelAxis>

      The pop-up says that is waiting for the next available executor, which is "master", which is the only one satisfying this label. It is idle, but Jenkins is still waiting.

      The configuration worked fine before upgrading. Restarting Jenkins does not help.

          [JENKINS-61779] Regression: Job stuck in queue waiting forever after upgrade

          Peter Krefting created issue -
          Peter Krefting made changes -
          Summary Original: Regression: Job stock in queue waiting forever after upgrade New: Regression: Job stuck in queue waiting forever after upgrade
          John Rocha made changes -
          Priority Original: Minor [ 4 ] New: Blocker [ 1 ]
          Alex Gray made changes -
          Attachment New: master_node.gif [ 50910 ]
          Daniel Beck made changes -
          Labels Original: regression throttle New: lts-candidate regression throttle
          Tim Jacomb made changes -
          Labels Original: lts-candidate regression throttle New: regression throttle
          Daniel Beck made changes -
          Labels Original: regression throttle New: lts-candidate regression throttle
          Mark Waite made changes -
          Labels Original: lts-candidate regression throttle New: regression throttle

            Unassigned Unassigned
            nafmo Peter Krefting
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: