[SERVER-31194] Add a version of retryable_writes_jscore_passthrough.yml with stepdowns Created: 20/Sep/17  Updated: 30/Oct/23  Resolved: 07/Dec/17

Status: Closed
Project: Core Server
Component/s: Sharding, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.6.1, 3.7.1

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Jack Mulrow
Resolution: Fixed Votes: 0
Labels: bkp, sharding36-passthrough-testing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File list_commands_supports_write_concern.diff    
Issue Links:
Backports
Depends
depends on SERVER-30683 Add support failovers in resmoke.py's... Closed
depends on SERVER-30685 Implement stepdown thread in Python a... Closed
depends on SERVER-30953 Add auto-retry logic to the mongo she... Closed
Duplicate
is duplicated by SERVER-28780 Add a continuous stepdown sharded cor... Closed
is duplicated by SERVER-23280 Add variant of jsCore_small_oplog_rs ... Closed
is duplicated by SERVER-24327 Run stepdowns in parallel with other ... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.6
Sprint: Sharding 2017-10-02, Sharding 2017-10-23, Sharding 2017-11-13, Sharding 2017-12-04, Sharding 2017-12-18
Participants:

 Description   

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-30953 in 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


 Comments   
Comment by Githook User [ 14/Dec/17 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-31194 Add a version of retryable_writes_jscore_passthrough.yml with stepdowns

(cherry picked from commit 51b699b02a5858a115a95af206253104c46e4bb0)
Branch: v3.6
https://github.com/mongodb/mongo/commit/52b975db999de6e4f9169e6d733b1bfaf95c80e9

Comment by Githook User [ 14/Dec/17 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-31194 Add jscore tags for retryable_writes_jscore_stepdown_passthrough.yml suite

The actual suite will come in a follow-up commit.

(cherry picked from commit 00d92ece19c5c4057d21eb237a2f9905b196191d)
Branch: v3.6
https://github.com/mongodb/mongo/commit/c7f1e65dcda3ac37764b445fd32c8e3310440e6b

Comment by Githook User [ 07/Dec/17 ]

Author:

{'name': 'Jack Mulrow', 'username': 'jsmulrow', 'email': 'jack.mulrow@mongodb.com'}

Message: SERVER-31194 Add a version of retryable_writes_jscore_passthrough.yml with stepdowns
Branch: master
https://github.com/mongodb/mongo/commit/51b699b02a5858a115a95af206253104c46e4bb0

Comment by Githook User [ 07/Dec/17 ]

Author:

{'name': 'Jack Mulrow', 'username': 'jsmulrow', 'email': 'jack.mulrow@mongodb.com'}

Message: SERVER-31194 Add jscore tags for retryable_writes_jscore_stepdown_passthrough.yml suite

The actual suite will come in a follow-up commit.
Branch: master
https://github.com/mongodb/mongo/commit/00d92ece19c5c4057d21eb237a2f9905b196191d

Generated at Thu Feb 08 04:26:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.