disagg: fix test_hs01.py

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: History Store
    • Storage Engines, Storage Engines - Persistence
    • None
    • None

      This ticket may be more minor, feel free to deprioritize.   All the scenarios fail.  The ones that aren't column store fail because of a disagreement with statistics:

      $ python3 ../test/suite/run.py --hook disagg -v 2 test_hs01 -s 3
      ...
      [pid:8040]: Traceback (most recent call last):
        File "/home/dda/wt/git/wt-15262-python-tests-stability-triage/test/suite/wttest.py", line 243, in _callTestMethod
          method()
        File "/home/dda/wt/git/wt-15262-python-tests-stability-triage/test/suite/test_hs01.py", line 145, in test_hs
          self.assertEqual(hs_writes, nrows-1)
      AssertionError: 10001 != 9999

      But if I comment out the assertEqual checks I get errors on connection close:

      ======================================================================
      [pid:7936]: FAIL: None
      ----------------------------------------------------------------------
      [pid:7936]: Traceback (most recent call last):
        File "/home/dda/wt/git/wt-15262-python-tests-stability-triage/test/suite/wttest.py", line 570, in tearDown
          self.captureout.check(self)
        File "/home/dda/wt/git/wt-15262-python-tests-stability-triage/test/suite/../py_utility/abstract_test_case.py", line 111, in check
          testcase.fail('unexpected ' + self.desc + ', contains: "' +
      AssertionError: unexpected standard output, contains: "[1757013282:804168][7936:0xffff9ad6e020], test_hs01.test_hs01.test_hs(row_integer), file:WiredTigerSharedHS.wt_stable, hs_access: [WT_VERB_READ][NOTICE]: retry #0 for page_id 485, flags 0, lsn 1334, base_lsn 0, size 10482, checksum 30de16cf
      [1757013282:814315][7936:0xffff9ad6e020], test_hs01.test_hs01.test_hs(row_integer), file:WiredTigerSharedHS.wt_stable, hs_access: [WT_VERB_READ][NOTICE]: retry #1 for page_id 485, flags 0, lsn 1334, base_lsn 0, size 10482, checksum 30de16cf
      [1757013282:829408][7936:0xffff9ad6e020], test_hs01.test_hs01.test_hs(row_integer), file:WiredTigerSharedHS.wt_stable, hs_access: [WT_VERB_READ][NOTICE]: retry #2 for page_id 485, flags 0, lsn 1334, base_lsn 0, size 10482, checksum 30de16cf 

      It's hard to tell if there may be other errors as well.

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: