Build error - SVNException: svn: Cannot rename file jetbrains.buildServer.vcs.VcsException

Dear Community members,
   We get the below error while checking out source code from SVN using an agent. This happens occasionally and not always.
Help would be much appreciated.

Thanks,

Stack trace below:

jetbrains.buildServer.vcs.VcsException: org.tmatesoft.svn.core.SVNException: svn: Cannot rename file jetbrains.buildServer.vcs.VcsException: org.tmatesoft.svn.core.SVNException: svn: Cannot rename file 'F:\BuildAgent\work\d52180818233a806\qa\qawizard\OrderPages\GlobalRepository\.svn\tmp\entries' to 'F:\BuildAgent\work\d52180818233a806\qa\qawizard\OrderPages\GlobalRepository\.svn\entries'
jetbrains.buildServer.vcs.VcsException: org.tmatesoft.svn.core.SVNException: svn: Cannot rename file 'F:\BuildAgent\work\d52180818233a806\qa\qawizard\OrderPages\GlobalRepository\.svn\tmp\entries' to 'F:\BuildAgent\work\d52180818233a806\qa\qawizard\OrderPages\GlobalRepository\.svn\entries'
 at jetbrains.buildServer.vcs.svn.SvnCheckoutOnAgentSupport.updateSources(SvnCheckoutOnAgentSupport.java:87)
 at jetbrains.buildServer.agent.impl.patch.GetProjectSources.checkoutSources(GetProjectSources.java:273)
 at jetbrains.buildServer.agent.impl.patch.GetProjectSources.execute(GetProjectSources.java:95)
 at jetbrains.buildServer.agent.impl.BuildAgentImpl$BuildRunAction.run(BuildAgentImpl.java:1062)
 at java.lang.Thread.run(Thread.java:595)
Caused by: org.tmatesoft.svn.core.SVNException: svn: Cannot rename file 'F:\BuildAgent\work\d52180818233a806\qa\qawizard\OrderPages\GlobalRepository\.svn\tmp\entries' to 'F:\BuildAgent\work\d52180818233a806\qa\qawizard\OrderPages\GlobalRepository\.svn\entries'
 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
 at org.tmatesoft.svn.core.internal.io.svn.SVNEditModeReader.driveEditor(SVNEditModeReader.java:231)
 at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.update(SVNRepositoryImpl.java:1477)
 at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:380)
 at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:686)
 at jetbrains.buildServer.vcs.svn.TCSvnUpdateClient.doCheckout(TCSvnUpdateClient.java:57)
 at jetbrains.buildServer.vcs.svn.SvnCheckoutOnAgentSupport.updateSources(SvnCheckoutOnAgentSupport.java:60)

1 comment
Comment actions Permalink

Hello,

  Is TeamCity build agent the only process which accesses build working directory?
  Could you please enable SVN debug logging for build agent, wait until the problem reproduces and send us the logs?

  Thanks!
  KIR

0

Please sign in to leave a comment.