Flaky test: spec/features/broadcast_messages_spec.rb[1:3:2:1]' # Broadcast Messages notification type behaves like a dismissable Broadcast Messages hides broadcast message after dismiss
Summary
Master-broken incident: gitlab-org/quality/engineering-productivity/master-broken-incidents#844 (closed).
Job #3735479167 failed for 45d179ed:
Failures:
1) Broadcast Messages notification type behaves like a dismissable Broadcast Messages hides broadcast message after dismiss
Got 1 failure and 1 other error:
Shared Example Group: "a dismissable Broadcast Messages" called from ./spec/features/broadcast_messages_spec.rb:82
1.1) Failure/Error: expect(page).not_to have_content 'SampleMessage'
expected not to find text "SampleMessage" in "SampleMessage GitLab Enterprise Edition Username or email Password Remember me Forgot your password? Sign in Don't have an account yet? Register now Sign in with Google GitHub AliCloud cas3 Bitbucket DingTalk GitLab.com Facebook Twitter Jwt Auth0 Authentiq Salesforce Atlassian Remember me Explore Help About GitLab Community forum English"
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/broadcast_messages_spec.rb:31:in `block (3 levels) in <main>'
# ./spec/spec_helper.rb:511:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:503:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:499:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:499: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>'
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://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:511:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:503:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:499:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:499: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 17.79 seconds (files took 54.58 seconds to load)
3 examples, 1 failure
Failed examples:
rspec './spec/features/broadcast_messages_spec.rb[1:3:2:1]' # Broadcast Messages notification type behaves like a dismissable Broadcast Messages hides broadcast message after dismiss
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.
Edited by Nao Hashizume