Skip to content

Multiple QA test failures on API Project fabrication in relation to namespaces

Summary

Transient failures in multiple tests:

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_create FF disabled for production on Jan 27th 6:44 AM CST
  • create_project_namespace_on_project_create FF disabled for staging on Jan 27th 7:57 AM CST
  • Separate bug issue has been created: #351323 (closed)
Edited by Anastasia McDonald