-
Type: Bug
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Test Python
-
None
-
5
-
Storage Engines 2019-12-30, Storage Engines 2020-01-13
While working on a backport ticket I noted that the python test test_backup03 was failing on my feature branch and also on a clean mongodb-4.0 branch. Alex C was able to replicate the failure on his machine. The test passes on the `develop` branch.
The test failure was consistent (for me) when running all python tests in parallel, e.g.
python ../test/suite/run.py -j 10 -v 4
Running the single test (with or without the '-j' option) does not fail consistently.
Here is the console output from a failed run:
************************************************** wt.err ************************************************** [1576186316:710652][21608:0x7fcf90d06700], test_backup03.test_backup_target.test_backup_target(backup_6b), file:WiredTiger.wt, metadata-ckpt: _wt_txn_release_snapshot, 129: txn_state->pinned_id == WT_TXN_NONE || session->txn.isolation == WT_ISO_READ_UNCOMMITTED || !_wt_txn_visible_all(session, txn_state->pinned_id, WT_TS_NONE) [1576186316:710718][21608:0x7fcf90d06700], test_backup03.test_backup_target.test_backup_target(backup_6b), file:WiredTiger.wt, metadata-ckpt: __wt_abort, 28: aborting WiredTiger libraryFERROR in test_backup03.test_backup_target.test_backup_target -s 0 (backup_6b)====================================================================== FAIL: test_backup03.test_backup_target.test_backup_target(backup_6b) (subunit.RemotedTestCase) test_backup03.test_backup_target.test_backup_target(backup_6b) ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/tammy/wiredtiger/test/suite/test_backup03.py", line 153, in test_backup_target self.backup_table_cursor(self.list) File "/home/tammy/wiredtiger/test/suite/test_backup03.py", line 142, in backup_table_cursor self.compare(self.objs[i][0]) File "/home/tammy/wiredtiger/test/suite/test_backup03.py", line 97, in compare self.runWt(['dump', uri], outfilename='orig') File "/home/tammy/wiredtiger/test/suite/suite_subprocess.py", line 241, in runWt str(procargs) + '": exited ' + str(returncode)) File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual raise self.failureException(msg) AssertionError: expected success: "['/home/tammy/wiredtiger/build_posix/wt', 'dump', 'table:test_backup.4']": exited -6
And from a different failed run:
====================================================================== ERROR: test_backup03.test_backup_target.test_backup_target(backup_6b) (subunit.RemotedTestCase) test_backup03.test_backup_target.test_backup_target(backup_6b) ---------------------------------------------------------------------- _StringException: lost connection during test 'test_backup03.test_backup_target.test_backup_target(backup_6b)' ---------------------------------------------------------------------- Ran 1 test in 8.863s