org.tmatesoft.svn.core.SVNException: svn: '/opt/cpms/hudson/workspace/portal/home/tomcat/hudson/workspace/portal/lib' is not a working copy at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.open(SVNAdminAreaFactory.java:149) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:355)

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I have a workspace that references a symlink. When an svn update occurs, svn externals fail with an error like this: ERROR: Failed to parse svn info for external http://10.1.42.211/svn/textura/lib/j4j/1.0 at portal/home/tomcat/hudson/workspace/portal/lib//j4j org.tmatesoft.svn.core.SVNException: svn: '/opt/cpms/hudson/workspace/portal/home/tomcat/hudson/workspace/portal/lib' is not a working copy at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.open(SVNAdminAreaFactory.java:149) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:355) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:263) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:290) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:275) at org.tmatesoft.svn.core.wc.SVNWCClient.crawlEntries(SVNWCClient.java:3027) at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2271) at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2647) at hudson.scm.SubversionSCM$BuildRevisionMapTask.invoke(SubversionSCM.java:780) at hudson.scm.SubversionSCM$BuildRevisionMapTask.invoke(SubversionSCM.java:750) at hudson.FilePath.act(FilePath.java:552) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:426) at hudson.model.AbstractProject.checkout(AbstractProject.java:807) 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:923) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119)
    via by kaxelson,
  • I have a workspace that references a symlink. When an svn update occurs, svn externals fail with an error like this: ERROR: Failed to parse svn info for external http://10.1.42.211/svn/textura/lib/j4j/1.0 at portal/home/tomcat/hudson/workspace/portal/lib//j4j org.tmatesoft.svn.core.SVNException: svn: '/opt/cpms/hudson/workspace/portal/home/tomcat/hudson/workspace/portal/lib' is not a working copy at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.open(SVNAdminAreaFactory.java:149) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:355) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:263) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:290) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:275) at org.tmatesoft.svn.core.wc.SVNWCClient.crawlEntries(SVNWCClient.java:3027) at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2271) at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2647) at hudson.scm.SubversionSCM$BuildRevisionMapTask.invoke(SubversionSCM.java:780) at hudson.scm.SubversionSCM$BuildRevisionMapTask.invoke(SubversionSCM.java:750) at hudson.FilePath.act(FilePath.java:552) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:426) at hudson.model.AbstractProject.checkout(AbstractProject.java:807) 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:923) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119)
    via by kaxelson,
  • When a subversion job is created that contains externals other than on the root path, they are checked out properly, but, the revisions for those externals are not, and exceptions are thrown out in the console during update. An example, project A /A/trunk/import/thirdparty has svn:externals set to bring down junit as http://svn/....../junit/jar/ when the SubversionUpdateEventHandler captures this as an SVNEventAction.UPDATE_EXTERNAL action, it uses the ModulePath to prepend the path of the external... which would be trunk/junit as opposed to using the path of the item that has the external, which would be trunk/import/thirdparty/junit. this is visible in the svnexternals.txt file as well as the stack trace output during buildtime console output. "ERROR: Failed to parse svn info for external http://svn/basic/lib/junit at trunk/import/junit org.tmatesoft.svn.core.SVNException: svn: 'C:\Users\seymore\.hudson\jobs\services.core\workspace\trunk\import' is not a working copy svn: Cannot read from to 'C:\Users\seymore\.hudson\jobs\services.core\workspace\trunk\import\.svn\format': path refers to directory or read access is denied at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:55) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:40) at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.open(SVNAdminAreaFactory.java:132) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:344) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:261) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:279) at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:1915) at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:1852) at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2206) at hudson.scm.SubversionSCM$BuildRevisionMapTask.invoke(SubversionSCM.java:630) at hudson.scm.SubversionSCM$BuildRevisionMapTask.invoke(SubversionSCM.java:600) at hudson.FilePath.act(FilePath.java:312) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:307) at hudson.model.AbstractProject.checkout(AbstractProject.java:566) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:244) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:218) at hudson.model.Run.run(Run.java:749) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:71)" the paths are a little different in the stack trace, but its the same problem. In the stack trace trunk/import/junit is actually stored under trunk/server/lib/import/junit .. the directory import has the external set to make junit a child. svnexternals.txt has it stored as trunk/import/junit
    via by davidseymore,
  • 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
    via by Kohsuke Kawaguchi,
  • When a subversion job is created that contains externals other than on the root path, they are checked out properly, but, the revisions for those externals are not, and exceptions are thrown out in the console during update. An example, project A /A/trunk/import/thirdparty has svn:externals set to bring down junit as http://svn/....../junit/jar/ when the SubversionUpdateEventHandler captures this as an SVNEventAction.UPDATE_EXTERNAL action, it uses the ModulePath to prepend the path of the external... which would be trunk/junit as opposed to using the path of the item that has the external, which would be trunk/import/thirdparty/junit. this is visible in the svnexternals.txt file as well as the stack trace output during buildtime console output. "ERROR: Failed to parse svn info for external http://svn/basic/lib/junit at trunk/import/junit org.tmatesoft.svn.core.SVNException: svn: 'C:\Users\seymore\.hudson\jobs\services.core\workspace\trunk\import' is not a working copy svn: Cannot read from to 'C:\Users\seymore\.hudson\jobs\services.core\workspace\trunk\import\.svn\format': path refers to directory or read access is denied at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:55) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:40) at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.open(SVNAdminAreaFactory.java:132) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:344) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:261) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:279) at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:1915) at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:1852) at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2206) at hudson.scm.SubversionSCM$BuildRevisionMapTask.invoke(SubversionSCM.java:630) at hudson.scm.SubversionSCM$BuildRevisionMapTask.invoke(SubversionSCM.java:600) at hudson.FilePath.act(FilePath.java:312) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:307) at hudson.model.AbstractProject.checkout(AbstractProject.java:566) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:244) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:218) at hudson.model.Run.run(Run.java:749) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:71)" the paths are a little different in the stack trace, but its the same problem. In the stack trace trunk/import/junit is actually stored under trunk/server/lib/import/junit .. the directory import has the external set to make junit a child. svnexternals.txt has it stored as trunk/import/junit
    via by davidseymore,
  • 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
    via by Kohsuke Kawaguchi,
    • org.tmatesoft.svn.core.SVNException: svn: '/opt/cpms/hudson/workspace/portal/home/tomcat/hudson/workspace/portal/lib' is not a working copy at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.open(SVNAdminAreaFactory.java:149) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:355) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:263)
    No Bugmate found.