ExportXMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Test Python
    • None
    • Storage Engines - Transactions
    • 706.546
    • SE Transactions - 2026-11-06, SE Transactions - 2026-11-20
    • 5

      There is an issue with test_cache_top2 causing unexpected stdout error. Patch link.

      [2026/10/08 10:43:16.594] AssertionError: unexpected standard output, contains: "[1791414525:281963][18894:0x16d5a7000], test_cache_top01.test_cache_top02.test_verbose_from_connection_config, sweep-server: [WT_VERB_CACHE_TOP][INFO]: cache top total cache bytes: 1 tables above 819200B hold 8461485B of 9163920B in use, 104857600B configured
      

      The test sets its ignoreStoutPattern during setUp which should stop the assertion. 

          def setUp(self):
              super().setUp()
              self.ignoreStdoutPattern('WT_VERB_CACHE_TOP')
      

      The disagg helper also calls ignoreStdoutPattern, disagg_ignore_expected_output() that sets the pattern to 'WT_VERB_RTS'. This could be overwriting the test ignore pattern under the disaggregated-storage hook (defined in wttest.py).

      We can test a fix to make ignoreStdoutPattern append to a list of patterns instead of replacing a current one. That may fix the general problem of hook and test overwriting each other's patterns. We should do a broader test run to ensure that doesn't break elsewhere.

      If that is not feasible, we can make more localised changes by either having the disagg helper combine its pattern with whatever is already set instead of replacing it, or call self.ignoreStdoutPattern('WT_VERB_CACHE_TOP') again after reopen_conn in test_verbose_from_connection_config to work around the problem.

            Assignee:
            Alana Huang
            Reporter:
            Alana Huang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: