-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
None
The following configuration always fails on evergreen:
- Snappy 4.4 Replica Set jruby-9.2
1) Mongo::Address#socket when creating a socket uses the host, not the IP address Failure/Error: @cv.wait(@lock, timeout) ExampleTimeout: execution expired # ./lib/mongo/semaphore.rb:33:in `block in wait' # ./lib/mongo/semaphore.rb:32:in `wait' # ./lib/mongo/cluster.rb:256:in `block in initialize' # ./lib/mongo/cluster.rb:239:in `initialize' # ./lib/mongo/client.rb:552:in `block in initialize' # ./lib/mongo/client.rb:551:in `initialize' # ./spec/support/client_registry.rb:114:in `new_global_client' # ./spec/support/client_registry.rb:86:in `global_client' # ./spec/support/authorization.rb:51:in `block in authorized_client' # ./spec/support/authorization.rb:151:in `block in default_address' # ./spec/mongo/address_spec.rb:213:in `block in address' # ./spec/mongo/address_spec.rb:258:in `block in <main>' # ./spec/lite_spec_helper.rb:131:in `block in /data/mci/1d8596f549e7dc95110d1fedbff4f764/src/spec/lite_spec_helper.rb' # ./spec/lite_spec_helper.rb:130:in `block in /data/mci/1d8596f549e7dc95110d1fedbff4f764/src/spec/lite_spec_helper.rb' # ./spec/lite_spec_helper.rb:113:in `block in /data/mci/1d8596f549e7dc95110d1fedbff4f764/src/spec/lite_spec_helper.rb' # ./spec/support/background_thread_registry.rb:65:in `block in /data/mci/1d8596f549e7dc95110d1fedbff4f764/src/spec/support/background_thread_registry.rb' 2) Mongo::Address#socket :connect_timeout option defaults to 10 Failure/Error: raise msg RuntimeError: Live background threads after closing all clients: #<Mongo::Cluster::PeriodicExecutor:0x799bc760> with options: {auth_source=>admin, max_pool_size=>3, heartbeat_frequency=>20, server_selection_timeout=>30.0, wait_queue_timeout=>6.04, connect_timeout=>2.91, socket_timeout=>5.09, max_idle_time=>100.02, connect=>replica_set, replica_set=>test-rs, compressors=>["snappy"], user=>ruby-test-user, password=><REDACTED>, database=>ruby-driver, max_read_retries=>, read_retry_interval=>, srv_uri=>} in ./spec/mongo/address_spec.rb[1:4:2:1] Mongo::Address#socket when creating a socket uses the host, not the IP address #<Mongo::Server::Monitor:0x688d3e2a> with options: {auth_source=>admin, max_pool_size=>3, heartbeat_frequency=>20, server_selection_timeout=>30.0, wait_queue_timeout=>6.04, connect_timeout=>2.91, socket_timeout=>5.09, max_idle_time=>100.02, connect=>replica_set, replica_set=>test-rs, compressors=>["snappy"], user=>ruby-test-user, password=><REDACTED>, database=>ruby-driver, max_read_retries=>, read_retry_interval=>, srv_uri=>, app_metadata=>#<Mongo::Server::Monitor::AppMetadata:0x4fc2e703>, push_monitor_app_metadata=>#<Mongo::Server::Monitor::AppMetadata:0x6845895c>, heartbeat_interval=>20} in ./spec/mongo/address_spec.rb[1:4:2:1] Mongo::Address#socket when creating a socket uses the host, not the IP address #<Mongo::Server::PushMonitor:0x70a8c0b9> with options: {:auth_source=>"admin", :max_pool_size=>3, :heartbeat_frequency=>20, :server_selection_timeout=>30.0, :wait_queue_timeout=>6.04, :connect_timeout=>2.91, :socket_timeout=>22.91, :max_idle_time=>100.02, :connect=>:replica_set, :replica_set=>"test-rs", :compressors=>["snappy"], :user=>"ruby-test-user", :password=>"password", :database=>"ruby-driver", :max_read_retries=>nil, :read_retry_interval=>nil, :srv_uri=>nil, :app_metadata=>#<Mongo::Server::Monitor::AppMetadata:0x6845895c @server_api=nil, @wrapping_libraries=nil, @purpose=:push_monitor, @platform=nil, @compressors=["snappy"]>, :push_monitor_app_metadata=>#<Mongo::Server::Monitor::AppMetadata:0x6845895c @server_api=nil, @wrapping_libraries=nil, @purpose=:push_monitor, @platform=nil, @compressors=["snappy"]>, :heartbeat_interval=>20, :check_document=>{"hello"=>1}} in ./spec/mongo/address_spec.rb[1:4:2:1] Mongo::Address#socket when creating a socket uses the host, not the IP address #<Mongo::Server::Monitor:0x5b270c33> with options: {auth_source=>admin, max_pool_size=>3, heartbeat_frequency=>20, server_selection_timeout=>30.0, wait_queue_timeout=>6.04, connect_timeout=>2.91, socket_timeout=>5.09, max_idle_time=>100.02, connect=>replica_set, replica_set=>test-rs, compressors=>["snappy"], user=>ruby-test-user, password=><REDACTED>, database=>ruby-driver, max_read_retries=>, read_retry_interval=>, srv_uri=>, app_metadata=>#<Mongo::Server::Monitor::AppMetadata:0x4fc2e703>, push_monitor_app_metadata=>#<Mongo::Server::Monitor::AppMetadata:0x6845895c>, heartbeat_interval=>20} in ./spec/mongo/address_spec.rb[1:4:2:1] Mongo::Address#socket when creating a socket uses the host, not the IP address #<Mongo::Server::Monitor:0x4ca3923> with options: {auth_source=>admin, max_pool_size=>3, heartbeat_frequency=>20, server_selection_timeout=>30.0, wait_queue_timeout=>6.04, connect_timeout=>2.91, socket_timeout=>5.09, max_idle_time=>100.02, connect=>replica_set, replica_set=>test-rs, compressors=>["snappy"], user=>ruby-test-user, password=><REDACTED>, database=>ruby-driver, max_read_retries=>, read_retry_interval=>, srv_uri=>, app_metadata=>#<Mongo::Server::Monitor::AppMetadata:0x4fc2e703>, push_monitor_app_metadata=>#<Mongo::Server::Monitor::AppMetadata:0x6845895c>, heartbeat_interval=>20} in ./spec/mongo/address_spec.rb[1:4:2:1] Mongo::Address#socket when creating a socket uses the host, not the IP address #<Mongo::Server::PushMonitor:0x1313d0b3> with options: {:auth_source=>"admin", :max_pool_size=>3, :heartbeat_frequency=>20, :server_selection_timeout=>30.0, :wait_queue_timeout=>6.04, :connect_timeout=>2.91, :socket_timeout=>22.91, :max_idle_time=>100.02, :connect=>:replica_set, :replica_set=>"test-rs", :compressors=>["snappy"], :user=>"ruby-test-user", :password=>"password", :database=>"ruby-driver", :max_read_retries=>nil, :read_retry_interval=>nil, :srv_uri=>nil, :app_metadata=>#<Mongo::Server::Monitor::AppMetadata:0x6845895c @server_api=nil, @wrapping_libraries=nil, @purpose=:push_monitor, @platform=nil, @compressors=["snappy"]>, :push_monitor_app_metadata=>#<Mongo::Server::Monitor::AppMetadata:0x6845895c @server_api=nil, @wrapping_libraries=nil, @purpose=:push_monitor, @platform=nil, @compressors=["snappy"]>, :heartbeat_interval=>20, :check_document=>{"hello"=>1}} not in an example #<Mongo::Server::PushMonitor:0x2d752f29> with options: {:auth_source=>"admin", :max_pool_size=>3, :heartbeat_frequency=>20, :server_selection_timeout=>30.0, :wait_queue_timeout=>6.04, :connect_timeout=>2.91, :socket_timeout=>22.91, :max_idle_time=>100.02, :connect=>:replica_set, :replica_set=>"test-rs", :compressors=>["snappy"], :user=>"ruby-test-user", :password=>"password", :database=>"ruby-driver", :max_read_retries=>nil, :read_retry_interval=>nil, :srv_uri=>nil, :app_metadata=>#<Mongo::Server::Monitor::AppMetadata:0x6845895c @server_api=nil, @wrapping_libraries=nil, @purpose=:push_monitor, @platform=nil, @compressors=["snappy"]>, :push_monitor_app_metadata=>#<Mongo::Server::Monitor::AppMetadata:0x6845895c @server_api=nil, @wrapping_libraries=nil, @purpose=:push_monitor, @platform=nil, @compressors=["snappy"]>, :heartbeat_interval=>20, :check_document=>{"hello"=>1}} not in an example # ./spec/support/background_thread_registry.rb:54:in `block in verify_empty!' # ./spec/support/background_thread_registry.rb:39:in `verify_empty!' # ./spec/support/common_shortcuts.rb:22:in `block in clean_slate' # ./spec/lite_spec_helper.rb:131:in `block in /data/mci/1d8596f549e7dc95110d1fedbff4f764/src/spec/lite_spec_helper.rb' # ./spec/lite_spec_helper.rb:130:in `block in /data/mci/1d8596f549e7dc95110d1fedbff4f764/src/spec/lite_spec_helper.rb' # ./spec/lite_spec_helper.rb:113:in `block in /data/mci/1d8596f549e7dc95110d1fedbff4f764/src/spec/lite_spec_helper.rb' # ./spec/support/background_thread_registry.rb:65:in `block in /data/mci/1d8596f549e7dc95110d1fedbff4f764/src/spec/support/background_thread_registry.rb'
The configuration is disabled.