java.io.IOException: Remote call on win7-node-01 failed

Jenkins JIRA | Vadym Vikulin | 2 years ago
  1. 0

    Reproduced on 1.585: Started by user Vadym Vikulin [EnvInject] - Loading node environment variables. Building remotely on win7-node-01 (Win7) in workspace C:\work\workspace\Win7-ED [EnvInject] - Executing scripts and injecting environment variables after the SCM step. [EnvInject] - Injecting as environment variables the properties content CLASSPATH=C:\work\edtest\common\libs\*:C:\work\edtest\common;C:\work\edtest\all\edJava;C:\work\edtest\all\edNative/libs/* [EnvInject] - Variables injected successfully. [Win7-ED] $ cmd /c call C:\Users\VADYMV~1\AppData\Local\Temp\hudson142281969965340690.bat FATAL: command execution failed java.io.IOException: Remote call on win7-node-01 failed at hudson.remoting.Channel.call(Channel.java:751) at hudson.Launcher$RemoteLauncher.launch(Launcher.java:915) at hudson.Launcher$ProcStarter.start(Launcher.java:380) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:97) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) 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:533) at hudson.model.Run.execute(Run.java:1759) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: java.lang.NoClassDefFoundError: Could not initialize class hudson.Util at hudson.EnvVars$OverrideOrderCalculator.scan(EnvVars.java:281) at hudson.EnvVars$OverrideOrderCalculator.<init>(EnvVars.java:223) at hudson.EnvVars.overrideExpandingAll(EnvVars.java:329) at hudson.Launcher.inherit(Launcher.java:1227) at hudson.Launcher.inherit(Launcher.java:1219) at hudson.Launcher.access$200(Launcher.java:81) at hudson.Launcher$LocalLauncher.launch(Launcher.java:795) at hudson.Launcher$ProcStarter.start(Launcher.java:380) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1135) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1100) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:63) at java.lang.Thread.run(Unknown Source) FATAL: Unable to delete script file C:\Users\VADYMV~1\AppData\Local\Temp\hudson142281969965340690.bat java.io.IOException: remote file operation failed: C:\Users\VADYMV~1\AppData\Local\Temp\hudson142281969965340690.bat at hudson.remoting.Channel@5dc020b1:win7-node-01 at hudson.FilePath.act(FilePath.java:914) at hudson.FilePath.act(FilePath.java:896) at hudson.FilePath.delete(FilePath.java:1321) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:106) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) 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:533) at hudson.model.Run.execute(Run.java:1759) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: java.io.IOException: Remote call on win7-node-01 failed at hudson.remoting.Channel.call(Channel.java:751) at hudson.FilePath.act(FilePath.java:907) ... 13 more

    Jenkins JIRA | 2 years ago | Vadym Vikulin
    java.io.IOException: Remote call on win7-node-01 failed
  2. 0

    Reproduced on 1.585: Started by user Vadym Vikulin [EnvInject] - Loading node environment variables. Building remotely on win7-node-01 (Win7) in workspace C:\work\workspace\Win7-ED [EnvInject] - Executing scripts and injecting environment variables after the SCM step. [EnvInject] - Injecting as environment variables the properties content CLASSPATH=C:\work\edtest\common\libs\*:C:\work\edtest\common;C:\work\edtest\all\edJava;C:\work\edtest\all\edNative/libs/* [EnvInject] - Variables injected successfully. [Win7-ED] $ cmd /c call C:\Users\VADYMV~1\AppData\Local\Temp\hudson142281969965340690.bat FATAL: command execution failed java.io.IOException: Remote call on win7-node-01 failed at hudson.remoting.Channel.call(Channel.java:751) at hudson.Launcher$RemoteLauncher.launch(Launcher.java:915) at hudson.Launcher$ProcStarter.start(Launcher.java:380) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:97) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) 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:533) at hudson.model.Run.execute(Run.java:1759) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: java.lang.NoClassDefFoundError: Could not initialize class hudson.Util at hudson.EnvVars$OverrideOrderCalculator.scan(EnvVars.java:281) at hudson.EnvVars$OverrideOrderCalculator.<init>(EnvVars.java:223) at hudson.EnvVars.overrideExpandingAll(EnvVars.java:329) at hudson.Launcher.inherit(Launcher.java:1227) at hudson.Launcher.inherit(Launcher.java:1219) at hudson.Launcher.access$200(Launcher.java:81) at hudson.Launcher$LocalLauncher.launch(Launcher.java:795) at hudson.Launcher$ProcStarter.start(Launcher.java:380) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1135) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1100) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:63) at java.lang.Thread.run(Unknown Source) FATAL: Unable to delete script file C:\Users\VADYMV~1\AppData\Local\Temp\hudson142281969965340690.bat java.io.IOException: remote file operation failed: C:\Users\VADYMV~1\AppData\Local\Temp\hudson142281969965340690.bat at hudson.remoting.Channel@5dc020b1:win7-node-01 at hudson.FilePath.act(FilePath.java:914) at hudson.FilePath.act(FilePath.java:896) at hudson.FilePath.delete(FilePath.java:1321) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:106) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) 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:533) at hudson.model.Run.execute(Run.java:1759) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: java.io.IOException: Remote call on win7-node-01 failed at hudson.remoting.Channel.call(Channel.java:751) at hudson.FilePath.act(FilePath.java:907) ... 13 more

    Jenkins JIRA | 2 years ago | Vadym Vikulin
    java.io.IOException: Remote call on win7-node-01 failed
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    I have followed standard instructions to install a slave with Java Web Start, slave is started, connected. However when I run a job with a simple "windows batch command" it fails: {noformat} Building remotely on dvm in workspace C:\my-ws FATAL: command execution failed java.io.IOException: Remote call on dvm failed at hudson.remoting.Channel.call(Channel.java:731) 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:94) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:63) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) 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:566) at hudson.model.Run.execute(Run.java:1677) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) 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:328) 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:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at hudson.remoting.Engine$1$1.run(Engine.java:63) at java.lang.Thread.run(Thread.java:662) Build step 'Execute Windows batch command' marked build as failure Finished: FAILURE {noformat}

    Jenkins JIRA | 3 years ago | Anatoly Kupriyanov
    java.io.IOException: Remote call on dvm failed
  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

    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 hudson.Util

      at hudson.EnvVars$OverrideOrderCalculator.scan()
    2. Hudson
      Launcher$RemoteLaunchCallable.call
      1. hudson.EnvVars$OverrideOrderCalculator.scan(EnvVars.java:281)
      2. hudson.EnvVars$OverrideOrderCalculator.<init>(EnvVars.java:223)
      3. hudson.EnvVars.overrideExpandingAll(EnvVars.java:329)
      4. hudson.Launcher.inherit(Launcher.java:1227)
      5. hudson.Launcher.inherit(Launcher.java:1219)
      6. hudson.Launcher.access$200(Launcher.java:81)
      7. hudson.Launcher$LocalLauncher.launch(Launcher.java:795)
      8. hudson.Launcher$ProcStarter.start(Launcher.java:380)
      9. hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1135)
      10. hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1100)
      10 frames
    3. 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:328)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      4 frames
    4. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      2. java.util.concurrent.FutureTask.run(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      4 frames
    5. Hudson :: Remoting Layer
      Engine$1$1.run
      1. hudson.remoting.Engine$1$1.run(Engine.java:63)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame