-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
provider/aws: TestAccAWSOpsworksCustomLayer tests failing inconsistently #6201
Comments
Hey @apparentlymart – odd, in our past few days of nightly ACC tests this has not failed. Are you still hitting it? |
ohey – I think this is a test that needs or expects EC2 Classic, which explains why the Terraform nightly tests work, and my personal account with Classic passes, but my HashiCorp account without Classic fails. If it's OK with you @apparentlymart we should just document that and close this |
I think a better alternative is to update the test to use a VPC instead of relying on the existence of EC2 Classic. |
@catsby so far only @stack72 was actually able to repro this error... I never had it fail. If I'm understanding your suggestion correctly, you're suggesting that we just document that the tests are only expected to work on accounts with EC2-Classic enabled? In principle that seems fine to me, as long as getting new accounts with EC2-Classic is possible. On the other hand, since EC2-Classic is deprecated maybe we should instead make all of the tests target VPC and document that Terraform is not guaranteed to support Opsworks completely on EC2-Classic? Not saying that we should intentionally break it, but that we'd not be acceptance testing it and so we can't guarantee that there won't be regressions in future. |
This would make sense - my account doesn't have EC2-classic and it fails me for every single time |
Hey Friends – Thanks for all the thoughts and consideration here, but I've decided to close this. My reasoning being that Terraform is still committed to supporting EC2 Classic, and some of the OpsWorks tests are specifically designed to test that OpsWorks works in both Classic and VPCs, so this is a good idea to leave as is. I'm committed to making all the AWS tests pass nightly, though it's a battle I continue to wage. You can see here that OpsWorks tests are passing, and I have a spreadsheet to show you that it's been passing for about 2 weeks or so, if you're interested 😄
Yes, I'm suggesting that. We have a handful of other tests in Terraform that require Classic as well.
Possible, I think. But difficult, I imagine. I personally have an account with Classic, I believe phinze does as well, and the account that runs our nightly acceptance tests does, so the responsibility will fall on us to make sure these pass.
I don't think that's in the best interests of our users; Terraform supports EC2 Classic, so I'm going to keep tests around to ensure it's as solid as we can make it. I realize this may frustrate some of our core contributors, who can not run these Classic tests, and I sincerely apologize for that. We greatly appreciate your continued effort and contributions to Terraform! I'll take responsibility for the Classic tests, so if you come across one please ping me and I'll jump in 😄 Let me know if you have any other questions or concerns here. |
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. |
Over in #4272 @stack72 noticed a test failure on the
aws_opsworks_custom_layer
tests which can't be reproduced by the original submitter or by me, and seems at first glance to be orthogonal to that change.It would appear that something is different about @stack72's configuration compared to @mrjefftang's and mine, but it's not clear what that might be.
In the past we've found issues where tests behave differently depending on what parts of the Opsworks UI have been used in a given AWS account, since the console seems to silently create or update objects in ways that the raw Opsworks APIs do not.
Test result:
The text was updated successfully, but these errors were encountered: