[JIRA] (JENKINS-59029) Build is successful but at end it fails with fatal remote call on slave failed

9 views
Skip to first unread message

k2naresh355@gmail.com (JIRA)

unread,
Aug 21, 2019, 10:16:02 AM8/21/19
to jenkinsc...@googlegroups.com
Naresh Kumar created an issue
 
Jenkins / Task JENKINS-59029
Build is successful but at end it fails with fatal remote call on slave failed
Issue Type: Task Task
Assignee: Steve Hill
Components: gradle-jpi-plugin
Created: 2019-08-21 14:15
Environment: Slave is linux machine
Priority: Critical Critical
Reporter: Naresh Kumar

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

 

 

 

 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

sghill.dev@gmail.com (JIRA)

unread,
Aug 21, 2019, 5:04:01 PM8/21/19
to jenkinsc...@googlegroups.com
Steve Hill closed an issue as Not A Defect
Change By: Steve Hill
Status: Open Closed
Resolution: Not A Defect

sghill.dev@gmail.com (JIRA)

unread,
Aug 21, 2019, 5:04:02 PM8/21/19
to jenkinsc...@googlegroups.com
Steve Hill commented on Task JENKINS-59029
 
Re: Build is successful but at end it fails with fatal remote call on slave failed

Hi Naresh Kumar,

This is not a problem with the gradle-jpi-plugin. The gradle-jpi-plugin is a gradle plugin to build jenkins plugins, not a jenkins plugin to run gradle builds. I suppose you may be using the gradle plugin in your build step, but this looks like it's more related to the mismatched java versions.

Caused by: java.lang.NoSuchMethodException: java.lang.UNIXProcess.destroyProcess(int)

Here is a related ticket that is already marked resolved: JENKINS-21341

Reply all
Reply to author
Forward
0 new messages