Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins JNLP4-connect connection from xxx.xxx.xxx.xxx failed after the success of build procedure

I got a failure after all the build procedure were finished without any errors.

And I don't know why below error has occurred.

This error has marked the status of a job as a failure even all the tests were successfully finished. FATAL: Remote call on JNLP4-connect connection from socautovm1.xxx.local/192.168.114.144:65033 failed Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from socautovm1.xxx.local/192.168.114.144:65033

at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
        at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
        at hudson.remoting.Channel.call(Channel.java:955)
        at hudson.Launcher$RemoteLauncher.kill(Launcher.java:1078)
        at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:510)
        at hudson.model.Run.execute(Run.java:1815)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
        at hudson.model.ResourceController.execute(ResourceController.java:97)
        at hudson.model.Executor.run(Executor.java:429)
java.lang.NoClassDefFoundError: Could not initialize class hudson.slaves.SlaveComputer
    at hudson.util.ProcessTree.get(ProcessTree.java:399)
    at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1090)
    at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1081)
    at hudson.remoting.UserRequest.perform(UserRequest.java:212)
    at hudson.remoting.UserRequest.perform(UserRequest.java:54)
    at hudson.remoting.Request$2.run(Request.java:369)
    at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
    at java.lang.Thread.run(Unknown Source)
Caused: java.io.IOException: Remote call on JNLP4-connect connection from socautovm1.xxx.local/192.168.114.144:65033 failed
    at hudson.remoting.Channel.call(Channel.java:961)
    at hudson.Launcher$RemoteLauncher.kill(Launcher.java:1078)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:510)
    at hudson.model.Run.execute(Run.java:1815)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    at hudson.model.ResourceController.execute(ResourceController.java:97)
    at hudson.model.Executor.run(Executor.java:429)
like image 584
user3820288 Avatar asked Sep 06 '18 15:09

user3820288


2 Answers

It seems that the agent is down. Check in which node the job runs and check its status. You may need to restart the node or even free some space in order to get it back online if the current status is offline.

like image 159
Vasilis Vasilatos Avatar answered Oct 01 '22 22:10

Vasilis Vasilatos


I restarted the jenkins agent service and it resolved the issue. (/service/jenkins-agent)

like image 30
Kapidis Avatar answered Oct 01 '22 23:10

Kapidis