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

Regression: Job stuck in queue waiting forever after upgrade

XMLWordPrintable

      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.

        1. master_node.gif
          1.23 MB
          Alex Gray
        2. waiting.png
          30 kB
          Peter Krefting

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

              Created:
              Updated: