From bc272641785d086fd2ae9351d8276c7c8b6ac546 Mon Sep 17 00:00:00 2001 From: Auto-quarantining bot Date: Thu, 11 Sep 2025 03:17:36 +0000 Subject: [PATCH] Quarantine a flaky test The `` Gitlab::LegacyGithubImport::UserFormatter#gitlab_id when the user has been deleted on Gitea when importing into a personal namespace returns the gitlab ghost user id without creating a source user `` test matches one of the following conditions: 1. has either ~"flakiness::1" or ~"flakiness::2" label set, which means the number of reported failures is at or above 95 percentile, indicating unusually high failure count. 2. has ~"severity::1" label set, which means the number of reported failures [spiked and exceeded its daily threshold](https://gitlab.com/gitlab-org/ruby/gems/gitlab_quality-test_tooling/-/blob/c9bc10536b1f8d2d4a03c3e0b6099a40fe67ad26/lib/gitlab_quality/test_tooling/report/concerns/issue_reports.rb#L51). This MR quarantines the test. This is a discussion starting point to let the responsible group know about the flakiness so that they can take action: - accept the merge request and schedule the associated issue to improve the test - close the merge request in favor of another merge request to delete the test Please follow the [Flaky tests management process](https://handbook.gitlab.com/handbook/engineering/testing/flaky-tests/#flaky-tests-management-process) to help us increase `master` stability. Please let us know your feedback in the [Engineering Productivity issue tracker](https://gitlab.com/gitlab-org/quality/engineering-productivity/team/-/issues). Related to https://gitlab.com/gitlab-org/gitlab/-/issues/565868. This change was generated by [gitlab-housekeeper](https://gitlab.com/gitlab-org/gitlab/-/tree/master/gems/gitlab-housekeeper) in [CI](https://gitlab.com/gitlab-org/quality/engineering-productivity/team/-/jobs/11314933075) using the `Keeps::QuarantineFlakyTests` keep. To provide feedback on your experience with `gitlab-housekeeper` please create an issue with the label ~"GitLab Housekeeper" and consider pinging the author of this keep. Changelog: other --- spec/lib/gitlab/legacy_github_import/user_formatter_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/lib/gitlab/legacy_github_import/user_formatter_spec.rb b/spec/lib/gitlab/legacy_github_import/user_formatter_spec.rb index 8bef19f2a8f21f..4e61d3610c9c9b 100644 --- a/spec/lib/gitlab/legacy_github_import/user_formatter_spec.rb +++ b/spec/lib/gitlab/legacy_github_import/user_formatter_spec.rb @@ -156,7 +156,8 @@ project.update!(namespace: user_namespace) end - it 'returns the gitlab ghost user id without creating a source user' do + it 'returns the gitlab ghost user id without creating a source user', + quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/565868' do expect { user_formatter.gitlab_id }.not_to change { Import::SourceUser.count } expect(user_formatter.gitlab_id).to eq(gitlab_ghost_user.id) end -- GitLab