-
Bug
-
Resolution: Fixed
-
Blocker
-
Agent OS windows server 2019, controller OS Windows Server 2019
Jenkins version 2.365
xWe have long running tests (1 hour duration) that we manage through Jenkins. Since we upgrade from 2.364 to 2.365 we are getting a unstable websocket connection between the Jenkins agent and controller sometimes a run will be successful but the past days a passed run without this exception is hard to achieve.
Resulting in the following exception:
....FATAL: command execution failed java.nio.channels.ClosedChannelException at jenkins.agents.WebSocketAgents$Session.closed(WebSocketAgents.java:153) at jenkins.websocket.WebSockets$1.onWebSocketClose(WebSockets.java:80) at jenkins.websocket.Jetty10Provider$2.onWebSocketClose(Jetty10Provider.java:146) at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.notifyOnClose(JettyWebSocketFrameHandler.java:308) at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.onClosed(JettyWebSocketFrameHandler.java:292) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$closeConnection$0(WebSocketCoreSession.java:272) at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1445) at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1482) at org.eclipse.jetty.websocket.core.server.internal.AbstractHandshaker$1.handle(AbstractHandshaker.java:212) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$closeConnection$1(WebSocketCoreSession.java:272) at org.eclipse.jetty.util.Callback$4.completed(Callback.java:184) at org.eclipse.jetty.util.Callback$Completing.succeeded(Callback.java:344) at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.onError(JettyWebSocketFrameHandler.java:268) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$closeConnection$2(WebSocketCoreSession.java:284) at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1463) at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1482) at org.eclipse.jetty.websocket.core.server.internal.AbstractHandshaker$1.handle(AbstractHandshaker.java:212) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.closeConnection(WebSocketCoreSession.java:284) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$sendFrame$7(WebSocketCoreSession.java:519) at org.eclipse.jetty.util.Callback$3.succeeded(Callback.java:155) at org.eclipse.jetty.websocket.core.internal.TransformingFlusher.notifyCallbackSuccess(TransformingFlusher.java:197) at org.eclipse.jetty.websocket.core.internal.TransformingFlusher$Flusher.process(TransformingFlusher.java:154) at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:232) at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:214) at org.eclipse.jetty.websocket.core.internal.TransformingFlusher.sendFrame(TransformingFlusher.java:77) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.sendFrame(WebSocketCoreSession.java:522) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.close(WebSocketCoreSession.java:239) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.processHandlerError(WebSocketCoreSession.java:371) at org.eclipse.jetty.websocket.core.internal.WebSocketConnection.onIdleExpired(WebSocketConnection.java:233) at org.eclipse.jetty.io.ssl.SslConnection.onIdleExpired(SslConnection.java:360) at org.eclipse.jetty.io.AbstractEndPoint.onIdleExpired(AbstractEndPoint.java:407) at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:166) at org.eclipse.jetty.io.IdleTimeout.idleCheck(IdleTimeout.java:108) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused: java.io.IOException: Backing channel 'PerformanceSERVER' is disconnected. at hudson.remoting.RemoteInvocationHandler.channelOrFail(RemoteInvocationHandler.java:215) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:285) at com.sun.proxy.$Proxy76.isAlive(Unknown Source) at hudson.Launcher$RemoteLauncher$ProcImpl.isAlive(Launcher.java:1215) at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:1207) at hudson.tasks.CommandInterpreter.join(CommandInterpreter.java:195) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:145) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:92) at hudson.plugins.powershell.PowerShell.perform(PowerShell.java:48) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:818) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:164) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:526) at hudson.model.Run.execute(Run.java:1899) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController.java:107) at hudson.model.Executor.run(Executor.java:449) FATAL: Unable to delete script file C:\Users\account.adm\AppData\Local\Temp\jenkins9449560261283910130.ps1 java.nio.channels.ClosedChannelException at jenkins.agents.WebSocketAgents$Session.closed(WebSocketAgents.java:153) at jenkins.websocket.WebSockets$1.onWebSocketClose(WebSockets.java:80) at jenkins.websocket.Jetty10Provider$2.onWebSocketClose(Jetty10Provider.java:146) at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.notifyOnClose(JettyWebSocketFrameHandler.java:308) at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.onClosed(JettyWebSocketFrameHandler.java:292) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$closeConnection$0(WebSocketCoreSession.java:272) at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1445) at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1482) at org.eclipse.jetty.websocket.core.server.internal.AbstractHandshaker$1.handle(AbstractHandshaker.java:212) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$closeConnection$1(WebSocketCoreSession.java:272) at org.eclipse.jetty.util.Callback$4.completed(Callback.java:184) at org.eclipse.jetty.util.Callback$Completing.succeeded(Callback.java:344) at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.onError(JettyWebSocketFrameHandler.java:268) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$closeConnection$2(WebSocketCoreSession.java:284) at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1463) at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1482) at org.eclipse.jetty.websocket.core.server.internal.AbstractHandshaker$1.handle(AbstractHandshaker.java:212) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.closeConnection(WebSocketCoreSession.java:284) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$sendFrame$7(WebSocketCoreSession.java:519) at org.eclipse.jetty.util.Callback$3.succeeded(Callback.java:155) at org.eclipse.jetty.websocket.core.internal.TransformingFlusher.notifyCallbackSuccess(TransformingFlusher.java:197) at org.eclipse.jetty.websocket.core.internal.TransformingFlusher$Flusher.process(TransformingFlusher.java:154) at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:232) at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:214) at org.eclipse.jetty.websocket.core.internal.TransformingFlusher.sendFrame(TransformingFlusher.java:77) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.sendFrame(WebSocketCoreSession.java:522) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.close(WebSocketCoreSession.java:239) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.processHandlerError(WebSocketCoreSession.java:371) at org.eclipse.jetty.websocket.core.internal.WebSocketConnection.onIdleExpired(WebSocketConnection.java:233) at org.eclipse.jetty.io.ssl.SslConnection.onIdleExpired(SslConnection.java:360) at org.eclipse.jetty.io.AbstractEndPoint.onIdleExpired(AbstractEndPoint.java:407) at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:166) at org.eclipse.jetty.io.IdleTimeout.idleCheck(IdleTimeout.java:108) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused: hudson.remoting.ChannelClosedException: Channel "hudson.remoting.Channel@3c2ca039:PerformanceSERVER": Remote call on PerformanceSERVER failed. The channel is closing down or has closed down at hudson.remoting.Channel.call(Channel.java:993) at hudson.FilePath.act(FilePath.java:1186) at hudson.FilePath.act(FilePath.java:1175) at hudson.FilePath.delete(FilePath.java:1722) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:163) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:92) at hudson.plugins.powershell.PowerShell.perform(PowerShell.java:48) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:818) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:164) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:526) at hudson.model.Run.execute(Run.java:1899) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController.java:107) at hudson.model.Executor.run(Executor.java:449) Build step 'PowerShell' marked build as failure FATAL: Channel "hudson.remoting.Channel@3c2ca039:PerformanceSERVER": Remote call on PerformanceSERVER failed. The channel is closing down or has closed down java.nio.channels.ClosedChannelException at jenkins.agents.WebSocketAgents$Session.closed(WebSocketAgents.java:153) at jenkins.websocket.WebSockets$1.onWebSocketClose(WebSockets.java:80) at jenkins.websocket.Jetty10Provider$2.onWebSocketClose(Jetty10Provider.java:146) at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.notifyOnClose(JettyWebSocketFrameHandler.java:308) at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.onClosed(JettyWebSocketFrameHandler.java:292) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$closeConnection$0(WebSocketCoreSession.java:272) at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1445) at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1482) at org.eclipse.jetty.websocket.core.server.internal.AbstractHandshaker$1.handle(AbstractHandshaker.java:212) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$closeConnection$1(WebSocketCoreSession.java:272) at org.eclipse.jetty.util.Callback$4.completed(Callback.java:184) at org.eclipse.jetty.util.Callback$Completing.succeeded(Callback.java:344) at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.onError(JettyWebSocketFrameHandler.java:268) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$closeConnection$2(WebSocketCoreSession.java:284) at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1463) at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1482) at org.eclipse.jetty.websocket.core.server.internal.AbstractHandshaker$1.handle(AbstractHandshaker.java:212) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.closeConnection(WebSocketCoreSession.java:284) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$sendFrame$7(WebSocketCoreSession.java:519) at org.eclipse.jetty.util.Callback$3.succeeded(Callback.java:155) at org.eclipse.jetty.websocket.core.internal.TransformingFlusher.notifyCallbackSuccess(TransformingFlusher.java:197) at org.eclipse.jetty.websocket.core.internal.TransformingFlusher$Flusher.process(TransformingFlusher.java:154) at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:232) at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:214) at org.eclipse.jetty.websocket.core.internal.TransformingFlusher.sendFrame(TransformingFlusher.java:77) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.sendFrame(WebSocketCoreSession.java:522) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.close(WebSocketCoreSession.java:239) at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.processHandlerError(WebSocketCoreSession.java:371) at org.eclipse.jetty.websocket.core.internal.WebSocketConnection.onIdleExpired(WebSocketConnection.java:233) at org.eclipse.jetty.io.ssl.SslConnection.onIdleExpired(SslConnection.java:360) at org.eclipse.jetty.io.AbstractEndPoint.onIdleExpired(AbstractEndPoint.java:407) at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:166) at org.eclipse.jetty.io.IdleTimeout.idleCheck(IdleTimeout.java:108) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused: hudson.remoting.ChannelClosedException: Channel "hudson.remoting.Channel@3c2ca039:PerformanceSERVER": Remote call on PerformanceSERVER failed. The channel is closing down or has closed down at hudson.remoting.Channel.call(Channel.java:993) at hudson.Launcher$RemoteLauncher.kill(Launcher.java:1150) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:538) at hudson.model.Run.execute(Run.java:1899) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController.java:107) at hudson.model.Executor.run(Executor.java:449) Finished: FAILURE
I have included the logs of the agent in question as an attachment to this issue.
These are the details of the faulty Jenkins node:
Naam ↓ | Waarde |
---|---|
awt.toolkit | sun.awt.windows.WToolkit |
file.encoding | Cp1252 |
file.separator | | |
java.awt.graphicsenv | sun.awt.Win32GraphicsEnvironment |
java.awt.printerjob | sun.awt.windows.WPrinterJob |
java.class.path | c:\Jenkinsnodeservice\slave.jar |
java.class.version | 55.0 |
java.home | C:\Program Files\Amazon Corretto\jdk11.0.15_9 |
java.io.tmpdir | C:\Users\el80135.adm\AppData\Local\Temp| |
java.library.path | C:\Program Files\Amazon Corretto\jdk11.0.15_9\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Amazon Corretto\jdk11.0.15_9\bin;D:\oracle\client64\19\client\bin;C:\Program Files\Python310\Scripts\;C:\Program Files\Python310\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\username\AppData\Local\Microsoft\WindowsApps;. |
java.runtime.name | OpenJDK Runtime Environment |
java.runtime.version | 11.0.15+9-LTS |
java.specification.name | Java Platform API Specification |
java.specification.vendor | Oracle Corporation |
java.specification.version | 11 |
java.vendor | Amazon.com Inc. |
java.vendor.url | https://aws.amazon.com/corretto/ |
java.vendor.url.bug | https://github.com/corretto/corretto-11/issues/ |
java.vendor.version | Corretto-11.0.15.9.1 |
java.version | 11.0.15 |
java.version.date | 2022-04-19 |
java.vm.compressedOopsMode | 32-bit |
java.vm.info | mixed mode |
java.vm.name | OpenJDK 64-Bit Server VM |
java.vm.specification.name | Java Virtual Machine Specification |
java.vm.specification.vendor | Oracle Corporation |
java.vm.specification.version | 11 |
java.vm.vendor | Amazon.com Inc. |
java.vm.version | 11.0.15+9-LTS |
jdk.debug | release |
jna.loaded | true |
jnidispatch.path | C:\Users\username\AppData\Local\Temp\jna-813739984\jna10440559483708474225.dll |
line.separator | |
os.arch | amd64 |
os.name | Windows Server 2019 |
os.version | 10.0 |
path.separator | ; |
sun.arch.data.model | 64 |
sun.boot.library.path | C:\Program Files\Amazon Corretto\jdk11.0.15_9\bin |
sun.cpu.endian | little |
sun.cpu.isalist | amd64 |
sun.desktop | windows |
sun.io.unicode.encoding | UnicodeLittle |
sun.java.command | c:\Jenkinsnodeservice\slave.jar -jnlpUrl https://jenkins:8080/computer/PerformanceSERVER_NAME/jenkins-agent.jnlp -secret "secret" -workDir C:\jenkins |
sun.java.launcher | SUN_STANDARD |
sun.jnu.encoding | Cp1252 |
sun.management.compiler | HotSpot 64-Bit Tiered Compilers |
sun.os.patch.level | |
user.country | US |
user.dir | c:\Jenkinsnodeservice |
user.home | C:\Users\username |
user.language | en |
user.name | username |
user.script | |
user.timezone | Europe/Berlin |
user.variant |
Details regarding the Jenkins controller:
Naam ↓ | Waarde |
---|---|
awt.toolkit | sun.awt.windows.WToolkit |
executable-war | C:\Jenkins\Jenkins.war |
file.encoding | Cp1252 |
file.separator | | |
hudson.lifecycle | hudson.lifecycle.WindowsServiceLifecycle |
java.awt.graphicsenv | sun.awt.Win32GraphicsEnvironment |
java.awt.headless | true |
java.awt.printerjob | sun.awt.windows.WPrinterJob |
java.class.path | C:\Jenkins\jenkins.war |
java.class.version | 55.0 |
java.home | C:\Program Files\Amazon Corretto\jdk11.0.15_9 |
java.io.tmpdir | C:\WINDOWS\TEMP| |
java.library.path | C:\Program Files\Amazon Corretto\jdk11.0.15_9\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Amazon Corretto\jdk11.0.15_9\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;. |
java.runtime.name | OpenJDK Runtime Environment |
java.runtime.version | 11.0.15+9-LTS |
java.specification.name | Java Platform API Specification |
java.specification.vendor | Oracle Corporation |
java.specification.version | 11 |
java.vendor | Amazon.com Inc. |
java.vendor.url | https://aws.amazon.com/corretto/ |
java.vendor.url.bug | https://github.com/corretto/corretto-11/issues/ |
java.vendor.version | Corretto-11.0.15.9.1 |
java.version | 11.0.15 |
java.version.date | 2022-04-19 |
java.vm.compressedOopsMode | 32-bit |
java.vm.info | mixed mode |
java.vm.name | OpenJDK 64-Bit Server VM |
java.vm.specification.name | Java Virtual Machine Specification |
java.vm.specification.vendor | Oracle Corporation |
java.vm.specification.version | 11 |
java.vm.vendor | Amazon.com Inc. |
java.vm.version | 11.0.15+9-LTS |
jdk.debug | release |
jetty.git.hash |
|
jna.loaded | true |
jnidispatch.path | C:\WINDOWS\TEMP\jna-756962248\jna18350657977015144084.dll |
line.separator | |
mail.smtp.sendpartial | true |
mail.smtps.sendpartial | true |
octaneAllowedStorage | C:\Jenkins\userContent| |
os.arch | amd64 |
os.name | Windows Server 2019 |
os.version | 10.0 |
path.separator | ; |
sun.arch.data.model | 64 |
sun.awt.enableExtraMouseButtons | true |
sun.boot.library.path | C:\Program Files\Amazon Corretto\jdk11.0.15_9\bin |
sun.cpu.endian | little |
sun.cpu.isalist | amd64 |
sun.desktop | windows |
sun.io.unicode.encoding | UnicodeLittle |
sun.java.command | C:\Jenkins\jenkins.war |
sun.java.launcher | SUN_STANDARD |
sun.jnu.encoding | Cp1252 |
sun.management.compiler | HotSpot 64-Bit Tiered Compilers |
sun.os.patch.level | |
user.country | US |
user.dir | C:\Jenkins |
user.home | C:\WINDOWS\system32\config\systemprofile |
user.language | en |
user.name | SystemUser$ |
user.script | |
user.timezone | Europe/Berlin |
user.variant |
For a bit more context the output to console of the command we are executing:
Started by user Hendricks, JGH (Joey) Running as SYSTEM Building remotely on PerformanceSERVER_NAME (Performance) in workspace C:\jenkins\workspace\generieke-acceptatie-performance-testen\1. latest-stable-build-direct [1. latest-stable-build-acc90-gpsv-direct] $ powershell.exe -NonInteractive -ExecutionPolicy Bypass -File C:\Users\username\AppData\Local\Temp\jenkins9449560261283910130.ps1 OpenJDK 64-Bit Server VM warning: Option MaxRAMFraction was deprecated in version 10.0 and will likely be removed in a future release. WebServices.nlp file has been found in C:\Users\username\AppData\Local\Temp\NeoloadProjects\WebServices. Logging to C:\Users\username\AppData\Roaming\Neotys\NeoLoad\v7.10\logs, as user: username Found a valid NTS configuration : URL=[http://licenseserver:8080//] and USER=[service account] Leasing license ---... Leased license ---== with 150 web and 0 SAP VUs 120 minutes(s). Loading project: C:\Users\username\AppData\Local\Temp\NeoloadProjects\WebServices\WebServices.nlp Project GPS_WebServices loaded Found a valid NTS configuration : URL=[http://licenseserver:8080//] and USER=[service account] Launching scenario: WebServices_PiekLoad_60min (01h:02m:00s) Initializing... [LoadGenerator] OpenJDK 64-Bit Server VM warning: Option MaxRAMFraction was deprecated in version 10.0 and will likely be removed in a future release. Initializing Monitors... Pre-Monitoring... Running
Thanks in advanced this issues has been a headache.
- is duplicated by
-
JENKINS-69885 Since upgradation from JAVA 8 to JAVA 11 ; Master-Slave node connection is getting broken.
-
- Closed
-
Regarding your actual error, looks like on the controller side you're hitting some sort of idle timeout. I'm not sure if the -
httpKeepAliveTimeoutor the -httpsKeepAliveTimeout options to the controller can be used to increase this timeout, but that might be one place to start. Of course the real question is why is the WebSocket connection idle for more than the timeout.On the agent side it looks like you're using the latest release 3046.v38db_38a_b_7a_86 which upgraded the Tyrus WebSocket client from 1.18 to 2.1.0. Could you try downgrading to the previous release 3044.vb_940a_a_e4f72e and see if the problem persists. It is the agent JAR file in C:\Jenkinsnodeservice on your agent and you can get the older one from https://repo.jenkins-ci.org/releases/org/jenkins-ci/main/remoting/3044.vb_940a_a_e4f72e/remoting-3044.vb_940a_a_e4f72e.jar - be careful, as your WinSW Windows service wrapper might try to download the new version again from the controller. (If it does, comment out the <download> part of your WinSW XML file.) Check that it is at the older version 3044.vb_940a_a_e4f72e with java -jar <filename> -version after relaunching the agent process in the Jenkins UI and ensure that the agent log reads "INFO: Using Remoting version: 3044.vb_940a_a_e4f72e." If that release doesn't exhibit the problem, we'll know that the Tyrus upgrade is the proximate cause of your issue.