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 ?
- duplicates
-
JENKINS-46523 FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection
-
- Resolved
-
[JENKINS-56046] FATAL: Remote call on Slave failed
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 ? |
Priority | Original: Major [ 3 ] | New: Critical [ 2 ] |
Component/s | New: core [ 15593 ] | |
Component/s | Original: _unsorted [ 19622 ] |
Labels | New: java11 |
Link |
New:
This issue duplicates |
Issue Type | Original: Task [ 3 ] | New: Bug [ 1 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Fixed but Unreleased [ 10203 ] |
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/