Flaky spec ./spec/features/action_cable_logging_spec.rb:14 # ActionCable logging adds extra context to logs
Job #578627559 failed for cb30e948:
1) ActionCable logging adds extra context to logs
Failure/Error: expect(ActiveSupport::Notifications).to receive(:instrument).with('subscribe.action_cable', subscription_data)
ActiveSupport::Notifications received :instrument with unexpected arguments
expected: ("subscribe.action_cable", a hash including {:remote_ip => "127.0.0.1", :user_id => 485, :username => "user483", :params => (a hash including {:project_path => "namespace133/project133", :iid => "1"})})
got: ("sql.active_record", {:binds=>[], :cached=>true, :connection=>#<ActiveRecord::ConnectionAdapters::PostgreSQLAdapter:0x0000...gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract/query_cache.rb:134 (lambda)>}) (1 time)
("sql.active_record", {:binds=>[#<ActiveRecord::Relation::QueryAttribute:0x000055f3081c6be0 @name="id", @value_before_type_...gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract/query_cache.rb:134 (lambda)>}) (1 time)
("sql.active_record", {:binds=>[#<ActiveRecord::Relation::QueryAttribute:0x000055f3081c0e20 @name="project_id", @value_befo...gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract/query_cache.rb:134 (lambda)>}) (1 time)
("sql.active_record", {:binds=>[], :cached=>true, :connection=>#<ActiveRecord::ConnectionAdapters::PostgreSQLAdapter:0x0000...gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract/query_cache.rb:134 (lambda)>}) (1 time)
("sql.active_record", {:binds=>[], :cached=>true, :connection=>#<ActiveRecord::ConnectionAdapters::PostgreSQLAdapter:0x0000...gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract/query_cache.rb:134 (lambda)>}) (1 time)
("sql.active_record", {:binds=>[#<ActiveRecord::Relation::QueryAttribute:0x000055f3081a3488 @name="id", @value_before_type_...gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract/query_cache.rb:134 (lambda)>}) (1 time)
("disconnect.action_cable", {:action=>"disconnect", :connection_class=>"ApplicationCable::Connection", "correlation_id"=>"Yd7SvKY...KHTML, like Gecko) HeadlessChrome/73.0.3683.103 Safari/537.36", :user_id=>485, :username=>"user483"}) (1 time)
("endpoint_run_filters.grape", {:endpoint=>#<#<Class:0x000055f2ecf4d258>:0x000055f308480bd8 @inheritable_setting=#<Grape::Util::Inhe...api.rb:58>, #<Proc:0x000055f2ecd7d0e0@/builds/gitlab-org/gitlab/lib/api/api.rb:118>], :type=>:after}) (1 time)