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

SVN revert does not function properly on slave nodes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • subversion-plugin
    • None

      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

            Unassigned Unassigned
            alexrovner alexrovner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: