hudson.util.IOException2: remote file operation failed: /home/admin/jenkins/workspace/TESTLinux3 at hudson.remoting.Channel@69d99bff:Compilation Debian 6 64 bits

Jenkins JIRA | yann collette | 3 years ago
  1. 0

    Git plugin, problem cloning

    Google Groups | 3 years ago | ycollet
    hudson.util.IOException2: remote file operation failed: /home/admin/jenkins/workspace/TESTLinux3 at hudson.remoting.Channel@69d99bff:Compilation Debian 6 64 bits
  2. 0

    I updated my jenkins installation to the last version (1.533) and all the plugins have been updated. I've got a problem with a project which must be cloned onto a slave (I just created the project, so this is the first time the repo is cloned). When jenkins is trying to clone, an error is displayed: Using strategy: Default Using shallow clone hudson.util.IOException2: remote file operation failed: /home/admin/jenkins/workspace/TESTLinux3 at hudson.remoting.Channel@69d99bff:Compilation Debian 6 64 bits at hudson.FilePath.act(FilePath.java:912) at hudson.FilePath.act(FilePath.java:889) at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:948) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1114) at hudson.model.AbstractProject.checkout(AbstractProject.java:1411) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:657) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) Caused by: java.io.IOException: Remote call on Compilation Debian 6 64 bits failed at hudson.remoting.Channel.call(Channel.java:723) at hudson.FilePath.act(FilePath.java:905) ... 11 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class jenkins.model.Jenkins$MasterComputer at hudson.FilePath.act(FilePath.java:916) at hudson.FilePath.act(FilePath.java:889) at org.jenkinsci.plugins.gitclient.Git.getClient(Git.java:65) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:956) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:948) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2444) 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:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) Finished: FAILURE When I looked at the code on github (GitSCM.java:948), the error seems to be located here: public void buildEnvVars(AbstractBuild<?, ?> build, java.util.Map<String, String> env) { super.buildEnvVars(build, env); Revision rev = fixNull(getBuildData(build)).getLastBuiltRevision(); if (rev!=null) { Branch branch = Iterables.getFirst(rev.getBranches(), null); if (branch!=null) { env.put(GIT_BRANCH, branch.getName()); String prevCommit = getLastBuiltCommitOfBranch(build, branch); if (prevCommit != null) { env.put(GIT_PREVIOUS_COMMIT, prevCommit); } } env.put(GIT_COMMIT, fixEmpty(rev.getSha1String())); ###### <---- error located here (line 948) } But because I cloned for the first time, I shouldn't be here as far as I understand ?!? Maybe the problem comes from another place ...

    Jenkins JIRA | 3 years ago | yann collette
    hudson.util.IOException2: remote file operation failed: /home/admin/jenkins/workspace/TESTLinux3 at hudson.remoting.Channel@69d99bff:Compilation Debian 6 64 bits
  3. 0

    I updated my jenkins installation to the last version (1.533) and all the plugins have been updated. I've got a problem with a project which must be cloned onto a slave (I just created the project, so this is the first time the repo is cloned). When jenkins is trying to clone, an error is displayed: Using strategy: Default Using shallow clone hudson.util.IOException2: remote file operation failed: /home/admin/jenkins/workspace/TESTLinux3 at hudson.remoting.Channel@69d99bff:Compilation Debian 6 64 bits at hudson.FilePath.act(FilePath.java:912) at hudson.FilePath.act(FilePath.java:889) at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:948) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1114) at hudson.model.AbstractProject.checkout(AbstractProject.java:1411) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:657) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) Caused by: java.io.IOException: Remote call on Compilation Debian 6 64 bits failed at hudson.remoting.Channel.call(Channel.java:723) at hudson.FilePath.act(FilePath.java:905) ... 11 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class jenkins.model.Jenkins$MasterComputer at hudson.FilePath.act(FilePath.java:916) at hudson.FilePath.act(FilePath.java:889) at org.jenkinsci.plugins.gitclient.Git.getClient(Git.java:65) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:956) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:948) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2444) 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:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) Finished: FAILURE When I looked at the code on github (GitSCM.java:948), the error seems to be located here: public void buildEnvVars(AbstractBuild<?, ?> build, java.util.Map<String, String> env) { super.buildEnvVars(build, env); Revision rev = fixNull(getBuildData(build)).getLastBuiltRevision(); if (rev!=null) { Branch branch = Iterables.getFirst(rev.getBranches(), null); if (branch!=null) { env.put(GIT_BRANCH, branch.getName()); String prevCommit = getLastBuiltCommitOfBranch(build, branch); if (prevCommit != null) { env.put(GIT_PREVIOUS_COMMIT, prevCommit); } } env.put(GIT_COMMIT, fixEmpty(rev.getSha1String())); ###### <---- error located here (line 948) } But because I cloned for the first time, I shouldn't be here as far as I understand ?!? Maybe the problem comes from another place ...

    Jenkins JIRA | 3 years ago | yann collette
    hudson.util.IOException2: remote file operation failed: /home/admin/jenkins/workspace/TESTLinux3 at hudson.remoting.Channel@69d99bff:Compilation Debian 6 64 bits
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I am able to start slave.jar via ssh or via jnlp. The log of the connection shows that the node is correctly started. In a project, I have 2 main parts: - a svn checkout - a shell command to start cmake + compilation. If I launch my build, it hangs. Then, I disabled the svn checkout and leave only the shell command with a "echo hello". If I start the build, it hangs with the following error message: {quote} Started by user anonymous [EnvInject] - Loading node environment variables. Building remotely on slave_linux_64 in workspace /home/crystal/jenkins/workspace/TESTLinux FATAL: command execution failed java.io.IOException: Remote call on slave_linux_64 failed at hudson.remoting.Channel.call(Channel.java:723) at hudson.Launcher$RemoteLauncher.launch(Launcher.java:862) at hudson.Launcher$ProcStarter.start(Launcher.java:353) at hudson.Launcher$ProcStarter.join(Launcher.java:360) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:91) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586) at hudson.model.Run.execute(Run.java:1603) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) Caused by: java.lang.NoClassDefFoundError: Could not initialize class jenkins.model.Jenkins$MasterComputer at hudson.Launcher$LocalLauncher.<init>(Launcher.java:755) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:991) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:965) 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:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at hudson.remoting.Engine$1$1.run(Engine.java:63) at java.lang.Thread.run(Thread.java:724) Build step 'Execute shell' marked build as failure Finished: FAILURE {quote} When I looked at the jenkins directory I configured on the slave, all the required jar are present, the workspace directory is present and the build directory is correctly created by the jenkins master. But nothing in this directory.

    Jenkins JIRA | 3 years ago | yann collette
    java.io.IOException: Remote call on slave_linux_64 failed
  6. 0

    Hi, I have setup the reviewBot plugin in Jenkins to get the patch from RB. The Jenkins - RB connection works fine. The patch gets applied, but then i am seeing the below issue and the job fails. Also, RB is not being notified on this job status even though it says it is going to notify. Applying the diff -----> ( this points to the correct RB site ) FATAL: command execution failed java.io.IOException: Remote call on dineshg-svl-eabu02 failed at hudson.remoting.Channel.call(Channel.java:681) at hudson.Launcher$RemoteLauncher.launch(Launcher.java:852) at hudson.Launcher$ProcStarter.start(Launcher.java:353) at hudson.Launcher$ProcStarter.join(Launcher.java:360) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:91) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:584) at hudson.model.Run.execute(Run.java:1575) 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.lang.NoClassDefFoundError: Could not initialize class jenkins.model.Jenkins$MasterComputer at hudson.Launcher$LocalLauncher.<init>(Launcher.java:745) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:981) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:955) 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: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) Build step 'Execute shell' marked build as failure [description-setter] Could not determine description. Email was triggered for: Failure Sending email for trigger: Failure An attempt to send an e-mail to empty list of recipients, ignored. Going to notify reviewboard about #14

    Jenkins JIRA | 3 years ago | dinesh Gopalakrishnan
    java.io.IOException: Remote call on dineshg-svl-eabu02 failed

    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.NoClassDefFoundError

      Could not initialize class jenkins.model.Jenkins$MasterComputer

      at hudson.FilePath.act()
    2. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:916)
      2. hudson.FilePath.act(FilePath.java:889)
      2 frames
    3. org.jenkinsci.plugins
      Git.getClient
      1. org.jenkinsci.plugins.gitclient.Git.getClient(Git.java:65)
      1 frame
    4. Hudson GIT plugin
      GitSCM$2.invoke
      1. hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:956)
      2. hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:948)
      2 frames
    5. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2444)
      1 frame
    6. 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
    7. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      5. java.lang.Thread.run(Thread.java:662)
      5 frames