org.tmatesoft.svn.core.SVNException: svn: Error restoring text for '/tmp/hudson/workspace/Data-Trunk-FT/data/DecisionTreeBuilder/src/test/java/com/contextweb/data/id3/cli/RemoveOldFilesTest.java'

Jenkins JIRA | alexrovner | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I get the following error when Hudson tries to revert svn working copy on a slave node. This doesn't seem to happen on every build but once the working copy is in this state manual intervention is required. Based on SVN history this seems to happen when the parent folder of a file was renamed. In this particular case we have renamed the package names. Started by timer Building remotely on cw-grid50 Reverting http://cwsvn.contextweb.corp/svn/contextad/trunk/JavaProjects/maven-projects/data ERROR: Failed to update http://cwsvn.contextweb.corp/svn/contextad/trunk/JavaProjects/maven-projects/data org.tmatesoft.svn.core.SVNException: svn: Error restoring text for '/tmp/hudson/workspace/Data-Trunk-FT/data/DecisionTreeBuilder/src/test/java/com/contextweb/data/id3/cli/RemoveOldFilesTest.java' 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.wc.SVNWCClient.revert(SVNWCClient.java:3477) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3357) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:1876) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:696) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:660) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1899) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) 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:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Email was triggered for: Failure Email was triggered for: Still Failing Trigger Failure was overridden by another trigger and will not send an email. Sending email for trigger: Still Failing Sending email to: hadoopdev@contextweb.com Finished: FAILURE

    Jenkins JIRA | 7 years ago | alexrovner
    org.tmatesoft.svn.core.SVNException: svn: Error restoring text for '/tmp/hudson/workspace/Data-Trunk-FT/data/DecisionTreeBuilder/src/test/java/com/contextweb/data/id3/cli/RemoveOldFilesTest.java'
  2. 0

    I get the following error when Hudson tries to revert svn working copy on a slave node. This doesn't seem to happen on every build but once the working copy is in this state manual intervention is required. Based on SVN history this seems to happen when the parent folder of a file was renamed. In this particular case we have renamed the package names. Started by timer Building remotely on cw-grid50 Reverting http://cwsvn.contextweb.corp/svn/contextad/trunk/JavaProjects/maven-projects/data ERROR: Failed to update http://cwsvn.contextweb.corp/svn/contextad/trunk/JavaProjects/maven-projects/data org.tmatesoft.svn.core.SVNException: svn: Error restoring text for '/tmp/hudson/workspace/Data-Trunk-FT/data/DecisionTreeBuilder/src/test/java/com/contextweb/data/id3/cli/RemoveOldFilesTest.java' 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.wc.SVNWCClient.revert(SVNWCClient.java:3477) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3357) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:1876) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:696) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:660) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1899) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) 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:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Email was triggered for: Failure Email was triggered for: Still Failing Trigger Failure was overridden by another trigger and will not send an email. Sending email for trigger: Still Failing Sending email to: hadoopdev@contextweb.com Finished: FAILURE

    Jenkins JIRA | 7 years ago | alexrovner
    org.tmatesoft.svn.core.SVNException: svn: Error restoring text for '/tmp/hudson/workspace/Data-Trunk-FT/data/DecisionTreeBuilder/src/test/java/com/contextweb/data/id3/cli/RemoveOldFilesTest.java'
  3. 0

    After upgrading from 1.346 to 1.348, jobs that used svn and the "upgrade" and "revert" checkboxes checked would fail to build: {noformat} Console Output View as plain text Started by an SCM change Building remotely on SNIP Reverting http://svn. SNIP ERROR: Failed to update http://svn. SNIP org.tmatesoft.svn.core.SVNException: svn: Directory '/SNIP/target/.svn' containing working copy admin area is missing 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.wc.admin.SVNWCAccess.retrieve(SVNWCAccess.java:681) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeRetrieve(SVNWCAccess.java:446) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3290) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:1876) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:629) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:593) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1962) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:595) FATAL: null java.lang.NullPointerException at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:653) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:593) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1962) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:595) {noformat}

    Jenkins JIRA | 7 years ago | mrobertm
    org.tmatesoft.svn.core.SVNException: svn: Directory '/SNIP/target/.svn' containing working copy admin area is missing
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    After upgrading from 1.346 to 1.348, jobs that used svn and the "upgrade" and "revert" checkboxes checked would fail to build: {noformat} Console Output View as plain text Started by an SCM change Building remotely on SNIP Reverting http://svn. SNIP ERROR: Failed to update http://svn. SNIP org.tmatesoft.svn.core.SVNException: svn: Directory '/SNIP/target/.svn' containing working copy admin area is missing 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.wc.admin.SVNWCAccess.retrieve(SVNWCAccess.java:681) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeRetrieve(SVNWCAccess.java:446) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3290) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:1876) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:629) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:593) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1962) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:595) FATAL: null java.lang.NullPointerException at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:653) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:593) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1962) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:595) {noformat}

    Jenkins JIRA | 7 years ago | mrobertm
    org.tmatesoft.svn.core.SVNException: svn: Directory '/SNIP/target/.svn' containing working copy admin area is missing

    Root Cause Analysis

    1. org.tmatesoft.svn.core.SVNException

      svn: Error restoring text for '/tmp/hudson/workspace/Data-Trunk-FT/data/DecisionTreeBuilder/src/test/java/com/contextweb/data/id3/cli/RemoveOldFilesTest.java'

      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error()
    2. SVNKit Library
      SVNWCClient.doRevert
      1. org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
      2. org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
      3. org.tmatesoft.svn.core.wc.SVNWCClient.revert(SVNWCClient.java:3477)
      4. org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3357)
      5. org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398)
      6. org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398)
      7. org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398)
      8. org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398)
      9. org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398)
      10. org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398)
      11. org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398)
      12. org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398)
      13. org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398)
      14. org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398)
      15. org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:1876)
      15 frames
    3. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:696)
      2. hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:660)
      3. hudson.FilePath$FileCallableWrapper.call(FilePath.java:1899)
      3 frames
    4. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.UserRequest.perform(UserRequest.java:114)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:270)
      3 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:619)
      6 frames