Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-5582

Long unit testing sweeping cursors failing

    • 5
    • Storage Engines 2020-02-24

      The durable history branch has a failing Python test case, which is part of the long running test suite. The failure is:

      [2020/02/13 10:56:00.766] FAIL: test_cursor13.test_cursor13_sweep.test_cursor_sweep (subunit.RemotedTestCase)
      [2020/02/13 10:56:00.766] test_cursor13.test_cursor13_sweep.test_cursor_sweep
      [2020/02/13 10:56:00.766] ----------------------------------------------------------------------
      [2020/02/13 10:56:00.766] _StringException: Traceback (most recent call last):
      [2020/02/13 10:56:00.766]   File "/data/mci/618bfe280f3bd180494039ab7cfb2146/wiredtiger/test/suite/test_cursor13.py", line 508, in test_cursor_sweep
      [2020/02/13 10:56:00.766]     self.assertEquals(end_stats[0] - begin_stats[0], self.closecount)
      [2020/02/13 10:56:00.766]   File "/opt/mongodbtoolchain/revisions/23805b43dd027076b4ae48533ab385e20c61e0cf/stow/python2-v3.NEB/lib/python2.7/unittest/case.py", line 513, in assertEqual
      [2020/02/13 10:56:00.766]     assertion_func(first, second, msg=msg)
      [2020/02/13 10:56:00.766]   File "/opt/mongodbtoolchain/revisions/23805b43dd027076b4ae48533ab385e20c61e0cf/stow/python2-v3.NEB/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
      [2020/02/13 10:56:00.766]     raise self.failureException(msg)
      [2020/02/13 10:56:00.766] AssertionError: 2 != 499854
      

      We need to understand why cursor sweep isn't behaving as expected, and try to figure out how to pull this test into the short test suite (so we can see the failure sooner)

            Assignee:
            chenhao.qu@mongodb.com Chenhao Qu
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: