TeamCity agent subversion connection problem

We are trying to add two build agents on Vista machines (as a service) to a TeamCity server running on a Mac mini. The build configuration works correctly on the Mac mini and the default build agent, but fails when trying to check out the project on both the Vista machines. (stack trace below)

On the Vista machines we can access the subversion repository using the latest version of svnkit. But the TeamCity build agents always fail with the stack trace below.

Does anybody got any idea where to start looking for the problem/solution?

thanks,
Ruben


Checking for changes
[13:46:09]: Clearing temporary directory: C:\BuildAgent\temp\buildTmp
[13:46:10]: Checkout directory: C:\BuildAgent\work\14f764e89ccb396f
[13:46:10]: Updating sources: agent side checkout... (21s)
[13:46:10]: [Updating sources: agent side checkout...] Will perform clean checkout. Reason: Checkout directory is empty or doesn't exist
[13:46:10]: [Updating sources: agent side checkout...] Cleaning C:\BuildAgent\work\14f764e89ccb396f
[13:46:10]: [Updating sources: agent side checkout...] VCS Root: Agora trunk (21s)
[13:46:10]: [VCS Root: Agora trunk] revision: 3850_2011/02/03 09:56:18 +0100
[13:46:10]: [VCS Root: Agora trunk] Will use fast SVN update
[13:46:31]: [Updating sources: agent side checkout...] Failed to perform checkout on agent: java.lang.RuntimeException: svn: connection refused by the server svn: OPTIONS request failed on '/svn/mcsi/trunk' jetbrains.buildServer.vcs.VcsException: java.lang.RuntimeException: svn: connection refused by the server svn: OPTIONS request failed on '/svn/mcsi/trunk'      at jetbrains.buildServer.vcs.svn.SvnCheckoutOnAgentSupport$SvnSourceUpdater.checkoutSources(SvnCheckoutOnAgentSupport.java:195)      at jetbrains.buildServer.vcs.svn.SvnCheckoutOnAgentSupport$1.process(SvnCheckoutOnAgentSupport.java:69)      at jetbrains.buildServer.agent.impl.vcs.CheckoutByIncludeRuleAdapter$4.updateSources(CheckoutByIncludeRuleAdapter.java:98)      at jetbrains.buildServer.agent.impl.patch.ProjectSourcesOnAgent.checkoutSources(ProjectSourcesOnAgent.java:72)      at jetbrains.buildServer.agent.impl.patch.UpdateSourcesFromAgent.updateSources(UpdateSourcesFromAgent.java:60)      at jetbrains.buildServer.agent.impl.patch.UpdateSourcesBuildStageBase.doSourceUpdate(UpdateSourcesBuildStageBase.java:90)      at jetbrains.buildServer.agent.impl.patch.UpdateSourcesBuildStageBase.doRecoverableStage(UpdateSourcesBuildStageBase.java:58)      at jetbrains.buildServer.agent.impl.buildStages.startStages.RecoverableBuildStage.doBuildStage(RecoverableBuildStage.java:74)      at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:31)      at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:29)      at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:68)      at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:31)      at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor.doStages(BuildStagesExecutor.java:24)      at jetbrains.buildServer.agent.impl.BuildRunAction.doStages(BuildRunAction.java:65)      at jetbrains.buildServer.agent.impl.BuildRunAction.runBuild(BuildRunAction.java:48)      at jetbrains.buildServer.agent.impl.BuildAgentImpl.doActualBuild(BuildAgentImpl.java:250)      at jetbrains.buildServer.agent.impl.BuildAgentImpl.access$100(BuildAgentImpl.java:48)      at jetbrains.buildServer.agent.impl.BuildAgentImpl$1.run(BuildAgentImpl.java:223)      at java.lang.Thread.run(Unknown Source) Caused by: java.lang.RuntimeException: svn: connection refused by the server svn: OPTIONS request failed on '/svn/mcsi/trunk'      at jetbrains.buildServer.vcs.svn.TCSvnUpdateClient.getRevision(TCSvnUpdateClient.java:61)      at jetbrains.buildServer.vcs.svn.TCSvnUpdateClient.doCheckout(TCSvnUpdateClient.java:81)      at jetbrains.buildServer.vcs.svn.SvnCheckoutOnAgentSupport$SvnSourceUpdater.checkoutSources(SvnCheckoutOnAgentSupport.java:145)      ... 18 more Caused by: org.tmatesoft.svn.core.SVNException: svn: connection refused by the server svn: OPTIONS request failed on '/svn/mcsi/trunk'      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:106)      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:90)      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:628)      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:274)      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:262)      at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:516)      at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:98)      at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:999)      at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getRepositoryUUID(DAVRepository.java:146)      at jetbrains.buildServer.vcs.svn.TCSvnUpdateClient.createExtendedRevisionIfNeeded(TCSvnUpdateClient.java:71)      at jetbrains.buildServer.vcs.svn.TCSvnUpdateClient.getRevision(TCSvnUpdateClient.java:54)      ... 20 more Caused by: java.net.ConnectException: Connection timed out: connect      at java.net.PlainSocketImpl.socketConnect(Native Method)      at java.net.PlainSocketImpl.doConnect(Unknown Source)      at java.net.PlainSocketImpl.connectToAddress(Unknown Source)      at java.net.PlainSocketImpl.connect(Unknown Source)      at java.net.SocksSocketImpl.connect(Unknown Source)      at java.net.Socket.connect(Unknown Source)      at org.tmatesoft.svn.core.internal.util.SVNSocketConnection.run(SVNSocketConnection.java:57)      ... 1 more
[13:46:31]: Build failed to start. Artifacts will not be published for this build
[13:46:31]: Build finished
8 comments
Comment actions Permalink

Hello Ruben,

  TeamCity uses SVNKit 1.3.4 to access repositories (and the latest SVNKit is 1.3.5).
  We're going to add 1.3.5 to the next TeamCity update.

  But I'm not quite sure whether the problem is related to the SVNKit version.
  From the stacktrace, it looks like TeamCity cannot connect to the SVN repository.

  Are you sure that your VCS settings in TeamCity are the same as you used on Vista machines from the command line?

  Could you provide teamcity-vcs logs and screenshot of your VCS settings? You can send them directly to teamcity-feedback address.

  Thanks!
  KIR

0
Comment actions Permalink
Are you sure that your VCS settings in TeamCity are the same as you used on Vista machines from the command line?


The VCS settings work correctly on another build agent in the same network. The svn connection params used on the command line are the same as those in the build config. The teamcity-cvs logs did not show what connection parameters were actually used by the build agent, so I can not verify those. If teamcity would resolve and connect to the IP address directly, instead of using the configured URL, the connection would fail with the same exception as seen now in the logs.

  TeamCity uses SVNKit 1.3.4 to access repositories (and the latest SVNKit is 1.3.5).
  We're going to add 1.3.5 to the next TeamCity update.



Could I simply replace the svnkit jars in the subversion plugin with the latest svnkit version, or will this not work?

The -svn & -cvs logs are attached to this message.

Ruben

Attachment(s):
teamcity-vcs.log.zip
teamcity-svn.log.zip
0
Comment actions Permalink

Could I simply replace the svnkit jars in the subversion plugin with the latest svnkit version, or will this not work?


     You can do this safely only if you're using only checkout on agent mode. There are some issues
with checkout on server (patches with deleted files will be built incorrectly with 1.3.5).

   Thanks for the logs!
   KIR

0
Comment actions Permalink

Did you figure this out?  I'm experiencing the same problem on Windows 7.

0
Comment actions Permalink

Michael,

  Can you connect the SVN server using the same URL from the command line svn client?

  Please provide more information about your environment and SVN settings.

  Regards,
  KIR

0
Comment actions Permalink

Hi Kirill, I just got same error. We're hosting our SVN on Atlassain's JIRA Studio, and have TeamCity (6.5.5) locally on regular Windows 7 desktop. All of a sudden it started complaining about accessing repository. Cleaning of working copies didn't help. I can easily access SVN from build server using either TortoiseSVN or command line tools (both of 1.7.1 version). It can be probably related to some updates from Atlassian side (upgrade to 1.7 too?), besides I was unable to find any info 'bout it. All three builds have different error messages, but all agree that there's something wrong with the server. I've tried to collect some additional log info from command line svn, but it appeared that I just don't know how to get some debug info of it. Anyway, feel free to request any additional information. Besides I'll try to find 1.6.6 binaries and check them.

Error while applying patch
Failed to perform checkout on agent: java.lang.RuntimeException: svn: connection refused by the server svn: OPTIONS request failed on '/svn/****/trunk'

Error while applying patch
Failed to perform checkout on agent:  org.tmatesoft.svn.core.SVNException: svn: Error during update from  https://****.jira.com/svn/****/trunk to D:\buildAgent\work\1246a50f0439f026 svn: connection refused by the server

Unable to collect changes
[15:13:21]: Unable to collect changes java.util.concurrent.ExecutionException: jetbrains.buildServer.vcs.VcsException: Problem collecting changes for '**** :: ****' : Error collecting changes for VCS root '****' org.tmatesoft.svn.core.SVNException: svn: connection refused by the server svn: OPTIONS request failed on '/svn/****/trunk' at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at jetbrains.buildServer.serverSide.impl.CancelableTaskHolder.waitForTaskToComplete(CancelableTaskHolder.java:57) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.doCollectChanges(TopBuildDependencyGraphImpl.java:29) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.access$000(TopBuildDependencyGraphImpl.java:92) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl$3.run(TopBuildDependencyGraphImpl.java) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl$3.run(TopBuildDependencyGraphImpl.java:1) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl$4.run(TopBuildDependencyGraphImpl.java:1) at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAs(SecurityContextImpl.java:22) at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAsSystem(SecurityContextImpl.java:16) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.runAsSystem(TopBuildDependencyGraphImpl.java:70) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.collectChangesForGraph(TopBuildDependencyGraphImpl.java:33) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.collectChangesForGraph(TopBuildDependencyGraphImpl.java:97) at jetbrains.buildServer.serverSide.impl.BuildChangesCollector.collectChangesForBuild(BuildChangesCollector.java:7) at jetbrains.buildServer.serverSide.impl.BuildStarter$1.run(BuildStarter.java:8) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: jetbrains.buildServer.vcs.VcsException: Problem collecting changes for '**** :: ****' : Error collecting changes for VCS root '****' org.tmatesoft.svn.core.SVNException: svn: connection refused by the server svn: OPTIONS request failed on '/svn/****/trunk' at jetbrains.buildServer.vcs.impl.BuildChangesLoaderContext$BuildTypeCollectorResult.reThrowProblemException(BuildChangesLoaderContext.java:26) at jetbrains.buildServer.vcs.impl.BuildChangesLoaderContext$BuildTypeCollectorResult.access$1100(BuildChangesLoaderContext.java:38) at jetbrains.buildServer.vcs.impl.BuildChangesLoaderContext.checkNoProblemsInMyBuildTypes(BuildChangesLoaderContext.java:38) at jetbrains.buildServer.vcs.impl.BuildChangesLoaderContext.checkingForChangesFinished(BuildChangesLoaderContext.java:7) at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$1.call(VcsChangesCollectorImpl.java:5) at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$1.call(VcsChangesCollectorImpl.java) ... 5 more Caused by: jetbrains.buildServer.vcs.VcsException: Error collecting changes for VCS root '****' org.tmatesoft.svn.core.SVNException: svn: connection refused by the server svn: OPTIONS request failed on '/svn/****/trunk' at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport$SvnIncludeRuleChangeCollector.collectChanges(SvnSupport.java:551) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader$1.collectBuildChanges(VcsChangesLoader.java:1) at jetbrains.buildServer.vcs.VcsSupportUtil.collectBuildChanges(VcsSupportUtil.java:54) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChangesByIncludeRules(VcsChangesLoader.java:16) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChanges(VcsChangesLoader.java:17) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectBuildChanges(VcsChangesLoader.java:161) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChangesForCheckoutRules(VcsChangesLoader.java:176) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChanges(VcsChangesLoader.java:85) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader._loadChangesForRoot(VcsChangesLoader.java:10) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.loadChangesForRoot(VcsChangesLoader.java:105) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.loadChangesForRoot(VcsChangesLoader.java:115) at jetbrains.buildServer.vcs.impl.VcsManagerImpl.loadChanges(VcsManagerImpl.java:195) at jetbrains.buildServer.serverSide.impl.auth.SecuredVcsManager.loadChanges(SecuredVcsManager.java:77) at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$2.call(VcsChangesCollectorImpl.java:1) at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$2.call(VcsChangesCollectorImpl.java:3) ... 5 more Caused by: org.tmatesoft.svn.core.SVNException: svn: connection refused by the server svn: OPTIONS request failed on '/svn/****/trunk' at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:106) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:90) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:642) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:280) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:268) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:516) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:98) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1007) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getRepositoryUUID(DAVRepository.java:147) at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport$SvnIncludeRuleChangeCollector.createRevisionRangeIfNeeded(SvnSupport.java:564) at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport$SvnIncludeRuleChangeCollector.collectChanges(SvnSupport.java:523) ... 19 more Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source) at org.tmatesoft.svn.core.internal.util.SVNSocketFactory.connect(SVNSocketFactory.java:102) at org.tmatesoft.svn.core.internal.util.SVNSocketFactory.createSSLSocket(SVNSocketFactory.java:79) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.connect(HTTPConnection.java:186) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:334) ... 27 more
[15:13:21]: java.util.concurrent.ExecutionException: jetbrains.buildServer.vcs.VcsException: Problem collecting changes for '**** :: ****' : Error collecting changes for VCS root '****' org.tmatesoft.svn.core.SVNException: svn: connection refused by the server svn: OPTIONS request failed on '/svn/****/trunk' java.util.concurrent.ExecutionException: jetbrains.buildServer.vcs.VcsException: Problem collecting changes for '**** :: ****' : Error collecting changes for VCS root '****' org.tmatesoft.svn.core.SVNException: svn: connection refused by the server svn: OPTIONS request failed on '/svn/****/trunk' at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at jetbrains.buildServer.serverSide.impl.CancelableTaskHolder.waitForTaskToComplete(CancelableTaskHolder.java:57) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.doCollectChanges(TopBuildDependencyGraphImpl.java:29) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.access$000(TopBuildDependencyGraphImpl.java:92) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl$3.run(TopBuildDependencyGraphImpl.java) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl$3.run(TopBuildDependencyGraphImpl.java:1) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl$4.run(TopBuildDependencyGraphImpl.java:1) at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAs(SecurityContextImpl.java:22) at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAsSystem(SecurityContextImpl.java:16) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.runAsSystem(TopBuildDependencyGraphImpl.java:70) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.collectChangesForGraph(TopBuildDependencyGraphImpl.java:33) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.collectChangesForGraph(TopBuildDependencyGraphImpl.java:97) at jetbrains.buildServer.serverSide.impl.BuildChangesCollector.collectChangesForBuild(BuildChangesCollector.java:7) at jetbrains.buildServer.serverSide.impl.BuildStarter$1.run(BuildStarter.java:8) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: jetbrains.buildServer.vcs.VcsException: Problem collecting changes for '**** :: ****' : Error collecting changes for VCS root '****' org.tmatesoft.svn.core.SVNException: svn: connection refused by the server svn: OPTIONS request failed on '/svn/****/trunk' at jetbrains.buildServer.vcs.impl.BuildChangesLoaderContext$BuildTypeCollectorResult.reThrowProblemException(BuildChangesLoaderContext.java:26) at jetbrains.buildServer.vcs.impl.BuildChangesLoaderContext$BuildTypeCollectorResult.access$1100(BuildChangesLoaderContext.java:38) at jetbrains.buildServer.vcs.impl.BuildChangesLoaderContext.checkNoProblemsInMyBuildTypes(BuildChangesLoaderContext.java:38) at jetbrains.buildServer.vcs.impl.BuildChangesLoaderContext.checkingForChangesFinished(BuildChangesLoaderContext.java:7) at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$1.call(VcsChangesCollectorImpl.java:5) at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$1.call(VcsChangesCollectorImpl.java) ... 5 more Caused by: jetbrains.buildServer.vcs.VcsException: Error collecting changes for VCS root '****' org.tmatesoft.svn.core.SVNException: svn: connection refused by the server svn: OPTIONS request failed on '/svn/****/trunk' at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport$SvnIncludeRuleChangeCollector.collectChanges(SvnSupport.java:551) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader$1.collectBuildChanges(VcsChangesLoader.java:1) at jetbrains.buildServer.vcs.VcsSupportUtil.collectBuildChanges(VcsSupportUtil.java:54) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChangesByIncludeRules(VcsChangesLoader.java:16) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChanges(VcsChangesLoader.java:17) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectBuildChanges(VcsChangesLoader.java:161) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChangesForCheckoutRules(VcsChangesLoader.java:176) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChanges(VcsChangesLoader.java:85) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader._loadChangesForRoot(VcsChangesLoader.java:10) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.loadChangesForRoot(VcsChangesLoader.java:105) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.loadChangesForRoot(VcsChangesLoader.java:115) at jetbrains.buildServer.vcs.impl.VcsManagerImpl.loadChanges(VcsManagerImpl.java:195) at jetbrains.buildServer.serverSide.impl.auth.SecuredVcsManager.loadChanges(SecuredVcsManager.java:77) at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$2.call(VcsChangesCollectorImpl.java:1) at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$2.call(VcsChangesCollectorImpl.java:3) ... 5 more Caused by: org.tmatesoft.svn.core.SVNException: svn: connection refused by the server svn: OPTIONS request failed on '/svn/****/trunk' at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:106) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:90) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:642) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:280) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:268) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:516) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:98) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1007) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getRepositoryUUID(DAVRepository.java:147) at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport$SvnIncludeRuleChangeCollector.createRevisionRangeIfNeeded(SvnSupport.java:564) at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport$SvnIncludeRuleChangeCollector.collectChanges(SvnSupport.java:523) ... 19 more Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source) at org.tmatesoft.svn.core.internal.util.SVNSocketFactory.connect(SVNSocketFactory.java:102) at org.tmatesoft.svn.core.internal.util.SVNSocketFactory.createSSLSocket(SVNSocketFactory.java:79) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.connect(HTTPConnection.java:186) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:334) ... 27 more



p.s. Checked with 1.6.7 binaries. All works okay. Also got some logs from command line SVN, can try to send them in PM.

0
Comment actions Permalink

Hello Andriy,

  Do "Test connection" button works correctly for this VCS root? It looks like you've specified incorrect path in VCS Root settings in TeamCity. Please double-check this.

  Regards,
  KIR

0
Comment actions Permalink

Hi Kirill,

I'm pretty sure that paths didn't change: as I already said, we had that three build configurations already working for a while.

But here is the funny thing. After checking "Test connection" (that succeeded), all build projects started to work, so problem disappeared on it's own.

0

Please sign in to leave a comment.