Skip to content

tests/resource/aws_rds_cluster: TestAccAWSRDSCluster_s3Restore Consistently Failing #14275

@bflad

Description

@bflad

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    service/rdsIssues and PRs that pertain to the rds service.testsPRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions