-
Specific stage gets stuck in queue only on a specific machine
-
Shows position in queue: 1, but cannot connect to the agent, even though no other jobs are running and the queue is empty
-
All other stages work fine
-
Fault stage works fine on a different machine
-
Agent is online and enabled
-
All our agents are self hosted on local machines
-
This stage runs SonarQube analysis
-
Tried restarting agent, machine, install new one on the same machine
2
Answers
UPDATE: turns out Java had to be installed not only globally, but also for user account running agent
Check wether your Azure DevOps agent has the agent capabilities that may be needed by your stage. A stage may have certain demands that need to be satisfied by the agent.