Hi, Jenkins 2.179 Windows Server 2008 R2 controller, Windows 2016 agent
I think I've raised this issue before, but I don't believe I got it resolved (and I can't locate the original post). We've got a long running job (approx 18hours), and every second day, almost without fail, the jeniins agent process is getting disconnected. The messages from the jenkins-slave.err.log are below - the time between the INFO: Connected and INFO: Terminated lines seem to be consistently about 48 hours aparet (give/take a few hours). \jenkins-slave.err.log Jul 31, 2019 2:33:37 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Connected Aug 01, 2019 6:53:39 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Terminated Aug 01, 2019 6:53:49 AM hudson.remoting.jnlp.Main$CuiListener error SEVERE: jenkins/slaves/restarter/JnlpSlaveRestarterInstaller java.lang.NoClassDefFoundError: jenkins/slaves/restarter/JnlpSlaveRestarterInstaller at jenkins.slaves.restarter.JnlpSlaveRestarterInstaller$FindEffectiveRestarters$1.onReconnect(JnlpSlaveRestarterInstaller.java:93) at hudson.remoting.EngineListenerSplitter.onReconnect(EngineListenerSplitter.java:49) at hudson.remoting.Engine.innerRun(Engine.java:647) at hudson.remoting.Engine.run(Engine.java:455) Caused by: java.lang.ClassNotFoundException: jenkins.slaves.restarter.JnlpSlaveRestarterInstaller at java.net.URLClassLoader.findClass(Unknown Source) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:157) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 4 more [...] Aug 01, 2019 8:39:26 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Connected Aug 02, 2019 6:34:30 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Terminated Aug 02, 2019 6:34:41 AM hudson.remoting.jnlp.Main$CuiListener error SEVERE: jenkins/slaves/restarter/JnlpSlaveRestarterInstaller java.lang.NoClassDefFoundError: jenkins/slaves/restarter/JnlpSlaveRestarterInstaller at jenkins.slaves.restarter.JnlpSlaveRestarterInstaller$FindEffectiveRestarters$1.onReconnect(JnlpSlaveRestarterInstaller.java:93) at hudson.remoting.EngineListenerSplitter.onReconnect(EngineListenerSplitter.java:49) at hudson.remoting.Engine.innerRun(Engine.java:647) at hudson.remoting.Engine.run(Engine.java:455) Caused by: java.lang.ClassNotFoundException: jenkins.slaves.restarter.JnlpSlaveRestarterInstaller at java.net.URLClassLoader.findClass(Unknown Source) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:157) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 4 more [...] Aug 02, 2019 4:38:01 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Connected Aug 04, 2019 6:48:05 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Terminated Aug 04, 2019 6:48:15 AM hudson.remoting.jnlp.Main$CuiListener error SEVERE: jenkins/slaves/restarter/JnlpSlaveRestarterInstaller java.lang.NoClassDefFoundError: jenkins/slaves/restarter/JnlpSlaveRestarterInstaller at jenkins.slaves.restarter.JnlpSlaveRestarterInstaller$FindEffectiveRestarters$1.onReconnect(JnlpSlaveRestarterInstaller.java:93) at hudson.remoting.EngineListenerSplitter.onReconnect(EngineListenerSplitter.java:49) at hudson.remoting.Engine.innerRun(Engine.java:647) at hudson.remoting.Engine.run(Engine.java:455) Caused by: java.lang.ClassNotFoundException: jenkins.slaves.restarter.JnlpSlaveRestarterInstaller at java.net.URLClassLoader.findClass(Unknown Source) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:157) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 4 more Is there anything I should investigate as to why these agents are continually failing? Can I increase the verbosity of the logging to get more information, or tweak some timeout settings? What I can't figure out is why the error on startup again is "NoClassDefFoundError", as that indicates a classpath problem, right? I've got a Windows 2008 server agent running a similar job, and it has no similar issues. Cheers, Daniel . -- 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/5617c5aa-0346-4ec6-b717-137e16083cef%40googlegroups.com.
