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

FATAL: Remote call on Slave failed

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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 ?

        Attachments

          Issue Links

            Activity

            mvharsha Harsha M V created issue -
            mvharsha Harsha M V made changes -
            Field Original Value New Value
            Description 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 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 ?
            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 ?
            mvharsha Harsha M V made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            oleg_nenashev Oleg Nenashev made changes -
            Component/s core [ 15593 ]
            Component/s _unsorted [ 19622 ]
            oleg_nenashev Oleg Nenashev made changes -
            Labels java11
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue duplicates JENKINS-46523 [ JENKINS-46523 ]
            alecharp Adrien Lecharpentier made changes -
            Issue Type Task [ 3 ] Bug [ 1 ]
            alecharp Adrien Lecharpentier made changes -
            Status Open [ 1 ] Fixed but Unreleased [ 10203 ]
            Resolution Fixed [ 1 ]
            alecharp Adrien Lecharpentier made changes -
            Status Fixed but Unreleased [ 10203 ] Closed [ 6 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: