hudson.util.IOException2: remote file operation failed: /opt/users/hudsonbuild/workspace/jgit.gerrit at hudson.remoting.Channel@7c9454b3:sandbox-slave1

Jenkins JIRA | Matthias Sohn | 5 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

    we upgraded gerrit-trigger to 2.3.1 and now we hit the exception given below when a build job is triggered. I tried to debug this but I failed to succesfully build the gerrit-trigger plugin in eclipse. Is the developer setup described anywhere ? https://hudson.eclipse.org/sandbox/job/jgit.gerrit/894/console Fetching upstream changes from git://egit.eclipse.org/jgit.git hudson.util.IOException2: remote file operation failed: /opt/users/hudsonbuild/workspace/jgit.gerrit at hudson.remoting.Channel@7c9454b3:sandbox-slave1 at hudson.FilePath.act(FilePath.java:754) at hudson.FilePath.act(FilePath.java:740) at hudson.plugins.git.GitSCM.gerRevisionToBuild(GitSCM.java:754) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:540) at hudson.model.AbstractProject.checkout(AbstractProject.java:1217) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:508) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:424) at hudson.model.Run.run(Run.java:1367) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) Caused by: java.io.IOException: Remote call on sandbox-slave1 failed at hudson.remoting.Channel.call(Channel.java:659) at hudson.FilePath.act(FilePath.java:747) ... 10 more Caused by: java.lang.NoSuchMethodError: hudson.plugins.git.IGitAPI.revParse(Ljava/lang/String;)Lorg/eclipse/jgit/lib/ObjectId; at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerBuildChooser.getCandidateRevisions(GerritTriggerBuildChooser.java:61) at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:861) at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:754) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1960) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:283) 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) [DRY] Skipping publisher since build result is FAILURE [FINDBUGS] Skipping publisher since build result is FAILURE Recording test results [DEBUG] Skipping watched dependency update for build: jgit.gerrit #894 due to result: FAILURE Finished: FAILURE

    Jenkins JIRA | 5 years ago | Matthias Sohn
    hudson.util.IOException2: remote file operation failed: /opt/users/hudsonbuild/workspace/jgit.gerrit at hudson.remoting.Channel@7c9454b3:sandbox-slave1
  2. 0

    we upgraded gerrit-trigger to 2.3.1 and now we hit the exception given below when a build job is triggered. I tried to debug this but I failed to succesfully build the gerrit-trigger plugin in eclipse. Is the developer setup described anywhere ? https://hudson.eclipse.org/sandbox/job/jgit.gerrit/894/console Fetching upstream changes from git://egit.eclipse.org/jgit.git hudson.util.IOException2: remote file operation failed: /opt/users/hudsonbuild/workspace/jgit.gerrit at hudson.remoting.Channel@7c9454b3:sandbox-slave1 at hudson.FilePath.act(FilePath.java:754) at hudson.FilePath.act(FilePath.java:740) at hudson.plugins.git.GitSCM.gerRevisionToBuild(GitSCM.java:754) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:540) at hudson.model.AbstractProject.checkout(AbstractProject.java:1217) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:508) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:424) at hudson.model.Run.run(Run.java:1367) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) Caused by: java.io.IOException: Remote call on sandbox-slave1 failed at hudson.remoting.Channel.call(Channel.java:659) at hudson.FilePath.act(FilePath.java:747) ... 10 more Caused by: java.lang.NoSuchMethodError: hudson.plugins.git.IGitAPI.revParse(Ljava/lang/String;)Lorg/eclipse/jgit/lib/ObjectId; at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerBuildChooser.getCandidateRevisions(GerritTriggerBuildChooser.java:61) at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:861) at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:754) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1960) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:283) 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) [DRY] Skipping publisher since build result is FAILURE [FINDBUGS] Skipping publisher since build result is FAILURE Recording test results [DEBUG] Skipping watched dependency update for build: jgit.gerrit #894 due to result: FAILURE Finished: FAILURE

    Jenkins JIRA | 5 years ago | Matthias Sohn
    hudson.util.IOException2: remote file operation failed: /opt/users/hudsonbuild/workspace/jgit.gerrit at hudson.remoting.Channel@7c9454b3:sandbox-slave1

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      hudson.plugins.git.IGitAPI.revParse(Ljava/lang/String;)Lorg/eclipse/jgit/lib/ObjectId;

      at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerBuildChooser.getCandidateRevisions()
    2. com.sonyericsson.hudson
      GerritTriggerBuildChooser.getCandidateRevisions
      1. com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerBuildChooser.getCandidateRevisions(GerritTriggerBuildChooser.java:61)
      1 frame
    3. Hudson GIT plugin
      GitSCM$3.invoke
      1. hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:861)
      2. hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:754)
      2 frames
    4. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.FilePath$FileCallableWrapper.call(FilePath.java:1960)
      1 frame
    5. 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:283)
      3 frames
    6. 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