Retrying on CVS connection resets

Hi

We're using TeamCity Enterprise Version 3.1 (build 6760).

Our builds fail when the CVS connection is reset. Sample log below.

Is there a configuration setting that makes TeamCity retry when the connection is reset ? It is normal for our CVS servers to drop connections when they're under heavy load. We don't want the build to break just because of that.

Regards,
Hussain

Log:
Error while loading changes: Checking changes for checkout rule 'src=>src failed with erorr: I/O error while connecting to host ###. (Connection reset) for root '## #110
: jetbrains.buildServer.vcs.VcsException: org.netbeans.lib.cvsclient.connection.AuthenticationException: I/O error while connecting to host ###.
jetbrains.buildServer.vcs.VcsException: org.netbeans.lib.cvsclient.connection.AuthenticationException: I/O error while connecting to host ###.
at jetbrains.buildServer.buildTriggers.vcs.cvs.CvsCommandExecutor.executeAgentCommand(CvsCommandExecutor.java:136)
at jetbrains.buildServer.buildTriggers.vcs.cvs.UpdateCommandExecutor.updateDirectory(UpdateCommandExecutor.java:52)
at jetbrains.buildServer.buildTriggers.vcs.cvs.CvsCheckoutOnAgent.updateSources(CvsCheckoutOnAgent.java:24)
at jetbrains.buildServer.agent.impl.patch.GetProjectSources.checkoutSources(GetProjectSources.java:272)
at jetbrains.buildServer.agent.impl.patch.GetProjectSources.execute(GetProjectSources.java:98)
at jetbrains.buildServer.agent.impl.BuildAgentImpl$BuildRunAction.run(BuildAgentImpl.java:1034)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.netbeans.lib.cvsclient.connection.AuthenticationException: I/O error while connecting to host ###.
at org.netbeans.lib.cvsclient.connection.PServerConnection.openConnection(PServerConnection.java:197)
at org.netbeans.lib.cvsclient.connection.PServerConnection.open(PServerConnection.java:97)
at org.netbeans.lib.cvsclient.RequestProcessor.openConnection(RequestProcessor.java:92)
at org.netbeans.lib.cvsclient.RequestProcessor.processRequests(RequestProcessor.java:79)
at org.netbeans.lib.cvsclient.command.checkout.CheckoutCommand.expandModules(CheckoutCommand.java:196)
at org.netbeans.lib.cvsclient.command.checkout.CheckoutCommand.execute(CheckoutCommand.java:75)
at jetbrains.buildServer.buildTriggers.vcs.cvs.CvsCommandExecutor.executeAgentCommand(CvsCommandExecutor.java:131)
... 6 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at jetbrains.buildServer.buildTriggers.vcs.cvs.CvsCommandSessionBase$3.read(CvsCommandSessionBase.java:89)
at org.netbeans.lib.cvsclient.io.StreamUtilities.readLineBytes(StreamUtilities.java:41)
at org.netbeans.lib.cvsclient.io.StreamUtilities.readLine(StreamUtilities.java:34)
at org.netbeans.lib.cvsclient.connection.PServerConnection.openConnection(PServerConnection.java:172)

1 comment
Comment actions Permalink

Pavel suggested we update to 3.1.2 version and enable VCS logging: http://www.jetbrains.net/confluence/display/TCD3/Reporting+Issues#ReportingIssues-vcs

We're working on this.

Thanks
Hussain

0

Please sign in to leave a comment.