TFS Build Errors -
If you happen run into below errors -
The job has been abandoned because agent Agent1-XXXX did not renew the lock. Ensure agent is running, not sleeping, and has not lost communication with the service.
-Or- Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentSessionConflictException: The task agent Agent1-XXXX already has an active session for owner XXXX.
Resolution -
- Make sure VSO agent running on TFS Build server
- Restart Source control servers services (your code repository aka TFS Server)
-- Visual Studio Team Foundation Background Job Agent - TFSJobAgent
-- Visual Studio Team Foundation Build Service Host 2015 - TFSBuildServiceHost.2013
Hope this resolves your issue too.
Comments