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

Fix incorrect duration_seconds value in test framework

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.1, 4.4.7, 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 2
    • Storage - Ra 2021-05-17

      The following error shows when duration_seconds is set to a lower value than the test actually takes to complete:

      [1619351276:740599][4163:0x7f8810d58700], file:WiredTigerHS.wt, WT_CURSOR.close: __curfile_close, 484: (session)->id == 0 || (session)->api_tid == 0 || (session)->api_tid == __tmp_api_tid
      [1619351276:740633][4163:0x7f8810d58700], file:WiredTigerHS.wt, WT_CURSOR.close: __wt_abort, 28: aborting WiredTiger library 

      Issue can be reproduced using the following configuration:

      duration_seconds=2,cache_size_mb=5000,enable_logging=true,runtime_monitor=(rate_per_second=3,stat_cache_size=(enabled=true,limit=100)),timestamp_manager=(enabled=true,oldest_lag=1,stable_lag=1),workload_generator=(collection_count=1,key_count=500,key_size=10,ops_per_transaction=(min=5,max=50),read_threads=1,update_threads=1,value_size=200000),workload_tracking=(enabled=true) 

      And the following command:

      ./run -t poc_test 

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: