[JIRA] (JENKINS-61440) EC2 plugin fails to recognise instance terminated on spot

4 views
Skip to first unread message

matt@anatwine.com (JIRA)

unread,
Mar 11, 2020, 2:15:03 PM3/11/20
to jenkinsc...@googlegroups.com
Matt T created an issue
 
Jenkins / Bug JENKINS-61440
EC2 plugin fails to recognise instance terminated on spot
Issue Type: Bug Bug
Assignee: FABRIZIO MANFREDI
Components: ec2-plugin
Created: 2020-03-11 18:14
Environment: Jenkins version 2.150.2
EC2 plugin version 1.49.1
CentOS 7.7.1908
Priority: Major Major
Reporter: Matt T

We are using the EC2 plugin to automatically launch instances on spot, and this generally works OK. One of the biggest problems, however, is that if AWS terminates the instance half way through a build due to spot price change or they need the capacity back, the pipeline spits out an error along the lines of "The channel is closing down or has closed down," and sits there forever, never recognising that the instance has gone and it will never complete. This means that you manually have to stop the build, and re-run it.

In an ideal world, the job would be put back on the queue to run on another instance, however I'd settle for it simply dying peacefully and the job failing or getting cancelled automatically.

I've done a search on here but can't find any issues that match this description.

We're using Jenkins version 2.150.2, and EC2 plugin version 1.49.1.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

matt@anatwine.com (JIRA)

unread,
Mar 11, 2020, 2:16:02 PM3/11/20
to jenkinsc...@googlegroups.com
Matt T updated an issue
Change By: Matt T
We are using the EC2 plugin to automatically launch instances on spot, and this generally works OK. One of the biggest problems, however, is that if AWS terminates the instance half way through a build due to spot price change or they need the capacity back, the pipeline spits out an error along the lines of "The channel is closing down or has closed down," and sits there forever, never recognising that the instance has gone and it will never complete. This means that you manually have to stop the build, and re-run it.

In an ideal world, the job would be put back on the queue to run on another instance, however I'd settle for it simply dying peacefully and the job failing or getting cancelled automatically.

I've done a search on here but can't find any issues that match this description.


We're using Jenkins version 2.150.2, and EC2 plugin version 1.49.1.
Add Comment Add Comment
 

nigel.armstrong@braincorp.com (JIRA)

unread,
Apr 3, 2020, 2:16:03 AM4/3/20
to jenkinsc...@googlegroups.com
Nigel Armstrong closed an issue as Duplicate
Change By: Nigel Armstrong
Status: Open Closed
Resolution: Duplicate
Reply all
Reply to author
Forward
0 new messages