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

ec2 plugin - ssh connection timeouts if an Init Script is used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • ec2-plugin
    • None
    • CentOS 6.4

      If an Init Script is passed there are three sessions opened but only one of them is closed. At the end of the init script processing, the initial sessions timeout and the ssh sessions timeout.

      Launching slave agent: java -jar /tmp/slave.jar
      <===[JENKINS REMOTING CAPACITY]===>Slave.jar version: 2.33
      This is a Unix slave
      Evacuated stdout
      Slave successfully connected and online
      ERROR: Connection terminated
      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$BlockDataInputStream.peekByte(ObjectInputStream.java:2596)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1317)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
      at hudson.remoting.Command.readFrom(Command.java:92)
      at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:71)
      at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

            fortier Chris Fortier
            fortier Chris Fortier
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: