VCS Automatically on agent ends up with timeout

Hi All,

I'm trying to configure TeamCity to work with git. I need to be able to push changes, I was using Automatically on Server and for what I get from the documentation I have to change it to be Automatically on agent. On server is working as expected but on agent is not working anymore in runs in a timeout.

I tried to change the logging to DEBUG on the VCS logger of the agent but I have no more information.

 

We are using gitblit with password authentication.

 

My agents are on the same machine as the TeamCity and are running under the Local System, I'

 

I hget this error:

[VCS Root: Master] No output from git during 1800 seconds. Try increasing idle timeout by setting parameter 'teamcity.git.idle.timeout.seconds' either in build or in agent configuration.

[Updating sources] Failed to perform checkout on agent: Timeout exception

 

Let me know if you need more information.

 

Thanks for your help,

Guillaume

0
1 comment

Hi Guillaume,

Using automatic checkout on agent is recommended, but not required for git to work. While I would suggest sticking with server-side if agent side doesn't work, could you please activate debug for the VCS on the agent, then try a build with agent-side checkout, and send us the logs in the build agent folder?

Activating the logs is explained here: https://confluence.jetbrains.com/display/TCD10/Viewing+Build+Agent+Logs#ViewingBuildAgentLogs-VCSDebugLogging

0

Please sign in to leave a comment.