Flaky test ee/spec/features/projects/work_items/okr_spec.rb:101 # OKR for objective behaves like work items assignees successfully assigns the current user by searching
Summary
Steps to reproduce
Please refer to Flaky tests documentation to learn more about how to reproduce them.
Proposed Resolution
Please refer to the Resolution guidance to learn more about resolution of broken master.
Once the flaky failure has been fixed on the default branch, open merge requests to cherry-pick the fix to the active stable branches.
Job #4352425377 failed for 4762114e:
Failures:
1) OKR for objective behaves like work items assignees successfully assigns the current user by searching
Got 1 failure and 1 other error:
Shared Example Group: "work items assignees" called from ./ee/spec/features/projects/work_items/okr_spec.rb:101
1.1) Failure/Error: expect(work_item.assignees).to include(user)
expected #<ActiveRecord::Associations::CollectionProxy [#<User id:429 @user6>]> to include #<User id:428 @user5>
Diff:
@@ -1 +1 @@
-[#<User id:428 @user5>]
+[#<User id:429 @user6>]
# ./spec/support/shared_examples/features/work_items_shared_examples.rb:151:in `block (2 levels) in <main>'
# ./spec/spec_helper.rb:425:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:416:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:412:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:61:in `with_raw_context'
# ./spec/spec_helper.rb:412:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:243:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
# ./spec/support/fast_quarantine.rb:23:in `block (2 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <main>'
1.2) Failure/Error: raise JSConsoleError, message
JSConsoleError:
Unexpected browser console output:
https://www.gravatar.com/avatar/63d45fecbe9d16b8937e1530b6b809c5?s=80&d=identicon - Failed to load resource: net::ERR_SOCKET_NOT_CONNECTED
# ./spec/support/capybara.rb:216:in `block (2 levels) in <main>'
# ./spec/spec_helper.rb:425:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:416:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:412:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:61:in `with_raw_context'
# ./spec/spec_helper.rb:412:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:243:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
# ./spec/support/fast_quarantine.rb:23:in `block (2 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <main>'
Finished in 33.06 seconds (files took 50.79 seconds to load)
2 examples, 1 failure
Failed examples:
rspec ./ee/spec/features/projects/work_items/okr_spec.rb:101 # OKR for objective behaves like work items assignees successfully assigns the current user by searching