Skip to content

Flaky test spec/features/boards/issue_ordering_spec.rb

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 #4233572368 failed for 96532c38:

Failures:
  1) Issue Boards ordering in list using move to position moves to end of list
     Got 0 failures and 2 other errors:
     1.1) Failure/Error: raise "Condition not met: #{condition_name}"
          RuntimeError:
            Condition not met: pending requests complete
          # ./spec/support/helpers/wait_helpers.rb:16:in `block in wait_for'
          # ./spec/support/helpers/wait_helpers.rb:9:in `loop'
          # ./spec/support/helpers/wait_helpers.rb:9:in `wait_for'
          # ./spec/support/helpers/wait_for_requests.rb:36:in `wait_for_all_requests'
          # ./spec/support/capybara_wait_for_all_requests.rb:34:in `click_button'
          # ./spec/features/boards/issue_ordering_spec.rb:148:in `block (4 levels) in <main>'
          # ./spec/features/boards/issue_ordering_spec.rb:144:in `block (3 levels) in <main>'
          # ./spec/spec_helper.rb:419:in `block (3 levels) in <top (required)>'
          # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
          # ./spec/spec_helper.rb:411:in `block (2 levels) in <top (required)>'
          # ./spec/spec_helper.rb:407:in `block (3 levels) in <top (required)>'
          # ./lib/gitlab/application_context.rb:61:in `with_raw_context'
          # ./spec/spec_helper.rb:407:in `block (2 levels) in <top (required)>'
          # ./spec/spec_helper.rb:242: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:39: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:
            http://127.0.0.1:42955/api/graphql - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
          # ./spec/support/capybara.rb:213:in `block (2 levels) in <main>'
          # ./spec/spec_helper.rb:419:in `block (3 levels) in <top (required)>'
          # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
          # ./spec/spec_helper.rb:411:in `block (2 levels) in <top (required)>'
          # ./spec/spec_helper.rb:407:in `block (3 levels) in <top (required)>'
          # ./lib/gitlab/application_context.rb:61:in `with_raw_context'
          # ./spec/spec_helper.rb:407:in `block (2 levels) in <top (required)>'
          # ./spec/spec_helper.rb:242: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:39: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>'
  2) Issue Boards ordering in list using move to position moves to start of list
     Got 0 failures and 2 other errors:
     2.1) Failure/Error: raise "Condition not met: #{condition_name}"
          RuntimeError:
            Condition not met: pending requests complete
          # ./spec/support/helpers/wait_helpers.rb:16:in `block in wait_for'
          # ./spec/support/helpers/wait_helpers.rb:9:in `loop'
          # ./spec/support/helpers/wait_helpers.rb:9:in `wait_for'
          # ./spec/support/helpers/wait_for_requests.rb:36:in `wait_for_all_requests'
          # ./spec/support/capybara_wait_for_all_requests.rb:34:in `click_button'
          # ./spec/features/boards/issue_ordering_spec.rb:161:in `block (4 levels) in <main>'
          # ./spec/features/boards/issue_ordering_spec.rb:157:in `block (3 levels) in <main>'
          # ./spec/spec_helper.rb:419:in `block (3 levels) in <top (required)>'
          # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
          # ./spec/spec_helper.rb:411:in `block (2 levels) in <top (required)>'
          # ./spec/spec_helper.rb:407:in `block (3 levels) in <top (required)>'
          # ./lib/gitlab/application_context.rb:61:in `with_raw_context'
          # ./spec/spec_helper.rb:407:in `block (2 levels) in <top (required)>'
          # ./spec/spec_helper.rb:242: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:39: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>'
     2.2) Failure/Error: raise JSConsoleError, message
          JSConsoleError:
            Unexpected browser console output:
            http://127.0.0.1:42955/api/graphql - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
          # ./spec/support/capybara.rb:213:in `block (2 levels) in <main>'
          # ./spec/spec_helper.rb:419:in `block (3 levels) in <top (required)>'
          # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
          # ./spec/spec_helper.rb:411:in `block (2 levels) in <top (required)>'
          # ./spec/spec_helper.rb:407:in `block (3 levels) in <top (required)>'
          # ./lib/gitlab/application_context.rb:61:in `with_raw_context'
          # ./spec/spec_helper.rb:407:in `block (2 levels) in <top (required)>'
          # ./spec/spec_helper.rb:242: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:39: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 3 minutes 25.8 seconds (files took 37.3 seconds to load)
2 examples, 2 failures
Failed examples:
rspec ./spec/features/boards/issue_ordering_spec.rb:141 # Issue Boards ordering in list using move to position moves to end of list
rspec ./spec/features/boards/issue_ordering_spec.rb:154 # Issue Boards ordering in list using move to position moves to start of list

issue_boards_ordering_in_list_using_move_to_position_moves_to_end_of_list

issue_boards_ordering_in_list_using_move_to_position_moves_to_start_of_list

Edited by Alina Mihaila