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/s3_bucket_cors_configuration: TestAccS3BucketCorsConfiguration_* failing in TeamCity #22976

Closed
anGie44 opened this issue Feb 6, 2022 · 1 comment · Fixed by #22977
Closed
Labels
service/s3 Issues and PRs that pertain to the s3 service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.

Comments

@anGie44
Copy link
Contributor

anGie44 commented Feb 6, 2022

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

Affected Test(s)

  • TestAccS3BucketCorsConfiguration_disappears
  • TestAccS3BucketCorsConfiguration_update
  • TestAccS3BucketCorsConfiguration_MultipleRules

Test Output:

 Error: error reading S3 bucket CORS configuration (tf-acc-test-2427555137538279487): NoSuchCORSConfiguration: The CORS configuration does not exist
        	status code: 404, request id: 2HAGH35WT7XSEDYY, host id: YhRsdwudgAxvG2N/b7uBpDL6wFokUcctDOd/j4PV5fKatrWxECtzQm8v05UIWBP1eqFBZw4ELkQ=
        
          with aws_s3_bucket_cors_configuration.test,
          on terraform_plugin_test.tf line 12, in resource "aws_s3_bucket_cors_configuration" "test":
          12: resource "aws_s3_bucket_cors_configuration" "test" {

Notes

  • Locally, these tests pass but in TC, the error above can be thrown
  • A retry around the GetBucketCors method during Read should handle this
@github-actions github-actions bot added the service/s3 Issues and PRs that pertain to the s3 service. label Feb 6, 2022
@anGie44 anGie44 added tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/s3 Issues and PRs that pertain to the s3 service. and removed service/s3 Issues and PRs that pertain to the s3 service. labels Feb 6, 2022
@github-actions
Copy link

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/s3 Issues and PRs that pertain to the s3 service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
1 participant