Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-26884

Slave disconnect should be graceful during restart

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core, remoting
    • None
    • CentOS 6.6 x86_64, jenkins-1.580.3-1.1.noarch, java-1.7.0-openjdk-1.7.0.75-2.5.4.0.el6_6.x86_64

      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

            Unassigned Unassigned
            tommythekid Tommy McNeely
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: