Running with gitlab-runner 17.11.0 (0f67ff19)  on gitlab-runner-66336c5289e5e542-docker ncJ2-Cr2P, system ID: s_43282bf41924 section_start:1753343580:prepare_executor Preparing the "docker" executor Using Docker executor with image registry.gitlab.com/opencraft/dev/grove/tools-container:gabor-update-grove-deps ... Authenticating with credentials from job payload (GitLab Registry) Pulling docker image registry.gitlab.com/opencraft/dev/grove/tools-container:gabor-update-grove-deps ... Using docker image sha256:b91419f4a71f6192e892e0860a493dc85a42b47dd92e5b09f66d1991c9b6c7ca for registry.gitlab.com/opencraft/dev/grove/tools-container:gabor-update-grove-deps with digest registry.gitlab.com/opencraft/dev/grove/tools-container@sha256:8b947d3446e5671642b09328dfd75aef1b86c4523a01980952bac301f87ae074 ... section_end:1753343582:prepare_executor section_start:1753343582:prepare_script Preparing environment Running on runner-ncj2-cr2p-project-51564656-concurrent-0 via gitlab-runner-66336c5289e5e542... section_end:1753343582:prepare_script section_start:1753343582:get_sources Getting source from Git repository Fetching changes with git depth set to 50... Reinitialized existing Git repository in /builds/opencraft/ops/axim-pr-sandboxes/.git/ Created fresh repository. Checking out 0502e077 as detached HEAD (ref is main)... Removing .terraform/ 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' Entering 'grove' Removing provider-digitalocean/.terraform.lock.hcl Removing provider-digitalocean/plan.cache Removing provider-digitalocean/plan.json Entering 'grove' HEAD is now at 006d782 chore: update tooling versions Updated submodules Synchronizing submodule url for 'grove' Entering 'grove' Entering 'grove' section_end:1753343585:get_sources section_start:1753343585:restore_cache Restoring cache Checking cache for tf-0502e077-protected... No URL provided, cache will not be downloaded from shared cache server. Instead a local version of cache will be extracted. Successfully extracted cache section_end:1753343590:restore_cache section_start:1753343590:download_artifacts Downloading artifacts Downloading artifacts for cluster infra plan (10794748670)... Downloading artifacts from coordinator... ok  host=cdn.artifacts.gitlab-static.net id=10794748670 responseStatus=200 OK token=69_6Lo_qz section_end:1753343591:download_artifacts section_start:1753343591:step_script Executing "step_script" stage of the job script Using docker image sha256:b91419f4a71f6192e892e0860a493dc85a42b47dd92e5b09f66d1991c9b6c7ca for registry.gitlab.com/opencraft/dev/grove/tools-container:gabor-update-grove-deps with digest registry.gitlab.com/opencraft/dev/grove/tools-container@sha256:8b947d3446e5671642b09328dfd75aef1b86c4523a01980952bac301f87ae074 ... $ 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 digitalocean/digitalocean versions matching "~> 2.59"... - Finding gavinbunney/kubectl versions matching "~> 1.19"... - Finding latest version of hashicorp/null... - Finding latest version of hashicorp/tls... - Finding hashicorp/helm versions matching "~> 2.17"... - Finding latest version of hashicorp/kubernetes... - Finding latest version of hashicorp/external... - Finding gitlabhq/gitlab versions matching "~> 18.1"... - Finding latest version of hashicorp/random... - Finding latest version of loafoe/htpasswd... - Installing hashicorp/random v3.7.2... - Installed hashicorp/random v3.7.2 (signed, key ID 0C0AF313E5FD9F80) - Installing digitalocean/digitalocean v2.60.0... - Installed digitalocean/digitalocean v2.60.0 (signed, key ID F82037E524B9C0E8) - Installing gavinbunney/kubectl v1.19.0... - Installed gavinbunney/kubectl v1.19.0 (signed, key ID 1E1CE42504F5FBB2) - Installing loafoe/htpasswd v1.2.1... - Installed loafoe/htpasswd v1.2.1 (signed, key ID C0E4EB79E9E6A23D) - Installing hashicorp/null v3.2.4... - Installed hashicorp/null v3.2.4 (signed, key ID 0C0AF313E5FD9F80) - Installing hashicorp/tls v4.1.0... - Installed hashicorp/tls v4.1.0 (signed, key ID 0C0AF313E5FD9F80) - Installing hashicorp/helm v2.17.0... - Installed hashicorp/helm v2.17.0 (signed, key ID 0C0AF313E5FD9F80) - 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 gitlabhq/gitlab v18.2.0... - Installed gitlabhq/gitlab v18.2.0 (signed, key ID 0D47B7AB85F63F65) 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! module.k8s_gitlab_container_registry["pr-1601-c25332"].kubernetes_namespace.k8s_namespace: Creating... module.k8s_gitlab_container_registry["pr-1606-c25332"].kubernetes_namespace.k8s_namespace: Creating... module.k8s_gitlab_container_registry["pr-1605-c25332"].kubernetes_namespace.k8s_namespace: Creating... module.k8s_gitlab_container_registry["pr-1604-c25332"].kubernetes_namespace.k8s_namespace: Creating... module.instance_edxapp_bucket["pr-1604-c25332"].random_id.bucket_suffix: Creating... module.instance_edxapp_bucket["pr-1606-c25332"].random_id.bucket_suffix: Creating... module.instance_edxapp_bucket["pr-1601-c25332"].random_id.bucket_suffix: Creating... module.instance_edxapp_bucket["pr-1605-c25332"].random_id.bucket_suffix: Creating... module.instance_edxapp_bucket["pr-1606-c25332"].random_id.bucket_suffix: Creation complete after 0s [id=Z5kzQf00Siw] module.mongodb.digitalocean_database_user.database_users["pr-1606-c25332"]: Creating... module.mongodb.digitalocean_database_user.database_users["pr-35983-139931"]: Modifying... [id=41391828-a924-4be3-bfc4-f7774c4763a0/user/pr-35983-139931] module.instance_edxapp_bucket["pr-1601-c25332"].random_id.bucket_suffix: Creation complete after 0s [id=vDWKyC4-pCY] module.instance_edxapp_bucket["pr-1605-c25332"].random_id.bucket_suffix: Creation complete after 0s [id=_Gjs2Ys10Zg] module.instance_edxapp_bucket["pr-1604-c25332"].random_id.bucket_suffix: Creation complete after 0s [id=LIMBPPzkF00] module.mongodb.digitalocean_database_user.database_users["pr-1604-c25332"]: Creating... module.mongodb.digitalocean_database_user.database_users["pr-1605-c25332"]: Creating... module.mongodb.digitalocean_database_db.databases["pr-1601-c25332"]: Creating... module.mongodb.digitalocean_database_user.database_users["pr-1601-c25332"]: Creating... module.k8s_gitlab_container_registry["pr-1601-c25332"].kubernetes_namespace.k8s_namespace: Creation complete after 1s [id=pr-1601-c25332] module.k8s_gitlab_container_registry["pr-1606-c25332"].kubernetes_namespace.k8s_namespace: Creation complete after 1s [id=pr-1606-c25332] module.k8s_gitlab_container_registry["pr-1604-c25332"].kubernetes_namespace.k8s_namespace: Creation complete after 1s [id=pr-1604-c25332] module.mongodb.digitalocean_database_db.databases["pr-1604-c25332"]: Creating... module.k8s_gitlab_container_registry["pr-1605-c25332"].kubernetes_namespace.k8s_namespace: Creation complete after 1s [id=pr-1605-c25332] module.mongodb.digitalocean_database_db.databases["pr-1606-c25332"]: Creating... module.mongodb.digitalocean_database_db.databases["pr-1605-c25332"]: Creating... digitalocean_database_db.forum_database["pr-1601-c25332"]: Creating... module.mongodb.digitalocean_database_db.databases["pr-1601-c25332"]: Creation complete after 2s [id=41391828-a924-4be3-bfc4-f7774c4763a0/database/pr-1601-c25332] digitalocean_database_db.forum_database["pr-1605-c25332"]: Creating... digitalocean_database_db.forum_database["pr-1604-c25332"]: Creating... module.mongodb.digitalocean_database_db.databases["pr-1606-c25332"]: Creation complete after 1s [id=41391828-a924-4be3-bfc4-f7774c4763a0/database/pr-1606-c25332] digitalocean_database_db.forum_database["pr-1606-c25332"]: Creating... module.mongodb.digitalocean_database_db.databases["pr-1604-c25332"]: Creation complete after 2s [id=41391828-a924-4be3-bfc4-f7774c4763a0/database/pr-1604-c25332] module.instance_edxapp_bucket["pr-1606-c25332"].digitalocean_spaces_bucket.spaces_bucket: Creating... digitalocean_database_db.forum_database["pr-1601-c25332"]: Creation complete after 2s [id=41391828-a924-4be3-bfc4-f7774c4763a0/database/pr-1601-c25332-cs_comments_service] module.instance_edxapp_bucket["pr-1601-c25332"].digitalocean_spaces_bucket.spaces_bucket: Creating... digitalocean_database_db.forum_database["pr-1605-c25332"]: Creation complete after 1s [id=41391828-a924-4be3-bfc4-f7774c4763a0/database/pr-1605-c25332-cs_comments_service] module.instance_edxapp_bucket["pr-1605-c25332"].digitalocean_spaces_bucket.spaces_bucket: Creating... module.mongodb.digitalocean_database_db.databases["pr-1605-c25332"]: Creation complete after 2s [id=41391828-a924-4be3-bfc4-f7774c4763a0/database/pr-1605-c25332] module.instance_edxapp_bucket["pr-1604-c25332"].digitalocean_spaces_bucket.spaces_bucket: Creating... digitalocean_database_db.forum_database["pr-1606-c25332"]: Creation complete after 1s [id=41391828-a924-4be3-bfc4-f7774c4763a0/database/pr-1606-c25332-cs_comments_service] module.k8s_gitlab_container_registry["pr-1601-c25332"].kubernetes_secret.k8s_docker_secret: Creating... module.mongodb.digitalocean_database_user.database_users["pr-1606-c25332"]: Creation complete after 4s [id=41391828-a924-4be3-bfc4-f7774c4763a0/user/pr-1606-c25332] module.k8s_gitlab_container_registry["pr-1601-c25332"].kubernetes_default_service_account.k8s_default_service_account: Creating... module.k8s_gitlab_container_registry["pr-1601-c25332"].kubernetes_secret.k8s_docker_secret: Creation complete after 1s [id=pr-1601-c25332/pr-1601-c25332-docker-cfg] module.k8s_gitlab_container_registry["pr-1604-c25332"].kubernetes_secret.k8s_docker_secret: Creating... module.k8s_gitlab_container_registry["pr-1601-c25332"].kubernetes_default_service_account.k8s_default_service_account: Creation complete after 0s [id=pr-1601-c25332/default] module.k8s_gitlab_container_registry["pr-1604-c25332"].kubernetes_default_service_account.k8s_default_service_account: Creating... module.k8s_gitlab_container_registry["pr-1604-c25332"].kubernetes_secret.k8s_docker_secret: Creation complete after 0s [id=pr-1604-c25332/pr-1604-c25332-docker-cfg] module.k8s_gitlab_container_registry["pr-1606-c25332"].kubernetes_secret.k8s_docker_secret: Creating... module.k8s_gitlab_container_registry["pr-1606-c25332"].kubernetes_secret.k8s_docker_secret: Creation complete after 0s [id=pr-1606-c25332/pr-1606-c25332-docker-cfg] module.k8s_gitlab_container_registry["pr-1606-c25332"].kubernetes_default_service_account.k8s_default_service_account: Creating... module.k8s_gitlab_container_registry["pr-1604-c25332"].kubernetes_default_service_account.k8s_default_service_account: Creation complete after 0s [id=pr-1604-c25332/default] module.k8s_gitlab_container_registry["pr-1605-c25332"].kubernetes_default_service_account.k8s_default_service_account: Creating... module.mongodb.digitalocean_database_user.database_users["pr-1604-c25332"]: Creation complete after 5s [id=41391828-a924-4be3-bfc4-f7774c4763a0/user/pr-1604-c25332] module.k8s_gitlab_container_registry["pr-1606-c25332"].kubernetes_default_service_account.k8s_default_service_account: Creation complete after 1s [id=pr-1606-c25332/default] module.k8s_gitlab_container_registry["pr-1605-c25332"].kubernetes_secret.k8s_docker_secret: Creating... module.k8s_gitlab_container_registry["pr-1605-c25332"].kubernetes_default_service_account.k8s_default_service_account: Creation complete after 1s [id=pr-1605-c25332/default] module.k8s_gitlab_container_registry["pr-1605-c25332"].kubernetes_secret.k8s_docker_secret: Creation complete after 0s [id=pr-1605-c25332/pr-1605-c25332-docker-cfg] module.mongodb.digitalocean_database_user.database_users["pr-1605-c25332"]: Creation complete after 7s [id=41391828-a924-4be3-bfc4-f7774c4763a0/user/pr-1605-c25332] module.mongodb.digitalocean_database_user.database_users["pr-1601-c25332"]: Creation complete after 8s [id=41391828-a924-4be3-bfc4-f7774c4763a0/user/pr-1601-c25332] digitalocean_database_db.forum_database["pr-1604-c25332"]: Creation complete after 7s [id=41391828-a924-4be3-bfc4-f7774c4763a0/database/pr-1604-c25332-cs_comments_service] module.instance_edxapp_bucket["pr-1601-c25332"].digitalocean_spaces_bucket.spaces_bucket: Creation complete after 7s [id=edx-axim-sandboxes-pr-1601-c25332-13561898445270066214] module.instance_edxapp_bucket["pr-1601-c25332"].digitalocean_spaces_bucket_policy.public_root_object_policy[0]: Creating... module.instance_edxapp_bucket["pr-1606-c25332"].digitalocean_spaces_bucket.spaces_bucket: Creation complete after 7s [id=edx-axim-sandboxes-pr-1606-c25332-7465054215857261100] module.instance_edxapp_bucket["pr-1606-c25332"].digitalocean_spaces_bucket_policy.public_root_object_policy[0]: Creating... module.instance_edxapp_bucket["pr-1605-c25332"].digitalocean_spaces_bucket.spaces_bucket: Creation complete after 7s [id=edx-axim-sandboxes-pr-1605-c25332-18188047514223366552] module.instance_edxapp_bucket["pr-1605-c25332"].digitalocean_spaces_bucket_policy.public_root_object_policy[0]: Creating... module.instance_edxapp_bucket["pr-1601-c25332"].digitalocean_spaces_bucket_policy.public_root_object_policy[0]: Creation complete after 0s [id=edx-axim-sandboxes-pr-1601-c25332-13561898445270066214] module.instance_edxapp_bucket["pr-1606-c25332"].digitalocean_spaces_bucket_policy.public_root_object_policy[0]: Creation complete after 0s [id=edx-axim-sandboxes-pr-1606-c25332-7465054215857261100] module.instance_edxapp_bucket["pr-1604-c25332"].digitalocean_spaces_bucket.spaces_bucket: Creation complete after 7s [id=edx-axim-sandboxes-pr-1604-c25332-3207408721070397261] module.instance_edxapp_bucket["pr-1604-c25332"].digitalocean_spaces_bucket_policy.public_root_object_policy[0]: Creating... module.instance_edxapp_bucket["pr-1605-c25332"].digitalocean_spaces_bucket_policy.public_root_object_policy[0]: Creation complete after 1s [id=edx-axim-sandboxes-pr-1605-c25332-18188047514223366552] module.instance_edxapp_bucket["pr-1604-c25332"].digitalocean_spaces_bucket_policy.public_root_object_policy[0]: Creation complete after 1s [id=edx-axim-sandboxes-pr-1604-c25332-3207408721070397261] ╷ │ Warning: Argument is deprecated │  │  with module.instance_edxapp_bucket["pr-1606-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. │  │ (and 3 more similar warnings elsewhere) ╵ ╷ │ Error: Error updating settings for DatabaseUser: PUT https://api.digitalocean.com/v2/databases/41391828-a924-4be3-bfc4-f7774c4763a0/users/pr-35983-139931: 400 (request "d4eb338d-b665-4ff4-b3a1-6692b696d49d") request is missing the following required fields: user_settings │  │  with module.mongodb.digitalocean_database_user.database_users["pr-35983-139931"], │  on database/main.tf line 66, in resource "digitalocean_database_user" "database_users": │  66: resource "digitalocean_database_user" "database_users" { │  ╵ section_end:1753343617:step_script section_start:1753343617:cleanup_file_variables Cleaning up project directory and file based variables section_end:1753343618:cleanup_file_variables ERROR: Job failed: exit code 1