[JIRA] (JENKINS-52922) slave is getting disconnected in the middle of the job

1,556 views
Skip to first unread message

g.sumanthnath@gmail.com (JIRA)

unread,
Aug 7, 2018, 12:04:02 PM8/7/18
to jenkinsc...@googlegroups.com
sumanthnath gangavarapu created an issue
 
Jenkins / Bug JENKINS-52922
slave is getting disconnected in the middle of the job
Issue Type: Bug Bug
Assignee: Unassigned
Components: slave-squatter-plugin
Created: 2018-08-07 16:03
Environment: Production
Priority: Major Major
Reporter: sumanthnath gangavarapu

FATAL: command execution failedFATAL: command execution failedjava.nio.channels.ClosedChannelException at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.onReadClosed(ChannelApplicationLayer.java:209) at org.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClosed(ApplicationLayer.java:222) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:181) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.switchToNoSecure(SSLEngineFilterLayer.java:283) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processWrite(SSLEngineFilterLayer.java:503) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processQueuedWrites(SSLEngineFilterLayer.java:248) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doSend(SSLEngineFilterLayer.java:200) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doCloseSend(SSLEngineFilterLayer.java:213) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.doCloseSend(ProtocolStack.java:800) at org.jenkinsci.remoting.protocol.ApplicationLayer.doCloseWrite(ApplicationLayer.java:173) at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer$ByteBufferCommandTransport.closeWrite(ChannelApplicationLayer.java:314) at hudson.remoting.Channel.close(Channel.java:1450) at hudson.remoting.Channel.close(Channel.java:1403) at hudson.slaves.SlaveComputer.closeChannel(SlaveComputer.java:821) at hudson.slaves.SlaveComputer.access$800(SlaveComputer.java:105) at hudson.slaves.SlaveComputer$3.run(SlaveComputer.java:737) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)Caused: java.io.IOException: Backing channel 'JNLP4-connect connection from myip/myip:49165' is disconnected. at hudson.remoting.RemoteInvocationHandler.channelOrFail(RemoteInvocationHandler.java:214) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:283) at com.sun.proxy.$Proxy128.isAlive(Unknown Source) at hudson.Launcher$RemoteLauncher$ProcImpl.isAlive(Launcher.java:1137) at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:1129) 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:744) 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: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)FATAL: Unable to delete script file C:\Windows\TEMP\jenkins880525539975639792.ps1java.nio.channels.ClosedChannelException at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.onReadClosed(ChannelApplicationLayer.java:209) at org.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClosed(ApplicationLayer.java:222) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:181) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.switchToNoSecure(SSLEngineFilterLayer.java:283) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processWrite(SSLEngineFilterLayer.java:503) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processQueuedWrites(SSLEngineFilterLayer.java:248) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doSend(SSLEngineFilterLayer.java:200) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doCloseSend(SSLEngineFilterLayer.java:213) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.doCloseSend(ProtocolStack.java:800) at org.jenkinsci.remoting.protocol.ApplicationLayer.doCloseWrite(ApplicationLayer.java:173) at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer$ByteBufferCommandTransport.closeWrite(ChannelApplicationLayer.java:314) at hudson.remoting.Channel.close(Channel.java:1450) at hudson.remoting.Channel.close(Channel.java:1403) at hudson.slaves.SlaveComputer.closeChannel(SlaveComputer.java:821) at hudson.slaves.SlaveComputer.access$800(SlaveComputer.java:105) at hudson.slaves.SlaveComputer$3.run(SlaveComputer.java:737) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)Caused: hudson.remoting.ChannelClosedException: Channel "unknown": Remote call on JNLP4-connect connection from Myip/Myip:49165 failed. The channel is closing down or has closed down at hudson.remoting.Channel.call(Channel.java:948) at hudson.FilePath.act(FilePath.java:1070) at hudson.FilePath.act(FilePath.java:1059) at hudson.FilePath.delete(FilePath.java:1563) 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:744) 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: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)Build step 'Windows PowerShell' marked build as failure[htmlpublisher] Archiving HTML reports...ERROR: Build step failed with exceptionjava.lang.NullPointerException at htmlpublisher.HtmlPublisher.publishReports(HtmlPublisher.java:226) at htmlpublisher.HtmlPublisher.perform(HtmlPublisher.java:193) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1840) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429)Build step 'Publish HTML reports' marked build as failureERROR: Step �Publish NUnit test result report� failed: no workspace for morpheus_qa_intgr_incentive #614Email was triggered for: AlwaysSending email for trigger: AlwaysERROR: Error: No workspace found!Sending email to: sumanthnathConnection error sending email, retrying once more in 10 seconds...Connection error sending email, retrying once more in 10 seconds...Failed after second try sending emailFinished: FAILURE

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

o.v.nenashev@gmail.com (JIRA)

unread,
Aug 7, 2018, 12:12:02 PM8/7/18
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Aug 7, 2018, 12:12:02 PM8/7/18
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
Component/s: remoting
Component/s: slave-squatter-plugin

g.sumanthnath@gmail.com (JIRA)

unread,
Aug 7, 2018, 12:16:01 PM8/7/18
to jenkinsc...@googlegroups.com
sumanthnath gangavarapu updated an issue
Change By: sumanthnath gangavarapu
Attachment: image-2018-08-07-21-45-04-675.png

g.sumanthnath@gmail.com (JIRA)

unread,
Aug 7, 2018, 12:16:02 PM8/7/18
to jenkinsc...@googlegroups.com
sumanthnath gangavarapu commented on Bug JENKINS-52922
 
Re: slave is getting disconnected in the middle of the job

Jenkins version: 2.134
Jenkins Master installed in Linux
Jenkins Slave installed in Windows
Below is the Jenkins slave properties window.

g.sumanthnath@gmail.com (JIRA)

unread,
Aug 8, 2018, 1:30:02 AM8/8/18
to jenkinsc...@googlegroups.com
sumanthnath gangavarapu updated an issue
Change By: sumanthnath gangavarapu
Attachment: image-2018-08-08-10-59-23-440.png

g.sumanthnath@gmail.com (JIRA)

unread,
Aug 8, 2018, 1:31:02 AM8/8/18
to jenkinsc...@googlegroups.com
 
Re: slave is getting disconnected in the middle of the job

We are using below SSH slave and Windows Slaves plugins to connect with the slaves.

g.sumanthnath@gmail.com (JIRA)

unread,
Aug 10, 2018, 5:04:02 AM8/10/18
to jenkinsc...@googlegroups.com

Hi Team,

Can I get help on this issue. If you need any further information please comment in this thread, I will provide you the details.

Thanks & Regards
Sumanthnath G

g.sumanthnath@gmail.com (JIRA)

unread,
Sep 6, 2018, 8:52:01 AM9/6/18
to jenkinsc...@googlegroups.com
sumanthnath gangavarapu updated an issue
Change By: sumanthnath gangavarapu
Priority: Major Blocker
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

g.sumanthnath@gmail.com (JIRA)

unread,
Sep 6, 2018, 8:54:02 AM9/6/18
to jenkinsc...@googlegroups.com
 
Re: slave is getting disconnected in the middle of the job

Hi Team,

This is a complete blocker for us.
Can you please look into this on priority.

Thanks & Regards
Sumanthnath G

g.sumanthnath@gmail.com (JIRA)

unread,
Sep 6, 2018, 9:13:01 AM9/6/18
to jenkinsc...@googlegroups.com

Jeff Thompson Allen Polak Erina Gomi Gemini A abang herbal Hiroshi Ujishi Paul Weber Muthamizh K dfgjshej jshrehrj Alyson Henry Abhijit Paul Bruno Henrique da Silva Carlos Henrique de Sousa Junior Henry Senior Allen Jeng

Can anyone of you please guide me how we can resolve this issue.
This has been escalated in my current organisation.
I have opened this ticket one month before anticipating help from this team.
Please guide me if there I missed anything in the process to get help.
Thank you

g.sumanthnath@gmail.com (JIRA)

unread,
Sep 6, 2018, 9:14:01 AM9/6/18
to jenkinsc...@googlegroups.com
[~jthompson] [~00500005] [~0000144223] [~007g3m1n1] [~abang] [~0007924021] [~000panther] [~0023] [~fdnsjdghjhb] [~alhen123] [~abhijitpaul_02] [~brunohe] [~bode] [~delphboy] [~ajeng]

Can anyone of you please guide me how
we can we resolve this issue.

This has been escalated in my current organisation.
I have opened this ticket one month before anticipating help from this team.
Please guide me if there I missed anything in the process to get help.
Thank you

g.sumanthnath@gmail.com (JIRA)

unread,
Sep 6, 2018, 9:15:02 AM9/6/18
to jenkinsc...@googlegroups.com
[~jthompson] [~00500005] [~0000144223] [~007g3m1n1] [~abang] [~0007924021] [~000panther] [~0023] [~fdnsjdghjhb] [~alhen123] [~abhijitpaul_02] [~brunohe] [~bode] [~delphboy] [~ajeng]

Can anyone of you please guide me how can we resolve this issue.

This has been escalated in my current organisation.
I have opened this ticket one month before anticipating help from this team.
Please guide me if there I missed anything in the process to get help.
Thank you

Sumanth

g.sumanthnath@gmail.com (JIRA)

unread,
Sep 6, 2018, 9:28:01 AM9/6/18
to jenkinsc...@googlegroups.com
[~jthompson] [~00500005] [~0000144223] [~007g3m1n1] [~abang] [~0007924021] [~000panther] [~0023] [~fdnsjdghjhb] [~alhen123] [~abhijitpaul_02] [~brunohe] [~bode] [~delphboy] [~ajeng]

Can anyone of you please guide me how can we resolve this issue.
This has been escalated in my current organisation.
I have opened this ticket one month before anticipating help from this team.
Please guide me if there I have missed anything in the process to get help.
Thank you
Sumanth

g.sumanthnath@gmail.com (JIRA)

unread,
Sep 7, 2018, 3:51:01 AM9/7/18
to jenkinsc...@googlegroups.com
[~jthompson] [~00500005] [~0000144223] [~007g3m1n1] [~abang] [~0007924021] [~000panther] [~0023] [~fdnsjdghjhb] [~alhen123] [~abhijitpaul_02] [~brunohe] [~bode] [~delphboy] [~ajeng]

Can anyone of you please guide me how can we resolve this issue.
This has been escalated in my current organisation.
I have opened this ticket one month before anticipating help from this team.
Please guide me if I have missed anything in the process to get help.
Thank you
Sumanth

jthompson@cloudbees.com (JIRA)

unread,
Sep 11, 2018, 4:21:02 PM9/11/18
to jenkinsc...@googlegroups.com

sumanthnath gangavarapu, there isn't enough information in your report to perform a meaningful diagnosis. A ClosedChannelException merely indicates that the channel the agent and master were communicating on has been closed. Nothing in the report provides any indication as to how or why the channel was closed.

Generally, these sorts of failures are due to system or environment issues. It isn't a problem in the code but something external that causes the connection to close. You should investigate your systems and networks so that you can isolate and determine the cause of the failure.

A short, abbreviated sample of the things you should examine:

  1. Check agent logs.
  2. Check master logs.
  3. Check system logs, such as Windows Event logs.
  4. Look for high resource usage (CPU, disk, network, etc.) on master and agent machines.
  5. Investigate network issues.
  6. Look for any commonalities among the failures such as
    1. Time of day
    2. Duration of job
    3. Operating system
    4. System uptime
  7. Check the health and logs of the hosting environments.
  8. Match all of the timestamps and events up together with the failures to try and develop a picture of what is occurring.

As a simple example, I saw some similar behavior on my Windows machine when it decided it was time to go to sleep. (Windows server OSes don't usually have this behavior.)

I'm sorry that I'm not able to solve this problem for you, but the investigation needs to be performed at your end. If you manage to figure out the cause, I'd be curious to learn what you discovered.

g.sumanthnath@gmail.com (JIRA)

unread,
Sep 11, 2018, 11:12:02 PM9/11/18
to jenkinsc...@googlegroups.com
sumanthnath gangavarapu updated an issue
Change By: sumanthnath gangavarapu
Attachment: MasterNode-Logs.txt
Attachment: SlaveNode-Logs.txt

g.sumanthnath@gmail.com (JIRA)

unread,
Sep 11, 2018, 11:17:04 PM9/11/18
to jenkinsc...@googlegroups.com
sumanthnath gangavarapu commented on Bug JENKINS-52922
 
Re: slave is getting disconnected in the middle of the job

Hi Jeff Thompson

Thanks for your reply.
Here is what I did as a part of troubleshooting.
I ran the powershell script which attempted to connect to the Linux server via 443 over and over and over again. I also changed it to 49187 after a reboot. The entire time we ran this we did not see it drop once. I believe we have layer 4 communication down.

while ($true)

{     "$(Get-Date);$(Test-netconnection -ComputerName <MasterNodeIP> -port 443 -informationlevel quiet)" }

Next I went ahead and pushed a 5GB file via SCP from the Windows slave server to the Linux master server. The data was able to arrive on the server without an issue. I believe we have layer 7 communication down as well.

I also ran the job and did some netstat information on both ends, seeing communication back and forth.

As you have suggested I have checked for CPU memory issues and disc space issues and they are normal. I have captured logs can you please take a look at them.

Java Log from Slave node:
Java Web Start 11.181.2.13 x86Java Web Start 11.181.2.13 x86Using JRE version 1.8.0_181-b13 Java HotSpot(TM) Client VMUser home directory = C:\Users\saadmin---------------------------------------------------c:   clear console windowf:   finalize objects on finalization queueg:   garbage collecth:   display this help messagem:   print memory usageo:   trigger loggingp:   reload proxy configurationq:   hide consoler:   reload policy configurations:   dump system and deployment propertiest:   dump thread listv:   dump thread stack0-5: set trace level to <n>---------------------------------------------------Sep 10, 2018 2:07:12 PM hudson.remoting.jnlp.Main createEngineINFO: Setting up agent: jenkins2-win-slaveSep 10, 2018 2:07:12 PM hudson.remoting.Engine startEngineINFO: Using Remoting version: 3.25Sep 10, 2018 2:07:12 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDirINFO: Using C:\Jenkins\remoting as a remoting work directoryBoth error and output logs will be printed to C:\Jenkins\remotingSep 10, 2018 2:07:12 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolveINFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping]Sep 10, 2018 2:07:12 PM org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer onRecvINFO: [JNLP4-connect connection to ci.kantarworldpanel.com/<MasterNodeIP>:49187] Local headers refused by remote: jenkins2-win-slave is already connected to this master. Rejecting this connection.Sep 10, 2018 2:07:12 PM hudson.remoting.jnlp.GuiListener$1 runINFO: Protocol JNLP4-connect encountered an unexpected exceptionjava.util.concurrent.ExecutionException: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: jenkins2-win-slave is already connected to this master. Rejecting this connection. at org.jenkinsci.remoting.util.SettableFuture.get(SettableFuture.java:223) at hudson.remoting.Engine.innerRun(Engine.java:614) at hudson.remoting.Engine.run(Engine.java:474)Caused by: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: jenkins2-win-slave is already connected to this master. Rejecting this connection. at org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer.newAbortCause(ConnectionHeadersFilterLayer.java:378) at org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer.onRecvClosed(ConnectionHeadersFilterLayer.java:433) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:172) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154) at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer.access$1500(BIONetworkLayer.java:48) at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer$Reader.run(BIONetworkLayer.java:247) 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) Suppressed: java.nio.channels.ClosedChannelException ... 7 more
Sep 10, 2018 2:07:13 PM hudson.remoting.jnlp.GuiListener$2 runSEVERE: The server rejected the connection: None of the protocols were acceptedjava.lang.Exception: The server rejected the connection: None of the protocols were accepted at hudson.remoting.Engine.onConnectionRejected(Engine.java:675) at hudson.remoting.Engine.innerRun(Engine.java:639) at hudson.remoting.Engine.run(Engine.java:474)
Sep 10, 2018 2:07:23 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolveINFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping]Sep 10, 2018 2:07:23 PM org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer onRecvINFO: [JNLP4-connect connection to ci.kantarworldpanel.com/<MasterNodeIP>:49187] Local headers refused by remote: jenkins2-win-slave is already connected to this master. Rejecting this connection.Sep 10, 2018 2:07:23 PM hudson.remoting.jnlp.GuiListener$1 runINFO: Protocol JNLP4-connect encountered an unexpected exceptionjava.util.concurrent.ExecutionException: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: jenkins2-win-slave is already connected to this master. Rejecting this connection. at org.jenkinsci.remoting.util.SettableFuture.get(SettableFuture.java:223) at hudson.remoting.Engine.innerRun(Engine.java:614) at hudson.remoting.Engine.run(Engine.java:474)Caused by: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: jenkins2-win-slave is already connected to this master. Rejecting this connection. at org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer.newAbortCause(ConnectionHeadersFilterLayer.java:378) at org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer.onRecvClosed(ConnectionHeadersFilterLayer.java:433) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:172) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154) at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer.access$1500(BIONetworkLayer.java:48) at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer$Reader.run(BIONetworkLayer.java:247) 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) Suppressed: java.nio.channels.ClosedChannelException ... 7 more
Sep 10, 2018 2:07:23 PM hudson.remoting.jnlp.GuiListener$2 runSEVERE: The server rejected the connection: None of the protocols were acceptedjava.lang.Exception: The server rejected the connection: None of the protocols were accepted at hudson.remoting.Engine.onConnectionRejected(Engine.java:675) at hudson.remoting.Engine.innerRun(Engine.java:639) at hudson.remoting.Engine.run(Engine.java:474)
Sep 10, 2018 2:07:33 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolveINFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping]Sep 10, 2018 2:07:33 PM org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer onRecvINFO: [JNLP4-connect connection to ci.kantarworldpanel.com/<MasterNodeIP>:49187] Local headers refused by remote: jenkins2-win-slave is already connected to this master. Rejecting this connection.Sep 10, 2018 2:07:33 PM hudson.remoting.jnlp.GuiListener$1 runINFO: Protocol JNLP4-connect encountered an unexpected exceptionjava.util.concurrent.ExecutionException: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: jenkins2-win-slave is already connected to this master. Rejecting this connection. at org.jenkinsci.remoting.util.SettableFuture.get(SettableFuture.java:223) at hudson.remoting.Engine.innerRun(Engine.java:614) at hudson.remoting.Engine.run(Engine.java:474)Caused by: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: jenkins2-win-slave is already connected to this master. Rejecting this connection. at org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer.newAbortCause(ConnectionHeadersFilterLayer.java:378) at org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer.onRecvClosed(ConnectionHeadersFilterLayer.java:433) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:172) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154) at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer.access$1500(BIONetworkLayer.java:48) at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer$Reader.run(BIONetworkLayer.java:247) 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) Suppressed: java.nio.channels.ClosedChannelException ... 7 more
Sep 10, 2018 2:07:33 PM hudson.remoting.jnlp.GuiListener$2 runSEVERE: The server rejected the connection: None of the protocols were acceptedjava.lang.Exception: The server rejected the connection: None of the protocols were accepted at hudson.remoting.Engine.onConnectionRejected(Engine.java:675) at hudson.remoting.Engine.innerRun(Engine.java:639) at hudson.remoting.Engine.run(Engine.java:474)
Sep 10, 2018 2:07:43 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolveINFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping]Sep 10, 2018 2:07:43 PM org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer onRecvINFO: [JNLP4-connect connection to ci.kantarworldpanel.com/<MasterNodeIP>:49187] Local headers refused by remote: jenkins2-win-slave is already connected to this master. Rejecting this connection.Sep 10, 2018 2:07:43 PM hudson.remoting.jnlp.GuiListener$1 runINFO: Protocol JNLP4-connect encountered an unexpected exceptionjava.util.concurrent.ExecutionException: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: jenkins2-win-slave is already connected to this master. Rejecting this connection. at org.jenkinsci.remoting.util.SettableFuture.get(SettableFuture.java:223) at hudson.remoting.Engine.innerRun(Engine.java:614) at hudson.remoting.Engine.run(Engine.java:474)Caused by: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: jenkins2-win-slave is already connected to this master. Rejecting this connection. at org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer.newAbortCause(ConnectionHeadersFilterLayer.java:378) at org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer.onRecvClosed(ConnectionHeadersFilterLayer.java:433) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:172) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154) at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer.access$1500(BIONetworkLayer.java:48) at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer$Reader.run(BIONetworkLayer.java:247) 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) Suppressed: java.nio.channels.ClosedChannelException ... 7 more
Sep 10, 2018 2:07:43 PM hudson.remoting.jnlp.GuiListener$2 runSEVERE: The server rejected the connection: None of the protocols were acceptedjava.lang.Exception: The server rejected the connection: None of the protocols were accepted at hudson.remoting.Engine.onConnectionRejected(Engine.java:675) at hudson.remoting.Engine.innerRun(Engine.java:639) at hudson.remoting.Engine.run(Engine.java:474)

Jenkins Master Logs:
Sep 12, 2018 2:56:40 AM hudson.TcpSlaveAgentListener$ConnectionHandler runSep 12, 2018 2:56:40 AM hudson.TcpSlaveAgentListener$ConnectionHandler runINFO: Accepted JNLP4-connect connection #394,549 from /<SlaveNodeIP>:63482Sep 12, 2018 2:56:40 AM org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer onRecvINFO: [JNLP4-connect connection from <SlaveNodeIP>/<SlaveNodeIP>:63482] Refusing headers from remote: jenkins2-win-slave is already connected to this master. Rejecting this connection.Sep 12, 2018 2:56:41 AM hudson.TcpSlaveAgentListener$ConnectionHandler runWARNING: Connection #394550 failedjava.io.IOException: Connection reset by peer at sun.nio.ch.FileDispatcherImpl.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) at sun.nio.ch.IOUtil.read(IOUtil.java:197) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) at sun.nio.ch.SocketAdaptor$SocketInputStream.read(SocketAdaptor.java:192) at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103) at java.io.DataInputStream.readFully(DataInputStream.java:195) at java.io.DataInputStream.readFully(DataInputStream.java:169) at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:242)
Sep 12, 2018 2:56:42 AM hudson.TcpSlaveAgentListener$ConnectionHandler runWARNING: Connection #394551 failedjava.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:197) at java.io.DataInputStream.readFully(DataInputStream.java:169) at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:242)
Sep 12, 2018 2:56:42 AM hudson.TcpSlaveAgentListener$ConnectionHandler runINFO: Accepted JNLP4-connect connection #394,552 from /<SlaveNodeIP>:63490Sep 12, 2018 2:56:42 AM org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer onRecvINFO: [JNLP4-connect connection from <SlaveNodeIP>/<SlaveNodeIP>:63490] Refusing headers from remote: jenkins2-win-slave is already connected to this master. Rejecting this connection.Sep 12, 2018 2:56:43 AM hudson.TcpSlaveAgentListener$ConnectionHandler runWARNING: Connection #394553 failedjava.io.IOException: Connection reset by peer at sun.nio.ch.FileDispatcherImpl.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) at sun.nio.ch.IOUtil.read(IOUtil.java:197) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) at sun.nio.ch.SocketAdaptor$SocketInputStream.read(SocketAdaptor.java:192) at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103) at java.io.DataInputStream.readFully(DataInputStream.java:195) at java.io.DataInputStream.readFully(DataInputStream.java:169) at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:242)
Sep 12, 2018 2:56:45 AM hudson.TcpSlaveAgentListener$ConnectionHandler runWARNING: Connection #394554 failedjava.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:197) at java.io.DataInputStream.readFully(DataInputStream.java:169) at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:242)
Sep 12, 2018 2:56:45 AM hudson.TcpSlaveAgentListener$ConnectionHandler runINFO: Accepted JNLP4-connect connection #394,555 from /<SlaveNodeIP>:63498Sep 12, 2018 2:56:45 AM org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer onRecvINFO: [JNLP4-connect connection from <SlaveNodeIP>/<SlaveNodeIP>:63498] Refusing headers from remote: jenkins2-win-slave is already connected to this master. Rejecting this connection.Sep 12, 2018 2:56:46 AM hudson.TcpSlaveAgentListener$ConnectionHandler runWARNING: Connection #394556 failedjava.io.IOException: Connection reset by peer at sun.nio.ch.FileDispatcherImpl.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) at sun.nio.ch.IOUtil.read(IOUtil.java:197) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) at sun.nio.ch.SocketAdaptor$SocketInputStream.read(SocketAdaptor.java:192) at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103) at java.io.DataInputStream.readFully(DataInputStream.java:195) at java.io.DataInputStream.readFully(DataInputStream.java:169) at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:242)
Sep 12, 2018 2:56:47 AM hudson.TcpSlaveAgentListener$ConnectionHandler runWARNING: Connection #394557 failedjava.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:197) at java.io.DataInputStream.readFully(DataInputStream.java:169) at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:242)
Sep 12, 2018 2:56:48 AM hudson.TcpSlaveAgentListener$ConnectionHandler runINFO: Accepted JNLP4-connect connection #394,558 from /<SlaveNodeIP>:63506Sep 12, 2018 2:56:48 AM org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer onRecvINFO: [JNLP4-connect connection from <SlaveNodeIP>/<SlaveNodeIP>:63506] Refusing headers from remote: jenkins2-win-slave is already connected to this master. Rejecting this connection.Sep 12, 2018 2:56:48 AM hudson.TcpSlaveAgentListener$ConnectionHandler runWARNING: Connection #394559 failedjava.io.IOException: Connection reset by peer at sun.nio.ch.FileDispatcherImpl.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) at sun.nio.ch.IOUtil.read(IOUtil.java:197) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) at sun.nio.ch.SocketAdaptor$SocketInputStream.read(SocketAdaptor.java:192) at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103) at java.io.DataInputStream.readFully(DataInputStream.java:195) at java.io.DataInputStream.readFully(DataInputStream.java:169) at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:242)
Sep 12, 2018 2:56:50 AM hudson.TcpSlaveAgentListener$ConnectionHandler runWARNING: Connection #394560 failedjava.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:197) at java.io.DataInputStream.readFully(DataInputStream.java:169) at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:242)

++

 

g.sumanthnath@gmail.com (JIRA)

unread,
Sep 11, 2018, 11:19:03 PM9/11/18
to jenkinsc...@googlegroups.com

Jenkins Slave Logs:

Sep 12, 2018 2:56:01 AM hudson.remoting.jnlp.Main$CuiListener statusSep 12, 2018 2:56:01 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Agent discovery successful  Agent address: ci.kantarworldpanel.com  Agent port:    49187  Identity:      2b:ec:57:ae:00:0c:10:39:59:ca:a4:1c:a7:05:46:dcSep 12, 2018 2:56:01 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: HandshakingSep 12, 2018 2:56:01 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Connecting to ci.kantarworldpanel.com:49187Sep 12, 2018 2:56:01 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Trying protocol: JNLP4-connectSep 12, 2018 2:56:01 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Remote identity confirmed: 2b:ec:57:ae:00:0c:10:39:59:ca:a4:1c:a7:05:46:dcSep 12, 2018 2:56:01 AM org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer onRecvINFO: [JNLP4-connect connection to ci.kantarworldpanel.com/<MasterNodeIP>:49187] Local headers refused by remote: jenkins2-win-slave is already connected to this master. Rejecting this connection.Sep 12, 2018 2:56:01 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Protocol JNLP4-connect encountered an unexpected exceptionjava.util.concurrent.ExecutionException: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: jenkins2-win-slave is already connected to this master. Rejecting this connection. at org.jenkinsci.remoting.util.SettableFuture.get(SettableFuture.java:223) at hudson.remoting.Engine.innerRun(Engine.java:614) at hudson.remoting.Engine.run(Engine.java:474)Caused by: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: jenkins2-win-slave is already connected to this master. Rejecting this connection. at org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer.newAbortCause(ConnectionHeadersFilterLayer.java:378) at org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer.onRecvClosed(ConnectionHeadersFilterLayer.java:433) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:172) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154) at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer.access$1500(BIONetworkLayer.java:48) at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer$Reader.run(BIONetworkLayer.java:247) 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) Suppressed: java.nio.channels.ClosedChannelException ... 7 more
Sep 12, 2018 2:56:01 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Connecting to ci.kantarworldpanel.com:49187Sep 12, 2018 2:56:01 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Server reports protocol JNLP4-plaintext not supported, skippingSep 12, 2018 2:56:01 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Server reports protocol JNLP3-connect not supported, skippingSep 12, 2018 2:56:01 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Server reports protocol JNLP2-connect not supported, skippingSep 12, 2018 2:56:01 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Server reports protocol JNLP-connect not supported, skippingSep 12, 2018 2:56:01 AM hudson.remoting.jnlp.Main$CuiListener errorSEVERE: The server rejected the connection: None of the protocols were acceptedjava.lang.Exception: The server rejected the connection: None of the protocols were accepted at hudson.remoting.Engine.onConnectionRejected(Engine.java:675) at hudson.remoting.Engine.innerRun(Engine.java:639) at hudson.remoting.Engine.run(Engine.java:474)
Sep 12, 2018 2:56:03 AM hudson.remoting.jnlp.Main createEngineINFO: Setting up agent: jenkins2-win-slaveSep 12, 2018 2:56:03 AM hudson.remoting.jnlp.Main$CuiListener <init>INFO: Jenkins agent is running in headless mode.Sep 12, 2018 2:56:03 AM hudson.remoting.Engine startEngineINFO: Using Remoting version: 3.25Sep 12, 2018 2:56:03 AM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDirINFO: Using C:\Jenkins\remoting as a remoting work directorySep 12, 2018 2:56:04 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Locating server among https://ci.kantarworldpanel.com/Sep 12, 2018 2:56:04 AM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolveINFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping]Sep 12, 2018 2:56:04 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Agent discovery successful  Agent address: ci.kantarworldpanel.com  Agent port:    49187  Identity:      2b:ec:57:ae:00:0c:10:39:59:ca:a4:1c:a7:05:46:dcSep 12, 2018 2:56:04 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: HandshakingSep 12, 2018 2:56:04 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Connecting to ci.kantarworldpanel.com:49187Sep 12, 2018 2:56:04 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Trying protocol: JNLP4-connectSep 12, 2018 2:56:04 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Remote identity confirmed: 2b:ec:57:ae:00:0c:10:39:59:ca:a4:1c:a7:05:46:dcSep 12, 2018 2:56:04 AM org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer onRecvINFO: [JNLP4-connect connection to ci.kantarworldpanel.com/<MasterNodeIP>:49187] Local headers refused by remote: jenkins2-win-slave is already connected to this master. Rejecting this connection.Sep 12, 2018 2:56:04 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Protocol JNLP4-connect encountered an unexpected exceptionjava.util.concurrent.ExecutionException: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: jenkins2-win-slave is already connected to this master. Rejecting this connection. at org.jenkinsci.remoting.util.SettableFuture.get(SettableFuture.java:223) at hudson.remoting.Engine.innerRun(Engine.java:614) at hudson.remoting.Engine.run(Engine.java:474)Caused by: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: jenkins2-win-slave is already connected to this master. Rejecting this connection. at org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer.newAbortCause(ConnectionHeadersFilterLayer.java:378) at org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer.onRecvClosed(ConnectionHeadersFilterLayer.java:433) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:172) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154) at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer.access$1500(BIONetworkLayer.java:48) at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer$Reader.run(BIONetworkLayer.java:247) 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) Suppressed: java.nio.channels.ClosedChannelException ... 7 more
Sep 12, 2018 2:56:04 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Connecting to ci.kantarworldpanel.com:49187Sep 12, 2018 2:56:04 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Server reports protocol JNLP4-plaintext not supported, skippingSep 12, 2018 2:56:04 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Server reports protocol JNLP3-connect not supported, skippingSep 12, 2018 2:56:04 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Server reports protocol JNLP2-connect not supported, skippingSep 12, 2018 2:56:04 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Server reports protocol JNLP-connect not supported, skippingSep 12, 2018 2:56:04 AM hudson.remoting.jnlp.Main$CuiListener errorSEVERE: The server rejected the connection: None of the protocols were acceptedjava.lang.Exception: The server rejected the connection: None of the protocols were accepted at hudson.remoting.Engine.onConnectionRejected(Engine.java:675) at hudson.remoting.Engine.innerRun(Engine.java:639) at hudson.remoting.Engine.run(Engine.java:474)
Sep 12, 2018 2:56:06 AM hudson.remoting.jnlp.Main createEngineINFO: Setting up agent: jenkins2-win-slaveSep 12, 2018 2:56:06 AM hudson.remoting.jnlp.Main$CuiListener <init>INFO: Jenkins agent is running in headless mode.Sep 12, 2018 2:56:06 AM hudson.remoting.Engine startEngineINFO: Using Remoting version: 3.25Sep 12, 2018 2:56:06 AM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDirINFO: Using C:\Jenkins\remoting as a remoting work directorySep 12, 2018 2:56:06 AM hudson.remoting.jnlp.Main$CuiListener statusINFO: Locating server among https://ci.kantarworldpanel.com/Sep 12, 2018 2:56:06 AM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolveINFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping]Sep 12, 2018 2:56:06 AM hudson.remoting.jnlp.Main$CuiListener status

jthompson@cloudbees.com (JIRA)

unread,
Sep 19, 2018, 7:04:02 PM9/19/18
to jenkinsc...@googlegroups.com

I don't know what you intended to convey with those logs, but they don't seem immediately relevant. Perhaps, though, you've got something configured in a way that attempts to create multiple connections to the same agent. I don't see how this would cause the issue you're reporting, but it would be worth investigating. Otherwise, the logs provide nothing useful.

You mention the SSH Slaves Plugin in your description above. Are you using that to connect to Windows agents? What SSH implementation are you using for Windows?

This presentation contains further information on diagnosing Remoting connectivity issues. You might be able to find some information in there useful for your troubleshooting exercise. https://speakerdeck.com/onenashev/day-of-jenkins-2017-dealing-with-agent-connectivity-issues

You could try varying some of your configurations to see if you can isolate components that may be interacting poorly. You could try different types of OSes or system configurations. Instead of using the Windows Slaves plugin you could try some of the other mechanisms for connecting agents on Windows. Does this fail for all jobs on Windows? Or only a subset? You could try different jobs or creating special troubleshooting jobs. You could try experiments at reducing the plugins used on a job. Or the other resources the job uses.

I'm unable to reproduce this error, because of some difference in our environments or configurations. My long-running Windows job ran for an hour, reaching its proper termination time.

 

naushad.ahmed@kantar.com (JIRA)

unread,
Sep 21, 2018, 4:58:02 AM9/21/18
to jenkinsc...@googlegroups.com

We managed to resolve this by adding "-Dhudson.slaves.ChannelPinger.pingInterval=2" to the Jenkins.xml of the master.

 

The issue was that our tests weren't printing anything out to the console,

jthompson@cloudbees.com (JIRA)

unread,
Sep 24, 2018, 1:04:02 PM9/24/18
to jenkinsc...@googlegroups.com

Nush Ahmd, thanks for sharing that information. I'm glad it resolved your issue and maybe it will also help others.

Just a note: hudson.slaves.ChannelPinger.pingInterval was deprecated in Jenkins 2.37. It was replaced by hudson.slaves.ChannelPinger.pingIntervalSeconds. Instead of assigning it a value of 2 in your case, you would want to assign it a value of 120 (seconds).

jthompson@cloudbees.com (JIRA)

unread,
Oct 29, 2018, 5:51:01 PM10/29/18
to jenkinsc...@googlegroups.com
Jeff Thompson closed an issue as Cannot Reproduce
 

The defect report does not provide sufficient information for reproduction or action. The creator has not responded to questions. Please re-open if you can provide sufficient information.

Change By: Jeff Thompson
Status: Open Closed
Resolution: Cannot Reproduce

alex.dover@gmail.com (JIRA)

unread,
Dec 18, 2018, 2:42:01 AM12/18/18
to jenkinsc...@googlegroups.com
Alex Dover assigned an issue to Alex Dover
Change By: Alex Dover
Assignee: Jeff Thompson Alex Dover
Reply all
Reply to author
Forward
0 new messages