[Bug] Failure in ee/browser_ui/2_plan/epic/epics_management_spec.rb | expected #has_system_note?("added issue")
Summary
reliable test blocking deployment, incident: gitlab-com/gl-infra/production#5032 (closed)
Canary: https://ops.gitlab.net/gitlab-org/quality/canary/-/jobs/4217341
It seems that the failure appeared in 14.1-66a08fc7795
. By comparing the last successful job and the first failure diff https://gitlab.com/gitlab-org/security/gitlab/-/compare/d1fbc9e1ce7...66a08fc7795?from_project_id=15642544, it seems that there was this MR that may be related to this problem - !64524 (merged).
Steps to reproduce
- Enable Canary
- Add epic to an issue
- Navigate to the epic and see that there is no note that the issue has been added.
Stack trace
Failures:
1) Plan Epics Management Resources created via API adds/removes issue to/from epic using quick actions
Failure/Error: expect(show).to have_system_note('added issue')
expected #has_system_note?("added issue") to return true, got false
# ./qa/specs/features/ee/browser_ui/2_plan/epic/epics_management_spec.rb:85:in `block (5 levels) in <module:QA>'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/specs/features/ee/browser_ui/2_plan/epic/epics_management_spec.rb:84:in `block (4 levels) in <module:QA>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# ./spec/spec_helper.rb:81:in `block (2 levels) in <top (required)>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
# ./qa/specs/runner.rb:75:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
Screenshot / HTML page
Possible fixes
Edited by Nailia Iskhakova