Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-4105

svn checkout throws after failing to get write lock

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • subversion-plugin
    • None
    • Platform: PC, OS: Linux

      The subversion checkout fails at various points. I have experienced this problem
      both using SCM polling with a period of every 3 minutes and with polling off and
      svn pot-sommit trigger being used.

      Googling brought up at least one other person who appeared to experience this
      problem.

      Configuration:

      • Ubuntu Linux Server 9.04
      • Hudson 1.316
      • Hudson is run under Tomcat 6.0.18
      • Subversion server 1.5.4

      ERROR: Failed to check out
      svn://hudson:huds0n@localhost/cthing/projects/PersonalInformationArchive/trunk/container
      org.tmatesoft.svn.core.SVNException: svn: No write-lock in
      '/var/lib/tomcat6/hudson/jobs/PIA/workspace/container/lib'
      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:1488)
      at org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:558)
      at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:914)
      at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:791)
      at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:607)
      at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:533)
      at hudson.FilePath.act(FilePath.java:676)
      at hudson.FilePath.act(FilePath.java:660)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:526)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:469)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:833)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266)
      at hudson.model.Run.run(Run.java:948)
      at hudson.model.Build.run(Build.java:112)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:118)

            Unassigned Unassigned
            baron_roberts baron_roberts
            Votes:
            6 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: