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

Auto clean up after a lock

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • subversion-plugin
    • None
    • Platform: All, OS: All

      When the workspace is locked we get the following error:

      started
      Building remotely on test
      Updating https://svn.dev.java.net/svn/codemodel/trunk/codemodel
      ERROR: Failed to update https://svn.dev.java.net/svn/codemodel/trunk/codemodel
      org.tmatesoft.svn.core.SVNException: svn: Working copy
      '/tmp/workspace/codemodel/codemodel' locked; try performing 'cleanup'
      at
      org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:49)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea14.lock(SVNAdminArea14.java:1370)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:348)
      at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:261)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.openAnchor(SVNWCAccess.java:153)
      at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:145)
      at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:381)
      at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:353)
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1093)
      at hudson.remoting.UserRequest.perform(UserRequest.java:69)
      at hudson.remoting.UserRequest.perform(UserRequest.java:23)
      at hudson.remoting.Request$2.run(Request.java:200)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      at java.lang.Thread.run(Thread.java:619)
      finished: FAILURE

        1. 1459.patch
          3 kB
          huybrechts
        2. 1459-2.patch
          1 kB
          huybrechts

            Unassigned Unassigned
            kohsuke Kohsuke Kawaguchi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: