Hi guys,
as our build servers are sometimes blocked by low I/O performance of its VMware host our build stages sometimes failed due to a expired timeout for the server to workspace sync. This problem is not induced by a huge number of new changesets. The error even occurs if there are no new changesets in our Git repository. It seems to be a timeout during a local checkout on the agent. This is the command line for the failed mercurial command:
An error occurred while syncing files from the server to the agent. Details: Exception: ProcessException
Message: Running C:\Program Files\VSoft Technologies\ContinuaCI Agent\hg\hg.exe with arguments “archive -r c76ab7fdf7128d73951127fb4287ef01a41f2508 -X “re:(?i)^(._Continua_CI_empty_changeset_marker)$” -X “re:(?i)^(._Continua_CI_file_hash_dictionary)$” --subrepos -R C:\ContinuaCI\Repos\da38c763 C:\ContinuaCI\Ws\14951\Source --config ui.username=Continua --noninteractive --encoding cp1252” on agent failed with return code -2147483648 and error output: "The process timed out or was forcibly terminated after 1h 0m 1s 741ms. The timeout was 1h 0m 0s 0ms."
Is there a way to increase the timeout?
Kind regards
Kay Zumbusch
Hi Kay,
We’ve added a Server.RepoCache.ExportTimeoutInSeconds property so you can adjust the timeout. This will be included the next version released in a day or two.
The timeout is happening while copying files from the repository cache to the agent workspace. Each build stage starts with a clean workspace - files are copied to that workspace according to the repository rules in the stage options dialog.
We would recommend that you adjust your repository rules, if possible, to include only the files that are required for the actions in your build stage.
Hi Dave,
thanks for the added feature. I’ll give it a try. Unfortunately our repository rules are already properly set. All applications that are required for the build are installed to the build server and the repository just keeps our source code and dependencies. We will not be able to reduce the number of files getting synced from the repository cache to the working copy.
Kind regards
Kay Zumbusch