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): TestAccNetworkSecurityClientTlsPolicy_networkSecurityClientTlsPolicyAdvancedExample #18103

Closed melinath closed 2 months ago

melinath commented 6 months ago

Impacted tests

Affected Resource(s)

Failure rates

Message(s)

TestAccNetworkSecurityClientTlsPolicy_networkSecurityClientTlsPolicyAdvancedExample:

vcr_utils.go:152: Step 1/2 error: Error running apply: exit status 1
        Error: Error creating ClientTlsPolicy: googleapi: Error 400: code:3  message:"Config validation failed"  details:{[type.googleapis.com/google.rpc.BadRequest]:{field_violations:{field:"resource.server_validation_ca[]"  description:"validationCA must contain 1 entry"}}}
          with google_network_security_client_tls_policy.default,
          on terraform_plugin_test.tf line 2, in resource "google_network_security_client_tls_policy" "default":
           2: resource "google_network_security_client_tls_policy" "default" {

TestAccNetworkSecurityClientTlsPolicy_update:

 vcr_utils.go:152: Step 3/4 error: Error running apply: exit status 1
        Error: Error waiting for Updating ClientTlsPolicy: Error code 3, message: Config validation failed
          with google_network_security_client_tls_policy.foobar,
          on terraform_plugin_test.tf line 2, in resource "google_network_security_client_tls_policy" "foobar":
           2:   resource "google_network_security_client_tls_policy" "foobar" {

TestAccNetworkSecurityServerTlsPolicy_networkSecurityServerTlsPolicyBasicExample:

vcr_utils.go:152: Step 1/2 error: Error running apply: exit status 1
        Error: Error creating ServerTlsPolicy: googleapi: Error 400: Config validation failed
        Details:
        [
          {
            "@type": "type.googleapis.com/google.rpc.BadRequest",
            "fieldViolations": [
              {
                "description": "validationCA must contain 1 entry",
                "field": "resource.mtls_policy.client_validation_ca[]"
              }
            ]
          }
        ]
          with google_network_security_server_tls_policy.default,
          on terraform_plugin_test.tf line 2, in resource "google_network_security_server_tls_policy" "default":
           2: resource "google_network_security_server_tls_policy" "default" {

Nightly build test history

b/339909661

c2thorn commented 2 months ago

skipping in VCR: https://github.com/GoogleCloudPlatform/magic-modules/pull/11522

github-actions[bot] commented 1 month 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.