-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding, Testing Infrastructure
-
Fully Compatible
-
v3.6
-
Sharding 2017-10-02, Sharding 2017-10-23, Sharding 2017-11-13, Sharding 2017-12-04, Sharding 2017-12-18
A new resmoke.py YAML suite and Evergreen tasks should be defined to run the tests from the jstests/core/ directory with primary stepdowns happening in the background. The YAML suite should be adapted from the existing retryable_writes_jscore_passthrough.yml suite where it'll additionally
- Use the StepdownThread hook by adding it to the beginning of the hooks list. (see
SERVER-30683) - Set all_nodes_electable=true as an option for the ReplicaSetFixture so that the secondary has a non-zero priority and the mongo shell is given a replica set connection string. (see
SERVER-30685) - load()'s the auto-retry logic from
SERVER-30953in addition to jstests/libs/override_methods/enable_sessions.js override.
Note: Any tests which cannot be run with the auto-retry logic from SERVER-30953 should be tagged with a "requires_getmore" string (or similar), and use the "exclude_with_any_tags" property in the YAML suite definition rather than excluding a long list of tests that we'd need to repeat in other variations.
Names of new resmoke.py YAML suites
- retryable_writes_jscore_stepdown_passthrough.yml
Names of new Evergreen tasks
- retryable_writes_jscore_stepdown_passthrough_WT
The new Evergreen tasks should be run on the following build variants:
- Enterprise RHEL 6.2
- Enterprise RHEL 6.2 (inMemory)
- Windows 2008R2 DEBUG
- SSL OS X 10.10
- ASAN Enterprise SSL Ubuntu 16.04 DEBUG
- UBSAN Enterprise Ubuntu 16.04 DEBUG
- Enterprise RHEL 6.2 DEBUG Code Coverage
- depends on
-
SERVER-30683 Add support failovers in resmoke.py's ReplicaSetFixture
- Closed
-
SERVER-30685 Implement stepdown thread in Python as a resmoke.py hook
- Closed
-
SERVER-30953 Add auto-retry logic to the mongo shell for testing during stepdown suites
- Closed
- is duplicated by
-
SERVER-28780 Add a continuous stepdown sharded core suite
- Closed
-
SERVER-23280 Add variant of jsCore_small_oplog_rs passthrough task which starts shell with replica set connection string
- Closed
-
SERVER-24327 Run stepdowns in parallel with other tests using resmoke.py
- Closed