From d01fce9f8064c0206446a0834088dc0afff8ceaf Mon Sep 17 00:00:00 2001 From: Auto-quarantining bot Date: Tue, 16 Dec 2025 03:16:28 +0000 Subject: [PATCH] Quarantine a flaky test The `` Security::Attributes::CleanupScheduleWorker#handle_event when root namespace has not changed when projects exist under the group schedules workers with nil new_root_namespace_id to update traversal_ids only `` 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/quality/test-failure-issues/-/issues/8478. 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/12448121449) 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 --- .../security/attributes/cleanup_schedule_worker_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ee/spec/workers/security/attributes/cleanup_schedule_worker_spec.rb b/ee/spec/workers/security/attributes/cleanup_schedule_worker_spec.rb index a1811ae6e0f730..903e45ea8b30e7 100644 --- a/ee/spec/workers/security/attributes/cleanup_schedule_worker_spec.rb +++ b/ee/spec/workers/security/attributes/cleanup_schedule_worker_spec.rb @@ -45,7 +45,8 @@ let_it_be(:projects_same_ns) { create_list(:project, 2, group: moved_group) } let(:project_ids_same_ns) { projects_same_ns.pluck(:id) } - it 'schedules workers with nil new_root_namespace_id to update traversal_ids only' do + it 'schedules workers with nil new_root_namespace_id to update traversal_ids only', + quarantine: 'https://gitlab.com/gitlab-org/quality/test-failure-issues/-/issues/8478' do handle_event expect(cleanup_batch_worker).to have_received(:perform_async).with(project_ids_same_ns, nil) -- GitLab