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

Build is successful but at end it fails with fatal remote call on slave failed

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • gradle-jpi-plugin
    • None
    • Slave is linux machine

      Hi Team,

       

      we are using jenkins master 1.546 on centos which having  java version 1.6 

      and slave(centos) which has java 1.8 version.

      we are doing gradle build after it gets success which immediately fails with below fatal errors. 

       

      BUILD SUCCESSFULBUILD SUCCESSFUL

      Total time: 32 minutes 39 seconds

      FATAL: Remote call on Android_Linux_Slave failed

      java.io.IOException: Remote call on Android_Linux_Slave failed

      at hudson.remoting.Channel.call(Channel.java:731) at hudson.Launcher$RemoteLauncher.kill(Launcher.java:887) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:589) at hudson.model.Run.execute(Run.java:1678) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231)Caused by: java.lang.LinkageError at hudson.util.ProcessTree$UnixReflection.<clinit>(ProcessTree.java:618) at hudson.util.ProcessTree$UnixProcess.kill(ProcessTree.java:552) at hudson.util.ProcessTree$UnixProcess.killRecursively(ProcessTree.java:572) at hudson.util.ProcessTree$Unix.killAll(ProcessTree.java:496) at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:899) at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:890) 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.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at hudson.remoting.Engine$1$1.run(Engine.java:63) at java.lang.Thread.run(Thread.java:748)Caused by: java.lang.NoSuchMethodException: java.lang.UNIXProcess.destroyProcess(int) at java.lang.Class.getDeclaredMethod(Class.java:2130) at hudson.util.ProcessTree$UnixReflection.<clinit>(ProcessTree.java:607) ... 14 more

       

       

       

       

       

            sghill Steve Hill
            k2naresh355 Naresh Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: