<< Back to previous view

[QB-2199] AWS EC2 instance is assigned to a build while instance is already terminating
Created: 10/Oct/14  Updated: 21/Dec/14

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 5.1.36
Fix Version/s: 6.0.0

Type: Bug Priority: Major
Reporter: Maikel vd Hurk Assigned To: Robin Shen
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown
Environment: AWS EC2


 Description   
AWS EC2 instance is assigned to a build while instance is already terminating. See:

2014-10-09 06:25:57,106 INFO - Stopping idle launched node (address: ip-172-30-1-67:8811, launch id: i-bae9d4f8)...
2014-10-09 06:25:59,444 INFO - Build agent 'ip-172-30-1-67:8811' is stopped.
2014-10-09 06:27:17,992 INFO - Terminating inactive launched node (address: ip-172-30-1-67:8811, launch id: i-bae9d4f8)...

While build is trying to execute:
06:26:56,549 ERROR - Build is failed.
com.pmease.quickbuild.QuickbuildException: Unable to run step on node 'ip-172-30-1-67:8811' as it goes offline just now.

This rather look like a race condition which can happen if you have a termination idle value set and this condition is met and during this process this node is still assigned.

 Comments   
Comment by Robin Shen [ 10/Oct/14 11:59 PM ]
Thanks for the info. We will investigate this issue and get it fixed.
Generated at Sun May 19 03:13:53 UTC 2024 using JIRA 189.