-
Type: Build Failure
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Tests
-
None
The "unpin after transient error within a transaction and commit" spec test occasionally fails. This could have been caused by the changes in PYTHON-2082 or PYTHON-2123. Needs more investigation.
[2020/07/15 16:52:49.702] FAIL [0.063s]: test_transactions_pin_mongos_unpin_after_transient_error_within_a_transaction_and_commit (test_transactions.TestTransactions) [2020/07/15 16:52:49.702] ---------------------------------------------------------------------- [2020/07/15 16:52:49.702] Traceback (most recent call last): [2020/07/15 16:52:49.702] File "/data/mci/957ffdde4d7703fe917aa31d8aa08ce0/src/test/__init__.py", line 444, in wrap [2020/07/15 16:52:49.702] return f(*args, **kwargs) [2020/07/15 16:52:49.702] File "/data/mci/957ffdde4d7703fe917aa31d8aa08ce0/src/test/__init__.py", line 444, in wrap [2020/07/15 16:52:49.702] return f(*args, **kwargs) [2020/07/15 16:52:49.702] File "/data/mci/957ffdde4d7703fe917aa31d8aa08ce0/src/test/__init__.py", line 444, in wrap [2020/07/15 16:52:49.702] return f(*args, **kwargs) [2020/07/15 16:52:49.702] File "/data/mci/957ffdde4d7703fe917aa31d8aa08ce0/src/test/test_transactions.py", line 464, in run_scenario [2020/07/15 16:52:49.702] self.run_scenario(scenario_def, test) [2020/07/15 16:52:49.702] File "/data/mci/957ffdde4d7703fe917aa31d8aa08ce0/src/test/utils_spec_runner.py", line 645, in run_scenario [2020/07/15 16:52:49.702] self.check_events(test, listener, session_ids) [2020/07/15 16:52:49.702] File "/data/mci/957ffdde4d7703fe917aa31d8aa08ce0/src/test/utils_spec_runner.py", line 469, in check_events [2020/07/15 16:52:49.702] len(res['started']), len(test['expectations']), cmds) [2020/07/15 16:52:49.702] AssertionError: 2 != 3 : [{'insert': 'test', 'ordered': True, 'lsid': {'id': UUID('4666a6a0-5b43-407d-9187-013c517b6ab5')}, 'startTransaction': True, 'txnNumber': 1, 'autocommit': False, '$clusterTime': {'clusterTime': Timestamp(1594831958, 99), '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', '$readPreference': {'mode': 'primary'}, 'documents': [{'_id': 3}]}, {'commitTransaction': 1, 'recoveryToken': {'recoveryShardId': 'sh01'}, 'lsid': {'id': UUID('4666a6a0-5b43-407d-9187-013c517b6ab5')}, 'txnNumber': 1, 'autocommit': False, '$clusterTime': {'clusterTime': Timestamp(1594831958, 99), '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', '$readPreference': {'mode': 'primary'}}]
- duplicates
-
PYTHON-4182 [Build Failure] test_unpin_after_TransientTransactionError_error_on_abort
- Closed