ee/spec/features/groups/ldap_settings_spec.rb:26 # Edit group settings when Admin allow owners to unlock LDAP membership the user is allow to change the membership lock

Summary

Job #3690230017 failed for 5d0920ef:

  1) Edit group settings when Admin allow owners to unlock LDAP membership the user is allow to change the membership lock
     Got 1 failure and 1 other error:
     1.1) Failure/Error: expect(page).to have_selector('[data-testid="alert-info"]', text: 'LDAP settings updated')
            expected to find css "[data-testid=\"alert-info\"]" but there were no matches
            Timeout (30s) 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/groups/ldap_settings_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/flaky_tests.rb:27: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/2c75f98f3ea6cd6ee75cfbdfbb031388?s=48&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
            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."
            http://127.0.0.1:34061/api/v4/ldap/ldapmain/groups.json?search=&per_page=20&active=true - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
            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/2c75f98f3ea6cd6ee75cfbdfbb031388?s=48&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
            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
            http://127.0.0.1:34061/api/v4/ldap/ldapmain/groups.json?search=&per_page=20&active=true - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
          # ./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/flaky_tests.rb:27: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 16.01 seconds (files took 44.59 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./ee/spec/features/groups/ldap_settings_spec.rb:26 # Edit group settings when Admin allow owners to unlock LDAP membership the user is allow to change the membership lock

edit_group_settings_when_admin_allow_owners_to_unlock_ldap_membership_the_user_is_allow_to_change_the_membership_lock.html

edit_group_settings_when_admin_allow_owners_to_unlock_ldap_membership_the_user_is_allow_to_change_the_membership_lock

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.