[Transient] Multiple specs failing on staging with - Fabrication of QA::Resource::Sandbox using the API failed (400) - Failed to save group {:path=\u003e["has already been taken"]}
Summary
Jobs:
- https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/1139768
- https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/1139769
Failing Specs:
- 3_create/repository/push_over_http_spec.rb:21 # Create Git push over HTTP pushes to a project using a specific Praefect repository storage
- 7_configure/auto_devops/create_project_with_auto_devops_spec.rb:120 # Configure Auto DevOps runs an AutoDevOps pipeline
- 2_plan/issue_boards/focus_mode_spec.rb:16 # Plan Issue board focus mode focuses on issue board
- 2_plan/issue/check_mentions_for_xss_spec.rb:6 # Plan check xss occurence in @mentions in issues mentions a user in a comment
Stack trace
QA::Resource::ApiFabricator::ResourceFabricationFailedError:
Fabrication of QA::Resource::Sandbox using the API failed (400) with `{"message":"Failed to save group {:path=\u003e[\"has already been taken\"]}"}`.
# ./qa/resource/api_fabricator.rb:101:in `api_post'
# ./qa/resource/api_fabricator.rb:33:in `fabricate_via_api!'
# ./qa/resource/sandbox.rb:43:in `rescue in fabricate_via_api!'
# ./qa/resource/sandbox.rb:40:in `fabricate_via_api!'
# ./qa/resource/base.rb:46:in `block (2 levels) in fabricate_via_api!'
# ./qa/resource/base.rb:135:in `log_fabrication'
# ./qa/resource/base.rb:46:in `block in fabricate_via_api!'
# ./qa/resource/base.rb:118:in `do_fabricate!'
# ./qa/resource/base.rb:45:in `fabricate_via_api!'
# ./qa/resource/group.rb:11:in `block in <class:Group>'
# ./qa/resource/base.rb:108:in `instance_exec'
# ./qa/resource/base.rb:108:in `attribute_value'
# ./qa/resource/base.rb:94:in `populate_attribute'
# ./qa/resource/base.rb:161:in `block (2 levels) in attribute'
# ./qa/resource/group.rb:58:in `api_get_path'
# ./qa/resource/api_fabricator.rb:81:in `api_get'
# ./qa/resource/group.rb:52:in `fabricate_via_api!'
# ./qa/resource/base.rb:46:in `block (2 levels) in fabricate_via_api!'
# ./qa/resource/base.rb:135:in `log_fabrication'
# ./qa/resource/base.rb:46:in `block in fabricate_via_api!'
# ./qa/resource/base.rb:118:in `do_fabricate!'
# ./qa/resource/base.rb:45:in `fabricate_via_api!'
# ./qa/resource/base.rb:19:in `fabricate!'
# ./qa/resource/project.rb:25:in `block in <class:Project>'
# ./qa/resource/base.rb:108:in `instance_exec'
# ./qa/resource/base.rb:108:in `attribute_value'
# ./qa/resource/base.rb:94:in `populate_attribute'
# ./qa/resource/base.rb:161:in `block (2 levels) in attribute'
# ./qa/resource/project.rb:29:in `block in <class:Project>'
# ./qa/resource/base.rb:108:in `instance_exec'
# ./qa/resource/base.rb:108:in `attribute_value'
# ./qa/resource/base.rb:94:in `populate_attribute'
# ./qa/resource/base.rb:161:in `block (2 levels) in attribute'
# ./qa/resource/project.rb:84:in `api_get_path'
# ./qa/resource/api_fabricator.rb:81:in `api_get'
# ./qa/resource/project.rb:78:in `fabricate_via_api!'
# ./qa/resource/base.rb:46:in `block (2 levels) in fabricate_via_api!'
# ./qa/resource/base.rb:135:in `log_fabrication'
# ./qa/resource/base.rb:46:in `block in fabricate_via_api!'
# ./qa/resource/base.rb:118:in `do_fabricate!'
# ./qa/resource/base.rb:45:in `fabricate_via_api!'
# ./qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb:8:in `block (2 levels) in <module:QA>'
# ./qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb:15:in `block (2 levels) in <module:QA>'
# --- Caused by: ---
# QA::Resource::ApiFabricator::ResourceNotFoundError:
# Resource at https://staging.gitlab.com/api/v4/groups/gitlab-qa-sandbox-group?private_token=[MASKED] could not be found (500): `{"message":"500 Internal Server Error"}`.
Screenshot / HTML page
Screenshot is irrelevant since this failure is on the API
Possible fixes
Edited by Nailia Iskhakova (OOO)