-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Tests
-
None
[2018/12/06 16:36:10.522] [2018/12/06 16:33:08.160] test_failover (test_mongos_load_balancing.TestMongosLoadBalancing) ... Exception in thread Thread-277: [2018/12/06 16:33:08.160] Traceback (most recent call last): [2018/12/06 16:33:08.160] File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner [2018/12/06 16:33:08.160] self.run() [2018/12/06 16:33:08.160] File "/usr/lib/python2.7/threading.py", line 754, in run [2018/12/06 16:33:08.160] self.__target(*self.__args, **self.__kwargs) [2018/12/06 16:33:08.160] File "/data/mci/f05e6bda666f8e17cf0ae655b32d9893/src/test/test_mongos_load_balancing.py", line 125, in f [2018/12/06 16:33:08.160] client.db.command('ismaster') [2018/12/06 16:33:08.160] File "/data/mci/f05e6bda666f8e17cf0ae655b32d9893/src/pymongo/database.py", line 611, in command [2018/12/06 16:33:08.160] read_preference, session) as (sock_info, slave_ok): [2018/12/06 16:33:08.160] File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__ [2018/12/06 16:33:08.160] return self.gen.next() [2018/12/06 16:33:08.160] File "/data/mci/f05e6bda666f8e17cf0ae655b32d9893/src/pymongo/mongo_client.py", line 1151, in _socket_for_reads [2018/12/06 16:33:08.160] with self._get_socket(server) as sock_info: [2018/12/06 16:33:08.160] File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__ [2018/12/06 16:33:08.160] return self.gen.next() [2018/12/06 16:33:08.160] File "/data/mci/f05e6bda666f8e17cf0ae655b32d9893/src/pymongo/mongo_client.py", line 1080, in _get_socket [2018/12/06 16:33:08.160] with server.get_socket(self.__all_credentials) as sock_info: [2018/12/06 16:33:08.160] File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__ [2018/12/06 16:33:08.160] return self.gen.next() [2018/12/06 16:33:08.160] File "/data/mci/f05e6bda666f8e17cf0ae655b32d9893/src/test/pymongo_mocks.py", line 47, in get_socket [2018/12/06 16:33:08.160] raise AutoReconnect('mock error') [2018/12/06 16:33:08.160] AutoReconnect: mock error [2018/12/06 16:33:08.164] FAIL . . . . [2018/12/06 16:36:10.522] FAIL: test_failover (test_mongos_load_balancing.TestMongosLoadBalancing) [2018/12/06 16:36:10.522] ---------------------------------------------------------------------- [2018/12/06 16:36:10.522] Traceback (most recent call last): [2018/12/06 16:36:10.522] File "/data/mci/f05e6bda666f8e17cf0ae655b32d9893/src/test/test_mongos_load_balancing.py", line 136, in test_failover [2018/12/06 16:36:10.522] self.assertEqual(nthreads, len(passed)) [2018/12/06 16:36:10.522] AssertionError: 10 != 9
This could be similar to PYTHON-1178.
- related to
-
PYTHON-1178 Test failure - test_mongos_load_balancing.TestMongosLoadBalancing.test_local_threshold
- Closed