hudson.util.IOException2: remote file operation failed: /home/swhelan/jenkins/workspace/foo at hudson.remoting.Channel@211f1041:Ubuntu

Jenkins JIRA | Stuart Whelan | 4 years ago
  1. 0

    When a slave attempts to check out or update from the repository we get the error below. Have tried with OSX Slave and Ubuntu Slave, with basic HTTP authentication and on a completely different server over svn:// and no authentication. A manual checkout via the command-line works okay. Slave is running the same user as the manual checkout was run as. I have tired all the different versions of SVN in the configuration dropdown box. The repository url validates okay, and displays an error as expected if I get it wrong. Jenkins will report a problem if I put the wrong credentials when validating the URL, and accept them okay when I get them correct. The stacktrace in the console log is: Started by user Stuart Whelan Building remotely on Ubuntu in workspace /home/swhelan/jenkins/workspace/foo hudson.util.IOException2: remote file operation failed: /home/swhelan/jenkins/workspace/foo at hudson.remoting.Channel@211f1041:Ubuntu at hudson.FilePath.act(FilePath.java:861) at hudson.FilePath.act(FilePath.java:838) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:843) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:781) at hudson.model.AbstractProject.checkout(AbstractProject.java:1342) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:683) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:588) at hudson.model.Run.execute(Run.java:1567) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) Caused by: java.io.IOException: Remote call on Ubuntu failed at hudson.remoting.Channel.call(Channel.java:681) at hudson.FilePath.act(FilePath.java:854) ... 11 more Caused by: java.lang.NoSuchMethodError: org.tmatesoft.svn.core.wc.SVNBasicClient.getOperationsFactory()Lorg/tmatesoft/svn/core/wc2/SvnOperationFactory; at hudson.scm.SvnClientManager.wrapUp(SvnClientManager.java:46) at hudson.scm.SvnClientManager.getWCClient(SvnClientManager.java:38) at hudson.scm.subversion.UpdateUpdater$TaskImpl.parseSvnInfo(UpdateUpdater.java:114) at hudson.scm.subversion.UpdateUpdater$TaskImpl.isUpdatable(UpdateUpdater.java:87) at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:120) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:153) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:903) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:884) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:867) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Finished: FAILURE

    Jenkins JIRA | 4 years ago | Stuart Whelan
    hudson.util.IOException2: remote file operation failed: /home/swhelan/jenkins/workspace/foo at hudson.remoting.Channel@211f1041:Ubuntu
  2. 0

    When a slave attempts to check out or update from the repository we get the error below. Have tried with OSX Slave and Ubuntu Slave, with basic HTTP authentication and on a completely different server over svn:// and no authentication. A manual checkout via the command-line works okay. Slave is running the same user as the manual checkout was run as. I have tired all the different versions of SVN in the configuration dropdown box. The repository url validates okay, and displays an error as expected if I get it wrong. Jenkins will report a problem if I put the wrong credentials when validating the URL, and accept them okay when I get them correct. The stacktrace in the console log is: Started by user Stuart Whelan Building remotely on Ubuntu in workspace /home/swhelan/jenkins/workspace/foo hudson.util.IOException2: remote file operation failed: /home/swhelan/jenkins/workspace/foo at hudson.remoting.Channel@211f1041:Ubuntu at hudson.FilePath.act(FilePath.java:861) at hudson.FilePath.act(FilePath.java:838) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:843) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:781) at hudson.model.AbstractProject.checkout(AbstractProject.java:1342) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:683) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:588) at hudson.model.Run.execute(Run.java:1567) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) Caused by: java.io.IOException: Remote call on Ubuntu failed at hudson.remoting.Channel.call(Channel.java:681) at hudson.FilePath.act(FilePath.java:854) ... 11 more Caused by: java.lang.NoSuchMethodError: org.tmatesoft.svn.core.wc.SVNBasicClient.getOperationsFactory()Lorg/tmatesoft/svn/core/wc2/SvnOperationFactory; at hudson.scm.SvnClientManager.wrapUp(SvnClientManager.java:46) at hudson.scm.SvnClientManager.getWCClient(SvnClientManager.java:38) at hudson.scm.subversion.UpdateUpdater$TaskImpl.parseSvnInfo(UpdateUpdater.java:114) at hudson.scm.subversion.UpdateUpdater$TaskImpl.isUpdatable(UpdateUpdater.java:87) at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:120) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:153) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:903) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:884) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:867) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Finished: FAILURE

    Jenkins JIRA | 4 years ago | Stuart Whelan
    hudson.util.IOException2: remote file operation failed: /home/swhelan/jenkins/workspace/foo at hudson.remoting.Channel@211f1041:Ubuntu
  3. 0

    How do I fix my SVN checkout on my Jenkins Slave?

    Stack Overflow | 4 years ago | Stuart Whelan
    java.lang.NoSuchMethodError: org.tmatesoft.svn.core.wc.SVNBasicClient.getOperationsFactory()Lorg/tmatesoft/svn/core/wc2/SvnOperationFactory;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Subversion issues after restoring Jenkins backup

    Google Groups | 5 years ago | Hendrik Fuß
    java.lang.NoSuchMethodError: org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.setAuthenticationStorageOptions(Lorg/tmatesoft/svn/core/internal/wc/ISVNAuthenticationStorageOptions;)V
  6. 0

    When performing release staging on a MavenModuleSet, during the stage that the creation of a tag is performed, the following message is printed {noformat} [RELEASE] You are using an old subversion jenkins plugin, please consider upgrading. {noformat} I managed to get the stacktrace that determines the subversion plugin version: {code} java.lang.NoSuchMethodError: hudson.scm.SubversionSCM.createAuthenticationProvider(Lhudson/model/AbstractProject;Lhudson/scm/SubversionSCM$ModuleLocation;)Lorg/tmatesoft/ svn/core/auth/ISVNAuthenticationProvider; at org.jfrog.hudson.release.scm.svn.SubversionManager.getSvnAuthenticationProvider(SubversionManager.java:157) at org.jfrog.hudson.release.scm.svn.SubversionManager.createTag(SubversionManager.java:73) at org.jfrog.hudson.release.scm.svn.SubversionCoordinator.afterSuccessfulReleaseVersionBuild(SubversionCoordinator.java:49) at org.jfrog.hudson.release.maven.MavenReleaseWrapper$2.tearDown(MavenReleaseWrapper.java:177) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:869) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1744) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) {code} When downgrading the subversion plugin to 2.0 the creation of the tag succeeds and the overall builds passes as expected

    JFrog JIRA | 2 years ago | Tomer Cohen
    java.lang.NoSuchMethodError: hudson.scm.SubversionSCM.createAuthenticationProvider(Lhudson/model/AbstractProject;Lhudson/scm/SubversionSCM$ModuleLocation;)Lorg/tmatesoft/ svn/core/auth/ISVNAuthenticationProvider;

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.tmatesoft.svn.core.wc.SVNBasicClient.getOperationsFactory()Lorg/tmatesoft/svn/core/wc2/SvnOperationFactory;

      at hudson.scm.SvnClientManager.wrapUp()
    2. Hudson
      SvnClientManager.getWCClient
      1. hudson.scm.SvnClientManager.wrapUp(SvnClientManager.java:46)
      2. hudson.scm.SvnClientManager.getWCClient(SvnClientManager.java:38)
      2 frames
    3. Hudson Subversion Plug-in
      WorkspaceUpdater$UpdateTask.delegateTo
      1. hudson.scm.subversion.UpdateUpdater$TaskImpl.parseSvnInfo(UpdateUpdater.java:114)
      2. hudson.scm.subversion.UpdateUpdater$TaskImpl.isUpdatable(UpdateUpdater.java:87)
      3. hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:120)
      4. hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:153)
      4 frames
    4. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:903)
      2. hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:884)
      3. hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:867)
      4. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348)
      4 frames
    5. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:326)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      4 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      5. java.lang.Thread.run(Thread.java:679)
      5 frames