I have the following question on how jobs are scheduled onto agents in an Agent pool.
AzDO Job Scheduling on Agents
This pertains to HOW the AzDO pipeline decides to pick which of the agents from the pool to run jobs. The expectation is that jobs will be evenly distributed across the agents in the pool. However, we are noticing that only one of the agents is repeatedly the target of job executions, and this is skewing up the agent usage and rest of the agents are idling, while jobs are waiting. I examined if there are any demand/capabilities placed on the agents and there are none. Questions: -
- What is the algorithm or job scheduling policy used to pick the agents? Is there any default stickiness once the job starts landing in an agent, meaning once an agent is selected from a pool then subsequent jobs get sticky to the same agent?
- Why is only a single agent out of multiple agents in a pool getting used, while rest of agents are idling.