title: Azure DevOps YAML build pipeline stuck on self-hosted agent
body: <p>I have an issue with running a YAML based build pipeline on self-hosted agents. After the build is triggered, it gets stuck on <strong>Preparing an agent for the job</strong> - <strong>Waiting for the request to be queued</strong>.</p>
  
  <p>The azure-pipelines.yml looks like this:</p>
  
  <pre><code>trigger:
  - master
  
  pool:
    name: Default
  
  steps:
  - script: echo Hello, world!
    displayName: 'Run a one-line script'
  </code></pre>
  
  <p>If I change to a Microsoft hosted agent, the build does work:</p>
  
  <pre><code>trigger:
  - master
  
  pool:
    vmImage: ubuntu-16.04
  
  steps:
  - script: echo Hello, world!
    displayName: 'Run a one-line script'
  </code></pre>
  
  <p>The strange thing is that I have other existing YAML build pipelines that is working fine on the self-hosted agents, but all new pipelines I try to create just ends up getting stuck with <strong>Waiting for the request to be queued</strong>.</p>
  
  <p>I have tried on what is currently the latest versions of the agent daemon, both 2.164.8 and 2.165.0, to no avail. I have also checked that I am not being limited by the maximum number of parallel jobs in DevOps.</p>