[JIRA] (JENKINS-59390) EC2 slave disconnects with EOFException

0 views
Skip to first unread message

colferai@cpqd.com.br (JIRA)

unread,
Sep 16, 2019, 9:07:02 AM9/16/19
to jenkinsc...@googlegroups.com
Rogério Colferai created an issue
 
Jenkins / Bug JENKINS-59390
EC2 slave disconnects with EOFException
Issue Type: Bug Bug
Assignee: FABRIZIO MANFREDI
Components: ec2-plugin
Created: 2019-09-16 13:06
Environment: Server Ubuntu 18.04.3 LTS
Jenkins ver. 2.176.3
Plugins
Amazon EC2 plugin 1.45
SSH Slaves 1.30.1
Slaves:
Priority: Critical Critical
Reporter: Rogério Colferai

Hello,

   After upgrading jenkins from 2.164.3, to 2.176.3 and EC2 plugin to 1.45 EC2 slaves are disconnecting (intermittent disconnects) in the middle of builds with an EOFException.

 

java.io.EOFException
 at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2681)
 at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3156)
 at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:862)
 at java.io.ObjectInputStream.<init>(ObjectInputStream.java:358)
 at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:49)
 at hudson.remoting.Command.readFrom(Command.java:140)
 at hudson.remoting.Command.readFrom(Command.java:126)
 at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:36)
 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:63)
Caused: java.io.IOException: Unexpected termination of the channel
 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.

 

I tried to make the rollback through the interface, but the problem continued.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

cimpoiesgeorge@gmail.com (JIRA)

unread,
Oct 1, 2019, 5:20:03 AM10/1/19
to jenkinsc...@googlegroups.com
George Cimpoies commented on Bug JENKINS-59390
 
Re: EC2 slave disconnects with EOFException

I have the same issue, might want to check the logs of your master Jenkins, in mine I have:

Oct 01, 2019 10:53:45 AM INFO hudson.plugins.ec2.EC2RetentionStrategy internalCheck
Idle timeout of [instance name] after 31 idle minutes, instance statusRUNNING
Oct 01, 2019 10:53:45 AM INFO hudson.plugins.ec2.EC2AbstractSlave idleTimeout
EC2 instance idle time expired: i-07625ee50b5a21bde
Oct 01, 2019 10:53:45 AM INFO hudson.plugins.ec2.EC2OndemandSlave terminate
Terminated EC2 instance (terminated): i-07625ee50b5a21bde
Oct 01, 2019 10:53:45 AM INFO hudson.plugins.ec2.EC2OndemandSlave terminate
Removed EC2 instance from jenkins master: i-07625ee50b5a21bde

So nodes are automatically disconnected after an idle timeout, I've raised a similar issue here: https://issues.jenkins-ci.org/browse/JENKINS-59579

Reply all
Reply to author
Forward
0 new messages