-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt to create long-running stacks for rollback tests (#625)
* Attempt to create long-running stacks for rollback tests Not sure if this will work, but hopeful. If successful, it'll make our flakier functional tests work. * Fix output value * Fix duplicate output key * Fix depends on logic * Ugh, get it together! * Throw verbose flag in to debug Not sure why we see such a massive delay in outputs: https://circleci.com/gh/cloudtools/stacker/2404?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link If you look it shows: ``` $ stacker build /dev/fd/63 [2018-07-10T17:00:01] Using default AWS provider mode [2018-07-10T17:00:07] recreate-failed-interactive: submitted (creating new stack) [2018-07-10T17:01:41] recreate-failed-interactive: failed (creating new stack) [2018-07-10T17:01:41] The following steps failed: recreate-failed-interactive ``` That's 1:34 between updates, and it misses the rolled back message ``` `assert_has_line "recreate-failed-interactive: failed (rolled back new stack)"' failed ``` When I look at the events: ``` $ aws cloudformation describe-stack-events --query 'StackEvents[*].{TS:Timestamp,Type:ResourceType,Status:ResourceStatus,Resource:LogicalResourceId}' --stack-name arn:aws:cloudformation:us-east-1:459170252436:stack/cloudtools-functional-tests-2404-recreate-failed-interactive/b26b5480-8462-11e8-aac9-503aca4a5899 --output text | grep ROLL cloudtools-functional-tests-2404-recreate-failed-interactive ROLLBACK_COMPLETE 2018-07-10T17:00:49.724Z AWS::CloudFormation::Stack cloudtools-functional-tests-2404-recreate-failed-interactive ROLLBACK_IN_PROGRESS 2018-07-10T17:00:33.061Z AWS::CloudFormation::Stack ``` It shows that there was at least 16 seconds between when it went into rollback, and when it finished. I'm shocked we don't catch any of those events. Hopefully setting this to verbose will help narrow down what is happening here. * Verbose on all builds attemps
- Loading branch information
1 parent
342e04a
commit 47d7525
Showing
5 changed files
with
93 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters