While managing modules, I am offered a "restart" button, but when I click it, it logs this message:
Feb 10, 2015 10:00:46 AM jenkins.model.Jenkins$23 run
SEVERE: Restarting VM as requested by username
Feb 10, 2015 10:00:46 AM hudson.plugins.sshslaves.PluginImpl closeRegisteredConnections
INFO: Forcing connection to ft-dbadmin:22 closed.
Feb 10, 2015 10:00:46 AM hudson.remoting.SynchronousCommandTransport$ReaderThread run
SEVERE: I/O error in channel ft-dbadmin
java.io.IOException: Unexpected termination of the channel
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
Caused by: java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2325)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2794)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:801)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:299)
at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:40)
at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
The restart process should "gracefully" close slave connections, as to not cause the "SEVERE" I/O errors.
~tommy
Applies to all slave types.