Skip to content

Failing test(s): TestAccContainerCluster_WithCPAFeatures #20961

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

Closed

Comments

@SirGitsalot
Copy link
Collaborator

SirGitsalot commented Jan 17, 2025

Impacted tests

  • TestAccContainerCluster_WithCPAFeatures

Affected Resource(s)

  • google_container_cluster

Failure rates

  • 100% since 2024-12-24

Message(s)

=== CONT  TestAccContainerCluster_WithCPAFeatures
    resource_container_cluster_test.go:5094: Step 1/2 error: Error running apply: exit status 1
        Error: googleapi: Error 400: CA pool projects/ci-test-project-nightly-ga/locations/us-central1/caPools/tf-test-aggregation-ca-al0nyy43rk does not contain any enabled CAs.
        Details:
        [
          {
            "@type": "type.googleapis.com/google.rpc.RequestInfo",
            "requestId": "0x44490a5d2bc594fd"
          }
        ]
        , badRequest
          with google_container_cluster.with_cpa_features,
          on terraform_plugin_test.tf line 203, in resource "google_container_cluster" "with_cpa_features":
         203: resource "google_container_cluster" "with_cpa_features" {
--- FAIL: TestAccContainerCluster_WithCPAFeatures (52.53s)

Nightly build test history

b/390713456

@github-actions github-actions bot added forward/review In review; remove label to forward service/container labels Jan 17, 2025
@SirGitsalot
Copy link
Collaborator Author

This is the result of a backend change (cl/695954894) to add CA validation. Not sure what the client-side solution for this is - google_privateca_certificate_authority has a desired_state field which by default is ENABLED so this should work.

Copy link

github-actions bot commented Mar 6, 2025

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.