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): TestAccAccessApprovalSettings #21177

Open
shuyama1 opened this issue Jan 31, 2025 · 0 comments
Open

Failing test(s): TestAccAccessApprovalSettings #21177

shuyama1 opened this issue Jan 31, 2025 · 0 comments
Labels

Comments

@shuyama1
Copy link
Collaborator

Impacted tests

TestAccAccessApprovalSettings

Affected Resource(s)

google_access_approval_settings

Failure rates

  • GA: 71%
  • Beta: 100%

Message(s)

=== RUN   TestAccAccessApprovalSettings
=== RUN   TestAccAccessApprovalSettings/project
=== RUN   TestAccAccessApprovalSettings/organization
    resource_access_approval_organization_settings_test.go:46: Step 5/6 error: After applying this test step and performing a `terraform refresh`, 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:
          ~ update in-place
        
        Terraform will perform the following actions:
        
          # google_organization_access_approval_settings.organization_access_approval will be updated in-place
          ~ resource "google_organization_access_approval_settings" "organization_access_approval" {
                id                              = "organizations/529579013760/accessApprovalSettings"
                name                            = "organizations/529579013760/accessApprovalSettings"
                # (6 unchanged attributes hidden)
        
              - enrolled_services {
                  - cloud_product    = "App Engine" -> null
                  - enrollment_level = "BLOCK_ALL" -> null
                }
              - enrolled_services {
                  - cloud_product    = "Cloud Dataflow" -> null
                  - enrollment_level = "BLOCK_ALL" -> null
                }
              + enrolled_services {
                  + cloud_product    = "all"
                  + enrollment_level = "BLOCK_ALL"
                }
            }
        
        Plan: 0 to add, 1 to change, 0 to destroy.
=== RUN   TestAccAccessApprovalSettings/folder
    resource_access_approval_folder_settings_test.go:28: Step 5/6 error: Error running apply: exit status 1
        
        Error: Error applying IAM policy for KMS CryptoKey "projects/ci-test-project-nightly-ga/locations/us-central1/keyRings/tf-test-iziaiashon/cryptoKeys/tf-test-iziaiashon": Error setting IAM policy for KMS CryptoKey "projects/ci-test-project-nightly-ga/locations/us-central1/keyRings/tf-test-iziaiashon/cryptoKeys/tf-test-iziaiashon": googleapi: Error 400: Service account service-f613779207761@gcp-sa-accessapproval.iam.gserviceaccount.com does not exist., badRequest
        
          with google_kms_crypto_key_iam_member.iam,
          on terraform_plugin_test.tf line 38, in resource "google_kms_crypto_key_iam_member" "iam":
          38: resource "google_kms_crypto_key_iam_member" "iam" {
        
--- FAIL: TestAccAccessApprovalSettings (2155.97s)
    --- PASS: TestAccAccessApprovalSettings/project (758.09s)
    --- FAIL: TestAccAccessApprovalSettings/organization (755.48s)
    --- FAIL: TestAccAccessApprovalSettings/folder (642.39s)
FAIL

Test Debug Log

@github-actions github-actions bot added forward/review In review; remove label to forward service/accessapproval labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant