-
Type: Build Failure
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
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-7045Try/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: