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): TestAccVertexAIEndpointIam* #18932

Open SarahFrench opened 4 months ago

SarahFrench commented 4 months ago

Impacted tests

Affected Resource(s)

Failure rates

Message(s)

------- Stdout: -------
=== RUN   TestAccVertexAIEndpointIamMember
=== PAUSE TestAccVertexAIEndpointIamMember
=== CONT  TestAccVertexAIEndpointIamMember
    vcr_utils.go:152: Step 1/2 error: Error running apply: exit status 1
        Error: Error creating Endpoint: googleapi: Error 400: An existing endpoint is using a network that is different from the network (projects/653407317329/global/networks/tf-test-network-name87jrd0uouv) you are trying to assign to the new endpoint. To use a new network, please undeploy all models and delete all existing endpoints associated with the previous network first.
          with google_vertex_ai_endpoint.endpoint,
          on terraform_plugin_test.tf line 2, in resource "google_vertex_ai_endpoint" "endpoint":
           2: resource "google_vertex_ai_endpoint" "endpoint" {
--- FAIL: TestAccVertexAIEndpointIamMember (289.00s)
FAIL

Nightly build test history

https://hashicorp.teamcity.com/test/564814176780213922?currentProjectId=TerraformProviders_GoogleCloud_GOOGLE_BETA_NIGHTLYTESTS&expandTestHistoryChartSection=true

https://hashicorp.teamcity.com/test/-1572927102944764723?currentProjectId=TerraformProviders_GoogleCloud_GOOGLE_BETA_NIGHTLYTESTS&expandTestHistoryChartSection=true

b/357622041

SarahFrench commented 4 months ago

Potentially either a sweeper or a parallelism issue - needs more investigation

hao-nan-li commented 1 month ago

include TestAccVertexAIEndpointIamBinding as part of the flaky tests

melinath commented 3 weeks ago

This is still failing at a high rate.