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

[Bug]: TestAccStorageGatewayFileSystemAssociation_* tests are failing while waiting for association to succeed #38625

Open
DanielRieske opened this issue Jul 31, 2024 · 1 comment
Labels
bug Addresses a defect in current functionality. service/storagegateway Issues and PRs that pertain to the storagegateway service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.

Comments

@DanielRieske
Copy link
Contributor

DanielRieske commented Jul 31, 2024

Terraform Core Version

v1.9.1

AWS Provider Version

v5.60.0

Affected Resource(s)

  • aws_storagegateway_file_system_association

Expected Behavior

Tests should be passing

Actual Behavior

Tests are failing because they exceeded their create and delete timeout.

This is currently set on 30 minutes but they are still in a creation state, they do eventually succeed but it can take up to an hour.

Relevant Error/Panic Output Snippet

Error: waiting for Storage Gateway File System Association (arn:aws:storagegateway:us-west-2:xxxxxxxxxx:fs-association/fsa-0467CEEC777A6207D) create: timeout while waiting for state to become 'AVAILABLE' (last state: 'CREATING', timeout: 10m0s)
        
          with aws_storagegateway_file_system_association.test,
          on terraform_plugin_test.tf line 197, in resource "aws_storagegateway_file_system_association" "test":
         197: resource "aws_storagegateway_file_system_association" "test" {
        
    panic.go:626: Error running post-test destroy, there may be dangling resources: exit status 1
        
        Error: waiting for Storage Gateway File System Association (arn:aws:storagegateway:us-west-2:xxxxxxxxxx:fs-association/fsa-0467CEEC777A6207D) delete: timeout while waiting for resource to be gone (last state: 'DELETING', timeout: 10m0s)
        
--- FAIL: TestAccStorageGatewayFileSystemAssociation_basic (3906.17s)

Terraform Configuration Files

See file_system_association_test.go

Steps to Reproduce

  • make testacc TESTARGS='-run=TestAccStorageGatewayFileSystemAssociation_basic' PKG=storagegateway

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

Related #38554

Would you like to implement a fix?

Yes

@DanielRieske DanielRieske added the bug Addresses a defect in current functionality. label Jul 31, 2024
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • 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.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added the service/storagegateway Issues and PRs that pertain to the storagegateway service. label Jul 31, 2024
@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label Jul 31, 2024
@justinretzolk justinretzolk added tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. and removed needs-triage Waiting for first response or review from a maintainer. labels Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Addresses a defect in current functionality. service/storagegateway Issues and PRs that pertain to the storagegateway service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

No branches or pull requests

2 participants