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

tests/resource/aws_rds_cluster: TestAccAWSRDSCluster_s3Restore Consistently Failing #14275

Closed
bflad opened this issue Jul 21, 2020 · 2 comments
Closed
Labels
service/rds Issues and PRs that pertain to the rds service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.

Comments

@bflad
Copy link
Contributor

bflad commented Jul 21, 2020

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue 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 issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform CLI and Terraform AWS Provider Version

Latest codebase

Affected Resource(s)

  • aws_rds_cluster

Expected Behavior

Test passes as it did originally.

Actual Behavior

Consistent failures:

--- FAIL: TestAccAWSRDSCluster_s3Restore (1528.28s)
    TestAccAWSRDSCluster_s3Restore: testing.go:684: Step 0 error: errors during apply:

        Error: Error waiting for RDS Cluster state to be "available": unexpected state 'migration-failed', wanted target 'available'. last error: %!s(<nil>)

Steps to Reproduce

  1. make testacc TESTARGS='-run=TestAccAWSRDSCluster_s3Restore'

Important Factoids

RDS Cluster S3 restores are a complicated subject, the failures take a long time to surface, and require a custom backup file. That file may need to be recreated to fix this test. It would be great if the whole process could be emulated in a test configuration, but that is a difficult task.

References

@bflad bflad added tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/rds Issues and PRs that pertain to the rds service. labels Jul 21, 2020
@bflad
Copy link
Contributor Author

bflad commented Oct 30, 2020

Closing as duplicate of #13391

@bflad bflad closed this as completed Oct 30, 2020
@ghost
Copy link

ghost commented Nov 29, 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 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/rds Issues and PRs that pertain to the rds service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

No branches or pull requests

1 participant