-
Type: Build Failure
-
Resolution: Gone away
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
In https://spruce.mongodb.com/task/mongo_python_driver_serverless__platform~rhel8_auth_ssl~auth_ssl_python_version~3.12_serverless~enabled_test_serverless_fbecc75b370818819d055ca1e5c0edc0d665ef47_23_07_27_16_22_51/logs?execution=0&logtype=all&sortBy=STATUS&sortDir=ASC we see several test failures due to Atlas errors, e.g.
[2023/07/27 17:58:19.484] FAIL: test_errors_during_authentication_are_processed (test_load_balancer.TestLoadBalancerSdamErrorHandling.test_errors_during_authentication_are_processed) [2023/07/27 17:58:19.484] ---------------------------------------------------------------------- [2023/07/27 17:58:19.484] Traceback (most recent call last): [2023/07/27 17:58:19.484] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/test/unified_format.py", line 1334, in run_entity_operation [2023/07/27 17:58:19.484] result = cmd(**dict(arguments)) [2023/07/27 17:58:19.484] ^^^^^^^^^^^^^^^^^^^^^^ [2023/07/27 17:58:19.484] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/pymongo/collection.py", line 677, in insert_one [2023/07/27 17:58:19.484] self._insert_one( [2023/07/27 17:58:19.484] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/pymongo/collection.py", line 617, in _insert_one [2023/07/27 17:58:19.484] self.__database.client._retryable_write(acknowledged, _insert_command, session) [2023/07/27 17:58:19.484] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/pymongo/mongo_client.py", line 1492, in _retryable_write [2023/07/27 17:58:19.484] return self._retry_with_session(retryable, func, s, None) [2023/07/27 17:58:19.484] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2023/07/27 17:58:19.484] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/pymongo/mongo_client.py", line 1359, in _retry_with_session [2023/07/27 17:58:19.484] return self._retry_internal(retryable, func, session, bulk) [2023/07/27 17:58:19.484] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2023/07/27 17:58:19.484] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/pymongo/_csot.py", line 106, in csot_wrapper [2023/07/27 17:58:19.484] return func(self, *args, **kwargs) [2023/07/27 17:58:19.484] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2023/07/27 17:58:19.484] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/pymongo/mongo_client.py", line 1391, in _retry_internal [2023/07/27 17:58:19.484] with self._get_socket(server, session) as sock_info: [2023/07/27 17:58:19.484] File "/opt/python/3.12/lib/python3.12/contextlib.py", line 137, in __enter__ [2023/07/27 17:58:19.484] return next(self.gen) [2023/07/27 17:58:19.484] ^^^^^^^^^^^^^^ [2023/07/27 17:58:19.484] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/pymongo/mongo_client.py", line 1227, in _get_socket [2023/07/27 17:58:19.484] with server.get_socket(handler=err_handler) as sock_info: [2023/07/27 17:58:19.484] File "/opt/python/3.12/lib/python3.12/contextlib.py", line 137, in __enter__ [2023/07/27 17:58:19.484] return next(self.gen) [2023/07/27 17:58:19.484] ^^^^^^^^^^^^^^ [2023/07/27 17:58:19.484] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/pymongo/pool.py", line 1523, in get_socket [2023/07/27 17:58:19.484] sock_info = self._get_socket(handler=handler) [2023/07/27 17:58:19.484] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2023/07/27 17:58:19.484] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/pymongo/pool.py", line 1636, in _get_socket [2023/07/27 17:58:19.484] sock_info = self.connect(handler=handler) [2023/07/27 17:58:19.484] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2023/07/27 17:58:19.484] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/pymongo/pool.py", line 1494, in connect [2023/07/27 17:58:19.484] sock_info.authenticate() [2023/07/27 17:58:19.484] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/pymongo/pool.py", line 988, in authenticate [2023/07/27 17:58:19.484] auth.authenticate(creds, self, reauthenticate=reauthenticate) [2023/07/27 17:58:19.484] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/pymongo/auth.py", line 617, in authenticate [2023/07/27 17:58:19.484] auth_func(credentials, sock_info) [2023/07/27 17:58:19.484] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/pymongo/auth.py", line 522, in _authenticate_default [2023/07/27 17:58:19.484] return _authenticate_scram(credentials, sock_info, "SCRAM-SHA-1") [2023/07/27 17:58:19.484] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2023/07/27 17:58:19.484] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/pymongo/auth.py", line 288, in _authenticate_scram [2023/07/27 17:58:19.484] res = sock_info.command(source, cmd) [2023/07/27 17:58:19.485] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2023/07/27 17:58:19.485] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/pymongo/helpers.py", line 313, in inner [2023/07/27 17:58:19.485] return func(*args, **kwargs) [2023/07/27 17:58:19.485] ^^^^^^^^^^^^^^^^^^^^^ [2023/07/27 17:58:19.485] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/pymongo/pool.py", line 880, in command [2023/07/27 17:58:19.485] return command( [2023/07/27 17:58:19.485] ^^^^^^^^ [2023/07/27 17:58:19.485] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/pymongo/network.py", line 191, in command [2023/07/27 17:58:19.485] helpers._check_command_response( [2023/07/27 17:58:19.485] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/pymongo/helpers.py", line 222, in _check_command_response [2023/07/27 17:58:19.485] raise OperationFailure(errmsg, code, response, max_wire_version) [2023/07/27 17:58:19.485] pymongo.errors.OperationFailure: closed connection due to 'failCommand' failpoint, full error: {'ok': 0, 'errmsg': "closed connection due to 'failCommand' failpoint", 'code': 8000, 'codeName': 'AtlasError'} [2023/07/27 17:58:19.485] During handling of the above exception, another exception occurred: [2023/07/27 17:58:19.485] Traceback (most recent call last): [2023/07/27 17:58:19.485] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/test/unified_format.py", line 1705, in test_case [2023/07/27 17:58:19.485] self.run_scenario(spec) [2023/07/27 17:58:19.485] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/test/unified_format.py", line 1657, in run_scenario [2023/07/27 17:58:19.485] self._run_scenario(spec, uri) [2023/07/27 17:58:19.485] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/test/unified_format.py", line 1682, in _run_scenario [2023/07/27 17:58:19.485] self.run_operations(spec["operations"]) [2023/07/27 17:58:19.485] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/test/unified_format.py", line 1591, in run_operations [2023/07/27 17:58:19.485] self.run_entity_operation(op) [2023/07/27 17:58:19.485] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/test/unified_format.py", line 1341, in run_entity_operation [2023/07/27 17:58:19.485] return self.process_error(exc, expect_error) [2023/07/27 17:58:19.485] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2023/07/27 17:58:19.485] File "/data/mci/5cbffacca509f581a22205a6d8fe0341/src/test/unified_format.py", line 1022, in process_error [2023/07/27 17:58:19.485] self.assertNotIsInstance(exception, PyMongoError) [2023/07/27 17:58:19.485] AssertionError: OperationFailure('closed connection due to \'failCommand\' failpoint, full error: {\'ok\': 0, \'errmsg\': "closed connection due to \'failCommand\' failpoint", \'code\': 8000, \'codeName\': \'AtlasError\'}') is an instance of <class 'pymongo.errors.PyMongoError'>
- related to
-
SERVER-80291 Serverless Proxy is returning 8000 error code on failCommand
- Closed
-
GODRIVER-2945 Fix Failing Serverless Builds
- Closed