Build can't find suitable agent even tho the compatible one is available with the required snapshot dependency
The build in question has a start time of ??? and reason is "No agents". And yet when I click on "No agents" it shows that the compatible agent is available; when I click on Dependencies for the queued build, it shows the dependent snapshot has a green checkmark and that dependency was built on the same agent (we have "Run on same agent" configured).
When this occurs, it appears that another unrelated build has been done on the compatible agent since the suitable dependency build was made - but if that makes the available dependency build not suitable, it shouldn't be listed in the queued build's "Dependencies" tab. Could this really be the reason for this issue?
The way I've found to fix it is to remove the desired build from the queue, run the dependency build on the compatible agent, and then re-queue the desired build.
Please sign in to leave a comment.
Ah - this is the same issue as https://youtrack.jetbrains.com/issue/TW-17561 - I didn't notice that the dependency build chosen was one not run on the same agent, even though there is an earlier build of the dependency that was made on the same agent. Eagerly awaiting a fix on TW-17561. Thank you.