Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

service/lex: Check resource.TimeoutError on creation #15527

Merged
merged 1 commit into from
Oct 7, 2020

Conversation

bflad
Copy link
Contributor

@bflad bflad commented Oct 6, 2020

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Reference: #12985

Release note for CHANGELOG:

* resource/aws_lex_bot: Prevent unexpected timeout error on creation due to API throttling
* resource/aws_lex_bot_alias: Prevent unexpected timeout error on creation due to API throttling
* resource/aws_lex_intent: Prevent unexpected timeout error on creation due to API throttling
* resource/aws_lex_slot_type: Prevent unexpected timeout error on creation due to API throttling

Output from acceptance testing:

--- PASS: TestAccAwsLexBot_abortStatement (73.59s)
--- PASS: TestAccAwsLexBot_basic (26.10s)
--- PASS: TestAccAwsLexBot_childDirected (62.70s)
--- PASS: TestAccAwsLexBot_clarificationPrompt (55.30s)
--- PASS: TestAccAwsLexBot_description (49.36s)
--- PASS: TestAccAwsLexBot_detectSentiment (51.53s)
--- PASS: TestAccAwsLexBot_disappears (39.50s)
--- PASS: TestAccAwsLexBot_enableModelImprovements (73.27s)
--- PASS: TestAccAwsLexBot_idleSessionTtlInSeconds (65.77s)
--- PASS: TestAccAwsLexBot_intents (51.47s)
--- PASS: TestAccAwsLexBot_locale (80.60s)
--- PASS: TestAccAwsLexBot_voiceId (63.26s)
--- PASS: TestAccAwsLexBot_version_serial (184.03s)
    --- PASS: TestAccAwsLexBot_version_serial/LexBot_createVersion (52.44s)
    --- PASS: TestAccAwsLexBot_version_serial/LexBotAlias_botVersion (56.87s)
    --- PASS: TestAccAwsLexBot_version_serial/DataSourceLexBot_withVersion (36.14s)
    --- PASS: TestAccAwsLexBot_version_serial/DataSourceLexBotAlias_basic (38.58s)

--- PASS: TestAccAwsLexBotAlias_basic (114.72s)
--- PASS: TestAccAwsLexBotAlias_conversationLogsAudio (40.91s)
--- PASS: TestAccAwsLexBotAlias_conversationLogsBoth (83.96s)
--- PASS: TestAccAwsLexBotAlias_conversationLogsText (52.93s)
--- PASS: TestAccAwsLexBotAlias_description (82.35s)
--- PASS: TestAccAwsLexBotAlias_disappears (35.49s)

--- PASS: TestAccAwsLexIntent_basic (28.56s)
--- PASS: TestAccAwsLexIntent_conclusionStatement (80.95s)
--- PASS: TestAccAwsLexIntent_confirmationPromptAndRejectionStatement (52.63s)
--- PASS: TestAccAwsLexIntent_createVersion (51.63s)
--- PASS: TestAccAwsLexIntent_dialogCodeHook (42.01s)
--- PASS: TestAccAwsLexIntent_disappears (28.24s)
--- PASS: TestAccAwsLexIntent_followUpPrompt (47.09s)
--- PASS: TestAccAwsLexIntent_fulfillmentActivity (102.70s)
--- PASS: TestAccAwsLexIntent_sampleUtterances (132.59s)
--- PASS: TestAccAwsLexIntent_slots (49.30s)
--- PASS: TestAccAwsLexIntent_slotsCustom (131.17s)
--- PASS: TestAccAwsLexIntent_updateWithExternalChange (45.35s)

--- PASS: TestAccAwsLexSlotType_basic (67.78s)
--- PASS: TestAccAwsLexSlotType_createVersion (90.87s)
--- PASS: TestAccAwsLexSlotType_description (122.77s)
--- PASS: TestAccAwsLexSlotType_disappears (28.67s)
--- PASS: TestAccAwsLexSlotType_enumerationValues (50.86s)
--- PASS: TestAccAwsLexSlotType_name (60.90s)
--- PASS: TestAccAwsLexSlotType_valueSelectionStrategy (49.96s)

Reference: #12985

Output from acceptance testing:

```
--- PASS: TestAccAwsLexBot_abortStatement (73.59s)
--- PASS: TestAccAwsLexBot_basic (26.10s)
--- PASS: TestAccAwsLexBot_childDirected (62.70s)
--- PASS: TestAccAwsLexBot_clarificationPrompt (55.30s)
--- PASS: TestAccAwsLexBot_description (49.36s)
--- PASS: TestAccAwsLexBot_detectSentiment (51.53s)
--- PASS: TestAccAwsLexBot_disappears (39.50s)
--- PASS: TestAccAwsLexBot_enableModelImprovements (73.27s)
--- PASS: TestAccAwsLexBot_idleSessionTtlInSeconds (65.77s)
--- PASS: TestAccAwsLexBot_intents (51.47s)
--- PASS: TestAccAwsLexBot_locale (80.60s)
--- PASS: TestAccAwsLexBot_voiceId (63.26s)
--- PASS: TestAccAwsLexBot_version_serial (184.03s)
    --- PASS: TestAccAwsLexBot_version_serial/LexBot_createVersion (52.44s)
    --- PASS: TestAccAwsLexBot_version_serial/LexBotAlias_botVersion (56.87s)
    --- PASS: TestAccAwsLexBot_version_serial/DataSourceLexBot_withVersion (36.14s)
    --- PASS: TestAccAwsLexBot_version_serial/DataSourceLexBotAlias_basic (38.58s)

--- PASS: TestAccAwsLexBotAlias_basic (114.72s)
--- PASS: TestAccAwsLexBotAlias_conversationLogsAudio (40.91s)
--- PASS: TestAccAwsLexBotAlias_conversationLogsBoth (83.96s)
--- PASS: TestAccAwsLexBotAlias_conversationLogsText (52.93s)
--- PASS: TestAccAwsLexBotAlias_description (82.35s)
--- PASS: TestAccAwsLexBotAlias_disappears (35.49s)

--- PASS: TestAccAwsLexIntent_basic (28.56s)
--- PASS: TestAccAwsLexIntent_conclusionStatement (80.95s)
--- PASS: TestAccAwsLexIntent_confirmationPromptAndRejectionStatement (52.63s)
--- PASS: TestAccAwsLexIntent_createVersion (51.63s)
--- PASS: TestAccAwsLexIntent_dialogCodeHook (42.01s)
--- PASS: TestAccAwsLexIntent_disappears (28.24s)
--- PASS: TestAccAwsLexIntent_followUpPrompt (47.09s)
--- PASS: TestAccAwsLexIntent_fulfillmentActivity (102.70s)
--- PASS: TestAccAwsLexIntent_sampleUtterances (132.59s)
--- PASS: TestAccAwsLexIntent_slots (49.30s)
--- PASS: TestAccAwsLexIntent_slotsCustom (131.17s)
--- PASS: TestAccAwsLexIntent_updateWithExternalChange (45.35s)

--- PASS: TestAccAwsLexSlotType_basic (67.78s)
--- PASS: TestAccAwsLexSlotType_createVersion (90.87s)
--- PASS: TestAccAwsLexSlotType_description (122.77s)
--- PASS: TestAccAwsLexSlotType_disappears (28.67s)
--- PASS: TestAccAwsLexSlotType_enumerationValues (50.86s)
--- PASS: TestAccAwsLexSlotType_name (60.90s)
--- PASS: TestAccAwsLexSlotType_valueSelectionStrategy (49.96s)
```
@bflad bflad added bug Addresses a defect in current functionality. technical-debt Addresses areas of the codebase that need refactoring or redesign. labels Oct 6, 2020
@bflad bflad requested a review from a team October 6, 2020 19:05
@ghost ghost added size/XS Managed by automation to categorize the size of a PR. service/lexmodels Issues and PRs that pertain to the lexmodels service. labels Oct 6, 2020
@YakDriver YakDriver self-assigned this Oct 7, 2020
Copy link
Member

@YakDriver YakDriver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

--- PASS: TestAccAwsLexIntent_basic (48.19s)
--- PASS: TestAccAwsLexBot_disappears (76.18s)
--- PASS: TestAccAwsLexBotAlias_basic (84.84s)
--- PASS: TestAccAwsLexBot_clarificationPrompt (118.61s)
--- PASS: TestAccAwsLexBotAlias_conversationLogsAudio (123.13s)
--- PASS: TestAccAwsLexBot_enableModelImprovements (123.81s)
--- PASS: TestAccAwsLexBotAlias_conversationLogsBoth (127.81s)
--- PASS: TestAccAwsLexBotAlias_disappears (130.41s)
--- PASS: TestAccAwsLexBotAlias_description (146.53s)
--- PASS: TestAccAwsLexBot_basic (150.53s)
--- PASS: TestAccAwsLexBot_voiceId (153.87s)
--- PASS: TestAccAwsLexBot_abortStatement (154.94s)
--- PASS: TestAccAwsLexBotAlias_conversationLogsText (155.65s)
--- PASS: TestAccAwsLexBot_childDirected (156.71s)
--- PASS: TestAccAwsLexIntent_conclusionStatement (82.58s)
--- PASS: TestAccAwsLexIntent_createVersion (111.27s)
--- PASS: TestAccAwsLexBot_idleSessionTtlInSeconds (193.36s)
--- PASS: TestAccAwsLexIntent_dialogCodeHook (77.70s)
--- PASS: TestAccAwsLexBot_detectSentiment (199.20s)
--- PASS: TestAccAwsLexIntent_fulfillmentActivity (80.86s)
--- PASS: TestAccAwsLexIntent_slotsCustom (59.59s)
--- PASS: TestAccAwsLexIntent_followUpPrompt (84.62s)
--- PASS: TestAccAwsLexSlotType_basic (55.28s)
--- PASS: TestAccAwsLexIntent_confirmationPromptAndRejectionStatement (130.46s)
--- PASS: TestAccAwsLexIntent_slots (85.63s)
--- PASS: TestAccAwsLexIntent_sampleUtterances (88.90s)
--- PASS: TestAccAwsLexSlotType_disappears (28.65s)
--- PASS: TestAccAwsLexIntent_disappears (74.93s)
--- PASS: TestAccAwsLexSlotType_enumerationValues (85.31s)
--- PASS: TestAccAwsLexSlotType_valueSelectionStrategy (51.34s)
--- PASS: TestAccAwsLexSlotType_description (93.90s)
--- PASS: TestAccAwsLexSlotType_createVersion (96.50s)
--- PASS: TestAccAwsLexSlotType_name (95.22s)
--- PASS: TestAccAwsLexIntent_updateWithExternalChange (129.40s)
--- PASS: TestAccAwsLexBot_intents (287.36s)
--- PASS: TestAccAwsLexBot_description (289.89s)
--- PASS: TestAccAwsLexBot_locale (299.23s)
--- FAIL: TestAccAwsLexBot_version_serial (302.37s)

Failure appears transient:

TestAccAwsLexBot_version_serial/LexBot_createVersion: resource_aws_lex_bot_test.go:88: Step 2/3 error: After applying this test step and performing a `terraform refresh`, the plan was not empty.

@bflad bflad added this to the v3.10.0 milestone Oct 7, 2020
@bflad bflad merged commit fb900c6 into master Oct 7, 2020
@bflad bflad deleted the b-lex-TimeoutError branch October 7, 2020 19:10
bflad added a commit that referenced this pull request Oct 7, 2020
@ghost
Copy link

ghost commented Oct 9, 2020

This has been released in version 3.10.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

@ghost
Copy link

ghost commented Nov 7, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Nov 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/lexmodels Issues and PRs that pertain to the lexmodels service. size/XS Managed by automation to categorize the size of a PR. technical-debt Addresses areas of the codebase that need refactoring or redesign.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants