Running with gitlab-runner 18.4.0~pre.195.g5de42c65 (5de42c65)  on blue-6.saas-linux-small-amd64.runners-manager.gitlab.com/default nN8vMRS9Z, system ID: s_a899fcd611a3 section_start:1762378479:prepare_executor Preparing the "docker+machine" executor Using Docker executor with image registry.gitlab.com/opencraft/dev/grove/tools-container:0.35.0 ... Using effective pull policy of [always] for container registry.gitlab.com/opencraft/dev/grove/tools-container:0.35.0 Authenticating with credentials from job payload (GitLab Registry) Pulling docker image registry.gitlab.com/opencraft/dev/grove/tools-container:0.35.0 ... Using docker image sha256:93ef754e54cec57e70f69f0828d1095ca15964d75822a7360126171916ddd35f for registry.gitlab.com/opencraft/dev/grove/tools-container:0.35.0 with digest registry.gitlab.com/opencraft/dev/grove/tools-container@sha256:c049b5e75e5c0ef23d0e8856b866344a2402a73ebc69f91edd088e0550c87957 ... section_end:1762378505:prepare_executor section_start:1762378505:prepare_script Preparing environment Using effective pull policy of [always] for container sha256:0c0873adee6835644832e1c3ce8f4e3517ba89fae75fabe325e23d80d6f0a2c9 Running on runner-nn8vmrs9z-project-51564656-concurrent-0 via runner-nn8vmrs9z-s-l-s-amd64-1762378405-44f8ab04... section_end:1762378511:prepare_script section_start:1762378511:get_sources Getting source from Git repository Gitaly correlation ID: 6fe2ca95c49e4d8cb790fa65b21ef759 Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/opencraft/ops/axim-pr-sandboxes/.git/ Created fresh repository. Checking out 2c069ce2 as detached HEAD (ref is main)... Updating/initializing submodules recursively with git depth set to 50... Submodule 'grove' (https://gitlab.com/opencraft/dev/grove.git) registered for path 'grove' Synchronizing submodule url for 'grove' Cloning into '/builds/opencraft/ops/axim-pr-sandboxes/grove'... From https://gitlab.com/opencraft/dev/grove * branch a8b9a6b277d4dc4bcc753c17d64f9a4e650e9702 -> FETCH_HEAD Submodule path 'grove': checked out 'a8b9a6b277d4dc4bcc753c17d64f9a4e650e9702' Updated submodules Synchronizing submodule url for 'grove' Entering 'grove' Entering 'grove' $ git remote set-url origin "${CI_REPOSITORY_URL}" || echo 'Not a git repository; skipping' section_end:1762378516:get_sources section_start:1762378516:restore_cache Restoring cache Checking cache for tf-2c069ce2-protected... Downloading cache from https://storage.googleapis.com/gitlab-com-runners-cache/project/51564656/tf-2c069ce2-protected ETag="9cc5bc11658f89a8957ac3a6d2723204" Successfully extracted cache section_end:1762378523:restore_cache section_start:1762378523:download_artifacts Downloading artifacts Downloading artifacts for cluster infra plan (11989176524)... Downloading artifacts from coordinator... ok  correlation_id=6a1c8dbfaa914a069f66bf29a1fdd5d2 host=storage.googleapis.com id=11989176524 responseStatus=200 OK token=6b_QcEGpk section_end:1762378524:download_artifacts section_start:1762378524:step_script Executing "step_script" stage of the job script Using effective pull policy of [always] for container registry.gitlab.com/opencraft/dev/grove/tools-container:0.35.0 Using docker image sha256:93ef754e54cec57e70f69f0828d1095ca15964d75822a7360126171916ddd35f for registry.gitlab.com/opencraft/dev/grove/tools-container:0.35.0 with digest registry.gitlab.com/opencraft/dev/grove/tools-container@sha256:c049b5e75e5c0ef23d0e8856b866344a2402a73ebc69f91edd088e0550c87957 ... $ kubectl config get-contexts CURRENT NAME CLUSTER AUTHINFO NAMESPACE opencraft/ops/axim-pr-sandboxes:axim-pr-sandboxes gitlab agent:1077905 $ kubectl config use-context ${CI_PROJECT_PATH}:${K8S_CLUSTER_AGENT_CONTEXT} Switched to context "opencraft/ops/axim-pr-sandboxes:axim-pr-sandboxes". $ cd ${GITLAB_TOFU_ROOT_DIR} $ $SCRIPTS_DIR/tf.sh apply Initializing the backend...  Successfully configured the backend "http"! OpenTofu will automatically use this backend unless the backend configuration changes. Initializing modules... Initializing provider plugins... - Finding gavinbunney/kubectl versions matching "~> 1.18"... - Finding latest version of hashicorp/external... - Finding latest version of hashicorp/tls... - Finding hashicorp/helm versions matching "~> 2.17"... - Finding digitalocean/digitalocean versions matching "~> 2.64"... - Finding latest version of loafoe/htpasswd... - Finding latest version of hashicorp/random... - Finding gitlabhq/gitlab versions matching "~> 17.6"... - Finding latest version of hashicorp/null... - Finding latest version of hashicorp/kubernetes... - Installing gavinbunney/kubectl v1.19.0... - Installed gavinbunney/kubectl v1.19.0 (signed, key ID 1E1CE42504F5FBB2) - Installing hashicorp/helm v2.17.0... - Installed hashicorp/helm v2.17.0 (signed, key ID 0C0AF313E5FD9F80) - Installing digitalocean/digitalocean v2.68.0... - Installed digitalocean/digitalocean v2.68.0 (signed, key ID F82037E524B9C0E8) - Installing hashicorp/kubernetes v2.38.0... - Installed hashicorp/kubernetes v2.38.0 (signed, key ID 0C0AF313E5FD9F80) - Installing hashicorp/external v2.3.5... - Installed hashicorp/external v2.3.5 (signed, key ID 0C0AF313E5FD9F80) - Installing hashicorp/tls v4.1.0... - Installed hashicorp/tls v4.1.0 (signed, key ID 0C0AF313E5FD9F80) - Installing loafoe/htpasswd v1.5.0... - Installed loafoe/htpasswd v1.5.0 (signed, key ID C0E4EB79E9E6A23D) - Installing hashicorp/random v3.7.2... - Installed hashicorp/random v3.7.2 (signed, key ID 0C0AF313E5FD9F80) - Installing gitlabhq/gitlab v17.11.0... - Installed gitlabhq/gitlab v17.11.0 (signed, key ID 0D47B7AB85F63F65) - Installing hashicorp/null v3.2.4... - Installed hashicorp/null v3.2.4 (signed, key ID 0C0AF313E5FD9F80) Providers are signed by their developers. If you'd like to know more about provider signing, you can read about it here: https://opentofu.org/docs/cli/plugins/signing/ OpenTofu has created a lock file .terraform.lock.hcl to record the provider selections it made above. Include this file in your version control repository so that OpenTofu can guarantee to make the same selections by default when you run "tofu init" in the future. OpenTofu has been successfully initialized! Acquiring state lock. This may take a few moments... module.k8s_gitlab_container_registry["pr-1820-c25332"].kubernetes_namespace.k8s_namespace: Creating... module.instance_edxapp_bucket["pr-1820-c25332"].random_id.bucket_suffix: Creating... module.instance_edxapp_bucket["pr-1820-c25332"].random_id.bucket_suffix: Creation complete after 0s [id=XOrRb6mwlQw] module.instance_edxapp_bucket["pr-1820-c25332"].digitalocean_spaces_bucket.spaces_bucket: Creating... module.mongodb.digitalocean_database_cluster.database_cluster: Modifying... [id=41391828-a924-4be3-bfc4-f7774c4763a0] module.k8s_gitlab_container_registry["pr-1820-c25332"].kubernetes_namespace.k8s_namespace: Creation complete after 0s [id=pr-1820-c25332] module.k8s_gitlab_container_registry["pr-1820-c25332"].kubernetes_default_service_account.k8s_default_service_account: Creating... module.k8s_gitlab_container_registry["pr-1820-c25332"].kubernetes_secret.k8s_docker_secret: Creating... module.k8s_gitlab_container_registry["pr-1820-c25332"].kubernetes_secret.k8s_docker_secret: Creation complete after 0s [id=pr-1820-c25332/pr-1820-c25332-docker-cfg] module.mongodb.digitalocean_database_cluster.database_cluster: Modifications complete after 0s [id=41391828-a924-4be3-bfc4-f7774c4763a0] module.k8s_gitlab_container_registry["pr-1820-c25332"].kubernetes_default_service_account.k8s_default_service_account: Creation complete after 0s [id=pr-1820-c25332/default] module.mongodb.digitalocean_database_db.databases["pr-1820-c25332"]: Creating... module.mongodb.digitalocean_database_user.database_users["pr-1813-c25332"]: Modifying... [id=41391828-a924-4be3-bfc4-f7774c4763a0/user/pr-1813-c25332] module.mongodb.digitalocean_database_user.database_users["pr-1820-c25332"]: Creating... digitalocean_database_db.forum_database["pr-1820-c25332"]: Creating... module.mongodb.digitalocean_database_db.databases["pr-1820-c25332"]: Creation complete after 2s [id=41391828-a924-4be3-bfc4-f7774c4763a0/database/pr-1820-c25332] digitalocean_database_db.forum_database["pr-1820-c25332"]: Creation complete after 2s [id=41391828-a924-4be3-bfc4-f7774c4763a0/database/pr-1820-c25332-cs_comments_service] module.mongodb.digitalocean_database_user.database_users["pr-1820-c25332"]: Creation complete after 5s [id=41391828-a924-4be3-bfc4-f7774c4763a0/user/pr-1820-c25332] module.instance_edxapp_bucket["pr-1820-c25332"].digitalocean_spaces_bucket.spaces_bucket: Creation complete after 5s [id=edx-axim-sandboxes-pr-1820-c25332-6695394073558160652] module.instance_edxapp_bucket["pr-1820-c25332"].digitalocean_spaces_bucket_policy.public_root_object_policy[0]: Creating... module.instance_edxapp_bucket["pr-1820-c25332"].digitalocean_spaces_bucket_policy.public_root_object_policy[0]: Creation complete after 1s [id=edx-axim-sandboxes-pr-1820-c25332-6695394073558160652] ╷ │ Warning: Argument is deprecated │  │  with module.instance_edxapp_bucket["pr-1820-c25332"].digitalocean_spaces_bucket.spaces_bucket, │  on spaces/main.tf line 13, in resource "digitalocean_spaces_bucket" "spaces_bucket": │  13: resource "digitalocean_spaces_bucket" "spaces_bucket" { │  │ Terraform will only perform drift detection if a configuration value is │ provided. Use the resource `digitalocean_spaces_bucket_cors_configuration` │ instead. ╵ ╷ │ Error: Error updating settings for DatabaseUser: PUT https://api.digitalocean.com/v2/databases/41391828-a924-4be3-bfc4-f7774c4763a0/users/pr-1813-c25332: 400 (request "09cdd28c-ed92-46e5-8280-7e799f762866") request is missing the following required fields: user_settings │  │  with module.mongodb.digitalocean_database_user.database_users["pr-1813-c25332"], │  on database/main.tf line 66, in resource "digitalocean_database_user" "database_users": │  66: resource "digitalocean_database_user" "database_users" { │  ╵ section_end:1762378545:step_script section_start:1762378545:cleanup_file_variables Cleaning up project directory and file based variables section_end:1762378546:cleanup_file_variables ERROR: Job failed: exit code 1