-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
ERROR: test_reauthenticate_succeeds_bulk_write (_main_.TestAuthOIDC)
[2023/08/04 20:41:10.079] ====================================================================== [2023/08/04 20:41:10.079] ERROR: test_reauthenticate_succeeds_bulk_write (__main__.TestAuthOIDC) [2023/08/04 20:41:10.079] ---------------------------------------------------------------------- [2023/08/04 20:41:10.079] Traceback (most recent call last): [2023/08/04 20:41:10.079] File "/data/mci/59c40737a6c7736cc9950b9f62bff389/src/test/auth_aws/test_auth_oidc.py", line 562, in test_reauthenticate_succeeds_bulk_write [2023/08/04 20:41:10.079] client.test.test.bulk_write([InsertOne({})]) [2023/08/04 20:41:10.079] File "/data/mci/59c40737a6c7736cc9950b9f62bff389/src/pymongo/_csot.py", line 106, in csot_wrapper [2023/08/04 20:41:10.079] return func(self, *args, **kwargs) [2023/08/04 20:41:10.079] File "/data/mci/59c40737a6c7736cc9950b9f62bff389/src/pymongo/collection.py", line 590, in bulk_write [2023/08/04 20:41:10.079] bulk_api_result = blk.execute(write_concern, session) [2023/08/04 20:41:10.079] File "/data/mci/59c40737a6c7736cc9950b9f62bff389/src/pymongo/bulk.py", line 580, in execute [2023/08/04 20:41:10.079] return self.execute_command(generator, write_concern, session) [2023/08/04 20:41:10.079] File "/data/mci/59c40737a6c7736cc9950b9f62bff389/src/pymongo/bulk.py", line 447, in execute_command [2023/08/04 20:41:10.079] client._retry_with_session(self.is_retryable, retryable_bulk, s, self) [2023/08/04 20:41:10.079] File "/data/mci/59c40737a6c7736cc9950b9f62bff389/src/pymongo/mongo_client.py", line 1411, in _retry_with_session [2023/08/04 20:41:10.079] return self._retry_internal(retryable, func, session, bulk) [2023/08/04 20:41:10.079] File "/data/mci/59c40737a6c7736cc9950b9f62bff389/src/pymongo/_csot.py", line 106, in csot_wrapper [2023/08/04 20:41:10.079] return func(self, *args, **kwargs) [2023/08/04 20:41:10.079] File "/data/mci/59c40737a6c7736cc9950b9f62bff389/src/pymongo/mongo_client.py", line 1458, in _retry_internal [2023/08/04 20:41:10.079] return func(session, conn, retryable) [2023/08/04 20:41:10.079] File "/data/mci/59c40737a6c7736cc9950b9f62bff389/src/pymongo/bulk.py", line 435, in retryable_bulk [2023/08/04 20:41:10.079] self._execute_command( [2023/08/04 20:41:10.079] File "/data/mci/59c40737a6c7736cc9950b9f62bff389/src/pymongo/bulk.py", line 381, in _execute_command [2023/08/04 20:41:10.079] result, to_send = bwc.execute(cmd, ops, client) [2023/08/04 20:41:10.079] File "/data/mci/59c40737a6c7736cc9950b9f62bff389/src/pymongo/message.py", line 967, in execute [2023/08/04 20:41:10.079] result = self.write_command(cmd, request_id, msg, to_send) [2023/08/04 20:41:10.079] File "/data/mci/59c40737a6c7736cc9950b9f62bff389/src/pymongo/helpers.py", line 314, in inner [2023/08/04 20:41:10.079] return func(*args, **kwargs) [2023/08/04 20:41:10.079] File "/data/mci/59c40737a6c7736cc9950b9f62bff389/src/pymongo/message.py", line 1061, in write_command [2023/08/04 20:41:10.079] reply = self.conn.write_command(request_id, msg, self.codec) [2023/08/04 20:41:10.079] File "/data/mci/59c40737a6c7736cc9950b9f62bff389/src/pymongo/pool.py", line 970, in write_command [2023/08/04 20:41:10.079] helpers._check_command_response(result, self.max_wire_version) [2023/08/04 20:41:10.079] File "/data/mci/59c40737a6c7736cc9950b9f62bff389/src/pymongo/helpers.py", line 223, in _check_command_response [2023/08/04 20:41:10.079] raise OperationFailure(errmsg, code, response, max_wire_version) [2023/08/04 20:41:10.079] pymongo.errors.OperationFailure: Failing command via 'failCommand' failpoint, full error: {'ok': 0.0, 'errmsg': "Failing command via 'failCommand' failpoint", 'code': 391, 'codeName': 'ReauthenticationRequired', '$clusterTime': {'clusterTime': Timestamp(1691181669, 2), 'signature': {'hash': b'\xc0U^\xc6y\xb3\x0b\xc6\xa4\xe0\x8b\xbd\xa0\xce!\xe5\xe6\xdds\x8a', 'keyId': 7263569818215776262}}, 'operationTime': Timestamp(1691181669, 2)} [2023/08/04 20:41:10.079] ----------------------------------------------------------------------
- related to
-
PYTHON-3879 Rename SocketInfo to Connection
- Closed