fix: broken ci investigation #3
+43
−4
Closed
Google Cloud Build / kms-solutions-lab (github-builds-299019)
failed
Oct 24, 2024 in 10m 43s
Summary
Build Information
Trigger | kms-solutions-lab |
Build | f0e135c8-91ed-4c70-b8a3-d92a98eba461 |
Start | 2024-10-24T11:01:14-07:00 |
Duration | 10m41.344s |
Status | FAILURE |
Steps
Step | Status | Duration |
---|---|---|
prepare | SUCCESS | 5m15.986s |
create | SUCCESS | 2m18.142s |
converge | SUCCESS | 2m30.309s |
verify | FAILURE | 33.235s |
destroy | QUEUED | 0s |
Details
starting build "f0e135c8-91ed-4c70-b8a3-d92a98eba461"
FETCHSOURCE
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /workspace/.git/
From https://github.com/romanini-ciandt/kms-solutions
* branch ee27215a85a230d7f4025a4c6a83bf09e9d253c5 -> FETCH_HEAD
HEAD is now at ee27215 Add paranthesis
BUILD
Starting Step #0 - "prepare"
Step #0 - "prepare": Pulling image: gcr.io/cloud-foundation-cicd/cft/developer-tools:1
Step #0 - "prepare": 1: Pulling from cloud-foundation-cicd/cft/developer-tools
Step #0 - "prepare": 43c4264eed91: Already exists
Step #0 - "prepare": 196e464a7bab: Pulling fs layer
Step #0 - "prepare": 98d9bcb7894c: Pulling fs layer
Step #0 - "prepare": 4e8b0038e410: Pulling fs layer
Step #0 - "prepare": 8c50f232a97a: Pulling fs layer
Step #0 - "prepare": 2e1964928116: Pulling fs layer
Step #0 - "prepare": 7bb2c3666f48: Pulling fs layer
Step #0 - "prepare": 5d425785e0ab: Pulling fs layer
Step #0 - "prepare": ec260cbf1660: Pulling fs layer
Step #0 - "prepare": 1d58c74174e8: Pulling fs layer
Step #0 - "prepare": 855bc0c69412: Pulling fs layer
Step #0 - "prepare": ccab3843288c: Pulling fs layer
Step #0 - "prepare": 64ab9248fb82: Pulling fs layer
Step #0 - "prepare": a7d7791b2855: Pulling fs layer
Step #0 - "prepare": 1e3fdfcc727d: Pulling fs layer
Step #0 - "prepare": ff5f1da6ae28: Pulling fs layer
Step #0 - "prepare": 89a9bfcf0c63: Pulling fs layer
Step #0 - "prepare": 7d484314ef5e: Pulling fs layer
Step #0 - "prepare": d65069ae2748: Pulling fs layer
Step #0 - "prepare": 2c4e06b57e8c: Pulling fs layer
Step #0 - "prepare": dfbfd762003a: Pulling fs layer
Step #0 - "prepare": d41c4c4b7bdc: Pulling fs layer
Step #0 - "prepare": d464134bc8ef: Pulling fs layer
Step #0 - "prepare": a280d55c5e4d: Pulling fs layer
Step #0 - "prepare": ac49debd4e47: Pulling fs layer
Step #0 - "prepare": 20c2984eeff0: Pulling fs layer
Step #0 - "prepare": 4cf1d9491a0e: Pulling fs layer
Step #0 - "prepare": c62ffb4d1cc7: Pulling fs layer
Step #0 - "prepare": 4f4fb700ef54: Pulling fs layer
Step #0 - "prepare": 2becfc69653a: Pulling fs layer
Step #0 - "prepare": 2c08d3f28206: Pulling fs layer
Step #0 - "prepare": 89a9bfcf0c63: Waiting
Step #0 - "prepare": 7d484314ef5e: Waiting
Step #0 - "prepare": d65069ae2748: Waiting
Step #0 - "prepare": 8c50f232a97a: Waiting
Step #0 - "prepare": 2e1964928116: Waiting
Step #0 - "prepare": 7bb2c3666f48: Waiting
Step #0 - "prepare": 5d425785e0ab: Waiting
Step #0 - "prepare": ec260cbf1660: Waiting
Step #0 - "prepare": 1d58c74174e8: Waiting
Step #0 - "prepare": 855bc0c69412: Waiting
Step #0 - "prepare": ccab3843288c: Waiting
Step #0 - "prepare": 64ab9248fb82: Waiting
Step #0 - "prepare": a7d7791b2855: Waiting
Step #0 - "prepare": 1e3fdfcc727d: Waiting
Step #0 - "prepare": ff5f1da6ae28: Waiting
Step #0 - "prepare": 2c4e06b57e8c: Waiting
Step #0 - "prepare": dfbfd762003a: Waiting
Step #0 - "prepare": d41c4c4b7bdc: Waiting
Step #0 - "prepare": d464134bc8ef: Waiting
Step #0 - "prepare": a280d55c5e4d: Waiting
Step #0 - "prepare": ac49debd4e47: Waiting
Step #0 - "prepare": 20c2984eeff0: Waiting
Step #0 - "prepare": 4cf1d9491a0e: Waiting
Step #0 - "prepare": c62ffb4d1cc7: Waiting
Step #0 - "prepare": 4f4fb700ef54: Waiting
Step #0 - "prepare": 2becfc69653a: Waiting
Step #0 - "prepare": 2c08d3f28206: Waiting
Step #0 - "prepare": 98d9bcb7894c: Verifying Checksum
Step #0 - "prepare": 98d9bcb7894c: Download complete
Step #0 - "prepare": 8c50f232a97a: Verifying Checksum
Step #0 - "prepare": 8c50f232a97a: Download complete
Step #0 - "prepare": 2e1964928116: Verifying Checksum
Step #0 - "prepare": 2e1964928116: Download complete
Step #0 - "prepare": 4e8b0038e410: Verifying Checksum
Step #0 - "prepare": 4e8b0038e410: Download complete
Step #0 - "prepare": 196e464a7bab: Verifying Checksum
Step #0 - "prepare": 196e464a7bab: Download complete
Step #0 - "prepare": 7bb2c3666f48: Verifying Checksum
Step #0 - "prepare": 7bb2c3666f48: Download complete
Step #0 - "prepare": 1d58c74174e8: Verifying Checksum
Step #0 - "prepare": 1d58c74174e8: Download complete
Step #0 - "prepare": 5d425785e0ab: Verifying Checksum
Step #0 - "prepare": 5d425785e0ab: Download complete
Step #0 - "prepare": 855bc0c69412: Verifying Checksum
Step #0 - "prepare": 855bc0c69412: Download complete
Step #0 - "prepare": ccab3843288c: Verifying Checksum
Step #0 - "prepare": ccab3843288c: Download complete
Step #0 - "prepare": 64ab9248fb82: Verifying Checksum
Step #0 - "prepare": 64ab9248fb82: Download complete
Step #0 - "prepare": ec260cbf1660: Verifying Checksum
Step #0 - "prepare": ec260cbf1660: Download complete
Step #0 - "prepare": 1e3fdfcc727d: Verifying Checksum
Step #0 - "prepare": 1e3fdfcc727d: Download complete
Step #0 - "prepare": ff5f1da6ae28: Download complete
Step #0 - "prepare": 89a9bfcf0c63: Download complete
Step #0 - "prepare": 7d484314ef5e: Verifying Checksum
Step #0 - "prepare": 7d484314ef5e: Download complete
Step #0 - "prepare": d65069ae2748: Download complete
Step #0 - "prepare": 2c4e06b57e8c: Verifying Checksum
Step #0 - "prepare": 2c4e06b57e8c: Download complete
Step #0 - "prepare": dfbfd762003a: Verifying Checksum
Step #0 - "prepare": dfbfd762003a: Download complete
Step #0 - "prepare": d41c4c4b7bdc: Verifying Checksum
Step #0 - "prepare": d41c4c4b7bdc: Download complete
Step #0 - "prepare": d464134bc8ef: Verifying Checksum
Step #0 - "prepare": d464134bc8ef: Download complete
Step #0 - "prepare": a7d7791b2855: Verifying Checksum
Step #0 - "prepare": a7d7791b2855: Download complete
Step #0 - "prepare": a280d55c5e4d: Verifying Checksum
Step #0 - "prepare": a280d55c5e4d: Download complete
Step #0 - "prepare": 20c2984eeff0: Verifying Checksum
Step #0 - "prepare": 20c2984eeff0: Download complete
Step #0 - "prepare": ac49debd4e47: Verifying Checksum
Step #0 - "prepare": ac49debd4e47: Download complete
Step #0 - "prepare": 4cf1d9491a0e: Verifying Checksum
Step #0 - "prepare": 4cf1d9491a0e: Download complete
Step #0 - "prepare": 4f4fb700ef54: Verifying Checksum
Step #0 - "prepare": 4f4fb700ef54: Download complete
Step #0 - "prepare": c62ffb4d1cc7: Verifying Checksum
Step #0 - "prepare": c62ffb4d1cc7: Download complete
Step #0 - "prepare": 2becfc69653a: Verifying Checksum
Step #0 - "prepare": 2becfc69653a: Download complete
Step #0 - "prepare": 2c08d3f28206: Verifying Checksum
Step #0 - "prepare": 2c08d3f28206: Download complete
Step #0 - "prepare": 196e464a7bab: Pull complete
Step #0 - "prepare": 98d9bcb7894c: Pull complete
Step #0 - "prepare": 4e8b0038e410: Pull complete
Step #0 - "prepare": 8c50f232a97a: Pull complete
Step #0 - "prepare": 2e1964928116: Pull complete
Step #0 - "prepare": 7bb2c3666f48: Pull complete
Step #0 - "prepare": 5d425785e0ab: Pull complete
Step #0 - "prepare": ec260cbf1660: Pull complete
Step #0 - "prepare": 1d58c74174e8: Pull complete
Step #0 - "prepare": 855bc0c69412: Pull complete
Step #0 - "prepare": ccab3843288c: Pull complete
Step #0 - "prepare": 64ab9248fb82: Pull complete
Step #0 - "prepare": a7d7791b2855: Pull complete
Step #0 - "prepare": 1e3fdfcc727d: Pull complete
Step #0 - "prepare": ff5f1da6ae28: Pull complete
Step #0 - "prepare": 89a9bfcf0c63: Pull complete
Step #0 - "prepare": 7d484314ef5e: Pull complete
Step #0 - "prepare": d65069ae2748: Pull complete
Step #0 - "prepare": 2c4e06b57e8c: Pull complete
Step #0 - "prepare": dfbfd762003a: Pull complete
Step #0 - "prepare": d41c4c4b7bdc: Pull complete
Step #0 - "prepare": d464134bc8ef: Pull complete
Step #0 - "prepare": a280d55c5e4d: Pull complete
Step #0 - "prepare": ac49debd4e47: Pull complete
Step #0 - "prepare": 20c2984eeff0: Pull complete
Step #0 - "prepare": 4cf1d9491a0e: Pull complete
Step #0 - "prepare": c62ffb4d1cc7: Pull complete
Step #0 - "prepare": 4f4fb700ef54: Pull complete
Step #0 - "prepare": 2becfc69653a: Pull complete
Step #0 - "prepare": 2c08d3f28206: Pull complete
Step #0 - "prepare": Digest: sha256:b92c5e74ad005a589f0d152c1e8a993a7b1202e27d36bed465ddb5daec9bd133
Step #0 - "prepare": Status: Downloaded newer image for gcr.io/cloud-foundation-cicd/cft/developer-tools:1
Step #0 - "prepare": gcr.io/cloud-foundation-cicd/cft/developer-tools:1
Step #0 - "prepare": Proceeding using application default credentials
Step #0 - "prepare": There are some problems with the CLI configuration:
Step #0 - "prepare": ╷
Step #0 - "prepare": │ Error: The specified plugin cache dir /workspace/test/integration/tmp/.terraform cannot be opened: stat /workspace/test/integration/tmp/.terraform: no such file or directory
Step #0 - "prepare": │
Step #0 - "prepare": ╵
Step #0 - "prepare":
Step #0 - "prepare": As a result of the above problems, Terraform may not behave as intended.
Step #0 - "prepare":
Step #0 - "prepare":
Step #0 - "prepare": �[0m�[1mInitializing the backend...�[0m
Step #0 - "prepare": �[0m�[1mInitializing modules...�[0m
Step #0 - "prepare": Downloading registry.terraform.io/terraform-google-modules/project-factory/google 17.0.0 for project_ci_kms...
Step #0 - "prepare": - project_ci_kms in .terraform/modules/project_ci_kms
Step #0 - "prepare": - project_ci_kms.budget in .terraform/modules/project_ci_kms/modules/budget
Step #0 - "prepare": - project_ci_kms.essential_contacts in .terraform/modules/project_ci_kms/modules/essential_contacts
Step #0 - "prepare": - project_ci_kms.gsuite_group in .terraform/modules/project_ci_kms/modules/gsuite_group
Step #0 - "prepare": - project_ci_kms.project-factory in .terraform/modules/project_ci_kms/modules/core_project_factory
Step #0 - "prepare": - project_ci_kms.project-factory.project_services in .terraform/modules/project_ci_kms/modules/project_services
Step #0 - "prepare": - project_ci_kms.quotas in .terraform/modules/project_ci_kms/modules/quota_manager
Step #0 - "prepare": - project_ci_kms.shared_vpc_access in .terraform/modules/project_ci_kms/modules/shared_vpc_access
Step #0 - "prepare": �[0m�[1mInitializing provider plugins...�[0m
Step #0 - "prepare": - Finding hashicorp/google versions matching ">= 3.43.0, >= 4.28.0, >= 5.41.0, < 7.0.0"...
Step #0 - "prepare": - Finding hashicorp/random versions matching ">= 2.2.0"...
Step #0 - "prepare": - Finding hashicorp/time versions matching ">= 0.5.0"...
Step #0 - "prepare": - Finding hashicorp/null versions matching ">= 2.1.0"...
Step #0 - "prepare": - Finding hashicorp/google-beta versions matching ">= 3.43.0, >= 4.11.0, >= 5.41.0, < 7.0.0"...
Step #0 - "prepare": - Finding devops-rob/terracurl versions matching "~> 1.0"...
Step #0 - "prepare": - Installing hashicorp/time v0.12.1...
Step #0 - "prepare": - Installed hashicorp/time v0.12.1 (signed by HashiCorp)
Step #0 - "prepare": - Installing hashicorp/null v3.2.3...
Step #0 - "prepare": - Installed hashicorp/null v3.2.3 (signed by HashiCorp)
Step #0 - "prepare": - Installing hashicorp/google-beta v6.8.0...
Step #0 - "prepare": - Installed hashicorp/google-beta v6.8.0 (signed by HashiCorp)
Step #0 - "prepare": - Installing devops-rob/terracurl v1.2.1...
Step #0 - "prepare": - Installed devops-rob/terracurl v1.2.1 (self-signed, key ID �[0m�[1m1D2DFE25F35292AC�[0m�[0m)
Step #0 - "prepare": - Installing hashicorp/google v6.8.0...
Step #0 - "prepare": - Installed hashicorp/google v6.8.0 (signed by HashiCorp)
Step #0 - "prepare": - Installing hashicorp/random v3.6.3...
Step #0 - "prepare": - Installed hashicorp/random v3.6.3 (signed by HashiCorp)
Step #0 - "prepare": Partner and community providers are signed by their developers.
Step #0 - "prepare": If you'd like to know more about provider signing, you can read about it here:
Step #0 - "prepare": https://www.terraform.io/docs/cli/plugins/signing.html
Step #0 - "prepare": Terraform has created a lock file �[1m.terraform.lock.hcl�[0m to record the provider
Step #0 - "prepare": selections it made above. Include this file in your version control repository
Step #0 - "prepare": so that Terraform can guarantee to make the same selections by default when
Step #0 - "prepare": you run "terraform init" in the future.�[0m
Step #0 - "prepare":
Step #0 - "prepare": �[0m�[1m�[32mTerraform has been successfully initialized!�[0m�[32m�[0m
Step #0 - "prepare": �[0m�[32m
Step #0 - "prepare": You may now begin working with Terraform. Try running "terraform plan" to see
Step #0 - "prepare": any changes that are required for your infrastructure. All Terraform commands
Step #0 - "prepare": should now work.
Step #0 - "prepare":
Step #0 - "prepare": If you ever set or change modules or backend configuration for Terraform,
Step #0 - "prepare": rerun this command to reinitialize your working directory. If you forget, other
Step #0 - "prepare": commands will detect it and remind you to do so if necessary.�[0m
Step #0 - "prepare": �[0m�[1mdata.google_client_config.default: Reading...�[0m�[0m
Step #0 - "prepare": �[0m�[1mdata.google_client_config.default: Read complete after 0s [id=projects/<null>/regions/<null>/zones/<null>]�[0m
Step #0 - "prepare":
Step #0 - "prepare": Terraform used the selected providers to generate the following execution
Step #0 - "prepare": plan. Resource actions are indicated with the following symbols:
Step #0 - "prepare": �[32m+�[0m create�[0m
Step #0 - "prepare": �[36m<=�[0m read (data resources)�[0m
Step #0 - "prepare":
Step #0 - "prepare": Terraform will perform the following actions:
Step #0 - "prepare":
Step #0 - "prepare": �[1m # google_project_iam_member.int_test[0]�[0m will be created
Step #0 - "prepare": �[0m �[32m+�[0m�[0m resource "google_project_iam_member" "int_test" {
Step #0 - "prepare": �[32m+�[0m�[0m etag = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m member = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m project = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m role = "roles/cloudkms.admin"
Step #0 - "prepare": }
Step #0 - "prepare":
Step #0 - "prepare": �[1m # google_project_iam_member.int_test[1]�[0m will be created
Step #0 - "prepare": �[0m �[32m+�[0m�[0m resource "google_project_iam_member" "int_test" {
Step #0 - "prepare": �[32m+�[0m�[0m etag = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m member = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m project = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m role = "roles/iam.serviceAccountTokenCreator"
Step #0 - "prepare": }
Step #0 - "prepare":
Step #0 - "prepare": �[1m # google_project_iam_member.int_test[2]�[0m will be created
Step #0 - "prepare": �[0m �[32m+�[0m�[0m resource "google_project_iam_member" "int_test" {
Step #0 - "prepare": �[32m+�[0m�[0m etag = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m member = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m project = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m role = "roles/iam.serviceAccountUser"
Step #0 - "prepare": }
Step #0 - "prepare":
Step #0 - "prepare": �[1m # google_project_iam_member.int_test[3]�[0m will be created
Step #0 - "prepare": �[0m �[32m+�[0m�[0m resource "google_project_iam_member" "int_test" {
Step #0 - "prepare": �[32m+�[0m�[0m etag = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m member = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m project = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m role = "roles/owner"
Step #0 - "prepare": }
Step #0 - "prepare":
Step #0 - "prepare": �[1m # google_project_service_identity.cb_sa�[0m will be created
Step #0 - "prepare": �[0m �[32m+�[0m�[0m resource "google_project_service_identity" "cb_sa" {
Step #0 - "prepare": �[32m+�[0m�[0m email = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m member = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m project = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m service = "cloudbuild.googleapis.com"
Step #0 - "prepare": }
Step #0 - "prepare":
Step #0 - "prepare": �[1m # google_service_account.int_test�[0m will be created
Step #0 - "prepare": �[0m �[32m+�[0m�[0m resource "google_service_account" "int_test" {
Step #0 - "prepare": �[32m+�[0m�[0m account_id = "kms-int-test"
Step #0 - "prepare": �[32m+�[0m�[0m disabled = false
Step #0 - "prepare": �[32m+�[0m�[0m display_name = "kms-int-test"
Step #0 - "prepare": �[32m+�[0m�[0m email = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m member = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m name = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m project = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m unique_id = (known after apply)
Step #0 - "prepare": }
Step #0 - "prepare":
Step #0 - "prepare": �[1m # google_service_account_key.int_test�[0m will be created
Step #0 - "prepare": �[0m �[32m+�[0m�[0m resource "google_service_account_key" "int_test" {
Step #0 - "prepare": �[32m+�[0m�[0m id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m key_algorithm = "KEY_ALG_RSA_2048"
Step #0 - "prepare": �[32m+�[0m�[0m name = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m private_key = (sensitive value)
Step #0 - "prepare": �[32m+�[0m�[0m private_key_type = "TYPE_GOOGLE_CREDENTIALS_FILE"
Step #0 - "prepare": �[32m+�[0m�[0m public_key = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m public_key_type = "TYPE_X509_PEM_FILE"
Step #0 - "prepare": �[32m+�[0m�[0m service_account_id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m valid_after = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m valid_before = (known after apply)
Step #0 - "prepare": }
Step #0 - "prepare":
Step #0 - "prepare": �[1m # terracurl_request.poke�[0m will be created
Step #0 - "prepare": �[0m �[32m+�[0m�[0m resource "terracurl_request" "poke" {
Step #0 - "prepare": �[32m+�[0m�[0m destroy_retry_interval = 10
Step #0 - "prepare": �[32m+�[0m�[0m destroy_timeout = 10
Step #0 - "prepare": �[32m+�[0m�[0m headers = {
Step #0 - "prepare": �[32m+�[0m�[0m "Authorization" = (sensitive value)
Step #0 - "prepare": �[32m+�[0m�[0m "Content-Type" = "application/json"
Step #0 - "prepare": }
Step #0 - "prepare": �[32m+�[0m�[0m id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m method = "POST"
Step #0 - "prepare": �[32m+�[0m�[0m name = "poke-cb"
Step #0 - "prepare": �[32m+�[0m�[0m request_url_string = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m response = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m response_codes = [
Step #0 - "prepare": �[32m+�[0m�[0m "400",
Step #0 - "prepare": ]
Step #0 - "prepare": �[32m+�[0m�[0m retry_interval = 10
Step #0 - "prepare": �[32m+�[0m�[0m status_code = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m timeout = 10
Step #0 - "prepare": �[32m+�[0m�[0m url = (known after apply)
Step #0 - "prepare": }
Step #0 - "prepare":
Step #0 - "prepare": �[1m # module.project_ci_kms.module.project-factory.google_project.main�[0m will be created
Step #0 - "prepare": �[0m �[32m+�[0m�[0m resource "google_project" "main" {
Step #0 - "prepare": �[32m+�[0m�[0m auto_create_network = false
Step #0 - "prepare": �[32m+�[0m�[0m billing_account = "010ECE-40301B-50DDD5"
Step #0 - "prepare": �[32m+�[0m�[0m deletion_policy = "DELETE"
Step #0 - "prepare": �[32m+�[0m�[0m effective_labels = {
Step #0 - "prepare": �[32m+�[0m�[0m "goog-terraform-provisioned" = "true"
Step #0 - "prepare": }
Step #0 - "prepare": �[32m+�[0m�[0m folder_id = "28535545740"
Step #0 - "prepare": �[32m+�[0m�[0m id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m name = "ci-kms-module"
Step #0 - "prepare": �[32m+�[0m�[0m number = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m project_id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m terraform_labels = {
Step #0 - "prepare": �[32m+�[0m�[0m "goog-terraform-provisioned" = "true"
Step #0 - "prepare": }
Step #0 - "prepare": }
Step #0 - "prepare":
Step #0 - "prepare": �[1m # module.project_ci_kms.module.project-factory.google_project_default_service_accounts.default_service_accounts[0]�[0m will be created
Step #0 - "prepare": �[0m �[32m+�[0m�[0m resource "google_project_default_service_accounts" "default_service_accounts" {
Step #0 - "prepare": �[32m+�[0m�[0m action = "DISABLE"
Step #0 - "prepare": �[32m+�[0m�[0m id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m project = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m restore_policy = "REVERT_AND_IGNORE_FAILURE"
Step #0 - "prepare": �[32m+�[0m�[0m service_accounts = (known after apply)
Step #0 - "prepare": }
Step #0 - "prepare":
Step #0 - "prepare": �[1m # module.project_ci_kms.module.project-factory.google_service_account.default_service_account[0]�[0m will be created
Step #0 - "prepare": �[0m �[32m+�[0m�[0m resource "google_service_account" "default_service_account" {
Step #0 - "prepare": �[32m+�[0m�[0m account_id = "project-service-account"
Step #0 - "prepare": �[32m+�[0m�[0m create_ignore_already_exists = true
Step #0 - "prepare": �[32m+�[0m�[0m disabled = false
Step #0 - "prepare": �[32m+�[0m�[0m display_name = "ci-kms-module Project Service Account"
Step #0 - "prepare": �[32m+�[0m�[0m email = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m member = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m name = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m project = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m unique_id = (known after apply)
Step #0 - "prepare": }
Step #0 - "prepare":
Step #0 - "prepare": �[1m # module.project_ci_kms.module.project-factory.random_id.random_project_id_suffix�[0m will be created
Step #0 - "prepare": �[0m �[32m+�[0m�[0m resource "random_id" "random_project_id_suffix" {
Step #0 - "prepare": �[32m+�[0m�[0m b64_std = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m b64_url = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m byte_length = 2
Step #0 - "prepare": �[32m+�[0m�[0m dec = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m hex = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m id = (known after apply)
Step #0 - "prepare": }
Step #0 - "prepare":
Step #0 - "prepare": �[1m # module.project_ci_kms.module.project-factory.module.project_services.data.google_compute_default_service_account.default[0]�[0m will be read during apply
Step #0 - "prepare": # (config refers to values not yet known)
Step #0 - "prepare": �[0m �[36m<=�[0m�[0m data "google_compute_default_service_account" "default" {
Step #0 - "prepare": �[32m+�[0m�[0m display_name = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m email = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m member = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m name = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m project = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m unique_id = (known after apply)
Step #0 - "prepare": }
Step #0 - "prepare":
Step #0 - "prepare": �[1m # module.project_ci_kms.module.project-factory.module.project_services.google_project_iam_member.project_service_identity_roles["cloudbuild.googleapis.com roles/cloudbuild.builds.builder"]�[0m will be created
Step #0 - "prepare": �[0m �[32m+�[0m�[0m resource "google_project_iam_member" "project_service_identity_roles" {
Step #0 - "prepare": �[32m+�[0m�[0m etag = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m member = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m project = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m role = "roles/cloudbuild.builds.builder"
Step #0 - "prepare": }
Step #0 - "prepare":
Step #0 - "prepare": �[1m # module.project_ci_kms.module.project-factory.module.project_services.google_project_iam_member.project_service_identity_roles["compute.googleapis.com roles/owner"]�[0m will be created
Step #0 - "prepare": �[0m �[32m+�[0m�[0m resource "google_project_iam_member" "project_service_identity_roles" {
Step #0 - "prepare": �[32m+�[0m�[0m etag = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m member = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m project = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m role = "roles/owner"
Step #0 - "prepare": }
Step #0 - "prepare":
Step #0 - "prepare": �[1m # module.project_ci_kms.module.project-factory.module.project_services.google_project_service.project_services["artifactregistry.googleapis.com"]�[0m will be created
Step #0 - "prepare": �[0m �[32m+�[0m�[0m resource "google_project_service" "project_services" {
Step #0 - "prepare": �[32m+�[0m�[0m disable_dependent_services = true
Step #0 - "prepare": �[32m+�[0m�[0m disable_on_destroy = true
Step #0 - "prepare": �[32m+�[0m�[0m id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m project = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m service = "artifactregistry.googleapis.com"
Step #0 - "prepare": }
Step #0 - "prepare":
Step #0 - "prepare": �[1m # module.project_ci_kms.module.project-factory.module.project_services.google_project_service.project_services["cloudbilling.googleapis.com"]�[0m will be created
Step #0 - "prepare": �[0m �[32m+�[0m�[0m resource "google_project_service" "project_services" {
Step #0 - "prepare": �[32m+�[0m�[0m disable_dependent_services = true
Step #0 - "prepare": �[32m+�[0m�[0m disable_on_destroy = true
Step #0 - "prepare": �[32m+�[0m�[0m id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m project = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m service = "cloudbilling.googleapis.com"
Step #0 - "prepare": }
Step #0 - "prepare":
Step #0 - "prepare": �[1m # module.project_ci_kms.module.project-factory.module.project_services.google_project_service.project_services["cloudbuild.googleapis.com"]�[0m will be created
Step #0 - "prepare": �[0m �[32m+�[0m�[0m resource "google_project_service" "project_services" {
Step #0 - "prepare": �[32m+�[0m�[0m disable_dependent_services = true
Step #0 - "prepare": �[32m+�[0m�[0m disable_on_destroy = true
Step #0 - "prepare": �[32m+�[0m�[0m id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m project = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m service = "cloudbuild.googleapis.com"
Step #0 - "prepare": }
Step #0 - "prepare":
Step #0 - "prepare": �[1m # module.project_ci_kms.module.project-factory.module.project_services.google_project_service.project_services["cloudkms.googleapis.com"]�[0m will be created
Step #0 - "prepare": �[0m �[32m+�[0m�[0m resource "google_project_service" "project_services" {
Step #0 - "prepare": �[32m+�[0m�[0m disable_dependent_services = true
Step #0 - "prepare": �[32m+�[0m�[0m disable_on_destroy = true
Step #0 - "prepare": �[32m+�[0m�[0m id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m project = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m service = "cloudkms.googleapis.com"
Step #0 - "prepare": }
Step #0 - "prepare":
Step #0 - "prepare": �[1m # module.project_ci_kms.module.project-factory.module.project_services.google_project_service.project_services["cloudresourcemanager.googleapis.com"]�[0m will be created
Step #0 - "prepare": �[0m �[32m+�[0m�[0m resource "google_project_service" "project_services" {
Step #0 - "prepare": �[32m+�[0m�[0m disable_dependent_services = true
Step #0 - "prepare": �[32m+�[0m�[0m disable_on_destroy = true
Step #0 - "prepare": �[32m+�[0m�[0m id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m project = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m service = "cloudresourcemanager.googleapis.com"
Step #0 - "prepare": }
Step #0 - "prepare":
Step #0 - "prepare": �[1m # module.project_ci_kms.module.project-factory.module.project_services.google_project_service.project_services["compute.googleapis.com"]�[0m will be created
Step #0 - "prepare": �[0m �[32m+�[0m�[0m resource "google_project_service" "project_services" {
Step #0 - "prepare": �[32m+�[0m�[0m disable_dependent_services = true
Step #0 - "prepare": �[32m+�[0m�[0m disable_on_destroy = true
Step #0 - "prepare": �[32m+�[0m�[0m id = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m project = (known after apply)
Step #0 - "prepare": �[32m+�[0m�[0m service
...
[Logs truncated due to log size limitations. For full logs, see https://console.cloud.google.com/cloud-build/builds/f0e135c8-91ed-4c70-b8a3-d92a98eba461?project=389844095520.]
...
bServerModule 2024-10-24T18:11:27Z command.go:185: "registry.terraform.io/hashicorp/null": "3.2.3",
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:27Z command.go:185: "registry.terraform.io/hashicorp/random": "3.6.3",
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:27Z command.go:185: "registry.terraform.io/hashicorp/time": "0.12.1"
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:27Z command.go:185: },
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:27Z command.go:185: "terraform_outdated": false
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:27Z command.go:185: }
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:27Z terraform.go:271: Running tests TF configs in /workspace/examples/oss-apache-web-server with version 1.9.8
Step #3 - "verify": 2024/10/24 18:11:27 RUN_STAGE env var set to verify
Step #3 - "verify": 2024/10/24 18:11:27 Skipping stage init
Step #3 - "verify": 2024/10/24 18:11:27 RUN_STAGE env var set to verify
Step #3 - "verify": 2024/10/24 18:11:27 Skipping stage plan
Step #3 - "verify": 2024/10/24 18:11:27 RUN_STAGE env var set to verify
Step #3 - "verify": 2024/10/24 18:11:27 Skipping stage apply
Step #3 - "verify": 2024/10/24 18:11:27 RUN_STAGE env var set to verify
Step #3 - "verify": 2024/10/24 18:11:27 Running stage verify
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:27Z cmd.go:132: Running terraform with args [plan -input=false -detailed-exitcode -no-color -lock=false]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:27Z command.go:100: Running command terraform with args [plan -input=false -detailed-exitcode -no-color -lock=false]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:30Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.random_string.suffix: Refreshing state... [id=ydn4]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:31Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_project_service.apis_to_enable["cloudbuild.googleapis.com"]: Refreshing state... [id=ci-kms-module-dd88/cloudbuild.googleapis.com]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:31Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_project_service.apis_to_enable["artifactregistry.googleapis.com"]: Refreshing state... [id=ci-kms-module-dd88/artifactregistry.googleapis.com]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:31Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.module.gce-container.data.google_compute_image.coreos: Reading...
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:31Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_project_service.apis_to_enable["compute.googleapis.com"]: Refreshing state... [id=ci-kms-module-dd88/compute.googleapis.com]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:31Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_project_service.apis_to_enable["iam.googleapis.com"]: Refreshing state... [id=ci-kms-module-dd88/iam.googleapis.com]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:31Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_service_account.custom_sa: Refreshing state... [id=projects/ci-kms-module-dd88/serviceAccounts/[email protected]]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:31Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.data.google_project.cloudbuild_project: Reading...
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:31Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_project_service.apis_to_enable["cloudkms.googleapis.com"]: Refreshing state... [id=ci-kms-module-dd88/cloudkms.googleapis.com]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:31Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_project_iam_member.sa_cloudbuild_builder: Refreshing state... [id=ci-kms-module-dd88/roles/cloudbuild.builds.builder/serviceAccount:[email protected]]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:31Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_service_account_iam_member.self_impersonation: Refreshing state... [id=projects/ci-kms-module-dd88/serviceAccounts/[email protected]/roles/iam.serviceAccountTokenCreator/serviceAccount:[email protected]]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:31Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_project_iam_member.cb_sa_logging: Refreshing state... [id=ci-kms-module-dd88/roles/logging.logWriter/serviceAccount:[email protected]]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:31Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.module.gce-container.data.google_compute_image.coreos: Read complete after 0s [id=projects/cos-cloud/global/images/cos-stable-109-17800-66-57]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:31Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_project_iam_member.sa_iap_accessor: Refreshing state... [id=ci-kms-module-dd88/roles/iap.tunnelResourceAccessor/serviceAccount:[email protected]]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:31Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.data.google_project.cloudbuild_project: Read complete after 1s [id=projects/ci-kms-module-dd88]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:31Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_project_iam_member.sa_compute_admin: Refreshing state... [id=ci-kms-module-dd88/roles/compute.admin/serviceAccount:[email protected]]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:31Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_project_iam_member.cb_service_agent: Refreshing state... [id=ci-kms-module-dd88/roles/cloudbuild.serviceAgent/serviceAccount:[email protected]]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:31Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_project_iam_member.sa_service_account_user: Refreshing state... [id=ci-kms-module-dd88/roles/iam.serviceAccountUser/serviceAccount:[email protected]]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:31Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_project_iam_member.owner_attempt: Refreshing state... [id=ci-kms-module-dd88/roles/owner/serviceAccount:[email protected]]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:31Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_project_iam_member.owner_attempt_4: Refreshing state... [id=ci-kms-module-dd88/roles/owner/serviceAccount:[email protected]]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:32Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_project_iam_member.owner_attempt_3: Refreshing state... [id=ci-kms-module-dd88/roles/owner/serviceAccount:[email protected]]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:32Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_project_iam_member.owner_attempt_2: Refreshing state... [id=ci-kms-module-dd88/roles/owner/serviceAccount:[email protected]]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:32Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_project_iam_member.owner_attempt_5: Refreshing state... [id=ci-kms-module-dd88/roles/owner/serviceAccount:[email protected]]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:34Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.time_sleep.enable_projects_apis_sleep: Refreshing state... [id=2024-10-24T18:09:35Z]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:34Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.module.vpc.module.vpc.google_compute_network.network: Refreshing state... [id=projects/ci-kms-module-dd88/global/networks/custom-hsm-network-ydn4]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:34Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.module.kms.google_kms_key_ring.key_ring: Refreshing state... [id=projects/ci-kms-module-dd88/locations/us-central1/keyRings/simple-example-keyring-ydn4]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:34Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_service_account_iam_member.cb_service_agent_impersonate: Refreshing state... [id=projects/ci-kms-module-dd88/serviceAccounts/[email protected]/roles/iam.serviceAccountTokenCreator/serviceAccount:[email protected]]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:34Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_artifact_registry_repository.pkcs11_hsm_examples: Refreshing state... [id=projects/ci-kms-module-dd88/locations/us-central1/repositories/hsm-cloud-example-ydn4]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:35Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.module.kms.google_kms_crypto_key.key_ephemeral[0]: Refreshing state... [id=projects/ci-kms-module-dd88/locations/us-central1/keyRings/simple-example-keyring-ydn4/cryptoKeys/simple-example-key-ydn4]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:35Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_compute_firewall.allow-ssh-iap: Refreshing state... [id=projects/ci-kms-module-dd88/global/firewalls/fw-allow-iap-ydn4]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:35Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.module.vpc.module.subnets.google_compute_subnetwork.subnetwork["us-central1/custom-hsm-subnetwork-apache"]: Refreshing state... [id=projects/ci-kms-module-dd88/regions/us-central1/subnetworks/custom-hsm-subnetwork-apache]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:35Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_artifact_registry_repository_iam_member.custom_sa: Refreshing state... [id=projects/ci-kms-module-dd88/locations/us-central1/repositories/hsm-cloud-example-ydn4/roles/artifactregistry.repoAdmin/serviceAccount:[email protected]]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:35Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_kms_key_ring_iam_member.key_ring_role: Refreshing state... [id=projects/ci-kms-module-dd88/locations/us-central1/keyRings/simple-example-keyring-ydn4/roles/cloudkms.viewer/serviceAccount:[email protected]]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:35Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_kms_crypto_key_iam_member.crypto_key_role: Refreshing state... [id=projects/ci-kms-module-dd88/locations/us-central1/keyRings/simple-example-keyring-ydn4/cryptoKeys/simple-example-key-ydn4/roles/cloudkms.signerVerifier/serviceAccount:[email protected]]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:35Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.null_resource.pkcs11_docker_image_build_template: Refreshing state... [id=76986503139991980]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:35Z command.go:185: module.apache_web_server.module.bootstrap-kms-hsm.google_compute_instance.vm: Refreshing state... [id=projects/ci-kms-module-dd88/zones/us-central1-a/instances/apache-hostname-example]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:35Z command.go:185:
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:35Z command.go:185: No changes. Your infrastructure matches the configuration.
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:35Z command.go:185:
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:35Z command.go:185: Terraform has compared your real infrastructure against your configuration
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:35Z command.go:185: and found no differences, so no changes are needed.
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:35Z retry.go:91: terraform [output -no-color -json vm_hostname]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:35Z command.go:100: Running command terraform with args [output -no-color -json vm_hostname]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:36Z command.go:185: "apache-hostname-example"
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:36Z retry.go:91: terraform [output -no-color -json project_id]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:36Z command.go:100: Running command terraform with args [output -no-color -json project_id]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:37Z command.go:185: "ci-kms-module-dd88"
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:37Z retry.go:91: terraform [output -no-color -json service_account_email]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:37Z command.go:100: Running command terraform with args [output -no-color -json service_account_email]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:38Z command.go:185: "[email protected]"
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:38Z logger.go:66: Running command gcloud with args [compute ssh --zone us-central1-a username@apache-hostname-example --tunnel-through-iap --project ci-kms-module-dd88 --impersonate-service-account [email protected] --command curl -v --insecure https://127.0.0.1]
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:39Z logger.go:66: WARNING: This command is using service account impersonation. All API calls will be executed as [[email protected]].
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:39Z logger.go:66: WARNING: This command is using service account impersonation. All API calls will be executed as [[email protected]].
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: WARNING: The private SSH key file for gcloud does not exist.
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: WARNING: The public SSH key file for gcloud does not exist.
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: WARNING: You do not have an SSH key for gcloud.
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: WARNING: SSH keygen will be executed to generate a key.
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: This tool needs to create the directory [/builder/home/.ssh] before being able
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: to generate SSH keys.
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66:
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: Do you want to continue (Y/n)?
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: Generating public/private rsa key pair.
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: Your identification has been saved in /builder/home/.ssh/google_compute_engine
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: Your public key has been saved in /builder/home/.ssh/google_compute_engine.pub
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: The key fingerprint is:
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: SHA256:bkXfp2X8ynTnypnwYyOCloGXyQKDys0HlD0UEcmixis root@b9ca44e92cad
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: The key's randomart image is:
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: +---[RSA 3072]----+
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: | === |
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: | + = |
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: |. o.. . . |
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: | +..o . . . . |
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: |o.+ .o oSo. . . =|
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: |Eo o .o.*. =.|
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: |. . oo+ . o +|
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: | .+ . .*+*.|
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: | . . oO+.|
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:40Z logger.go:66: +----[SHA256]-----+
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:41Z logger.go:66: Updating project ssh metadata...
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:50Z logger.go:66: ............................................Updated [https://www.googleapis.com/compute/v1/projects/ci-kms-module-dd88].
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:50Z logger.go:66: .done.
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:50Z logger.go:66: Waiting for SSH key to propagate.
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:51Z logger.go:66: WARNING:
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:51Z logger.go:66:
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:51Z logger.go:66: To increase the performance of the tunnel, consider installing NumPy. For instructions,
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:51Z logger.go:66: please see https://cloud.google.com/iap/docs/using-tcp-forwarding#increasing_the_tcp_upload_bandwidth
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:51Z logger.go:66:
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:51Z logger.go:66: WARNING: This command is using service account impersonation. All API calls will be executed as [[email protected]].
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:52Z logger.go:66: Warning: Permanently added 'compute.2033553196843479891' (ED25519) to the list of known hosts.
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:53Z logger.go:66: WARNING:
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:53Z logger.go:66:
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:53Z logger.go:66: To increase the performance of the tunnel, consider installing NumPy. For instructions,
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:53Z logger.go:66: please see https://cloud.google.com/iap/docs/using-tcp-forwarding#increasing_the_tcp_upload_bandwidth
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:53Z logger.go:66:
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:53Z logger.go:66: WARNING: This command is using service account impersonation. All API calls will be executed as [[email protected]].
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:54Z logger.go:66: * Trying 127.0.0.1:443...
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:54Z logger.go:66: * connect to 127.0.0.1 port 443 from 127.0.0.1 port 35474 failed: Connection refused
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:54Z logger.go:66: * Failed to connect to 127.0.0.1 port 443 after 0 ms: Couldn't connect to server
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:54Z logger.go:66:
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:54Z logger.go:66: * Closing connection
Step #3 - "verify": TestFakeApacheWebServerModule 2024-10-24T18:11:54Z logger.go:66: curl: (7) Failed to connect to 127.0.0.1 port 443 after 0 ms: Couldn't connect to server
Step #3 - "verify": apache_web_server_test.go:51:
Step #3 - "verify": Error Trace: /workspace/test/integration/oss-apache-web-server/apache_web_server_test.go:51
Step #3 - "verify": /builder/home/go/pkg/mod/github.com/!google!cloud!platform/cloud-foundation-toolkit/infra/[email protected]/pkg/tft/terraform.go:638
Step #3 - "verify": /builder/home/go/pkg/mod/github.com/!google!cloud!platform/cloud-foundation-toolkit/infra/[email protected]/pkg/tft/terraform.go:670
Step #3 - "verify": /builder/home/go/pkg/mod/github.com/!google!cloud!platform/cloud-foundation-toolkit/infra/[email protected]/pkg/utils/stages.go:31
Step #3 - "verify": /builder/home/go/pkg/mod/github.com/!google!cloud!platform/cloud-foundation-toolkit/infra/[email protected]/pkg/tft/terraform.go:670
Step #3 - "verify": Error: "WARNING: This command is using service account impersonation. All API calls will be executed as [[email protected]].\nWARNING: This command is using service account impersonation. All API calls will be executed as [[email protected]].\nWARNING: The private SSH key file for gcloud does not exist.\nWARNING: The public SSH key file for gcloud does not exist.\nWARNING: You do not have an SSH key for gcloud.\nWARNING: SSH keygen will be executed to generate a key.\nThis tool needs to create the directory [/builder/home/.ssh] before being able \nto generate SSH keys.\n\nDo you want to continue (Y/n)? \nGenerating public/private rsa key pair.\nYour identification has been saved in /builder/home/.ssh/google_compute_engine\nYour public key has been saved in /builder/home/.ssh/google_compute_engine.pub\nThe key fingerprint is:\nSHA256:bkXfp2X8ynTnypnwYyOCloGXyQKDys0HlD0UEcmixis root@b9ca44e92cad\nThe key's randomart image is:\n+---[RSA 3072]----+\n| === |\n| + = |\n|. o.. . . |\n| +..o . . . . |\n|o.+ .o oSo. . . =|\n|Eo o .o.*. =.|\n|. . oo+ . o +|\n| .+ . .*+*.|\n| . . oO+.|\n+----[SHA256]-----+\nUpdating project ssh metadata...\n............................................Updated [https://www.googleapis.com/compute/v1/projects/ci-kms-module-dd88].\n.done.\nWaiting for SSH key to propagate.\nWARNING: \n\nTo increase the performance of the tunnel, consider installing NumPy. For instructions,\nplease see https://cloud.google.com/iap/docs/using-tcp-forwarding#increasing_the_tcp_upload_bandwidth\n\nWARNING: This command is using service account impersonation. All API calls will be executed as [[email protected]].\nWarning: Permanently added 'compute.2033553196843479891' (ED25519) to the list of known hosts.\r\nWARNING: \n\nTo increase the performance of the tunnel, consider installing NumPy. For instructions,\nplease see https://cloud.google.com/iap/docs/using-tcp-forwarding#increasing_the_tcp_upload_bandwidth\n\nWARNING: This command is using service account impersonation. All API calls will be executed as [[email protected]].\n* Trying 127.0.0.1:443...\n* connect to 127.0.0.1 port 443 from 127.0.0.1 port 35474 failed: Connection refused\n* Failed to connect to 127.0.0.1 port 443 after 0 ms: Couldn't connect to server\n\n* Closing connection\ncurl: (7) Failed to connect to 127.0.0.1 port 443 after 0 ms: Couldn't connect to server" does not contain "HTTP/1.1 200 OK"
Step #3 - "verify": Test: TestFakeApacheWebServerModule
Step #3 - "verify": Messages: Request must return 200
Step #3 - "verify": apache_web_server_test.go:52:
Step #3 - "verify": Error Trace: /workspace/test/integration/oss-apache-web-server/apache_web_server_test.go:52
Step #3 - "verify": /builder/home/go/pkg/mod/github.com/!google!cloud!platform/cloud-foundation-toolkit/infra/[email protected]/pkg/tft/terraform.go:638
Step #3 - "verify": /builder/home/go/pkg/mod/github.com/!google!cloud!platform/cloud-foundation-toolkit/infra/[email protected]/pkg/tft/terraform.go:670
Step #3 - "verify": /builder/home/go/pkg/mod/github.com/!google!cloud!platform/cloud-foundation-toolkit/infra/[email protected]/pkg/utils/stages.go:31
Step #3 - "verify": /builder/home/go/pkg/mod/github.com/!google!cloud!platform/cloud-foundation-toolkit/infra/[email protected]/pkg/tft/terraform.go:670
Step #3 - "verify": Error: "WARNING: This command is using service account impersonation. All API calls will be executed as [[email protected]].\nWARNING: This command is using service account impersonation. All API calls will be executed as [[email protected]].\nWARNING: The private SSH key file for gcloud does not exist.\nWARNING: The public SSH key file for gcloud does not exist.\nWARNING: You do not have an SSH key for gcloud.\nWARNING: SSH keygen will be executed to generate a key.\nThis tool needs to create the directory [/builder/home/.ssh] before being able \nto generate SSH keys.\n\nDo you want to continue (Y/n)? \nGenerating public/private rsa key pair.\nYour identification has been saved in /builder/home/.ssh/google_compute_engine\nYour public key has been saved in /builder/home/.ssh/google_compute_engine.pub\nThe key fingerprint is:\nSHA256:bkXfp2X8ynTnypnwYyOCloGXyQKDys0HlD0UEcmixis root@b9ca44e92cad\nThe key's randomart image is:\n+---[RSA 3072]----+\n| === |\n| + = |\n|. o.. . . |\n| +..o . . . . |\n|o.+ .o oSo. . . =|\n|Eo o .o.*. =.|\n|. . oo+ . o +|\n| .+ . .*+*.|\n| . . oO+.|\n+----[SHA256]-----+\nUpdating project ssh metadata...\n............................................Updated [https://www.googleapis.com/compute/v1/projects/ci-kms-module-dd88].\n.done.\nWaiting for SSH key to propagate.\nWARNING: \n\nTo increase the performance of the tunnel, consider installing NumPy. For instructions,\nplease see https://cloud.google.com/iap/docs/using-tcp-forwarding#increasing_the_tcp_upload_bandwidth\n\nWARNING: This command is using service account impersonation. All API calls will be executed as [[email protected]].\nWarning: Permanently added 'compute.2033553196843479891' (ED25519) to the list of known hosts.\r\nWARNING: \n\nTo increase the performance of the tunnel, consider installing NumPy. For instructions,\nplease see https://cloud.google.com/iap/docs/using-tcp-forwarding#increasing_the_tcp_upload_bandwidth\n\nWARNING: This command is using service account impersonation. All API calls will be executed as [[email protected]].\n* Trying 127.0.0.1:443...\n* connect to 127.0.0.1 port 443 from 127.0.0.1 port 35474 failed: Connection refused\n* Failed to connect to 127.0.0.1 port 443 after 0 ms: Couldn't connect to server\n\n* Closing connection\ncurl: (7) Failed to connect to 127.0.0.1 port 443 after 0 ms: Couldn't connect to server" does not contain "SSL certificate verify result: self-signed certificate"
Step #3 - "verify": Test: TestFakeApacheWebServerModule
Step #3 - "verify": Messages: SSL must be verified
Step #3 - "verify": apache_web_server_test.go:53:
Step #3 - "verify": Error Trace: /workspace/test/integration/oss-apache-web-server/apache_web_server_test.go:53
Step #3 - "verify": /builder/home/go/pkg/mod/github.com/!google!cloud!platform/cloud-foundation-toolkit/infra/[email protected]/pkg/tft/terraform.go:638
Step #3 - "verify": /builder/home/go/pkg/mod/github.com/!google!cloud!platform/cloud-foundation-toolkit/infra/[email protected]/pkg/tft/terraform.go:670
Step #3 - "verify": /builder/home/go/pkg/mod/github.com/!google!cloud!platform/cloud-foundation-toolkit/infra/[email protected]/pkg/utils/stages.go:31
Step #3 - "verify": /builder/home/go/pkg/mod/github.com/!google!cloud!platform/cloud-foundation-toolkit/infra/[email protected]/pkg/tft/terraform.go:670
Step #3 - "verify": Error: Expected nil, but got: &shell.ErrWithCmdOutput{Underlying:(*exec.ExitError)(0xc000673240), Output:(*shell.output)(0xc000127788)}
Step #3 - "verify": Test: TestFakeApacheWebServerModule
Step #3 - "verify": 2024/10/24 18:11:54 RUN_STAGE env var set to verify
Step #3 - "verify": 2024/10/24 18:11:54 Skipping stage teardown
Step #3 - "verify": --- FAIL: TestFakeApacheWebServerModule (29.09s)
Step #3 - "verify": FAIL
Step #3 - "verify": FAIL github.com/terraform-google-modules/kms-solutions/test/integration/oss-apache-web-server 29.157s
Step #3 - "verify": FAIL
Step #3 - "verify": t=2024-10-24T18:11:54+0000 lvl=eror msg="error running command: exit status 1"
Finished Step #3 - "verify"
ERROR
ERROR: build step 3 "gcr.io/cloud-foundation-cicd/cft/developer-tools:1" failed: step exited with non-zero status: 1
Loading