VCS failure when using file external under SVN

The new feature in SVN 1.6 is to be able to set external reference to a file. In previous version of SVN only directory could be reference as exernal.

We've been using external to directories for our branch monitored via TeamCity from quite sometime without any issue. However, lately we've been trying to enable file external in the mix but
it failed. The setup was like this

We added a file external to one directory of the branch coming from another directory of the same branch. In SVN this setup is working properly as the file will appear in the targeted directory.

But in TeamCity build log we got the following failure :

java.util.concurrent.ExecutionException: jetbrains.buildServer.vcs.VcsException: Problem collecting changes for 'Libraries :: VC2005 Managed' : Error collecting changes for VCS root 'svn: http://xcalibur2/svn/DDI/Solutions/Lib/VC2005/trunk' #16
org.tmatesoft.svn.core.SVNException: svn: Processing REPORT request response failed: XML document structures must start and end within the same entity. (/svn/DDI/!svn/vcc/default)
svn: REPORT request failed on '/svn/DDI/!svn/vcc/default'
java.util.concurrent.ExecutionException: jetbrains.buildServer.vcs.VcsException: Problem collecting changes for 'Libraries :: VC2005 Managed' : Error collecting changes for VCS root 'svn: http://xcalibur2/svn/DDI/Solutions/Lib/VC2005/trunk' #16
org.tmatesoft.svn.core.SVNException: svn: Processing REPORT request response failed: XML document structures must start and end within the same entity. (/svn/DDI/!svn/vcc/default)
svn: REPORT request failed on '/svn/DDI/!svn/vcc/default'
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:205)
at java.util.concurrent.FutureTask.get(FutureTask.java:80)
at jetbrains.buildServer.serverSide.impl.CancelableTaskHolder.waitForTaskToComplete(CancelableTaskHolder.java:14)
at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.doCollectChanges(TopBuildDependencyGraphImpl.java:41)
at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.access$000(TopBuildDependencyGraphImpl.java:36)
at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl$3.run(TopBuildDependencyGraphImpl.java:1)
at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl$3.run(TopBuildDependencyGraphImpl.java)
at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl$4.run(TopBuildDependencyGraphImpl.java:1)
at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAs(SecurityContextImpl.java:7)
at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAsSystem(SecurityContextImpl.java:29)
at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.runAsSystem(TopBuildDependencyGraphImpl.java:85)
at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.collectChangesForGraph(TopBuildDependencyGraphImpl.java:37)
at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.collectChangesForGraph(TopBuildDependencyGraphImpl.java:32)
at jetbrains.buildServer.serverSide.impl.BuildServerImpl$6.run(BuildServerImpl.java:4)
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: Problem collecting changes for 'Libraries :: VC2005 Managed' : Error collecting changes for VCS root 'svn: http://xcalibur2/svn/DDI/Solutions/Lib/VC2005/trunk' #16
org.tmatesoft.svn.core.SVNException: svn: Processing REPORT request response failed: XML document structures must start and end within the same entity. (/svn/DDI/!svn/vcc/default)
svn: REPORT request failed on '/svn/DDI/!svn/vcc/default'
at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$ChangesCollectorResultImpl.rethrowIfOurBuildType(VcsChangesCollectorImpl.java:77)
at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$ChangesCollectorResultImpl.checkNoProblemsInMyBuildTypes(VcsChangesCollectorImpl.java:72)
at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$ChangesCollectorResultImpl.checkingForChangesFinished(VcsChangesCollectorImpl.java:106)
at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$1.call(VcsChangesCollectorImpl.java:0)
at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$1.call(VcsChangesCollectorImpl.java:3)
... 5 more
Caused by: jetbrains.buildServer.vcs.VcsException: Error collecting changes for VCS root 'svn: http://xcalibur2/svn/DDI/Solutions/Lib/VC2005/trunk' #16
org.tmatesoft.svn.core.SVNException: svn: Processing REPORT request response failed: XML document structures must start and end within the same entity. (/svn/DDI/!svn/vcc/default)
svn: REPORT request failed on '/svn/DDI/!svn/vcc/default'
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport.collectBuildChanges(SvnSupport.java:321)
at jetbrains.buildServer.vcs.VcsSupportUtil.collectBuildChanges(VcsSupportUtil.java:37)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport.collectBuildChanges(SvnSupport.java:215)
at jetbrains.buildServer.vcs.VcsSupport.collectChanges(VcsSupport.java:50)
at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChanges(VcsChangesLoader.java:134)
at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectBuildChanges(VcsChangesLoader.java:10)
at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChangesForRule(VcsChangesLoader.java:163)
at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChanges4CommonCheckoutRule(VcsChangesLoader.java:31)
at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.loadChangesForRoot(VcsChangesLoader.java:99)
at jetbrains.buildServer.vcs.impl.VcsManagerImpl.loadChanges(VcsManagerImpl.java:10)
at jetbrains.buildServer.serverSide.impl.auth.SecuredVcsManager.loadChanges(SecuredVcsManager.java:51)
at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$3.call(VcsChangesCollectorImpl.java)
at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$3.call(VcsChangesCollectorImpl.java:1)
... 5 more
Caused by: org.tmatesoft.svn.core.SVNException: svn: Processing REPORT request response failed: XML document structures must start and end within the same entity. (/svn/DDI/!svn/vcc/default)
svn: REPORT request failed on '/svn/DDI/!svn/vcc/default'
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:103)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:87)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:618)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:273)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:261)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doReport(DAVConnection.java:266)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.runReport(DAVRepository.java:1261)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.status(DAVRepository.java:803)
at org.tmatesoft.svn.core.io.SVNRepository.status(SVNRepository.java:2035)
at jetbrains.buildServer.buildTriggers.vcs.svn.ExternalsContentProvider.loadAllExternals(ExternalsContentProvider.java:71)
at jetbrains.buildServer.buildTriggers.vcs.svn.ExternalsContentProvider.loadExternals(ExternalsContentProvider.java:41)
at jetbrains.buildServer.buildTriggers.vcs.svn.ExternalsContentProvider.calcExternals(ExternalsContentProvider.java:32)
at jetbrains.buildServer.buildTriggers.vcs.svn.ExternalsProvider.collectExternals(ExternalsProvider.java:42)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnConnection.processExternalsChanges(SvnConnection.java:297)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnConnection.addChanges(SvnConnection.java:263)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnConnection$4.runAction(SvnConnection.java:313)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnConnection.processAllExternals(SvnConnection.java:375)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnConnection.processExternalsChanges(SvnConnection.java:299)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnConnection.addChanges(SvnConnection.java:263)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnConnection$4.runAction(SvnConnection.java:313)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnConnection.processAllExternals(SvnConnection.java:375)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnConnection.processExternalsChanges(SvnConnection.java:299)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnConnection.addChanges(SvnConnection.java:263)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport.collectBuildChanges(SvnSupport.java:303)
... 17 more
Anyone tried to use the file external reference from SVN while using TeamCity?

Thank you in advance

1 comment
Comment actions Permalink

Hello,

  Unfortunately TeamCity doesn't support SVN 1.6 file externals yet. Please vote/watch issue http://jetbrains.net/tracker/issue2/TW-7676

  Regards,
  KIR

0

Please sign in to leave a comment.