Broken master in spec/workers/email_receiver_worker_spec.rb
Job #1569052167 failed for 2aeef192:
1) EmailReceiverWorker when reply by email is enabled when an error occurs when the error is Gitlab::Email::EmptyEmailError sends out a rejection email
Failure/Error: expect(email).not_to be_nil
expected: not nil
got: nil
# ./spec/workers/email_receiver_worker_spec.rb:36:in `block (5 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:392:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:388:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:388:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:95:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:95:in `block (2 levels) in <top (required)>'
2) EmailReceiverWorker when reply by email is enabled when an error occurs when the error is Gitlab::Email::InvalidAttachment reports the error to the sender
Failure/Error: expect(email).not_to be_nil
expected: not nil
got: nil
# ./spec/workers/email_receiver_worker_spec.rb:63:in `block (5 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:392:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:388:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:388:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:95:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:95:in `block (2 levels) in <top (required)>'
Finished in 26 minutes 2 seconds (files took 51.6 seconds to load)
3547 examples, 2 failures, 10 pending
Failed examples:
rspec ./spec/workers/email_receiver_worker_spec.rb:30 # EmailReceiverWorker when reply by email is enabled when an error occurs when the error is Gitlab::Email::EmptyEmailError sends out a rejection email
rspec ./spec/workers/email_receiver_worker_spec.rb:57 # EmailReceiverWorker when reply by email is enabled when an error occurs when the error is Gitlab::Email::InvalidAttachment reports the error to the sender