Flaky test spec/controllers/projects/raw_controller_spec.rb:104 # Projects::RawController GET #show when the endpoint receives requests above the limit logs the event on auth.log
Job #1790907410 failed for 65e9ffd6:
1) Projects::RawController GET #show when the endpoint receives requests above the limit logs the event on auth.log
Failure/Error: expect(Gitlab::AuthLogger).to receive(:error).with(attributes).once
(Gitlab::AuthLogger (class)).error({:env=>:raw_blob_request_limit, :message=>"Application_Rate_Limiter_Request", :path=>"/namespace355/project472/-/raw/master/README.md", :remote_ip=>"0.0.0.0", :request_method=>"GET"})
expected: 1 time with arguments: ({:env=>:raw_blob_request_limit, :message=>"Application_Rate_Limiter_Request", :path=>"/namespace355/project472/-/raw/master/README.md", :remote_ip=>"0.0.0.0", :request_method=>"GET"})
received: 0 times
# ./spec/controllers/projects/raw_controller_spec.rb:113:in `block (4 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/redis.rb:45: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 45 minutes 19 seconds (files took 1 minute 5.1 seconds to load)
3588 examples, 1 failure, 5 pending
Failed examples:
rspec ./spec/controllers/projects/raw_controller_spec.rb:104 # Projects::RawController GET #show when the endpoint receives requests above the limit logs the event on auth.log