git: Checking for changes intermittent failure

I'm using the git plug for TeamCity running approximately 10 projects.

Every so often a build will indefinitely hang on "Checking for changes". Nothing short of a server restart fixes it.

I've read a few discussions about outdated TeamCity instances and plugins but ours is up-to-date.

I've done a little digging through the TeamCity logs and found that it appears to fail on the git fetch command(every now and again), and this appears to be causing the indefinite hang.

Is there a solution for this?

Here is a snippet of the log w/ certain info removed.

[2011-12-01 14:46:16,278]   INFO [p-8080-7 /RPC2 ] -      jetbrains.buildServer.VCS - Patch applied for agent=teamcity {host=127.0.0.1}, buildType=******************** {id=bt19}, root=git@github.com******************** {instance id=14, parent id=11}, version=***********************************
[2011-12-01 15:27:18,727]   WARN [CS executor 142] -      jetbrains.buildServer.VCS - Error while loading current vcs revision for root 'git@github.com:******************** {instance id=4, parent id=3}', id=4: 'git fetch' command failed.
[2011-12-01 15:27:18,727]   INFO [rmal executor 5] -      jetbrains.buildServer.VCS - Collecting changes for build configurations [******************** {id=bt6}] interrupted or failed
[2011-12-01 15:27:24,414]   WARN [utor 143 {id=4}] -      jetbrains.buildServer.VCS - Error while loading current vcs revision for root 'git@github.com:******************** {instance id=4, parent id=3}', id=4: 'git fetch' command failed.
[2011-12-01 15:27:24,414]   WARN [utor 143 {id=4}] -      jetbrains.buildServer.VCS - Error while loading changes for root git@github.com:******************** {instance id=4, parent id=3}, cause: 'git fetch' command failed.
[2011-12-01 15:44:07,017]   INFO [6 {id=4} {id=4}] -      jetbrains.buildServer.VCS - Finish collecting changes for git@github.com:******************** {instance id=4, parent id=3} from version ******************** to version ********************; 1 changes collected 1 changes reported, time spent: 172ms

Please sign in to leave a comment.