The serverless specs are failing in 2.18-stable, apparently due to protocol changes that the 2.18 stable branch has not implemented. For example:
1) Command monitoring unified spec tests redacted-commands.yml authenticate passes Failure/Error: raise Error::ResultMismatch, "Event count mismatch: expected #{expected_events.length}, actual #{actual_events.length}\nExpected: #{expected_events}\nActual: #{actual_events}" Unified::Error::ResultMismatch: Event count mismatch: expected 1, actual 5 Expected: [{"commandStartedEvent"=>{"commandName"=>"authenticate", "command"=>{"authenticate"=>{"$$exists"=>false}, "mechanism"=>{"$$exists"=>false}, "user"=>{"$$exists"=>false}, "db"=>{"$$exists"=>false}}}}] Actual: [#<{Mongo::Monitoring::Event::CommandStarted admin.saslStart command={}>, #<Mongo::Monitoring::Event::CommandSucceeded:0x000000000ffd4a80 @command_name="saslStart", @database_name="admin", @address=#<Mongo::Address:0x134310760 address=8998-drivertest-lb.3x79d.mongodb-dev.net:27017>, @request_id=1964, @operation_id=1847, @service_id=BSON::ObjectId('6492088af92a15525eba9e76'), @started_event=#<{Mongo::Monitoring::Event::CommandStarted admin.saslStart command={}>, @reply={}, @duration=0.012648533000060525, @server_connection_id=92192>, #<{Mongo::Monitoring::Event::CommandStarted admin.saslContinue command={}>, #<Mongo::Monitoring::Event::CommandSucceeded:0x000000000c269420 @command_name="saslContinue", @database_name="admin", @address=#<Mongo::Address:0x134310760 address=8998-drivertest-lb.3x79d.mongodb-dev.net:27017>, @request_id=1965, @operation_id=1848, @service_id=BSON::ObjectId('6492088af92a15525eba9e76'), @started_event=#<{Mongo::Monitoring::Event::CommandStarted admin.saslContinue command={}>, @reply={}, @duration=0.012876930000061293, @server_connection_id=92192>, #<{Mongo::Monitoring::Event::CommandStarted command-monitoring-tests.authenticate command={}>] # ./spec/runners/unified/assertions.rb:173:in `block in assert_events' # ./spec/runners/unified/assertions.rb:147:in `each' # ./spec/runners/unified/assertions.rb:147:in `assert_events' # ./spec/runners/unified.rb:98:in `block (5 levels) in define_unified_spec_tests' # ./spec/support/macros.rb:12:in `block in config_override' # ./spec/lite_spec_helper.rb:150:in `block (3 levels) in <top (required)>' # ./spec/lite_spec_helper.rb:149:in `block (2 levels) in <top (required)>' # ./spec/lite_spec_helper.rb:129:in `block (2 levels) in <top (required)>'
This appears to be impacting only 2.18-stable; a different serverless issue was impacting master, but has been resolved (hopefully!).