History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2199
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Robin Shen
Reporter: Maikel vd Hurk
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

AWS EC2 instance is assigned to a build while instance is already terminating

Created: 10/Oct/14 07:01 AM   Updated: 21/Dec/14 01:07 PM
Component/s: None
Affects Version/s: 5.1.36
Fix Version/s: 6.0.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: AWS EC2


 Description  « Hide
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.

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [10/Oct/14 11:59 PM]
Thanks for the info. We will investigate this issue and get it fixed.