SVNException from Team City 4.5.4

Hi All,

I get the following exception when trying to build a project on my Team City 4.5.4 (9071) installation.  The error always occurs after about 1m:5s.  The check out is large.  All other builds on the Team City server work fine, including ones with large checkouts (this is probably the biggest though).  The directory (/opt/teamcity/buildAgent/work/f5ec86c69c7d8524) is writable and on the server I can see the files being checked-out correctly.

-------------
Build 'Core Board Linux :: Integration Build' #25  
Started 'Thu Sep 24 09:54:48 EST 2009' on 'Default agent' by 'Re-added because of unexpected finish; Subversion'
Finished 'Thu Sep 24 09:55:53 EST 2009' with status 'ERROR Failure'
TeamCity URL http://10.76.9.5:8111/viewLog.html?buildId=712&buildTypeId=bt1025  

[09:54:47]: bt10
[09:54:47]: Checking for changes
[09:54:48]: Clean build enabled: removing old files from /opt/teamcity/buildAgent/work/f5ec86c69c7d8524
[09:54:48]: Clearing temporary directory: /opt/teamcity/buildAgent/temp/buildTmp
[09:54:48]: Checkout directory: /opt/teamcity/buildAgent/work/f5ec86c69c7d8524
[09:54:48]: Updating sources
[09:54:48]:     [Updating sources] Updating project sources
[09:54:48]:         [Updating project sources] svn: http://abrispe03/svn/lpod/projects/core/linux-mpc512x; revision: 31215_2009/09/24 09:54:47 +1000
[09:55:53]:     [Updating sources] jetbrains.buildServer.vcs.VcsException: org.tmatesoft.svn.core.SVNException: svn: Error during update from http://abrispe03/svn/lpod/projects/core/linux-mpc512x to /opt/teamcity/buildAgent/work/f5ec86c69c7d8524
svn: No write-lock in '/opt/teamcity/buildAgent/work/f5ec86c69c7d8524'
jetbrains.buildServer.vcs.VcsException: org.tmatesoft.svn.core.SVNException: svn: Error during update from http://abrispe03/svn/lpod/projects/core/linux-mpc512x to /opt/teamcity/buildAgent/work/f5ec86c69c7d8524
svn: No write-lock in '/opt/teamcity/buildAgent/work/f5ec86c69c7d8524'
    at jetbrains.buildServer.vcs.svn.SvnCheckoutOnAgentSupport.updateSources(SvnCheckoutOnAgentSupport.java:104)
    at jetbrains.buildServer.agent.impl.vcs.CheckoutByIncludeRuleAdapter$1$1.process(CheckoutByIncludeRuleAdapter.java:28)
    at jetbrains.buildServer.agent.impl.vcs.CheckoutByIncludeRuleAdapter$2.updateSources(CheckoutByIncludeRuleAdapter.java:49)
    at jetbrains.buildServer.agent.impl.patch.ProjectSourcesOnAgent.checkoutSources(ProjectSourcesOnAgent.java:61)
    at jetbrains.buildServer.agent.impl.patch.ProjectSourcesGetter.checkoutSources(ProjectSourcesGetter.java:269)
    at jetbrains.buildServer.agent.impl.patch.ProjectSourcesGetter.execute(ProjectSourcesGetter.java:123)
    at jetbrains.buildServer.agent.impl.runStages.CheckoutSourcesStage.doGetSources(CheckoutSourcesStage.java:45)
    at jetbrains.buildServer.agent.impl.runStages.CheckoutSourcesStage.doRecoverableStage(CheckoutSourcesStage.java:31)
    at jetbrains.buildServer.agent.impl.runStages.RecoverableBuildStage.doBuildStage(RecoverableBuildStage.java:61)
    at jetbrains.buildServer.agent.impl.BuildRunAction.doStages(BuildRunAction.java:135)
    at jetbrains.buildServer.agent.impl.BuildRunAction.access$000(BuildRunAction.java:21)
    at jetbrains.buildServer.agent.impl.BuildRunAction$1.run(BuildRunAction.java:91)
    at java.lang.Thread.run(Thread.java:619)
Caused by: org.tmatesoft.svn.core.SVNException: svn: Error during update from http://abrispe03/svn/lpod/projects/core/linux-mpc512x to /opt/teamcity/buildAgent/work/f5ec86c69c7d8524
svn: No write-lock in '/opt/teamcity/buildAgent/work/f5ec86c69c7d8524'
    at jetbrains.buildServer.vcs.svn.TCSvnUpdateClient.doCheckout(TCSvnUpdateClient.java:82)
    at jetbrains.buildServer.vcs.svn.SvnCheckoutOnAgentSupport.updateSources(SvnCheckoutOnAgentSupport.java:73)
    ... 12 more
Caused by: org.tmatesoft.svn.core.SVNException: svn: No write-lock in '/opt/teamcity/buildAgent/work/f5ec86c69c7d8524'
    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.dav.http.HTTPConnection.request(HTTPConnection.java:612)
    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.update(DAVRepository.java:818)
    at org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:558)
    at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:934)
    at jetbrains.buildServer.vcs.svn.TCSvnUpdateClient.doCheckout(TCSvnUpdateClient.java:79)
    ... 13 more

[09:55:53]: Build finished
------------------

I'd appreciate any suggestions you have.  Thanks,
Paul

1 comment
Comment actions Permalink

Hi,

  I believe this is problem in SVNKit, because the similar problem appears for Hudson builds as well: https://hudson.dev.java.net/issues/show_bug.cgi?id=4105 .
  Will try to contact SVNKit team to find a solution.

  Regards,
  KIR

0

Please sign in to leave a comment.