-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
-
2.338
Running Jenkins 2.122 on Kubernetes Cluster with Helm Chart 0.9.0
Kubernets plugin is version is 1.9.2
When the Jenkins master restarts and the jobs that were in the middle resume, they are timing out trying to connect to slave to master
```
Resuming build at Fri Jun 29 16:23:11 UTC 2018 after Jenkins restart
Waiting to resume part of ...
```
When I look at the logs for the slaves, I see the following error.
```
Jun 29, 2018 4:23:21 PM hudson.remoting.jnlp.Main$CuiListener errorJun 29, 2018 4:23:21 PM hudson.remoting.jnlp.Main$CuiListener errorSEVERE: jenkins/slaves/restarter/JnlpSlaveRestarterInstallerjava.lang.NoClassDefFoundError: jenkins/slaves/restarter/JnlpSlaveRestarterInstaller at jenkins.slaves.restarter.JnlpSlaveRestarterInstaller$FindEffectiveRestarters$1.onReconnect(JnlpSlaveRestarterInstaller.java:97) at hudson.remoting.EngineListenerSplitter.onReconnect(EngineListenerSplitter.java:49) at hudson.remoting.Engine.innerRun(Engine.java:662) at hudson.remoting.Engine.run(Engine.java:469)Caused by: java.lang.ClassNotFoundException: jenkins.slaves.restarter.JnlpSlaveRestarterInstaller at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:171) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 4 more
```
- duplicates
-
JENKINS-66446 WebSocket agent does not reconnect: ClassNotFoundException: jenkins.slaves.restarter.JnlpSlaveRestarterInstaller
-
- Closed
-
- is related to
-
JENKINS-50730 NoClassDefFound errors in Cloud Slaves
-
- Resolved
-
We were originally seeing this a lot when we had memory issues with our cluster and the node that the jenkins master was running on kept getting restarted.
We mitigated the master restarting by increasing its memory via the helm chart and this has seemed to help with restarts. We also changed the strategy for PERFORMANCE OPTIMIZED which has helped as well.