Flaky test spec/features/issuables/issuable_list_spec.rb:51
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 #3845223474 failed for 9d1016d2:
Failures:
1) issuable list displays a warning if counting the number of issues times out
Got 1 failure and 1 other error:
1.1) Failure/Error: expect(page).to have_text('Open Closed All')
expected to find text "Open Closed All" in "Skip to content GitLab / Help P project2 Project information Issues 3 List Boards Service Desk Milestones CI/CD Security & Compliance Deployments Packages and registries Infrastructure Monitor Analytics Wiki Snippets Collapse sidebar Sidney Jones15 project2 Issues Open 3 Closed 0 All 3 Import issues Edit issues New issue Toggle history Created date My title 26 Issue #3 · created just now by Sidney Jones16 1 1 2 updated just now My title 23 Issue #2 · created just now by Sidney Jones16 1 1 2 updated just now My title 20 Issue #1 · created just now by Sidney Jones16 1 1 1 2 updated just now"
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/features/issuables/issuable_list_spec.rb:56:in `block (2 levels) in <main>'
# ./spec/spec_helper.rb:505:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:497:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:493:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:493:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:241: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>'
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'.
https://www.gravatar.com/avatar/611cced270e17d59c17d32af607cfe09?s=48&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
https://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
webpack-internal:///OCLu 17:27 "[apollo-cache-persist]" "Persisted cache of size 3936 characters"
# ./spec/support/capybara.rb:221:in `block (2 levels) in <main>'
# ./spec/spec_helper.rb:505:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:497:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:493:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:493:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:241: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 23.53 seconds (files took 43.48 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./spec/features/issuables/issuable_list_spec.rb:51 # issuable list displays a warning if counting the number of issues times out
[TEST PROF INFO] Time spent in factories: 00:09.539 (11.18% of total time)
Failed to write to log, write log/workhorse-test.log: file already closed
Uploading artifacts for failed job
Edited by Alina Mihaila