• 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 ?

          [JENKINS-56046] FATAL: Remote call on Slave failed

          Harsha M V created issue -
          Harsha M V made changes -
          Description Original: 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 ?
          New: 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 ?
          Harsha M V made changes -
          Priority Original: Major [ 3 ] New: Critical [ 2 ]
          Oleg Nenashev made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: _unsorted [ 19622 ]
          Oleg Nenashev made changes -
          Labels New: java11

          Oleg Nenashev added a comment -

          Most likely you are running a master or one of its agents with Java 11.

          Java 11 is not supported in your Jenkins version, please update to the latest weekly. https://jenkins.io/blog/2018/12/14/java11-preview-availability/

           

          Oleg Nenashev added a comment - Most likely you are running a master or one of its agents with Java 11. Java 11 is not supported in your Jenkins version, please update to the latest weekly. https://jenkins.io/blog/2018/12/14/java11-preview-availability/  
          Oleg Nenashev made changes -
          Link New: This issue duplicates JENKINS-46523 [ JENKINS-46523 ]

          Oleg Nenashev added a comment -

          I believe this is a duplicate of JENKINS-46523 which was fixed in 2.144

          Oleg Nenashev added a comment - I believe this is a duplicate of  JENKINS-46523 which was fixed in 2.144
          Adrien Lecharpentier made changes -
          Issue Type Original: Task [ 3 ] New: Bug [ 1 ]

          Resolve as duplicate.

          Adrien Lecharpentier added a comment - Resolve as duplicate.
          Adrien Lecharpentier made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]

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

              Created:
              Updated:
              Resolved: