Skip to content

Flaky spec: devops_labels_spec

Puzzled here, I'm seeing these two examples behave flaky in spec/lib/devops_labels_spec.rb which seems to occur in CI:

  • rspec './spec/lib/devops_labels_spec.rb[1:7:28:32:1]' # DevopsLabels DevopsLabels::Context#comment_for_intelligent_stage_and_group_labels_inference stage: yes, group: yes (not part of the stage), category: no, single_category: no => No new labels returns a comment with a /label quick action
  • rspec ./spec/lib/devops_labels_spec.rb:494 # DevopsLabels DevopsLabels::Context#has_category_label_for_current_stage? returns true if the resource has a stage label, a corresponding category label, and an unrelated nested "sub-stage" label

https://gitlab.com/gitlab-org/quality/triage-ops/-/jobs/1321502651 failed and succeeded with https://gitlab.com/gitlab-org/quality/triage-ops/-/jobs/1325582661

https://gitlab.com/gitlab-org/quality/triage-ops/-/jobs/1325447429 failed and succeeded with https://gitlab.com/gitlab-org/quality/triage-ops/-/jobs/1325579815

Edited by Kyle Wiebers