summaryrefslogtreecommitdiff
path: root/buildscripts/resmokeconfig/suites
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2018-09-26 13:48:17 -0400
committerEsha Maharishi <esha.maharishi@mongodb.com>2018-09-27 10:50:34 -0400
commit415795d86be5f4ab40bf2166ee7ef5b37d3d401c (patch)
treecbd4d41bd7d933f7f776ae850c96a273f69499b5 /buildscripts/resmokeconfig/suites
parentf552b4010d8afabe767ec8291816b73d6dce4319 (diff)
downloadmongo-415795d86be5f4ab40bf2166ee7ef5b37d3d401c.tar.gz
SERVER-37320 Prevent prepareTransaction from running on anything but initialized shard servers or config servers, except under failpoint
Diffstat (limited to 'buildscripts/resmokeconfig/suites')
-rw-r--r--buildscripts/resmokeconfig/suites/causally_consistent_jscore_txns_passthrough.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/core_txns.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/logical_session_cache_replication_100ms_refresh_jscore_passthrough.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/logical_session_cache_replication_10sec_refresh_jscore_passthrough.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/logical_session_cache_replication_1sec_refresh_jscore_passthrough.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/logical_session_cache_replication_default_refresh_jscore_passthrough.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets.yml3
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_auth.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_auth_0.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_auth_1.yml3
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_auth_2.yml3
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_auth_3.yml3
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_auth_4.yml3
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_auth_5.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_auth_6.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_auth_misc.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_ese.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_ese_0.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_ese_1.yml3
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_ese_2.yml3
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_ese_3.yml3
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_ese_4.yml3
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_ese_5.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_ese_6.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_ese_misc.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_initsync_jscore_passthrough.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_initsync_static_jscore_passthrough.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_jscore_passthrough.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_kill_secondaries_jscore_passthrough.yml1
29 files changed, 39 insertions, 8 deletions
diff --git a/buildscripts/resmokeconfig/suites/causally_consistent_jscore_txns_passthrough.yml b/buildscripts/resmokeconfig/suites/causally_consistent_jscore_txns_passthrough.yml
index a9fc9b89429..322cb533b86 100644
--- a/buildscripts/resmokeconfig/suites/causally_consistent_jscore_txns_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/causally_consistent_jscore_txns_passthrough.yml
@@ -36,5 +36,6 @@ executor:
set_parameters:
enableTestCommands: 1
numInitialSyncAttempts: 1
+ failpoint.skipShardingPartsOfPrepareTransaction: "{mode:'alwaysOn'}"
# Use a 1-node replica set.
num_nodes: 1
diff --git a/buildscripts/resmokeconfig/suites/core_txns.yml b/buildscripts/resmokeconfig/suites/core_txns.yml
index e17ed4e02b5..e5298c947a6 100644
--- a/buildscripts/resmokeconfig/suites/core_txns.yml
+++ b/buildscripts/resmokeconfig/suites/core_txns.yml
@@ -29,5 +29,6 @@ executor:
set_parameters:
enableTestCommands: 1
numInitialSyncAttempts: 1
+ failpoint.skipShardingPartsOfPrepareTransaction: "{mode:'alwaysOn'}"
# Use a 1-node replica set.
num_nodes: 1
diff --git a/buildscripts/resmokeconfig/suites/logical_session_cache_replication_100ms_refresh_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/logical_session_cache_replication_100ms_refresh_jscore_passthrough.yml
index c4948d38a78..870967a27a0 100644
--- a/buildscripts/resmokeconfig/suites/logical_session_cache_replication_100ms_refresh_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/logical_session_cache_replication_100ms_refresh_jscore_passthrough.yml
@@ -75,4 +75,5 @@ executor:
numInitialSyncAttempts: 1
disableLogicalSessionCacheRefresh: false
logicalSessionRefreshMillis: 100
+ failpoint.skipShardingPartsOfPrepareTransaction: "{mode:'alwaysOn'}"
num_nodes: 3
diff --git a/buildscripts/resmokeconfig/suites/logical_session_cache_replication_10sec_refresh_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/logical_session_cache_replication_10sec_refresh_jscore_passthrough.yml
index 10afa2f7a59..0c49adf0bb7 100644
--- a/buildscripts/resmokeconfig/suites/logical_session_cache_replication_10sec_refresh_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/logical_session_cache_replication_10sec_refresh_jscore_passthrough.yml
@@ -74,4 +74,5 @@ executor:
numInitialSyncAttempts: 1
disableLogicalSessionCacheRefresh: false
logicalSessionRefreshMillis: 10000
+ failpoint.skipShardingPartsOfPrepareTransaction: "{mode:'alwaysOn'}"
num_nodes: 3
diff --git a/buildscripts/resmokeconfig/suites/logical_session_cache_replication_1sec_refresh_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/logical_session_cache_replication_1sec_refresh_jscore_passthrough.yml
index 5628ac91042..f11bb4f2414 100644
--- a/buildscripts/resmokeconfig/suites/logical_session_cache_replication_1sec_refresh_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/logical_session_cache_replication_1sec_refresh_jscore_passthrough.yml
@@ -74,4 +74,5 @@ executor:
numInitialSyncAttempts: 1
disableLogicalSessionCacheRefresh: false
logicalSessionRefreshMillis: 1000
+ failpoint.skipShardingPartsOfPrepareTransaction: "{mode:'alwaysOn'}"
num_nodes: 3
diff --git a/buildscripts/resmokeconfig/suites/logical_session_cache_replication_default_refresh_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/logical_session_cache_replication_default_refresh_jscore_passthrough.yml
index 7b2e7fb80d1..eedeabed0ae 100644
--- a/buildscripts/resmokeconfig/suites/logical_session_cache_replication_default_refresh_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/logical_session_cache_replication_default_refresh_jscore_passthrough.yml
@@ -73,4 +73,5 @@ executor:
enableTestCommands: 1
numInitialSyncAttempts: 1
disableLogicalSessionCacheRefresh: false
+ failpoint.skipShardingPartsOfPrepareTransaction: "{mode:'alwaysOn'}"
num_nodes: 3
diff --git a/buildscripts/resmokeconfig/suites/replica_sets.yml b/buildscripts/resmokeconfig/suites/replica_sets.yml
index f7515dab9ab..2bd7ada38da 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets.yml
@@ -8,4 +8,7 @@ executor:
config:
shell_options:
nodb: ''
+ global_vars:
+ TestData:
+ setSkipShardingPartsOfPrepareTransactionFailpoint: true
readMode: commands
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_auth.yml b/buildscripts/resmokeconfig/suites/replica_sets_auth.yml
index 8dbde6e9005..1e560c8803d 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_auth.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_auth.yml
@@ -24,5 +24,6 @@ executor:
authMechanism: SCRAM-SHA-1
keyFile: *keyFile
keyFileData: *keyFileData
+ setSkipShardingPartsOfPrepareTransactionFailpoint: true
nodb: ''
readMode: commands
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_auth_0.yml b/buildscripts/resmokeconfig/suites/replica_sets_auth_0.yml
index 6ab934e9e92..7d3b2513d03 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_auth_0.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_auth_0.yml
@@ -33,5 +33,6 @@ executor:
authMechanism: SCRAM-SHA-1
keyFile: *keyFile
keyFileData: *keyFileData
+ setSkipShardingPartsOfPrepareTransactionFailpoint: true
nodb: ''
readMode: commands
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_auth_1.yml b/buildscripts/resmokeconfig/suites/replica_sets_auth_1.yml
index 13d451771e7..29ea03801d4 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_auth_1.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_auth_1.yml
@@ -41,5 +41,6 @@ executor:
authMechanism: SCRAM-SHA-1
keyFile: *keyFile
keyFileData: *keyFileData
+ setSkipShardingPartsOfPrepareTransactionFailpoint: true
nodb: ''
- readMode: commands \ No newline at end of file
+ readMode: commands
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_auth_2.yml b/buildscripts/resmokeconfig/suites/replica_sets_auth_2.yml
index 0505701dd3f..e17ef95e839 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_auth_2.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_auth_2.yml
@@ -48,5 +48,6 @@ executor:
authMechanism: SCRAM-SHA-1
keyFile: *keyFile
keyFileData: *keyFileData
+ setSkipShardingPartsOfPrepareTransactionFailpoint: true
nodb: ''
- readMode: commands \ No newline at end of file
+ readMode: commands
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_auth_3.yml b/buildscripts/resmokeconfig/suites/replica_sets_auth_3.yml
index ee1f528051f..075cbfde463 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_auth_3.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_auth_3.yml
@@ -56,5 +56,6 @@ executor:
authMechanism: SCRAM-SHA-1
keyFile: *keyFile
keyFileData: *keyFileData
+ setSkipShardingPartsOfPrepareTransactionFailpoint: true
nodb: ''
- readMode: commands \ No newline at end of file
+ readMode: commands
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_auth_4.yml b/buildscripts/resmokeconfig/suites/replica_sets_auth_4.yml
index 3f9a5071df0..2a40200e3d7 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_auth_4.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_auth_4.yml
@@ -75,5 +75,6 @@ executor:
authMechanism: SCRAM-SHA-1
keyFile: *keyFile
keyFileData: *keyFileData
+ setSkipShardingPartsOfPrepareTransactionFailpoint: true
nodb: ''
- readMode: commands \ No newline at end of file
+ readMode: commands
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_auth_5.yml b/buildscripts/resmokeconfig/suites/replica_sets_auth_5.yml
index 1b37c762894..6a69c26edc1 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_auth_5.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_auth_5.yml
@@ -99,5 +99,6 @@ executor:
authMechanism: SCRAM-SHA-1
keyFile: *keyFile
keyFileData: *keyFileData
+ setSkipShardingPartsOfPrepareTransactionFailpoint: true
nodb: ''
readMode: commands
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_auth_6.yml b/buildscripts/resmokeconfig/suites/replica_sets_auth_6.yml
index 2e450c9189f..ed2c3801e25 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_auth_6.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_auth_6.yml
@@ -71,5 +71,6 @@ executor:
authMechanism: SCRAM-SHA-1
keyFile: *keyFile
keyFileData: *keyFileData
+ setSkipShardingPartsOfPrepareTransactionFailpoint: true
nodb: ''
readMode: commands
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_auth_misc.yml b/buildscripts/resmokeconfig/suites/replica_sets_auth_misc.yml
index 069ca0c0720..fc1c1f10a7a 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_auth_misc.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_auth_misc.yml
@@ -237,5 +237,6 @@ executor:
authMechanism: SCRAM-SHA-1
keyFile: *keyFile
keyFileData: *keyFileData
+ setSkipShardingPartsOfPrepareTransactionFailpoint: true
nodb: ''
readMode: commands
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_ese.yml b/buildscripts/resmokeconfig/suites/replica_sets_ese.yml
index 3e202ae3c1b..7d855ff63e6 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_ese.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_ese.yml
@@ -16,4 +16,5 @@ executor:
TestData:
enableEncryption: ''
encryptionKeyFile: *keyFile
+ setSkipShardingPartsOfPrepareTransactionFailpoint: true
readMode: commands
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_ese_0.yml b/buildscripts/resmokeconfig/suites/replica_sets_ese_0.yml
index a1c5a4615ac..5f60ffe213d 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_ese_0.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_ese_0.yml
@@ -27,4 +27,5 @@ executor:
TestData:
enableEncryption: ''
encryptionKeyFile: *keyFile
+ setSkipShardingPartsOfPrepareTransactionFailpoint: true
readMode: commands
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_ese_1.yml b/buildscripts/resmokeconfig/suites/replica_sets_ese_1.yml
index a6400793435..16fdf1121f1 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_ese_1.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_ese_1.yml
@@ -37,4 +37,5 @@ executor:
TestData:
enableEncryption: ''
encryptionKeyFile: *keyFile
- readMode: commands \ No newline at end of file
+ setSkipShardingPartsOfPrepareTransactionFailpoint: true
+ readMode: commands
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_ese_2.yml b/buildscripts/resmokeconfig/suites/replica_sets_ese_2.yml
index 4572d51e9a5..c697d71b15e 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_ese_2.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_ese_2.yml
@@ -43,4 +43,5 @@ executor:
TestData:
enableEncryption: ''
encryptionKeyFile: *keyFile
- readMode: commands \ No newline at end of file
+ setSkipShardingPartsOfPrepareTransactionFailpoint: true
+ readMode: commands
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_ese_3.yml b/buildscripts/resmokeconfig/suites/replica_sets_ese_3.yml
index d34c94ef2cf..4b86c2e1231 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_ese_3.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_ese_3.yml
@@ -49,4 +49,5 @@ executor:
TestData:
enableEncryption: ''
encryptionKeyFile: *keyFile
- readMode: commands \ No newline at end of file
+ setSkipShardingPartsOfPrepareTransactionFailpoint: true
+ readMode: commands
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_ese_4.yml b/buildscripts/resmokeconfig/suites/replica_sets_ese_4.yml
index 4dc399d7bea..bdf8a9ec504 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_ese_4.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_ese_4.yml
@@ -64,4 +64,5 @@ executor:
TestData:
enableEncryption: ''
encryptionKeyFile: *keyFile
- readMode: commands \ No newline at end of file
+ setSkipShardingPartsOfPrepareTransactionFailpoint: true
+ readMode: commands
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_ese_5.yml b/buildscripts/resmokeconfig/suites/replica_sets_ese_5.yml
index 6258010f231..055afc0e35a 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_ese_5.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_ese_5.yml
@@ -87,4 +87,5 @@ executor:
TestData:
enableEncryption: ''
encryptionKeyFile: *keyFile
+ setSkipShardingPartsOfPrepareTransactionFailpoint: true
readMode: commands
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_ese_6.yml b/buildscripts/resmokeconfig/suites/replica_sets_ese_6.yml
index c302971b57c..dbaf8073477 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_ese_6.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_ese_6.yml
@@ -80,4 +80,5 @@ executor:
TestData:
enableEncryption: ''
encryptionKeyFile: *keyFile
+ setSkipShardingPartsOfPrepareTransactionFailpoint: true
readMode: commands
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_ese_misc.yml b/buildscripts/resmokeconfig/suites/replica_sets_ese_misc.yml
index 25c4069f197..cd8919ea4aa 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_ese_misc.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_ese_misc.yml
@@ -235,4 +235,5 @@ executor:
TestData:
enableEncryption: ''
encryptionKeyFile: *keyFile
+ setSkipShardingPartsOfPrepareTransactionFailpoint: true
readMode: commands
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_initsync_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_initsync_jscore_passthrough.yml
index 59b198cf104..b0b568429f2 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_initsync_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_initsync_jscore_passthrough.yml
@@ -116,5 +116,6 @@ executor:
numInitialSyncAttempts: 10
collectionClonerBatchSize: 10
initialSyncOplogFetcherBatchSize: 10
+ failpoint.skipShardingPartsOfPrepareTransaction: "{mode:'alwaysOn'}"
num_nodes: 2
start_initial_sync_node: True
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_initsync_static_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_initsync_static_jscore_passthrough.yml
index a656b0dbcf7..276a410bba9 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_initsync_static_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_initsync_static_jscore_passthrough.yml
@@ -53,6 +53,7 @@ executor:
numInitialSyncAttempts: 1
collectionClonerBatchSize: 10
initialSyncOplogFetcherBatchSize: 10
+ failpoint.skipShardingPartsOfPrepareTransaction: "{mode:'alwaysOn'}"
num_nodes: 2
start_initial_sync_node: True
replset_config_options:
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_jscore_passthrough.yml
index 754d575520c..19feccefdbe 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_jscore_passthrough.yml
@@ -66,4 +66,5 @@ executor:
#
# TODO SERVER-35156: Remove the following line to disable the periodic no-op writer.
writePeriodicNoops: 1
+ failpoint.skipShardingPartsOfPrepareTransaction: "{mode:'alwaysOn'}"
num_nodes: 2
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_kill_secondaries_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_kill_secondaries_jscore_passthrough.yml
index 30c6173ad31..473c7b5f34f 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_kill_secondaries_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_kill_secondaries_jscore_passthrough.yml
@@ -57,5 +57,6 @@ executor:
rollback: 2
storage:
recovery: 2
+ failpoint.skipShardingPartsOfPrepareTransaction: "{mode:'alwaysOn'}"
num_nodes: 2
voting_secondaries: false