Flaky test: spec/features/projects/tree/tree_show_spec.rb:162
Summary
- gitlab-org/quality/engineering-productivity/master-broken-incidents#908 (closed)
- gitlab-org/quality/engineering-productivity/master-broken-incidents#909 (closed)
Failures:
1) Projects tree ref switcher switches ref to branch
Got 0 failures and 2 other errors:
1.1) Failure/Error: super
Capybara::ElementNotFound:
Unable to find css ".gl-new-dropdown-item[role=\"option\"]"
Timeout (30s) reached while running a waiting Capybara finder.
Consider using a non-waiting finder.
See https://www.cloudbees.com/blog/faster-rails-tests
# ./spec/support/capybara_slow_finder.rb:18:in `synchronize'
# ./spec/support/helpers/listbox_helpers.rb:10:in `select_listbox_item'
# ./spec/features/projects/tree/tree_show_spec.rb:170:in `block (3 levels) in <main>'
# ./spec/spec_helper.rb:509:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:501:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:497:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:497:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:239:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7: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>'
# ------------------
# --- Caused by: ---
# Capybara::ElementNotFound:
# Unable to find css ".gl-new-dropdown-item[role=\"option\"]"
# ./spec/support/capybara_slow_finder.rb:18:in `synchronize'
1.2) Failure/Error: raise JSConsoleError, message
JSConsoleError:
Unexpected browser console output:
security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
webpack-internal:///rP6D 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"
https://www.gravatar.com/avatar/82797019f038ab535a84c6591e7bc936?s=48&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
https://www.gravatar.com/avatar/07e1e9ffdda52d8c519ac5c49929d7dc?s=80&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
https://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
https://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
# ./spec/support/capybara.rb:221:in `block (2 levels) in <main>'
# ./spec/spec_helper.rb:509:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:501:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:497:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:497:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:239:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7: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 1 minute 20 seconds (files took 51.03 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./spec/features/projects/tree/tree_show_spec.rb:162 # Projects tree ref switcher switches ref to branch
Steps to reproduce
bundle exec rspec spec/features/projects/tree/tree_show_spec.rb:162
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.
Edited by Jennifer Li