Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Online - Build - There are agents that are capable of running the build, but they are not online

When I queue manually a new build in Visual Studio Online, I start to receive a pop up with the following message :

"There are issues with the request or definition that may prevent the build from running:

There are agents that are capable of running the build, but they are not online. If the agent is configured to run as a service, ensure that the "VSO Agent ({agent name})" service is running.

Queue the build anyway?"

If I say yes, I receive this error :

" The working folder C:\a\aea16038...\Homebanking PT is already in use by the workspace ws_aea16038_1;Project Collection Build Service on computer TASKAGENT-0001. The working folder C:\a\aea16038...\Homebanking PT is already in use by the workspace ws_aea16038_1;Project Collection Build Service on computer TASKAGENT-0001. "

I would like to add, that the builds was working fine and suddenly I start to have issue.

like image 323
Carlos Costa Avatar asked Mar 16 '23 17:03

Carlos Costa


1 Answers

This is a known error. What happened was that the team added a check if your Agent is online before queueing a build. However, in Visual Studio Online your Agent is always offline. After the build is queued the system launches an Agent for you.

This means that you can just hit OK and ignore the warning. The build will then eventually start after an Agent has launched.

The workspace error can most of the time be fixed by queueing a new build and just ignoring the error. You can also play with the option to clean the workspace.

This bug will be fixed in one of the coming Sprints.

like image 152
Wouter de Kort Avatar answered Apr 09 '23 02:04

Wouter de Kort