hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.31k stars 1.73k forks source link

Failing test(s): TestAccComputeBackend* with Security Policy #16743

Open SarahFrench opened 9 months ago

SarahFrench commented 9 months ago

Failure rates

As of 2024-02-23:

Impacted tests

Affected Resource(s)

Nightly build test history

Message(s)

------- Stdout: -------
=== RUN   TestAccComputeBackendService_withSecurityPolicy
=== PAUSE TestAccComputeBackendService_withSecurityPolicy
=== CONT  TestAccComputeBackendService_withSecurityPolicy
    vcr_utils.go:152: Step 1/4 error: Error running apply: exit status 1
        Error: Error waiting for Creating SecurityPolicy "tf-test-f6ykgicod2": timeout while waiting for state to become 'DONE' (last state: 'RUNNING', timeout: 8m0s)
          with google_compute_security_policy.edgePolicy,
          on terraform_plugin_test.tf line 21, in resource "google_compute_security_policy" "edgePolicy":
          21: resource "google_compute_security_policy" "edgePolicy" {
    testing_new.go:84: Error running post-test destroy, there may be dangling resources: exit status 1
        Error: Error waiting for Deleting SecurityPolicy: timeout while waiting for state to become 'DONE' (last state: 'RUNNING', timeout: 8m0s)
--- FAIL: TestAccComputeBackendService_withSecurityPolicy (965.80s)
FAIL

b/315874492

rileykarson commented 8 months ago

This resource may just need a default timeout bump, the defaults are much higher nowadays (it was 20m or 30m) so we're setting it lower.

melinath commented 5 months ago

This is still failing; it's just taking longer to fail now.

rileykarson commented 5 months ago

This failed recently, and curiously, I can't query the operations- they seem to no longer exist. Weird. They are still timing out on inserts at 20m.