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
On Tuesday, September 22, 2020 at 4:35:29 PM UTC+5:30 [email protected] 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 > > [email protected] 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3fafce66-e563-4ab7-b1f7-9dc47beb7974n%40googlegroups.com.
