Details

    • Similar Issues:

      Description

      EC2 slaves are created and connected through ssh when a build is started but it goes offline after every 9-10 minutes with this error log.
      Jenkins - 2.7.4
      EC2 plugin 1.35
      E2 slave machine system:
      Groovy: 2.4.4
      Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
      JVM: 1.8.0_60 (Oracle Corporation 25.60-b23)
      OS: Linux 4.4.11-23.53.amzn1.x86_64 amd64

      SEVERE: I/O error in channel jenkins-roadrunner-linux-builder-slave (i-9fc2c187)
      java.io.IOException: Unexpected termination of the channel
              at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:73)
      Caused by: java.io.EOFException
              at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2335)
              at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2804)
              at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:802)
              at java.io.ObjectInputStream.<init>(ObjectInputStream.java:299)
              at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:48)
              at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
              at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:59)
      
      
      

        Attachments

          Activity

          Hide
          francisu Francis Upton added a comment -

          Please try plugin version 1.36

          Show
          francisu Francis Upton added a comment - Please try plugin version 1.36
          Hide
          deepanshu11madan deepanshu madan added a comment -

          Francis Upton it still happens with v 1.36
          The gradle build stops in between with "Agent went offline during the build" and with the error above. That error is too generic, I am not able to figure what's the root cause of it.

          Show
          deepanshu11madan deepanshu madan added a comment - Francis Upton it still happens with v 1.36 The gradle build stops in between with "Agent went offline during the build" and with the error above. That error is too generic, I am not able to figure what's the root cause of it.
          Hide
          deepanshu11madan deepanshu madan added a comment -

          and I verified its nothing with that particular build job, the ec2 slave just looses the ssh connection after around 10 minutes.

          Show
          deepanshu11madan deepanshu madan added a comment - and I verified its nothing with that particular build job, the ec2 slave just looses the ssh connection after around 10 minutes.
          Hide
          sajjsfarahani Sajj Farahani added a comment -

          Was this ever solved deepanshu madan? I'm having the same issue. I think it is something to do with the OS

          Show
          sajjsfarahani Sajj Farahani added a comment - Was this ever solved deepanshu madan ? I'm having the same issue. I think it is something to do with the OS

            People

            • Assignee:
              francisu Francis Upton
              Reporter:
              deepanshu11madan deepanshu madan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: