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

Assertion error in test_compact02: file size is NOT less than half the full size

      This is an Evergreen failure in unit-test on OS X 10.12, commit d09046d3d6:

      The assertion on line 163 in test_compact02.py tests that the compacted table is less than half the size of the original table:

      # After compact, the file size should be less than half the full size.
      self.assertLess(sz, self.fullsize // 2) 

      The assertion failure below shows that the compacted table is close to twice the size of the original:

      [2020/07/03 10:46:36.303] ======================================================================
      [2020/07/03 10:46:36.303] FAIL: test_compact02.test_compact02.test_compact02(table.1mb.64KB) (subunit.RemotedTestCase)
      [2020/07/03 10:46:36.303] test_compact02.test_compact02.test_compact02(table.1mb.64KB)
      [2020/07/03 10:46:36.303] ----------------------------------------------------------------------
      [2020/07/03 10:46:36.303] _StringException: Traceback (most recent call last):
      [2020/07/03 10:46:36.303]   File "/data/mci/8ad02ae778d3ea800354cb66af87156a/wiredtiger/test/suite/test_compact02.py", line 163, in test_compact02
      [2020/07/03 10:46:36.303]     self.assertLess(sz, self.fullsize // 2)
      [2020/07/03 10:46:36.303]   File "/opt/mongodbtoolchain/stow/osx-python2-v3.TEr/lib/python2.7/unittest/case.py", line 931, in assertLess
      [2020/07/03 10:46:36.303]     self.fail(self._formatMessage(msg, standardMsg))
      [2020/07/03 10:46:36.303]   File "/opt/mongodbtoolchain/stow/osx-python2-v3.TEr/lib/python2.7/unittest/case.py", line 410, in fail
      [2020/07/03 10:46:36.303]     raise self.failureException(msg)
      [2020/07/03 10:46:36.303] AssertionError: 117268480 not less than 68161500
      [2020/07/03 10:46:36.303] ---------------------------------------------------------------------- 

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            tammy.bailey@mongodb.com Tammy Bailey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: