Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-3280

Serverless tests failing on 2.18-stable

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.18.3
    • Affects Version/s: 2.18.2
    • Component/s: Tests
    • None

      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!).

            Assignee:
            jamis.buck@mongodb.com Jamis Buck
            Reporter:
            jamis.buck@mongodb.com Jamis Buck
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: