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.36k stars 1.75k forks source link

Failing test(s): TestAccContainerCluster_errorCleanDanglingCluster (flaky, due to interaction with other tests?) #17196

Closed SarahFrench closed 1 month ago

SarahFrench commented 9 months ago

Failure rates

Impacted tests

Affected Resource(s)

Nightly build test history

Message(s)

------- Stdout: -------
=== RUN   TestAccContainerCluster_errorCleanDanglingCluster
=== PAUSE TestAccContainerCluster_errorCleanDanglingCluster
=== CONT  TestAccContainerCluster_errorCleanDanglingCluster
    vcr_utils.go:152: Step 5/6, expected an error with pattern, no match on: Error running apply: exit status 1
        Error: Error waiting for creating GKE cluster: Requested CIDR 10.0.0.0/16 for pods is not available in network "tf-test-container-net-qdmiy06cvs" for cluster {Zone=us-central1-a, ProjectNum=594424405950, ClusterHash=3a98a4f1cc40427987098aca6c4990b022dacde140744921beee76208d75e202}.
          with google_container_cluster.cidr_error_overlap,
          on terraform_plugin_test.tf line 32, in resource "google_container_cluster" "cidr_error_overlap":
          32: resource "google_container_cluster" "cidr_error_overlap" {
--- FAIL: TestAccContainerCluster_errorCleanDanglingCluster (830.96s)

b/325031553

roaks3 commented 9 months ago

@trodge do you have any thoughts here before we forward to the service team? It looks like this might have been introduced by the extra steps in https://github.com/GoogleCloudPlatform/magic-modules/pull/9335, but I can't tell what is causing the failure (and especially why this is not failing every time).

melinath commented 9 months ago

Going ahead with forwarding.

slevenick commented 1 month ago

Looks like the test is passing 100% of the time over the last 150 runs in both beta and GA. Closing

github-actions[bot] commented 1 week ago

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.