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

Final retries for msk cluster #9793

Merged
merged 2 commits into from
Aug 20, 2019
Merged

Final retries for msk cluster #9793

merged 2 commits into from
Aug 20, 2019

Conversation

ryndaniels
Copy link
Contributor

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" comments, they generate extra noise for pull request followers and do not help prioritize the request

Relates #7873

Release note for CHANGELOG:

BUG FIXES:
* resource/aws_msk_cluster: Final retries after timeouts creating and deleting clusters

Output from acceptance testing:

$ make testacc TESTARGS="-run=TestAccAWSMskCluster"==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./... -v -parallel 20 -run=TestAccAWSMskCluster -timeout 120m
?       github.com/terraform-providers/terraform-provider-aws   [no test files]
=== RUN   TestAccAWSMskClusterDataSource_Name
=== PAUSE TestAccAWSMskClusterDataSource_Name
=== RUN   TestAccAWSMskCluster_basic
=== PAUSE TestAccAWSMskCluster_basic
=== RUN   TestAccAWSMskCluster_BrokerNodeGroupInfo_EbsVolumeSize
=== PAUSE TestAccAWSMskCluster_BrokerNodeGroupInfo_EbsVolumeSize
=== RUN   TestAccAWSMskCluster_ClientAuthentication_Tls_CertificateAuthorityArns
--- SKIP: TestAccAWSMskCluster_ClientAuthentication_Tls_CertificateAuthorityArns (0.00s)
    resource_aws_msk_cluster_test.go:155: Requires the aws_acmpca_certificate_authority resource to support importing the root CA certificate
=== RUN   TestAccAWSMskCluster_ConfigurationInfo_Revision
--- SKIP: TestAccAWSMskCluster_ConfigurationInfo_Revision (0.00s)
    resource_aws_msk_cluster_test.go:189: aws_msk_cluster is correctly calling UpdateClusterConfiguration however API is always returning 429 and 500 errors
=== RUN   TestAccAWSMskCluster_EncryptionInfo_EncryptionAtRestKmsKeyArn
=== PAUSE TestAccAWSMskCluster_EncryptionInfo_EncryptionAtRestKmsKeyArn
=== RUN   TestAccAWSMskCluster_EncryptionInfo_EncryptionInTransit_ClientBroker
=== PAUSE TestAccAWSMskCluster_EncryptionInfo_EncryptionInTransit_ClientBroker
=== RUN   TestAccAWSMskCluster_EncryptionInfo_EncryptionInTransit_InCluster
=== PAUSE TestAccAWSMskCluster_EncryptionInfo_EncryptionInTransit_InCluster
=== RUN   TestAccAWSMskCluster_EnhancedMonitoring
=== PAUSE TestAccAWSMskCluster_EnhancedMonitoring
=== RUN   TestAccAWSMskCluster_NumberOfBrokerNodes
=== PAUSE TestAccAWSMskCluster_NumberOfBrokerNodes
=== RUN   TestAccAWSMskCluster_Tags
=== PAUSE TestAccAWSMskCluster_Tags
=== CONT  TestAccAWSMskClusterDataSource_Name
=== CONT  TestAccAWSMskCluster_EncryptionInfo_EncryptionInTransit_ClientBroker
=== CONT  TestAccAWSMskCluster_basic
=== CONT  TestAccAWSMskCluster_EncryptionInfo_EncryptionInTransit_InCluster
=== CONT  TestAccAWSMskCluster_NumberOfBrokerNodes
=== CONT  TestAccAWSMskCluster_EnhancedMonitoring
=== CONT  TestAccAWSMskCluster_BrokerNodeGroupInfo_EbsVolumeSize
=== CONT  TestAccAWSMskCluster_Tags
=== CONT  TestAccAWSMskCluster_EncryptionInfo_EncryptionAtRestKmsKeyArn
--- PASS: TestAccAWSMskCluster_EncryptionInfo_EncryptionInTransit_InCluster (771.22s)
--- FAIL: TestAccAWSMskCluster_Tags (845.03s)
    testing.go:568: Step 0 error: After applying this step, the plan was not empty:
        
        DIFF:
        
...    
        
        STATE:
...
--- FAIL: TestAccAWSMskCluster_BrokerNodeGroupInfo_EbsVolumeSize (880.78s)
    testing.go:568: Step 0 error: After applying this step, the plan was not empty:
        
        DIFF:
        
...   
        
        STATE:
        
...
--- PASS: TestAccAWSMskCluster_EncryptionInfo_EncryptionInTransit_ClientBroker (887.45s)
--- FAIL: TestAccAWSMskCluster_NumberOfBrokerNodes (889.94s)
    testing.go:568: Step 0 error: Check failed: Check 2/9 error: aws_msk_cluster.test: Attribute 'bootstrap_brokers' didn't match "^(([-\\w]+\\.){1,}[\\w]+:\\d+,){2,}([-\\w]+\\.){1,}[\\w]+:\\d+$", got ""
--- FAIL: TestAccAWSMskCluster_EncryptionInfo_EncryptionAtRestKmsKeyArn (923.87s)
    testing.go:568: Step 0 error: After applying this step, the plan was not empty:
        
        DIFF:
        
...
        
        STATE:
        
...
--- FAIL: TestAccAWSMskCluster_basic (954.09s)
    testing.go:568: Step 0 error: Check failed: Check 3/27 error: aws_msk_cluster.test: Attribute 'bootstrap_brokers' didn't match "^(([-\\w]+\\.){1,}[\\w]+:\\d+,){2,}([-\\w]+\\.){1,}[\\w]+:\\d+$", got ""
--- FAIL: TestAccAWSMskClusterDataSource_Name (1000.95s)
    testing.go:568: Step 0 error: Check failed: Check 2/8 error: data.aws_msk_cluster.test: Attribute 'bootstrap_brokers' expected to be set
--- FAIL: TestAccAWSMskCluster_EnhancedMonitoring (1005.55s)
    testing.go:568: Step 0 error: After applying this step, the plan was not empty:
        
        DIFF:
        
... 
        
        STATE:
        
...
FAIL
FAIL    github.com/terraform-providers/terraform-provider-aws/aws       1006.420s
make: *** [testacc] Error 1

@ryndaniels ryndaniels requested a review from a team August 16, 2019 09:09
@ghost ghost added size/S Managed by automation to categorize the size of a PR. service/kafka Issues and PRs that pertain to the kafka service. labels Aug 16, 2019
@ryndaniels ryndaniels added the bug Addresses a defect in current functionality. label Aug 16, 2019
@ryndaniels ryndaniels added this to the v2.25.0 milestone Aug 16, 2019
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

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

One thing, otherwise LGTM 🚀

I left notes about the testing in our acceptance testing commentary documentation.

aws/resource_aws_msk_cluster.go Outdated Show resolved Hide resolved
@ryndaniels ryndaniels merged commit ba6f37b into master Aug 20, 2019
@ryndaniels ryndaniels deleted the rfd-retry-msk branch August 20, 2019 12:07
@ghost
Copy link

ghost commented Aug 23, 2019

This has been released in version 2.25.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 1, 2019

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 and limited conversation to collaborators Nov 1, 2019
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/kafka Issues and PRs that pertain to the kafka service. size/S Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants