-
Type: Build Failure
-
Resolution: Duplicate
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
test_transactions.TestTransactions.test_legacy_pin_mongos_unpin_after_transient_error_within_a_transaction_and_commit
[2023/06/16 20:53:14.931] FAILURE: 2 != 3 : [{'insert': 'test', 'ordered': True, 'lsid': {'id': Binary(b'\x8d\xba\x93`or@\x95\xac\xc4\xc6\x8aG\xf6\xef\xba', 4)}, 'startTransaction': True, 'txnNumber': 1, 'autocommit': False, '$clusterTime': {'clusterTime': Timestamp(1686948760, 20), 'signature': {'hash': b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 'keyId': 0}}, '$db': 'transaction-tests', 'documents': [{'_id': 3}]}, {'commitTransaction': 1, 'recoveryToken': {'recoveryShardId': 'sh01'}, 'lsid': {'id': Binary(b'\x8d\xba\x93`or@\x95\xac\xc4\xc6\x8aG\xf6\xef\xba', 4)}, 'txnNumber': 1, 'autocommit': False, '$clusterTime': {'clusterTime': Timestamp(1686948760, 20), 'signature': {'hash': b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 'keyId': 0}}, '$db': 'admin'}] (AssertionError) [2023/06/16 20:53:14.931] Traceback (most recent call last): [2023/06/16 20:53:14.931] File "/data/mci/c40a0dafbfe2aee231f40c98a0ed2db6/src/test/__init__.py", line 602, in wrap [2023/06/16 20:53:14.931] return f(*args, **kwargs) [2023/06/16 20:53:14.931] File "/data/mci/c40a0dafbfe2aee231f40c98a0ed2db6/src/test/__init__.py", line 602, in wrap [2023/06/16 20:53:14.931] return f(*args, **kwargs) [2023/06/16 20:53:14.931] File "/data/mci/c40a0dafbfe2aee231f40c98a0ed2db6/src/test/__init__.py", line 602, in wrap [2023/06/16 20:53:14.931] return f(*args, **kwargs) [2023/06/16 20:53:14.931] File "/data/mci/c40a0dafbfe2aee231f40c98a0ed2db6/src/test/test_transactions.py", line 579, in run_scenario [2023/06/16 20:53:14.931] self.run_scenario(scenario_def, test) [2023/06/16 20:53:14.931] File "/data/mci/c40a0dafbfe2aee231f40c98a0ed2db6/src/test/utils_spec_runner.py", line 562, in run_scenario [2023/06/16 20:53:14.931] self.check_events(test, listener, session_ids) [2023/06/16 20:53:14.931] File "/data/mci/c40a0dafbfe2aee231f40c98a0ed2db6/src/test/utils_spec_runner.py", line 383, in check_events [2023/06/16 20:53:14.931] self.assertEqual(len(events), len(test["expectations"]), cmds) [2023/06/16 20:53:14.931] AssertionError: 2 != 3 : [{'insert': 'test', 'ordered': True, 'lsid': {'id': Binary(b'\x8d\xba\x93`or@\x95\xac\xc4\xc6\x8aG\xf6\xef\xba', 4)}, 'startTransaction': True, 'txnNumber': 1, 'autocommit': False, '$clusterTime': {'clusterTime': Timestamp(1686948760, 20), 'signature': {'hash': b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 'keyId': 0}}, '$db': 'transaction-tests', 'documents': [{'_id': 3}]}, {'commitTransaction': 1, 'recoveryToken': {'recoveryShardId': 'sh01'}, 'lsid': {'id': Binary(b'\x8d\xba\x93`or@\x95\xac\xc4\xc6\x8aG\xf6\xef\xba', 4)}, 'txnNumber': 1, 'autocommit': False, '$clusterTime': {'clusterTime': Timestamp(1686948760, 20), 'signature': {'hash': b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 'keyId': 0}}, '$db': 'admin'}]
- duplicates
-
PYTHON-4182 [Build Failure] test_unpin_after_TransientTransactionError_error_on_abort
- Closed