Failed in a patch build on 4.0.3 replica set:
./mongodb/bin/mongod --version [2018/11/19 14:20:18.732] db version v4.0.3 [2018/11/19 14:20:18.732] git version: 7ea530946fa7880364d88c8d8b6026bbc9ffa48c [2018/11/19 14:20:18.732] OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013 [2018/11/19 14:20:18.732] allocator: tcmalloc [2018/11/19 14:20:18.732] modules: enterprise [2018/11/19 14:20:18.732] build environment: [2018/11/19 14:20:18.733] distmod: rhel62 [2018/11/19 14:20:18.733] distarch: x86_64 [2018/11/19 14:20:18.733] target_arch: x86_64 ... [2018/11/19 14:28:37.642] test_transactions_transaction_options_transaction_options_inherited_from_client (test_transactions.TestTransactions) ... FAIL (0.180s) [2018/11/19 14:28:37.809] test_transactions_transaction_options_transaction_options_inherited_from_defaultTransactionOptions (test_transactions.TestTransactions) ... OK (0.166s) ... [2018/11/19 14:28:39.097] ====================================================================== [2018/11/19 14:28:39.097] FAIL [0.180s]: test_transactions_transaction_options_transaction_options_inherited_from_client (test_transactions.TestTransactions) [2018/11/19 14:28:39.097] ---------------------------------------------------------------------- [2018/11/19 14:28:39.097] Traceback (most recent call last): [2018/11/19 14:28:39.097] File "/data/mci/853916365067d7d0203ba8ce87185511/src/test/__init__.py", line 399, in wrap [2018/11/19 14:28:39.097] return f(*args, **kwargs) [2018/11/19 14:28:39.097] File "/data/mci/853916365067d7d0203ba8ce87185511/src/test/test_transactions.py", line 546, in run_scenario [2018/11/19 14:28:39.097] self.assertEqual(list(primary_coll.find()), expected_c['data']) [2018/11/19 14:28:39.097] AssertionError: Lists differ: [] != [{u'_id': 1}] [2018/11/19 14:28:39.097] Second list contains 1 additional elements. [2018/11/19 14:28:39.097] First extra element 0: [2018/11/19 14:28:39.097] {u'_id': 1} [2018/11/19 14:28:39.097] - [] [2018/11/19 14:28:39.097] + [{u'_id': 1}] [2018/11/19 14:28:39.097] ----------------------------------------------------------------------
The primary's log file is attached in: mongod.log
Search for "c999d161-5c6a-4c91-b721-e2a6d9a6c3af" to find the session operations for the failed test.
If I understand the server logs correctly it looks a document is returned for the primary_coll.find() so PyMongo's cursor should not be empty:
2018-11-19T22:28:37.789+0000 I COMMAND [conn1318] command transaction-tests.test command: find { find: "test", filter: {}, lsid: { id: UUID("826578db-f841-4bdb-9180-2cad77dd81da") }, $clusterTime: { clusterTime: Timestamp(1542666517, 15), signature: { keyId: 0, hash: BinData(0, 0000000000000000000000000000000000000000) } }, $db: "transaction-tests", $readPreference: { mode: "primary" } } planSummary: COLLSCAN keysExamined:0 docsExamined:1 cursorExhausted:1 numYields:0 nreturned:1 reslen:253 locks:{ Global: { acquireCount: { r: 1 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_msg 0ms
Marking as low priority until I see this failure again or find more information.
- is depended on by
-
DRIVERS-591 Transaction test runner should use "local" read concern when asserting the final collection state
- Closed