Flaky tests ee/spec/features/groups/saml_providers_spec.rb
Job #1797955997 failed for 7c455246:
1) SAML provider settings settings with existing SAML provider displays user login URL
Failure/Error: sign_in(user)
ActiveRecord::RecordNotFound:
Couldn't find User with 'id'=344
# ./ee/spec/features/groups/saml_providers_spec.rb:39:in `block (3 levels) in <top (required)>'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/devise_helpers.rb:34:in `with_omniauth_full_host'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:414:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/database/query_analyzer.rb:42:in `within'
# ./spec/support/database/query_analyzer.rb:9:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
2) SAML provider settings settings with existing SAML provider updates the enforced sso setting
Failure/Error: sign_in(user)
ActiveRecord::RecordNotFound:
Couldn't find User with 'id'=344
# ./ee/spec/features/groups/saml_providers_spec.rb:39:in `block (3 levels) in <top (required)>'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/devise_helpers.rb:34:in `with_omniauth_full_host'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:414:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/database/query_analyzer.rb:42:in `within'
# ./spec/support/database/query_analyzer.rb:9:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
3) SAML provider settings settings with existing SAML provider enforced_group_managed_accounts enabled updates the enforced_group_managed_accounts flag
Failure/Error: sign_in(user)
ActiveRecord::RecordNotFound:
Couldn't find User with 'id'=344
# ./ee/spec/features/groups/saml_providers_spec.rb:39:in `block (3 levels) in <top (required)>'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/devise_helpers.rb:34:in `with_omniauth_full_host'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:414:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/database/query_analyzer.rb:42:in `within'
# ./spec/support/database/query_analyzer.rb:9:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
4) SAML provider settings settings with existing SAML provider enforced_group_managed_accounts enabled updates the prohibited_outer_forks flag
Failure/Error: sign_in(user)
ActiveRecord::RecordNotFound:
Couldn't find User with 'id'=344
# ./ee/spec/features/groups/saml_providers_spec.rb:39:in `block (3 levels) in <top (required)>'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/devise_helpers.rb:34:in `with_omniauth_full_host'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:414:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/database/query_analyzer.rb:42:in `within'
# ./spec/support/database/query_analyzer.rb:9:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
5) SAML provider settings settings with existing SAML provider enforced_group_managed_accounts disabled does not render toggles
Failure/Error: sign_in(user)
ActiveRecord::RecordNotFound:
Couldn't find User with 'id'=344
# ./ee/spec/features/groups/saml_providers_spec.rb:39:in `block (3 levels) in <top (required)>'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/devise_helpers.rb:34:in `with_omniauth_full_host'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:414:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/database/query_analyzer.rb:42:in `within'
# ./spec/support/database/query_analyzer.rb:9:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
6) SAML provider settings settings test button displays XML validation errors
Failure/Error: sign_in(user)
ActiveRecord::RecordNotFound:
Couldn't find User with 'id'=344
# ./ee/spec/features/groups/saml_providers_spec.rb:39:in `block (3 levels) in <top (required)>'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/devise_helpers.rb:34:in `with_omniauth_full_host'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:414:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/database/query_analyzer.rb:42:in `within'
# ./spec/support/database/query_analyzer.rb:9:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
7) SAML provider settings settings test button displays SAML Response XML
Failure/Error: sign_in(user)
ActiveRecord::RecordNotFound:
Couldn't find User with 'id'=344
# ./ee/spec/features/groups/saml_providers_spec.rb:39:in `block (3 levels) in <top (required)>'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/devise_helpers.rb:34:in `with_omniauth_full_host'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:414:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/database/query_analyzer.rb:42:in `within'
# ./spec/support/database/query_analyzer.rb:9:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
8) SAML provider settings #sso with no SAML provider configured acts as if the group was not found
Failure/Error: visit sso_group_saml_providers_path(group)
ActiveRecord::RecordNotFound:
Couldn't find Group with 'id'=591
# ./ee/spec/features/groups/saml_providers_spec.rb:202:in `block (4 levels) in <top (required)>'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/devise_helpers.rb:34:in `with_omniauth_full_host'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:414:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/database/query_analyzer.rb:42:in `within'
# ./spec/support/database/query_analyzer.rb:9:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
9) SAML provider settings #sso with no SAML provider configured as owner redirects to settings page with warning
Failure/Error: sign_in(user)
ActiveRecord::RecordNotFound:
Couldn't find User with 'id'=344
# ./ee/spec/features/groups/saml_providers_spec.rb:209:in `block (5 levels) in <top (required)>'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/devise_helpers.rb:34:in `with_omniauth_full_host'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:414:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/database/query_analyzer.rb:42:in `within'
# ./spec/support/database/query_analyzer.rb:9:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
10) SAML provider settings #sso with existing SAML provider when not signed in shows the sso page so user can sign in
Failure/Error: let!(:saml_provider) { create(:saml_provider, group: group) }
ActiveRecord::RecordNotFound:
Couldn't find Group with 'id'=591
# ./ee/spec/features/groups/saml_providers_spec.rb:222:in `block (4 levels) in <top (required)>'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/devise_helpers.rb:34:in `with_omniauth_full_host'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:414:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/database/query_analyzer.rb:42:in `within'
# ./spec/support/database/query_analyzer.rb:9:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
11) SAML provider settings #sso with existing SAML provider when signed in shows warning that linking accounts authorizes control over sign in
Failure/Error: let!(:saml_provider) { create(:saml_provider, group: group) }
ActiveRecord::RecordNotFound:
Couldn't find Group with 'id'=591
# ./ee/spec/features/groups/saml_providers_spec.rb:222:in `block (4 levels) in <top (required)>'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/devise_helpers.rb:34:in `with_omniauth_full_host'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:414:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/database/query_analyzer.rb:42:in `within'
# ./spec/support/database/query_analyzer.rb:9:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
12) SAML provider settings #sso with existing SAML provider when signed in Authorize/link button redirects to auth flow
Failure/Error: let!(:saml_provider) { create(:saml_provider, group: group) }
ActiveRecord::RecordNotFound:
Couldn't find Group with 'id'=591
# ./ee/spec/features/groups/saml_providers_spec.rb:222:in `block (4 levels) in <top (required)>'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/devise_helpers.rb:34:in `with_omniauth_full_host'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:414:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/database/query_analyzer.rb:42:in `within'
# ./spec/support/database/query_analyzer.rb:9:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
13) SAML provider settings #sso with existing SAML provider when signed in with linked account sign in button redirects to auth flow
Failure/Error: let!(:saml_provider) { create(:saml_provider, group: group) }
ActiveRecord::RecordNotFound:
Couldn't find Group with 'id'=591
# ./ee/spec/features/groups/saml_providers_spec.rb:222:in `block (4 levels) in <top (required)>'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/devise_helpers.rb:34:in `with_omniauth_full_host'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:414:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/database/query_analyzer.rb:42:in `within'
# ./spec/support/database/query_analyzer.rb:9:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
14) SAML provider settings #sso with existing SAML provider when user has access locked warns user that their account is locked
Failure/Error: let!(:saml_provider) { create(:saml_provider, group: group) }
ActiveRecord::RecordNotFound:
Couldn't find Group with 'id'=591
# ./ee/spec/features/groups/saml_providers_spec.rb:222:in `block (4 levels) in <top (required)>'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/devise_helpers.rb:34:in `with_omniauth_full_host'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:414:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/database/query_analyzer.rb:42:in `within'
# ./spec/support/database/query_analyzer.rb:9:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
15) SAML provider settings #sso with existing SAML provider when user has access locked with 2FA warns user their account is locked
Failure/Error: let!(:saml_provider) { create(:saml_provider, group: group) }
ActiveRecord::RecordNotFound:
Couldn't find Group with 'id'=591
# ./ee/spec/features/groups/saml_providers_spec.rb:222:in `block (4 levels) in <top (required)>'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/devise_helpers.rb:34:in `with_omniauth_full_host'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:414:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/database/query_analyzer.rb:42:in `within'
# ./spec/support/database/query_analyzer.rb:9:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
16) SAML provider settings #sso with existing SAML provider for a private group when signed in displays sign in button
Failure/Error: sign_in(user)
ActiveRecord::RecordNotFound:
Couldn't find User with 'id'=344
# ./ee/spec/features/groups/saml_providers_spec.rb:325:in `block (6 levels) in <top (required)>'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/devise_helpers.rb:34:in `with_omniauth_full_host'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:414:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/database/query_analyzer.rb:42:in `within'
# ./spec/support/database/query_analyzer.rb:9:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
17) SAML provider settings #sso with existing SAML provider for a private group when signed in doesn't leak group information
Failure/Error: sign_in(user)
ActiveRecord::RecordNotFound:
Couldn't find User with 'id'=344
# ./ee/spec/features/groups/saml_providers_spec.rb:325:in `block (6 levels) in <top (required)>'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/devise_helpers.rb:34:in `with_omniauth_full_host'
# ./ee/spec/features/groups/saml_providers_spec.rb:21:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:414:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/database/query_analyzer.rb:42:in `within'
# ./spec/support/database/query_analyzer.rb:9:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
Finished in 24 minutes 16 seconds (files took 44.13 seconds to load)
372 examples, 17 failures
Failed examples:
rspec ./ee/spec/features/groups/saml_providers_spec.rb:106 # SAML provider settings settings with existing SAML provider displays user login URL
rspec ./ee/spec/features/groups/saml_providers_spec.rb:115 # SAML provider settings settings with existing SAML provider updates the enforced sso setting
rspec ./ee/spec/features/groups/saml_providers_spec.rb:130 # SAML provider settings settings with existing SAML provider enforced_group_managed_accounts enabled updates the enforced_group_managed_accounts flag
rspec ./ee/spec/features/groups/saml_providers_spec.rb:138 # SAML provider settings settings with existing SAML provider enforced_group_managed_accounts enabled updates the prohibited_outer_forks flag
rspec ./ee/spec/features/groups/saml_providers_spec.rb:149 # SAML provider settings settings with existing SAML provider enforced_group_managed_accounts disabled does not render toggles
rspec ./ee/spec/features/groups/saml_providers_spec.rb:179 # SAML provider settings settings test button displays XML validation errors
rspec ./ee/spec/features/groups/saml_providers_spec.rb:189 # SAML provider settings settings test button displays SAML Response XML
rspec ./ee/spec/features/groups/saml_providers_spec.rb:201 # SAML provider settings #sso with no SAML provider configured acts as if the group was not found
rspec ./ee/spec/features/groups/saml_providers_spec.rb:212 # SAML provider settings #sso with no SAML provider configured as owner redirects to settings page with warning
rspec ./ee/spec/features/groups/saml_providers_spec.rb:225 # SAML provider settings #sso with existing SAML provider when not signed in shows the sso page so user can sign in
rspec ./ee/spec/features/groups/saml_providers_spec.rb:239 # SAML provider settings #sso with existing SAML provider when signed in shows warning that linking accounts authorizes control over sign in
rspec ./ee/spec/features/groups/saml_providers_spec.rb:247 # SAML provider settings #sso with existing SAML provider when signed in Authorize/link button redirects to auth flow
rspec ./ee/spec/features/groups/saml_providers_spec.rb:264 # SAML provider settings #sso with existing SAML provider when signed in with linked account sign in button redirects to auth flow
rspec ./ee/spec/features/groups/saml_providers_spec.rb:282 # SAML provider settings #sso with existing SAML provider when user has access locked warns user that their account is locked
rspec ./ee/spec/features/groups/saml_providers_spec.rb:295 # SAML provider settings #sso with existing SAML provider when user has access locked with 2FA warns user their account is locked
rspec ./ee/spec/features/groups/saml_providers_spec.rb:330 # SAML provider settings #sso with existing SAML provider for a private group when signed in displays sign in button
rspec ./ee/spec/features/groups/saml_providers_spec.rb:338 # SAML provider settings #sso with existing SAML provider for a private group when signed in doesn't leak group information