-
Type:
New Feature
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
Fully Compatible
-
STM 2019-04-08
-
40
-
3
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
Create a new initial_sync_fuzzer.yml resmoke.py YAML suite file that causes mongod processes to use an effectively infinite number of initial sync attempts.
buildscripts/resmokeconfig/suites/initial_sync_fuzzer.yml
test_kind: js_test selector: roots: - jstestfuzz/out/*.js executor: archive: tests: true config: shell_options: nodb: '' readMode: commands global_vars: TestData: # TODO: logComponentVerbosity? setParameters: numInitialSyncAttempts: 10000000
Define a new initial_sync_fuzzer_gen Evergreen task based on the existing rollback_fuzzer_gen Evergreen task.
## initial sync fuzzer ## - <<: *jstestfuzz_template name: initial_sync_fuzzer_gen commands: - func: "generate fuzzer tasks" vars: <<: *jstestfuzz_config_vars # TODO: The number of files should be based on how the tests themselves take to run. We # should target a time for each generated task of ~10 minutes. num_files: ?? num_tasks: 5 npm_command: initsync-fuzzer resmoke_args: --suites=initial_sync_fuzzer name: initial_sync_fuzzer
Configure the new initial_sync_fuzzer_gen Evergreen task to run on all of the build variants the existing rollback_fuzzer_gen Evergreen task runs on with the exception of the "Enterprise RHEL 6.2 (inMemory)" and "Linux (ephemeralForTest)" build variants. Since the initial version of the initial sync fuzzer is meant to only be targeting the interaction between initial sync and prepared transactions, we can only run it against the WiredTiger storage engine.
- Enterprise RHEL 6.2
- Enterprise RHEL 6.2 (majority read concern off)
- Windows 2008R2 DEBUG
- macOS
- Enterprise RHEL 6.2 DEBUG Code Coverage
- ASAN Enterprise SSL Ubuntu 16.04 DEBUG
- UBSAN Enterprise Ubuntu 16.04 DEBUG