Flaky test ee/spec/features/account_recovery_regular_check_spec.rb:89 # Account recovery regular check callout when signed in when user has two-factor authentication enabled hides callout on next session if user dismissed it
Summary
Job #3067789051 failed for 74dc7d59:
1) Account recovery regular check callout when signed in when user has two-factor authentication enabled hides callout on next session if user dismissed it
Got 1 failure and 1 other error:
1.1) Failure/Error: expect(page).not_to have_content(message)
expected not to find text "Ensure you have two-factor authentication recovery codes stored in a safe place." in "Skip to content GitLab / Help Ensure you have two-factor authentication recovery codes stored in a safe place. Learn more. Manage two-factor authentication To-Do List Your To-Do List shows what to work on next When an issue or merge request is assigned to you, or when you receive a @mention in a comment, this automatically triggers a new item in your To-Do List. It's how you always know what to work on next."
# ./ee/spec/features/account_recovery_regular_check_spec.rb:99:in `block (4 levels) in <main>'
# ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:407:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:403:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:58:in `with_raw_context'
# ./spec/spec_helper.rb:403:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106: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
http://127.0.0.1:33831/dashboard/todos - Clear-Site-Data header on 'http://127.0.0.1:33831/users/sign_out': Unrecognized type: "*".
http://127.0.0.1:33831/dashboard/todos - Clear-Site-Data header on 'http://127.0.0.1:33831/users/sign_out': No recognized types specified.
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
webpack-internal:///VLQS 4:42 Uncaught TypeError: Cannot read properties of null (reading 'classList')
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
webpack-internal:///VLQS 4:42 Uncaught TypeError: Cannot read properties of null (reading 'classList')
http://127.0.0.1:33831/assets/snowplow/sp-871a2a8782c3dbf48f9f2bcc8642417934befe14cbfd7922f7e80e90d4cfe8f9.js 39 Refused to connect to 'https://localhost/com.snowplowanalytics.snowplow/tp2' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
webpack-internal:///VLQS 4:42 Uncaught TypeError: Cannot read properties of null (reading 'classList')
security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
webpack-internal:///hc2E 128:20 "Popper: CSS \"margin\" styles cannot be used to apply padding between the popper and its reference element or boundary. To replicate margin, use the `offset` modifier, as well as the `padding` option in the `preventOverflow` and `flip` modifiers."
https://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
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:206:in `block (2 levels) in <main>'
# ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:407:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:403:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:58:in `with_raw_context'
# ./spec/spec_helper.rb:403:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <main>'
Finished in 2 minutes 30.7 seconds (files took 1 minute 11.61 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./ee/spec/features/account_recovery_regular_check_spec.rb:89 # Account recovery regular check callout when signed in when user has two-factor authentication enabled hides callout on next session if user dismissed it
Steps to reproduce
Proposed Resolution
Please refer to the Resolution guidance to learn more about resolution of broken master.