Skip to content
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

Failing test(s): TestAccComposerEnvironment_ComposerV2 #20942

Open
SirGitsalot opened this issue Jan 16, 2025 · 0 comments
Open

Failing test(s): TestAccComposerEnvironment_ComposerV2 #20942

SirGitsalot opened this issue Jan 16, 2025 · 0 comments

Comments

@SirGitsalot
Copy link
Collaborator

SirGitsalot commented Jan 16, 2025

Impacted tests

  • TestAccComposerEnvironment_ComposerV2
  • TestAccComposerEnvironment_ComposerV2HighResilience
  • TestAccComposerEnvironment_UpdateComposerV2

Affected Resource(s)

  • google_composer_environment

Failure rates

  • 100% since 2025-01-10

Message(s)

resource_composer_environment_test.go:393: Step 1/3 error: After applying this test step, the plan was not empty.
        stdout:
        Terraform used the selected providers to generate the following execution
        plan. Resource actions are indicated with the following symbols:
        -/+ destroy and then create replacement
        Terraform will perform the following actions:
          # google_composer_environment.test must be replaced
        -/+ resource "google_composer_environment" "test" {
              ~ id               = "projects/ci-test-project-nightly-ga/locations/us-east1/environments/tf-test-composer-env-8051463048954877481" -> (known after apply)
                name             = "tf-test-composer-env-8051463048954877481"
                # (4 unchanged attributes hidden)
              ~ config {
                  ~ airflow_uri                = "https://24ea706f3d314d6f863a654eb43c9d7e-dot-us-east1.composer.googleusercontent.com/" -> (known after apply)
                  ~ dag_gcs_prefix             = "gs://us-east1-tf-test-composer-e-e0532324-bucket/dags" -> (known after apply)
                  ~ enable_private_builds_only = false -> (known after apply)
                  ~ enable_private_environment = false -> (known after apply)
                  ~ gke_cluster                = "projects/ci-test-project-nightly-ga/locations/us-east1/clusters/us-east1-tf-test-composer-e-e0532324-gke" -> (known after apply)
                  ~ node_count                 = 0 -> (known after apply)
                  ~ resilience_mode            = "STANDARD_RESILIENCE" -> (known after apply)
                    # (1 unchanged attribute hidden)
                  ~ data_retention_config {
                      ~ airflow_metadata_retention_config (known after apply)
                      - airflow_metadata_retention_config {
                          - retention_days = 0 -> null
                          - retention_mode = "RETENTION_MODE_DISABLED" -> null
                        }
                        # (1 unchanged block hidden)
                    }
                  ~ encryption_config (known after apply)
                  - encryption_config {
                        # (1 unchanged attribute hidden)
                    }
                  ~ maintenance_window (known after apply)
                  - maintenance_window {
                      - end_time   = "1970-01-01T04:00:00Z" -> null
                      - recurrence = "FREQ=WEEKLY;BYDAY=FR,SA,SU" -> null
                      - start_time = "1970-01-01T00:00:00Z" -> null
                    }
                  ~ node_config {
                      + composer_internal_ipv4_cidr_block = (known after apply)
                      + composer_network_attachment       = (known after apply)
                      ~ disk_size_gb                      = 0 -> (known after apply)
                      ~ enable_ip_masq_agent              = false -> (known after apply)
                      + machine_type                      = (known after apply)
                      ~ network                           = "projects/ci-test-project-nightly-ga/global/networks/tf-test-composer-net-3389883532901151018" -> "https://www.googleapis.com/compute/v1/projects/ci-test-project-nightly-ga/global/networks/tf-test-composer-net-3389883532901151018
                      ~ oauth_scopes                      = [] -> (known after apply)
                      ~ service_account                   = "[email protected]" -> (known after apply)
                      ~ subnetwork                        = "projects/ci-test-project-nightly-ga/regions/us-east1/subnetworks/tf-test-composer-net-3389883532901151018-1" -> "https://www.googleapis.com/compute/v1/projects/ci-test-project-nightly-ga/regions/us-east1/subnetworks/tf-test-composer-net-3389883532901151018-1
                      + zone                              = (known after apply)
                      ~ ip_allocation_policy {
                          - use_ip_aliases                = false -> null
                            # (4 unchanged attributes hidden)
                        }
                    }
                  ~ private_environment_config {
                      ~ cloud_composer_connection_subnetwork   = "projects/ci-test-project-nightly-ga/regions/us-east1/subnetworks/tf-test-composer-net-3389883532901151018-1" -> (known after apply)
                      ~ cloud_composer_network_ipv4_cidr_block = "172.31.244.0/24" -> "10.3.192.0/24" # forces replacement
                      ~ cloud_sql_ipv4_cidr_block              = "10.0.0.0/12" -> "10.3.224.0/20" # forces replacement
                      + connection_type                        = (known after apply)
                      ~ enable_privately_used_public_ips       = false -> (known after apply)
                      + web_server_ipv4_cidr_block             = (known after apply)
                        # (2 unchanged attributes hidden)
                    }
                  ~ software_config {
                      ~ image_version           = "composer-2.10.2-airflow-2.10.2" -> "composer-2-airflow-2"
                      + python_version          = (known after apply)
                      ~ scheduler_count         = 0 -> (known after apply)
                      + web_server_plugins_mode = (known after apply)
                        # (1 unchanged block hidden)
                    }
                  ~ web_server_config (known after apply)
                  ~ web_server_network_access_control (known after apply)
                  - web_server_network_access_control {
                      - allowed_ip_range {
                          - description = "Allows access from all IPv4 addresses (default value)" -> null
                          - value       = "0.0.0.0/0" -> null
                        }
                      - allowed_ip_range {
                          - description = "Allows access from all IPv6 addresses (default value)" -> null
                          - value       = "::0/0" -> null
                        }
                    }
                  ~ workloads_config {
                      ~ dag_processor (known after apply)
                        # (4 unchanged blocks hidden)
                    }
                    # (1 unchanged block hidden)
                }
              ~ storage_config (known after apply)
              - storage_config {
                  - bucket = "us-east1-tf-test-composer-e-e0532324-bucket" -> null
                }
            }
        Plan: 1 to add, 0 to change, 1 to destroy.

Nightly build test history

b/390491364

@github-actions github-actions bot added forward/review In review; remove label to forward service/composer labels Jan 16, 2025
@SirGitsalot SirGitsalot added test-failure-100 100% fail rate and removed forward/review In review; remove label to forward labels Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants