| Hi guys, Did anyone of you get this issue resolved ? I have a similar issue - One of my jenkins job calls windows Task Scheduler to trigger network connection emulator tool. The job does its work, opens the network emultor tool, but the immediately the agent communication terminates. I cant even restart the jenkins service when the network emulator tool is opened. Jenkins version - 2.176.2 Java - 1.8.0_211 OS - windows 2012 R2 ( both master and agent machines) Note - When the same agent is configured for our old jenkins V2.76 with all the same set up, it does not fail. I'm not able to figure out if its a remoting issue or if I'm missing some configuration/ settings Error in jenkins job console output - 7:27:56 Network latency in network emulator will be adjusted with the value of 86 based in a median latency of 27.5019407272338877:27:56 Network latency in network emulator will be adjusted with the value of 86 based in a median latency of 27.50194072723388707:27:56 SUCCESS: Attempted to run the scheduled task "StartNetworkEmulator".07:28:16 FATAL: java.nio.channels.ClosedChannelException07:28:16 java.nio.channels.ClosedChannelException07:28:16 Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 10.XXX.XXX.XXX/10.XXX.XXX.XXX:6083307:28:16 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)07:28:16 at hudson.remoting.Request.call(Request.java:202)07:28:16 at hudson.remoting.Channel.call(Channel.java:956)07:28:16 at hudson.Launcher$RemoteLauncher.kill(Launcher.java:1086)07:28:16 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:510)07:28:16 at hudson.model.Run.execute(Run.java:1818)07:28:16 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)07:28:16 at hudson.model.ResourceController.execute(ResourceController.java:97)07:28:16 at hudson.model.Executor.run(Executor.java:429)07:28:16 Caused: hudson.remoting.RequestAbortedException07:28:16 at hudson.remoting.Request.abort(Request.java:340)07:28:16 at hudson.remoting.Channel.terminate(Channel.java:1040)07:28:16 at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.onReadClosed(ChannelApplicationLayer.java:209)07:28:16 at org.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClosed(ApplicationLayer.java:222)07:28:16 at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:816)07:28:16 at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287)07:28:16 at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:172)07:28:16 at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:816)07:28:16 at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154)07:28:16 at org.jenkinsci.remoting.protocol.impl.NIONetworkLayer.ready(NIONetworkLayer.java:179)07:28:16 at org.jenkinsci.remoting.protocol.IOHub$OnReady.run(IOHub.java:795)07:28:16 at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)07:28:16 at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)07:28:16 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)07:28:16 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)07:28:16 at java.lang.Thread.run(Unknown Source)07:28:16 Discard old builds...07:28:16 #581 is removed because it is older than daysToKeep07:28:16 #580 is removed because it is older than daysToKeep07:28:16 Finished: FAILURE Looking forward for help. Thanks, Chethan |