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

Update test_compact06 to avoid interruption warnings

    • 2
    • BermudaTriangle- 2023-09-05, TheMoon-StorEng - 2023-09-19

      unit-test-hook-tiered-s3 on ubuntu2004

      Host: i-0125d0ea52ce92bf3
      Project: wiredtiger
      Commit: 2d4d4bcd

      Task Logs:

      unit-test-hook-tiered-s3 task_log

      Logs:

      [pid:11826]: FAIL: test_compact06.test_compact06.test_background_compact_api
      ----------------------------------------------------------------------
      [pid:11826]: testtools.testresult.real._StringException: Traceback (most recent call last):
        File "/data/mci/05a398cfe5d78ec30de4beb322d552f7/wiredtiger/test/suite/wttest.py", line 545, in tearDown
          self.captureout.check(self)
        File "/data/mci/05a398cfe5d78ec30de4beb322d552f7/wiredtiger/test/suite/../py_utility/abstract_test_case.py", line 111, in check
          testcase.fail('unexpected ' + self.desc + ', contains: "' +
        File "/opt/mongodbtoolchain/revisions/69f4f0673ffcb290ce2307560a4883ecf2ad138c/stow/python3-v4.wuP/lib/python3.10/unittest/case.py", line 675, in fail
          raise self.failureException(msg)
      AssertionError: unexpected standard output, contains: "[1693872376:214867][11833:0x7f17a1d9a700], test_compact06.test_compact06.test_background_compact_api, WT_SESSION.compact: [WT_VERB_COMPACT][WARNING]: background compact interrupted by application
      "
      ----------------------------------------------------------------------
      Ran 10778 tests in 2942.476s
      

      logs

      unit-test-hook-tiered-s3 task_log

      Logs:

      [1693872376:213012][11833:0x7f17acc7f800], test_compact06.test_compact06.test_background_compact_api, WT_SESSION.compact: [WT_VERB_DEFAULT][ERROR]: __wt_session_compact, 386: Background compaction does not work on specific URIs.: Invalid argument
      [1693872376:213377][11833:0x7f17acc7f800], test_compact06.test_compact06.test_background_compact_api, WT_SESSION.compact: [WT_VERB_DEFAULT][ERROR]: __wt_session_compact, 402: free_space_target configuration cannot be set when disabling the background compaction server.: Invalid argument
      [1693872376:213655][11833:0x7f17acc7f800], test_compact06.test_compact06.test_background_compact_api, WT_SESSION.compact: [WT_VERB_DEFAULT][ERROR]: __wt_session_compact, 395: timeout configuration cannot be set when disabling the background compaction server.: Invalid argument
      [1693872376:213885][11833:0x7f17acc7f800], test_compact06.test_compact06.test_background_compact_api, WT_SESSION.compact: [WT_VERB_DEFAULT][ERROR]: __wt_compact_signal, 325: Background compaction is already disabled: Invalid argument
      [1693872376:214310][11833:0x7f17acc7f800], test_compact06.test_compact06.test_background_compact_api, WT_SESSION.compact: [WT_VERB_DEFAULT][ERROR]: __wt_compact_signal, 325: Background compaction is already enabled: Invalid argument
      [1693872376:214645][11833:0x7f17acc7f800], test_compact06.test_compact06.test_background_compact_api, WT_SESSION.compact: [WT_VERB_DEFAULT][ERROR]: __wt_compact_signal, 325: Background compaction is already enabled: Invalid argument
      

      logs

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            Xgen-BuildBaron-User xgen-buildbaron-user
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: