microsoft / vso-agent

Visual Studio Team Services and TFS agent for Mac OSX and Linux
MIT License
131 stars 56 forks source link

Agent did not renew lock on Java builds #285

Closed aes-charts closed 8 years ago

aes-charts commented 8 years ago

Hi There We are getting below error while running Java build with ant scripts. (): The job has been abandoned because agent AE-DT01-CI05_Lnx03 did not renew the lock. Ensure agent is running, not sleeping, and has not lost communication with the service.

tarunaroraonline commented 8 years ago

@aes-charts I think i know what the problem is, look at the agent control panel in administration console https://.visualstudio.com/_admin/_AgentPool?hubGroupId=ms.vss-web.account-admin-hub-group&poolId=1&_a=agents. Look at agent capabilities, this will show you the agent properties. Look at agent AE-DT01-CI05_Lnx04 and AE-DT01-CI05_Lnx03, they both are configured on machine AE-DT01-CI05 and share the same config file.

bryanmacfarlane commented 8 years ago

0.6.5 has the fix where it could hang. See releases in this repo