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

test_hs09 fail with WT_ROLLBACK error

    • Type: Icon: Build Failure Build Failure
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Hide
      The description here mentioned a prepare conflict, but the error was actually a WT_ROLLBACK, which matches WT-7140
      Show
      The description here mentioned a prepare conflict, but the error was actually a WT_ROLLBACK, which matches WT-7140

      unit-test-bucket03 failed on ! Ubuntu 18.04

      Host: ec2-54-160-114-36.compute-1.amazonaws.com
      Project: WiredTiger (develop)
      Commit: diff: WT-7045 Fix FileNotFoundError in simulate_crash_restart (#6327)

      • WT-7045 Try/Except block in copy_wiredtiger_home

      Updated the test helper 'copy_wiredtiger_home' to handle the
      potential error case where wiredtiger log files get removed as its
      about to copy them. This race condition can occur when the log
      server thread starts archiving log files as the test thread starts
      copying the wiredtiger home directory.

      • Adjusted usages of copy_wiredtiger_home

      Adjusted all usages of 'copy_wiredtiger_home' to account for the
      requirement of an additional parameter, being the class instance
      ('self'). This being needed for the printing/logging recently
      added to the helper.

      • Added 'simulate_crash_restart' into helpers

      Added the 'simulate_crash_restart' helper function into the common
      set of test helpers. This being a thin wrapper over the
      'copy_wiredtiger_home' helper with an additional connection
      restart. This can replace local implementations of
      'simulate_crash_restart' as to avoid unnecessary code duplication.

      • Replaced usages of 'simulate_crash_restart'

      To reduce code duplication, replaced all duplicate definitions
      of the 'simulate_crash_restart' function with the common helper.

      • Replace 'printVerbose' with 'pr'
      • Convert 'helper.py' comments to full sentences
      • Convert 'self' -> 'testcase' in 'helper.py'

      Renamed uses of the 'self' variable to 'testcase'. This is mainly
      to avoid confusion since the helper functions are not methods of
      a class themselves, rather leveraging/invoking methods on the
      'WiredTigerTestCase' class. Changing this name makes it more
      clear. | 19 Feb 21 04:40 UTC
      Evergreen Subscription: ; Evergreen Event:

      Task Logs

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            xgen-evg-user Xgen-Evergreen-User
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: