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

Failing test(s): TestAccComputeHaVpnGateway_computeHaVpnGatewayEncryptedInterconnectExample #11504

Open
melinath opened this issue Apr 14, 2022 · 7 comments

Comments

@melinath
Copy link
Collaborator

melinath commented Apr 14, 2022

Affected Resource(s)

  • google_compute_ha_vpn_gateway

Failure rate:

  • 100% since Mar 22, 2022
  • Still 100% as of June 16 2022

Impacted tests:

  • TestAccComputeHaVpnGateway_computeHaVpnGatewayEncryptedInterconnectExample

Nightly builds:

Message:

Error: Error creating HaVpnGateway: googleapi: Error 412: Interconnect Attachments tf-test-test-interconnect-attachment1nbyar2cux3 must be in active state., conditionNotMet
@melinath
Copy link
Collaborator Author

Still 100%

@AarshDhokai
Copy link
Contributor

Still 100% failure in Google Cloud and Google Cloud Beta

@AarshDhokai
Copy link
Contributor

b/263128601

@roaks3 roaks3 self-assigned this Feb 16, 2023
@roaks3
Copy link
Collaborator

roaks3 commented Feb 16, 2023

Confirmed with a 2 minute sleep that this does not appear to be a timing issue. The Interconnect attachments end up in a PENDING_PARTNER state, which means that the user is supposed to manually work with the third-party partner to move the attachment toward the ACTIVE state.

Per GoogleCloudPlatform/magic-modules#4777 it appears that this test might have passed at one point, and I'm wondering if there is internal setup we can use to get this test to pass.

@roaks3
Copy link
Collaborator

roaks3 commented Feb 16, 2023

@slevenick do you recall where this test might have come from, or what might have changed since it was added? I'm not noticing any pre-existing infrastructure that was used to get it to run, so I'm wondering how it was able to pass.

@slevenick
Copy link
Collaborator

It did pass at one point. I think success depends on having the project allowlisted for the feature, as interconnect is pretty tricky to get working. Not sure what would have changed to make it fail, maybe new restrictions in the API level to check that the interconnect is active?

@roaks3
Copy link
Collaborator

roaks3 commented Feb 16, 2023

Ah ok, that would make sense. Sounds like we may have to touch base with their team internally to determine the best way to test this. I believe the feature itself is still properly enabled for the project, and I created a follow-up to do the same for new projects: b/268533439.

Since it could take some time to determine an appropriate test configuration, and this error is easily reproducible, I'm going to skip the test while we work through that.

@roaks3 roaks3 added test-failure-100 100% fail rate and removed priority/1 labels Apr 6, 2023
@roaks3 roaks3 removed their assignment Apr 6, 2023
modular-magician added a commit to modular-magician/terraform-provider-google that referenced this issue Aug 21, 2024
[upstream:cec6d62e04abfb41a334e8b07d481e3e3076abde]

Signed-off-by: Modular Magician <[email protected]>
modular-magician added a commit that referenced this issue Aug 21, 2024
[upstream:cec6d62e04abfb41a334e8b07d481e3e3076abde]

Signed-off-by: Modular Magician <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants