Here is my current setup

Jenkins ver. 2.190.1 <https://jenkins.io/> hosted on Windows 10 VM (ie 
deployed jenkins war file in apache tomcat container which run as windows 
service)
Same version of java 1.8 has been installed in both master and slave
Slave configuration like below , run from bat file


Please find log from tomcat

10-Dec-2020 07:33:53.506 INFO [IOHub#1: 
Worker[channel:java.nio.channels.SocketChannel[connected 
local=/172.18.52.73:62525 remote=10.115.65.23/10.115.65.23:58973]] / 
Computer.threadPoolForRemoting [#475718]] 
jenkins.slaves.DefaultJnlpSlaveReceiver.channelClosed IOHub#1: 
Worker[channel:java.nio.channels.SocketChannel[connected 
local=/172.18.52.73:62525 remote=10.115.65.23/10.115.65.23:58973]] / 
Computer.threadPoolForRemoting [#475718] for Win10_DCP_JEN_10 terminated: 
java.nio.channels.ClosedChannelException
10-Dec-2020 07:33:53.551 INFO [IOHub#1: 
Worker[channel:java.nio.channels.SocketChannel[connected 
local=/172.18.52.73:62525 remote=10.115.65.25/10.115.65.25:55324]] / 
Computer.threadPoolForRemoting [#475718]] 
jenkins.slaves.DefaultJnlpSlaveReceiver.channelClosed IOHub#1: 
Worker[channel:java.nio.channels.SocketChannel[connected 
local=/172.18.52.73:62525 remote=10.115.65.25/10.115.65.25:55324]] / 
Computer.threadPoolForRemoting [#475718] for Win10_DCP_JEN_12 terminated: 
java.nio.channels.ClosedChannelException
10-Dec-2020 07:33:54.014 INFO [IOHub#1: 
Worker[channel:java.nio.channels.SocketChannel[connected 
local=/172.18.52.73:62525 
remote=USRDCA02QAJEN03.user.ngahr.int/10.0.83.74:52189]] / 
Computer.threadPoolForRemoting [#475718]] 
jenkins.slaves.DefaultJnlpSlaveReceiver.channelClosed IOHub#1: 
Worker[channel:java.nio.channels.SocketChannel[connected 
local=/172.18.52.73:62525 
remote=USRDCA02QAJEN03.user.ngahr.int/10.0.83.74:52189]] / 
Computer.threadPoolForRemoting [#475718] for Win10_DCA_JEN_03 terminated: 
java.nio.channels.ClosedChannelException
10-Dec-2020 07:33:54.293 INFO [IOHub#1: 
Worker[channel:java.nio.channels.SocketChannel[connected 
local=/172.18.52.73:62525 
remote=MACHINE02QAJEN02.user.ngahr.int/10.0.83.73:55089]] / 
Computer.threadPoolForRemoting [#475718]] 
jenkins.slaves.DefaultJnlpSlaveReceiver.channelClosed IOHub#1: 
Worker[channel:java.nio.channels.SocketChannel[connected 
local=/172.18.52.73:62525 
remote=MACHINE02QAJEN02.user.ngahr.int/10.0.83.73:55089]] / 
Computer.threadPoolForRemoting [#475718] for Win10_DCA_JEN_02 terminated: 
java.nio.channels.ClosedChannelException
10-Dec-2020 07:33:54.670 INFO [IOHub#1: 
Worker[channel:java.nio.channels.SocketChannel[connected 
local=/172.18.52.73:62525 
remote=MACHINE02QAJEN01.user.ngahr.int/10.0.83.72:52038]] / 
Computer.threadPoolForRemoting [#475648]] 
jenkins.slaves.DefaultJnlpSlaveReceiver.channelClosed IOHub#1: 
Worker[channel:java.nio.channels.SocketChannel[connected 
local=/172.18.52.73:62525 
remote=MACHINE02QAJEN01.user.ngahr.int/10.0.83.72:52038]] / 
Computer.threadPoolForRemoting [#475648] for Win10_DCA_JEN_01 terminated: 
java.nio.channels.ClosedChannelException
10-Dec-2020 07:33:56.381 INFO [IOHub#1: 
Worker[channel:java.nio.channels.SocketChannel[connected 
local=/172.18.52.73:62525 
remote=MACHINE02QAJEN07.user.ngahr.int/10.0.83.26:61456]] / 
Computer.threadPoolForRemoting [#475728]] 
jenkins.slaves.DefaultJnlpSlaveReceiver.channelClosed IOHub#1: 
Worker[channel:java.nio.channels.SocketChannel[connected 
local=/172.18.52.73:62525 
remote=MACHINE02QAJEN07.user.ngahr.int/10.0.83.26:61456]] / 
Computer.threadPoolForRemoting [#475728] for Win10_DCA_JEN_07 terminated: 
java.nio.channels.ClosedChannelException


On Tuesday, September 22, 2020 at 4:35:29 PM UTC+5:30 ice...@googlemail.com 
wrote:

> Current Weekly ( that is what it seems you are using) is 2.257 now. There 
> were some changes to remoting, so make sure  the agent.jar on the the 
> client machines is up-to-date  as well. 
>
> And how do you connect to the windows clients? Running it as a windows 
> service, manually starting it , ssh ???
>
> Björn
>
> tlnar...@gmail.com schrieb am Dienstag, 22. September 2020 um 09:00:07 
> UTC+2:
>
>> Eagerly , I'm waiting for the root cause and resolution ....
>>
>> On Thursday, July 4, 2019 at 7:47:00 PM UTC+5:30 ruslan_zasukhin wrote:
>>
>>> Hi Everbody
>>>
>>> I am fighting with this about 2 weeks and so far no any success. 
>>> I have read dozen answers on internet about similar troubles - nothing 
>>> helps.
>>>
>>> I have upgrade today Java on master and all windows-slave machines to 
>>> latest 8_211, not helps.
>>> Jenkins also is latest 2.183 and all plugins up to date.
>>>
>>> *** So, problem is that windows-slave machines SOMETIMES get closed JNLP 
>>> connection.*
>>> The same machines sometimes are able to execute job with success.
>>>
>>> ** May be jenkins-gurus can check Exception-stack below and point where 
>>> to search?
>>>
>>> ** This failure happens at any time at any place of a job. 
>>> ** MASTER computer is Mac OS X
>>> ** We have around few windows computers (mostly VM on virtual Box,) 
>>>     few Linux machines (also virtual bog) and few Macs - physical macs 
>>> are used.
>>>
>>> ** Linux and Mac works fine.
>>> ** For years Windows also was fine, glitches have started about 2 weeks 
>>> ago,
>>>     On that day we was yet on 2.163
>>>
>>>
>>> =========================
>>>
>>> FATAL: command execution failed
>>> java.nio.channels.ClosedChannelException
>>>     at 
>>> org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154)
>>>     at 
>>> org.jenkinsci.remoting.protocol.impl.NIONetworkLayer.ready(NIONetworkLayer.java:179)
>>>     at org.jenkinsci.remoting.protocol.IOHub$OnReady.run(IOHub.java:795)
>>>     at 
>>> jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
>>>     at 
>>> jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
>>>     at 
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>>     at 
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>>     at java.lang.Thread.run(Thread.java:745)
>>> Caused: java.io.IOException: Backing channel 'JNLP4-connect connection from 
>>> 192.168.2.160/192.168.2.160:1112' is disconnected.
>>>     at 
>>> hudson.remoting.RemoteInvocationHandler.channelOrFail(RemoteInvocationHandler.java:214)
>>>     at 
>>> hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:283)
>>>     at com.sun.proxy.$Proxy81.isAlive(Unknown Source)
>>>     at hudson.Launcher$RemoteLauncher$ProcImpl.isAlive(Launcher.java:1150)
>>>     at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:1142)
>>>     at hudson.tasks.CommandInterpreter.join(CommandInterpreter.java:155)
>>>     at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:109)
>>>     at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66)
>>>     at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
>>>     at 
>>> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
>>>     at hudson.model.Build$BuildExecution.build(Build.java:206)
>>>     at hudson.model.Build$BuildExecution.doRun(Build.java:163)
>>>     at 
>>> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
>>>     at hudson.model.Run.execute(Run.java:1818)
>>>     at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
>>>     at hudson.model.ResourceController.execute(ResourceController.java:97)
>>>     at hudson.model.Executor.run(Executor.java:429)
>>> FATAL: Unable to delete script file 
>>> C:\Users\Ruslan\AppData\Local\Temp\jenkins4887328775441465037.bat
>>> java.nio.channels.ClosedChannelException
>>>     at 
>>> org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154)
>>>     at 
>>> org.jenkinsci.remoting.protocol.impl.NIONetworkLayer.ready(NIONetworkLayer.java:179)
>>>     at org.jenkinsci.remoting.protocol.IOHub$OnReady.run(IOHub.java:795)
>>>     at 
>>> jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
>>>     at 
>>> jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
>>>     at 
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>>     at 
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>>     at java.lang.Thread.run(Thread.java:745)
>>> Caused: hudson.remoting.ChannelClosedException: Channel "unknown": Remote 
>>> call on JNLP4-connect connection from 192.168.2.160/192.168.2.160:1112 
>>> failed. The channel is closing down or has closed down
>>>     at hudson.remoting.Channel.call(Channel.java:950)
>>>     at hudson.FilePath.act(FilePath.java:1072)
>>>     at hudson.FilePath.act(FilePath.java:1061)
>>>     at hudson.FilePath.delete(FilePath.java:1542)
>>>     at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:123)
>>>     at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66)
>>>     at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
>>>     at 
>>> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
>>>     at hudson.model.Build$BuildExecution.build(Build.java:206)
>>>     at hudson.model.Build$BuildExecution.doRun(Build.java:163)
>>>     at 
>>> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
>>>     at hudson.model.Run.execute(Run.java:1818)
>>>     at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
>>>     at hudson.model.ResourceController.execute(ResourceController.java:97)
>>>     at hudson.model.Executor.run(Executor.java:429)
>>>
>>>
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/377c68d4-641b-4bed-91aa-f280a3467220n%40googlegroups.com.

Reply via email to