• 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

          [JENKINS-1459] Auto clean up after a lock

          huybrechts added a comment -

          Created an attachment (id=191)
          patch

          huybrechts added a comment - Created an attachment (id=191) patch

          huybrechts added a comment -

          This patch deletes the workspace if it is locked. Perhaps doing just a cleanup
          would be better in most cases, but that's probably just a simple change...

          huybrechts added a comment - This patch deletes the workspace if it is locked. Perhaps doing just a cleanup would be better in most cases, but that's probably just a simple change...

          huybrechts added a comment -

          Created an attachment (id=192)
          forgot patch to config.jelly

          huybrechts added a comment - Created an attachment (id=192) forgot patch to config.jelly

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=9457
          Log:
          [FIXED JENKINS-1459] if the workspace is locked, wipe out and retry.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=9457 Log: [FIXED JENKINS-1459] if the workspace is locked, wipe out and retry.

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

              Created:
              Updated:
              Resolved: