Multiple QA test failures on API Project fabrication in relation to namespaces
Summary
Transient failures in multiple tests:
-
qa/specs/features/ee/browser_ui/13_secure/license_compliance_spec.rb- https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/6131553 -
qa/specs/features/browser_ui/5_package/package_registry/maven_repository_spec.rb- https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/6131378 -
qa/specs/features/ee/browser_ui/6_release/multi-project_pipelines_spec.rb- https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/6131551 -
qa/specs/features/api/1_manage/project_access_token_spec.rb- https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/6131532 -
qa/specs/features/ee/browser_ui/1_manage/project/project_templates_spec.rb- https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/6140413
Similar, less specific PG::Query canceled errors in:
- qa/specs/features/browser_ui/3_create/repository/user_views_commit_diff_patch_spec.rb - https://ops.gitlab.net/gitlab-org/quality/canary/-/jobs/6141102
[UPDATE] While we've seen this in relation to namespaces it's looking more like this is not namespace-specific.
Stack trace
QA::Resource::Errors::ResourceFabricationFailedError:
Fabrication of QA::Resource::Project using the API failed (400) with `{"message":{"base":["PG::QueryCanceled: ERROR: canceling statement due to statement timeout\nCONTEXT: while locking tuple (11250,25) in relation \"namespaces\"\n"]}}`.
Screenshot / HTML page
Possible fixes
Summary from discussions in comments:
-
create_project_namespace_on_project_createFF disabled for production on Jan 27th 6:44 AM CST -
create_project_namespace_on_project_createFF disabled for staging on Jan 27th 7:57 AM CST - Separate bug issue has been created: #351323 (closed)
Edited by Anastasia McDonald