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): `TestAccAlloydbCluster_trialClusterUpdate` / `TestAccAlloydbCluster_withSubscriptionTypeTrial` #19304

Closed BBBmau closed 3 weeks ago

BBBmau commented 1 month ago

Impacted tests

These appear to be tests from https://github.com/GoogleCloudPlatform/magic-modules/pull/11207

Both tests had been passing in the PR during review.

Affected Resource(s)

Failure rates

Message(s)

TestAccAlloydbCluster_trialClusterUpdate:

=== CONT  TestAccAlloydbCluster_trialClusterUpdate
    vcr_utils.go:167: Step 1/6 error: Error running apply: exit status 1
        Error: Error creating Cluster: googleapi: Error 400: The request was invalid: Not eligible to create Free Trial cluster
        Details:
        [
          {
            "@type": "type.googleapis.com/google.rpc.BadRequest",
            "fieldViolations": [
              {
                "field": "project"
              }
            ]
          },
          {
            "@type": "type.googleapis.com/google.rpc.RequestInfo",
            "requestId": "2b2384487cb28667"
          }
        ]
          with google_alloydb_cluster.default,
          on terraform_plugin_test.tf line 2, in resource "google_alloydb_cluster" "default":
           2: resource "google_alloydb_cluster" "default" {
--- FAIL: TestAccAlloydbCluster_trialClusterUpdate (108.92s)

TestAccAlloydbCluster_withSubscriptionTypeTrial:

=== CONT  TestAccAlloydbCluster_withSubscriptionTypeTrial
    vcr_utils.go:167: Step 1/1 error: Error running apply: exit status 1
        Error: Error creating Cluster: googleapi: Error 400: The request was invalid: Not eligible to create Free Trial cluster
        Details:
        [
          {
            "@type": "type.googleapis.com/google.rpc.BadRequest",
            "fieldViolations": [
              {
                "field": "project"
              }
            ]
          },
          {
            "@type": "type.googleapis.com/google.rpc.RequestInfo",
            "requestId": "bb802ff90f6b63be"
          }
        ]
          with google_alloydb_cluster.default,
          on terraform_plugin_test.tf line 2, in resource "google_alloydb_cluster" "default":
           2: resource "google_alloydb_cluster" "default" {
--- FAIL: TestAccAlloydbCluster_withSubscriptionTypeTrial (130.00s)

Nightly build test history

girdharchirag commented 1 month ago

Hi @BBBmau, Can you try these tests again? or you can share the procedure for the same with me. It should be fixed now.

SarahFrench commented 3 weeks ago

These tests have been passing the past few nights, closing!