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

FATAL: Remote call on Slave failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core

      The Jenkins job finishes successfully but throws an error at the end :

      FATAL: Remote call on Slave failed
      java.io.IOException: Remote call on Slave failed
      at hudson.remoting.Channel.call(Channel.java:789)
      at hudson.Launcher$RemoteLauncher.kill(Launcher.java:953)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:540)
      at hudson.model.Run.execute(Run.java:1720)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:410)
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class hudson.util.ProcessTree$UnixReflection
      at hudson.util.ProcessTree$UnixProcess.kill(ProcessTree.java:572)
      at hudson.util.ProcessTree$UnixProcess.killRecursively(ProcessTree.java:593)
      at hudson.util.ProcessTree$Unix.killAll(ProcessTree.java:514)
      at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:965)
      at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:956)
      at hudson.remoting.UserRequest.perform(UserRequest.java:153)
      at hudson.remoting.UserRequest.perform(UserRequest.java:50)
      at hudson.remoting.Request$2.run(Request.java:332)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      at java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      at java.lang.Thread.run(Thread.java:834)
      at ......remote call to Slave(Native Method)
      at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
      at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
      at hudson.remoting.Channel.call(Channel.java:781)

       

       

      Note : My jenkins (version 2.9) has many jobs , some are running on JDK 1.8 and some are on JDK 11.

      Also Jenkins has a master & slave configuration .

      Is there any solution for this ?

            Unassigned Unassigned
            mvharsha Harsha M V
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: