Flaky test: ee/spec/features/registrations/email_confirmation_spec.rb[1:5:1] # Email Confirmation identity_verification: true, require_admin_approval_after_user_signup: false, email_confirmation_setting: "soft" confirms identity and signs in successfully
Summary
Master-broken incident: gitlab-org/quality/engineering-productivity/master-broken-incidents#2724 (closed)
Master-broken incident: gitlab-org/quality/engineering-productivity/master-broken-incidents#3017 (closed)
Job #4448227275 failed for bee82efa:
1) Email Confirmation identity_verification: true, require_admin_approval_after_user_signup: false, email_confirmation_setting: "soft" confirms identity and signs in successfully
Failure/Error: expect(amount).to eq(times), failed_message
User user1 (266): email test failed (expected 1, got 0)
# ./spec/support/helpers/email_helpers.rb:28:in `should_email'
# ./ee/spec/features/registrations/email_confirmation_spec.rb:163:in `expect_successful_resend_instructions'
# ./ee/spec/features/registrations/email_confirmation_spec.rb:36:in `block (3 levels) in <main>'
# ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:406:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:402:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:61:in `with_raw_context'
# ./spec/spec_helper.rb:402:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:242:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
# ./spec/support/fast_quarantine.rb:23: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 27.85 seconds (files took 1 minute 33.97 seconds to load)
1 example, 1 failure
Failed examples:
rspec './ee/spec/features/registrations/email_confirmation_spec.rb[1:5:1]' # Email Confirmation identity_verification: true, require_admin_approval_after_user_signup: false, email_confirmation_setting: "soft" confirms identity and signs in successfully
Randomized with seed 47169
Job #4654571244 failed:
1) Email Confirmation identity_verification: false, require_admin_approval_after_user_signup: false, email_confirmation_setting: "soft" confirms identity and signs in successfully
Failure/Error: expect(amount).to eq(times), failed_message
User user1 (285): email test failed (expected 1, got 0)
# ./spec/support/helpers/email_helpers.rb:28:in `should_email'
# ./ee/spec/features/registrations/email_confirmation_spec.rb:165:in `expect_successful_resend_instructions'
# ./ee/spec/features/registrations/email_confirmation_spec.rb:38:in `block (3 levels) in <main>'
# ./spec/spec_helper.rb:442:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:433:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:429:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:66:in `with_raw_context'
# ./spec/spec_helper.rb:429:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:266:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
# ./spec/support/fast_quarantine.rb:23: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 38.09 seconds (files took 1 minute 18.87 seconds to load)
2 examples, 1 failure
Failed examples:
rspec './ee/spec/features/registrations/email_confirmation_spec.rb[1:11:1]' # Email Confirmation identity_verification: false, require_admin_approval_after_user_signup: false, email_confirmation_setting: "soft" confirms identity and signs in successfully
Randomized with seed 17069
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 Kamil Niechajewicz