cvs error with 3.0.1

I have just installed TeamCity 3.0.1 on a Solaris 10 virtual server. When I try to establish a connection with CVS using the same settings I use with IDEA, and click "Test Connection", the process hangs and then fails. When I run the build from the "Projects" page, the following error is produced:

14:12:39]: Could not get project sources: for build #7[14:12:39]: jetbrains.buildServer.vcs.VcsException: Getting sources for checkout rule '.=>.' failed with erorr: java.net.SocketTimeoutException: Read timed out
jetbrains.buildServer.vcs.VcsException: Getting sources for checkout rule '.=>.' failed with erorr: java.net.SocketTimeoutException: Read timed out
at jetbrains.buildServer.vcs.VcsSupportUtil.buildPatch(VcsSupportUtil.java:14)
at jetbrains.buildServer.buildTriggers.vcs.cvs.CvsSupport.buildPatch(CvsSupport.java:185)
at jetbrains.buildServer.serverSide.impl.projectSources.PatchComposer.buildPatch(PatchComposer.java:39)
at jetbrains.buildServer.serverSide.impl.projectSources.PatchComposer.buildPatch(PatchComposer.java:104)
at jetbrains.buildServer.serverSide.impl.projectSources.PatchComposer.buildPatch(PatchComposer.java:76)
at jetbrains.buildServer.serverSide.impl.BuildTypeImpl.buildPatch(BuildTypeImpl.java:354)
at jetbrains.buildServer.serverSide.impl.BuildTypeImpl$$FastClassByCGLIB$$a84db719.invoke() at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:696) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at jetbrains.buildServer.serverSide.impl.auth.TeamCityMethodSecurityInterceptor.invoke(TeamCityMethodSecurityInterceptor.java:16) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:578) at jetbrains.buildServer.serverSide.impl.BuildTypeImpl$$EnhancerByCGLIB$$4ccea7c2.buildPatch(]]>)
at jetbrains.buildServer.serverSide.impl.BuildStarter$3.run(BuildStarter.java:19)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: jetbrains.buildServer.vcs.VcsException: java.net.SocketTimeoutException: Read timed out
at jetbrains.buildServer.buildTriggers.vcs.cvs.CvsCommandExecutor.executeServerCommand(CvsCommandExecutor.java:11)
at jetbrains.buildServer.buildTriggers.vcs.cvs.RLogCommandExecutor.executeRLogCommand(RLogCommandExecutor.java:17)
at jetbrains.buildServer.buildTriggers.vcs.cvs.CvsPatchProvider.executeDiffCommand(CvsPatchProvider.java:4)
at jetbrains.buildServer.buildTriggers.vcs.cvs.CvsPatchProvider.processPatch(CvsPatchProvider.java:17)
at jetbrains.buildServer.buildTriggers.vcs.cvs.CvsPatchProvider.buildPatch(CvsPatchProvider.java:22)
at jetbrains.buildServer.buildTriggers.vcs.cvs.CvsSupport.buildPatch(CvsSupport.java:146)
at jetbrains.buildServer.vcs.VcsSupportUtil.buildPatch(VcsSupportUtil.java:23)
... 20 more
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
at jetbrains.buildServer.buildTriggers.vcs.cvs.CvsCommandSessionBase$3.read(CvsCommandSessionBase.java:11)
at jetbrains.buildServer.buildTriggers.vcs.cvs.CvsCommandSessionBase$3.read(CvsCommandSessionBase.java:10)
at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)
at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
at sun.nio.cs.StreamDecoder.read0(StreamDecoder.java:132)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:118)
at java.io.InputStreamReader.read(InputStreamReader.java:151)
at org.netbeans.lib.cvsclient.RequestProcessor.readResponse(RequestProcessor.java:253)
at org.netbeans.lib.cvsclient.RequestProcessor.handleResponses(RequestProcessor.java:236)
at org.netbeans.lib.cvsclient.RequestProcessor.processRequests(RequestProcessor.java:163)
at org.netbeans.lib.cvsclient.RequestProcessor.processRequests(RequestProcessor.java:81)
at jetbrains.buildServer.buildTriggers.vcs.cvs.RlogCommand.execute(RlogCommand.java:66)
at jetbrains.buildServer.buildTriggers.vcs.cvs.CvsCommandExecutor.executeServerCommand(CvsCommandExecutor.java:44)
... 26 more


Anyone have any insight into this problem?

Thanks

1 comment

I decided to go with the ssh option, which worked. I'd be interested to know if anyone else has had a problem using pserver with CVS through TeamCity.

0

Please sign in to leave a comment.