jetbrains.buildServer.vcs.VcsException

Hi,

I have a VisualSVN server running on the same machine as TeamCity.
All my build configurations are failing. I'm getting a jetbrains.buildServer.vcs.VcsException with this stack trace:

jetbrains.buildServer.vcs.VcsException: java.lang.RuntimeException: svn: Network is unreachable: connect
svn: OPTIONS request failed on 'XXXXXXXXXXXXXX'
jetbrains.buildServer.vcs.VcsException: java.lang.RuntimeException: svn: Network is unreachable: connect
svn: OPTIONS request failed on ''
XXXXXXXXXXXXXX'
at jetbrains.buildServer.vcs.svn.SvnCheckoutOnAgentSupport.updateSources(SvnCheckoutOnAgentSupport.java:112)
at jetbrains.buildServer.agent.impl.patch.GetProjectSources.checkoutSources(GetProjectSources.java:278)
at jetbrains.buildServer.agent.impl.patch.GetProjectSources.execute(GetProjectSources.java:100)
at jetbrains.buildServer.agent.impl.runStages.GetSourcesStage.doBuildStage(GetSourcesStage.java:31)
at jetbrains.buildServer.agent.impl.BuildRunAction.doStages(BuildRunAction.java:115)
at jetbrains.buildServer.agent.impl.BuildRunAction.run(BuildRunAction.java:81)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: svn: Network is unreachable: connect
svn: OPTIONS request failed on '/svn/CorrectionService/trunk'
at jetbrains.buildServer.vcs.svn.TCSvnUpdateClient.getRevision(TCSvnUpdateClient.java:55)
at jetbrains.buildServer.vcs.svn.TCSvnUpdateClient.doCheckout(TCSvnUpdateClient.java:74)
at jetbrains.buildServer.vcs.svn.SvnCheckoutOnAgentSupport.updateSources(SvnCheckoutOnAgentSupport.java:73)
... 6 more


when I go to to the VCS root configuration page, I click test connection and it works fine.
I also can connect with TortoiseSVN using TeamCity's username.

Any ideas what's wrong?

2 comments
Comment actions Permalink

Hi,

It seems the VCS repository is accessible from the TeamCity server but not from TeamCity agent. Please check that you can access the SVN from the same machine and under the same user account the TeamCity agent uses.

--
Best regards,

Yegor Yarko
Project Manager (TeamCity)
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

It can (assuming you meant that the agent user still uses the SVN user defined in the vcs root).
Anyway, this was solved after restarting SVN, but I still don't know what the problem was.

Thanks.

0

Please sign in to leave a comment.