Flaky test ee/spec/features/projects/settings/merge_requests/user_sees_license_check_deprecation_alert_spec.rb:32 # Display license check deprecation alert when user dismisses callout by clicking on the close button hides callout
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 #4027953125 failed for fbd0a426:
Failures:
1) Display license check deprecation alert when user dismisses callout by clicking on the close button hides callout
Got 1 failure and 1 other error:
1.1) Failure/Error: expect(page).not_to have_css('[data-testid="settings-license-check-deprecation-alert"]')
expected not to find visible css "[data-testid=\"settings-license-check-deprecation-alert\"]", found 1 match: "License-Check has been deprecated\nLicense-Check has been deprecated in GitLab 15.9 and is planned for removal in 16.0. You can create a scan result policy to continue enforcing your license approval requirements.\nDismiss\nLearn more"
Timeout (45s) reached while running a waiting Capybara finder.
Consider using a non-waiting finder.
See https://www.cloudbees.com/blog/faster-rails-tests
# ./ee/spec/features/projects/settings/merge_requests/user_sees_license_check_deprecation_alert_spec.rb:43:in `block (3 levels) in <main>'
# ./spec/spec_helper.rb:438:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:430:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:426:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:61:in `with_raw_context'
# ./spec/spec_helper.rb:426: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/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/10fc7f102be8de7657fb4d80898bbfe3?s=48&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
https://www.gravatar.com/avatar/2c75f98f3ea6cd6ee75cfbdfbb031388?s=80&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
https://www.gravatar.com/avatar/4aea8cf834ed91844a2da4ff7ae6b491?s=80&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
https://www.gravatar.com/avatar/82797019f038ab535a84c6591e7bc936?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
security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
https://www.gravatar.com/avatar/10fc7f102be8de7657fb4d80898bbfe3?s=48&d=identicon - Failed to load resource: net::ERR_SOCKET_NOT_CONNECTED
https://www.gravatar.com/avatar/2c75f98f3ea6cd6ee75cfbdfbb031388?s=80&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
https://www.gravatar.com/avatar/4aea8cf834ed91844a2da4ff7ae6b491?s=80&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
https://www.gravatar.com/avatar/82797019f038ab535a84c6591e7bc936?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
# ./spec/support/capybara.rb:221:in `block (2 levels) in <main>'
# ./spec/spec_helper.rb:438:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:430:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:426:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:61:in `with_raw_context'
# ./spec/spec_helper.rb:426: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/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 50.7 seconds (files took 57.7 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./ee/spec/features/projects/settings/merge_requests/user_sees_license_check_deprecation_alert_spec.rb:32 # Display license check deprecation alert when user dismisses callout by clicking on the close button hides callout
Edited by Alina Mihaila