Skip to content

Failing test(s): TestAccApigeeOrganization_* (Organization deletion operation does not exist) #20668

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

Comments

@melinath
Copy link
Collaborator

melinath commented Dec 11, 2024

Impacted tests

  • TestAccApigeeOrganization_apigeeOrganizationDrzTestExample
  • TestAccApigeeOrganization_apigeeOrganizationRetentionTestExample
  • TestAccApigeeEnvironment_apigeeEnvironmentPatchUpdateTestExampleUpdate
  • TestAccApigeeEnvironment_apigeeEnvironmentPatchUpdateTestExample

Affected Resource(s)

  • google_apigee_organization

Failure rates

  • 100% since 2024-11-28

Message(s)

Error: Error waiting for Deleting Organization: error while retrieving operation: googleapi: Error 403: Permission 'apigee.operations.get' denied on resource 'organizations/tf-test23p9ynkiez/operations/ec7985fe-33fd-408d-8b24-30f31d650353' (or it may not exist)

It looks like this test failure was introduced via GoogleCloudPlatform/magic-modules#12416. We didn't notice the change because the tests in question don't get run in VCR (so they don't get run on PRs) and they weren't added in this PR.

The other 4 apigee organization tests & 2 other apigee environment tests are still passing.

Nightly build test history

https://hashicorp.teamcity.com/test/8216036849017560645?currentProjectId=TerraformProviders_GoogleCloud_GOOGLE_BETA_NIGHTLYTESTS&expandedTest=build%3A%28id%3A276666%29%2Cid%3A2000000043

b/383609361

@github-actions github-actions bot added forward/review In review; remove label to forward service/apigee labels Dec 11, 2024
@melinath melinath removed the forward/review In review; remove label to forward label Dec 11, 2024
@melinath melinath changed the title Failing test(s): TestAccApigeeOrganization_apigeeOrganizationDrzTestExample Failing test(s): TestAccApigeeOrganization_* (Organization deletion operation does not exist) Dec 11, 2024
@melinath
Copy link
Collaborator Author

This seems like it could be an issue where the operation is nested inside the organization being deleted - so it can't be found once the organization is gone. Not clear on why this is only an issue for some tests though.

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 Mar 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.