test_hs11 fails on deletion check (hs_truncate == 0)

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • None
    • Storage Engines, Storage Engines - Transactions
    • SE Transactions - 2025-09-12
    • 5

      The Python test test_hs11.test_non_ts_updates_clears_hs is failing when validating that hs_truncate > 0 after a deletion update.

      Run

      python3 run.py --hook "disagg"  test_hs11

      Failing here 

      if self.update_type == 'deletion':
          hs_truncate = self.get_stat(stat.conn.cache_hs_key_truncate_onpage_removal)
          self.assertGreater(hs_truncate, 0) 

      Error 

      ======================================================================
      FAIL: test_hs11.test_hs11.test_non_ts_updates_clears_hs -s 0 (string-row.deletion.no-long-running.no-modify.small-nrows)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/home/ubuntu/wiredtiger/test/suite/wttest.py", line 243, in _callTestMethod
          method()
        File "/home/ubuntu/wiredtiger/test/suite/test_hs11.py", line 172, in test_non_ts_updates_clears_hs
          self.assertGreater(hs_truncate, 0)
      AssertionError: 0 not greater than 0
      
      ----------------------------------------------------------------------
      Ran 1 test in 1.047s
      
      FAILED (failures=1)
      

       

       

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

                Created:
                Updated: