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): TestAccApigeeEnvironment_apigeeEnvironmentUpdateTest #20931

Open
zli82016 opened this issue Jan 15, 2025 · 1 comment
Open
Labels
forward/review In review; remove label to forward service/apigee test-failure

Comments

@zli82016
Copy link
Collaborator

zli82016 commented Jan 15, 2025

Impacted tests

  • TestAccApigeeEnvironment_apigeeEnvironmentUpdateTest

Affected Resource(s)

  • google_apigee_environment

Failure rates

  • 100% since 2024-12-17

Message(s)

resource_apigee_environment_update_test.go:23: Step 3/4 error: After applying this test step, the plan was not empty.
        stdout:
        Terraform used the selected providers to generate the following execution
        plan. Resource actions are indicated with the following symbols:
          ~ update in-place
        Terraform will perform the following actions:
          # google_apigee_environment.apigee_environment will be updated in-place
          ~ resource "google_apigee_environment" "apigee_environment" {
              ~ description       = "Apigee Environment" -> "Updated Apigee Environment Description"
              ~ display_name      = "environment-1" -> "environment-1-updated"
                id                = "organizations/tf-testlf97qcs89p/environments/tf-testlf97qcs89p"
                name              = "tf-testlf97qcs89p"
                # (5 unchanged attributes hidden)
            }
        Plan: 0 to add, 1 to change, 0 to destroy.
    testing_new.go:90: Error running post-test destroy, there may be dangling resources: exit status 1
        Error: Error when reading or editing Environment: googleapi: Error 400: the resource is locked by another operation where environment tf-testlf97qcs89p is being modified by operation: 76ef271b-4d16-4fed-963e-1f291da161f8
        Details:
        [
          {
            "@type": "type.googleapis.com/google.rpc.RequestInfo",
            "requestId": "1831474550039081249"
          }
        ]

Nightly build test history

@github-actions github-actions bot added forward/review In review; remove label to forward service/apigee labels Jan 15, 2025
@zli82016
Copy link
Collaborator Author

Based on the API doc: https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments/update, the update should be made as a PUT, instead of PATCH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
forward/review In review; remove label to forward service/apigee test-failure
Projects
None yet
Development

No branches or pull requests

1 participant