title: Jenkins pipelines stuck - Waiting for next available executor
body: <p>I have a pipeline script with <code>agent any</code> which doesn't work anymore.</p>
  
  <p>It is stuck @ <strong><code>Waiting for next available executor</code></strong></p>
  
  <pre><code>pipeline {
      agent any
      stages {
          stage('Stage1') {
              steps {
                  sh 'java -version'
              }
          }
          stage('Stage2'){
           steps {
              container('docker') {
                  sh 'docker version'
              }
            }
          }
      }
  }
  </code></pre>
  
  <p>If I update it to use agent kubernetes then it starts working again.</p>
  
  <pre><code>pipeline {
      agent {
          kubernetes {
              label "team-abc-jenkins-slave-${UUID.randomUUID().toString()}"
              defaultContainer 'jnlp'
          }
      }
      stages {
          stage('Stage1') {
              steps {
                  sh 'java -version'
              }
          }
          stage('Stage2') {
           steps {
              container('docker') {
                  sh 'docker version'
              }
            }
          }
      }
  }
  </code></pre>
  
  <p>It was working fine few days back and then stopped working. I am on <code>Jenkins ver. 2.190.2</code></p>
  
  <p><a href="https://i.stack.imgur.com/7zrZF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7zrZF.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/mtPyS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mtPyS.png" alt="enter image description here"></a></p>
  
  <p>As you can see that a node/slave is started but its suspended</p>
  
  <p><a href="https://i.stack.imgur.com/DjetW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DjetW.png" alt="enter image description here"></a></p>