summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorJack Mulrow <jack.mulrow@mongodb.com>2020-04-16 12:52:36 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-07-16 18:20:49 +0000
commit706552f34db7f14f0d468a9d1eefd8f1c98268da (patch)
tree9808650f9a114c727bee4a779fc99781dfc64d36 /buildscripts
parent821acd4c97c24936a12af9d7b1a077714229ee3f (diff)
downloadmongo-706552f34db7f14f0d468a9d1eefd8f1c98268da.tar.gz
SERVER-33229 Blacklist tests that use startParallelShell from failover core suites
(cherry picked from commit 1df41757d5d1e04c51eeeee786a17b005e025b93)
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_kill_primary_jscore_passthrough.yml12
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_multi_stmt_txn_kill_primary_jscore_passthrough.yml11
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_multi_stmt_txn_stepdown_jscore_passthrough.yml11
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_multi_stmt_txn_terminate_primary_jscore_passthrough.yml11
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_terminate_primary_jscore_passthrough.yml12
-rw-r--r--buildscripts/resmokeconfig/suites/retryable_writes_jscore_stepdown_passthrough.yml5
6 files changed, 30 insertions, 32 deletions
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_kill_primary_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_kill_primary_jscore_passthrough.yml
index 75e560310d4..c35f9451b23 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_kill_primary_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_kill_primary_jscore_passthrough.yml
@@ -73,12 +73,6 @@ selector:
# Creates new mongo connection but won't retry connecting.
- jstests/core/shell_connection_strings.js
- # Starts a parallel shell but won't restart it after unclean shutdown.
- # TODO SERVER-33229: Remove these exclusions
- - jstests/core/compact_keeps_indexes.js
- - jstests/core/find_and_modify_concurrent_update.js
- - jstests/core/shellstartparallel.js
-
# Inserts enough data that recovery takes more than 8 seconds, so we never get a working primary.
- jstests/core/geo_s2ordering.js
@@ -136,6 +130,11 @@ selector:
## The next tag corresponds to long running-operations, as they may exhaust their number
# of retries and result in a network error being thrown.
- operations_longer_than_stepdown_interval
+ # Operations in the main test shell aren't guaranteed to be causally consistent with operations
+ # performed earlier in a parallel shell if multiple nodes are electable because the latest
+ # operation and cluster times aren't shared between shells.
+ # "Cowardly refusing to run test with network retries enabled when it uses startParallelShell()"
+ - uses_parallel_shell
executor:
archive:
@@ -146,7 +145,6 @@ executor:
- ValidateCollections
config:
shell_options:
- # TODO SERVER-33229: Remove override of startParallelShell
eval: >-
testingReplication = true;
load('jstests/libs/override_methods/network_error_and_txn_override.js');
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_multi_stmt_txn_kill_primary_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_multi_stmt_txn_kill_primary_jscore_passthrough.yml
index 814b21f8c3e..22449386dc4 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_multi_stmt_txn_kill_primary_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_multi_stmt_txn_kill_primary_jscore_passthrough.yml
@@ -284,12 +284,6 @@ selector:
# Creates new mongo connection but won't retry connecting.
- jstests/core/shell_connection_strings.js
- # Starts a parallel shell but won't restart it after shutdown.
- # TODO SERVER-33229: Remove these exclusions
- - jstests/core/compact_keeps_indexes.js
- - jstests/core/find_and_modify_concurrent_update.js
- - jstests/core/shellstartparallel.js
-
# TODO SERVER-31242: findAndModify no-op retry should respect the fields option.
- jstests/core/crud_api.js
- jstests/core/find_and_modify2.js
@@ -362,6 +356,11 @@ selector:
- requires_capped
# Retrying a query can change whether a plan cache entry is active.
- inspects_whether_plan_cache_entry_is_active
+ # Operations in the main test shell aren't guaranteed to be causally consistent with operations
+ # performed earlier in a parallel shell if multiple nodes are electable because the latest
+ # operation and cluster times aren't shared between shells.
+ # "Cowardly refusing to run test with network retries enabled when it uses startParallelShell()"
+ - uses_parallel_shell
executor:
archive:
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_multi_stmt_txn_stepdown_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_multi_stmt_txn_stepdown_jscore_passthrough.yml
index 8e0d3975dfa..79cbcf950e1 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_multi_stmt_txn_stepdown_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_multi_stmt_txn_stepdown_jscore_passthrough.yml
@@ -284,12 +284,6 @@ selector:
# Creates new mongo connection but won't retry connecting.
- jstests/core/shell_connection_strings.js
- # Starts a parallel shell but won't restart it after shutdown.
- # TODO SERVER-33229: Remove these exclusions
- - jstests/core/compact_keeps_indexes.js
- - jstests/core/find_and_modify_concurrent_update.js
- - jstests/core/shellstartparallel.js
-
# Does not support tojson of command objects.
- jstests/core/SERVER-23626.js
@@ -341,6 +335,11 @@ selector:
- requires_capped
# Retrying a query can change whether a plan cache entry is active.
- inspects_whether_plan_cache_entry_is_active
+ # Operations in the main test shell aren't guaranteed to be causally consistent with operations
+ # performed earlier in a parallel shell if multiple nodes are electable because the latest
+ # operation and cluster times aren't shared between shells.
+ # "Cowardly refusing to run test with network retries enabled when it uses startParallelShell()"
+ - uses_parallel_shell
executor:
archive:
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_multi_stmt_txn_terminate_primary_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_multi_stmt_txn_terminate_primary_jscore_passthrough.yml
index 60a615830fd..036e7ef7ea4 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_multi_stmt_txn_terminate_primary_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_multi_stmt_txn_terminate_primary_jscore_passthrough.yml
@@ -281,12 +281,6 @@ selector:
# Creates new mongo connection but won't retry connecting.
- jstests/core/shell_connection_strings.js
- # Starts a parallel shell but won't restart it after shutdown.
- # TODO SERVER-33229: Remove these exclusions
- - jstests/core/compact_keeps_indexes.js
- - jstests/core/find_and_modify_concurrent_update.js
- - jstests/core/shellstartparallel.js
-
# TODO SERVER-31242: findAndModify no-op retry should respect the fields option.
- jstests/core/crud_api.js
- jstests/core/find_and_modify2.js
@@ -350,6 +344,11 @@ selector:
- requires_capped
# Retrying a query can change whether a plan cache entry is active.
- inspects_whether_plan_cache_entry_is_active
+ # Operations in the main test shell aren't guaranteed to be causally consistent with operations
+ # performed earlier in a parallel shell if multiple nodes are electable because the latest
+ # operation and cluster times aren't shared between shells.
+ # "Cowardly refusing to run test with network retries enabled when it uses startParallelShell()"
+ - uses_parallel_shell
executor:
archive:
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_terminate_primary_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_terminate_primary_jscore_passthrough.yml
index 219ad7a5c9c..634e5c69b93 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_terminate_primary_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_terminate_primary_jscore_passthrough.yml
@@ -73,12 +73,6 @@ selector:
# Creates new mongo connection but won't retry connecting.
- jstests/core/shell_connection_strings.js
- # Starts a parallel shell but won't restart it after shutdown.
- # TODO SERVER-33229: Remove these exclusions
- - jstests/core/compact_keeps_indexes.js
- - jstests/core/find_and_modify_concurrent_update.js
- - jstests/core/shellstartparallel.js
-
exclude_with_any_tags:
##
# The next four tags correspond to the special errors thrown by the auto_retry_on_network_error.js
@@ -118,6 +112,11 @@ selector:
- operations_longer_than_stepdown_interval
# Retrying a query can change whether a plan cache entry is active.
- inspects_whether_plan_cache_entry_is_active
+ # Operations in the main test shell aren't guaranteed to be causally consistent with operations
+ # performed earlier in a parallel shell if multiple nodes are electable because the latest
+ # operation and cluster times aren't shared between shells.
+ # "Cowardly refusing to run test with network retries enabled when it uses startParallelShell()"
+ - uses_parallel_shell
executor:
archive:
@@ -127,7 +126,6 @@ executor:
- ValidateCollections
config:
shell_options:
- # TODO SERVER-33229: Remove override of startParallelShell
eval: >-
testingReplication = true;
load("jstests/libs/override_methods/causally_consistent_index_builds.js");
diff --git a/buildscripts/resmokeconfig/suites/retryable_writes_jscore_stepdown_passthrough.yml b/buildscripts/resmokeconfig/suites/retryable_writes_jscore_stepdown_passthrough.yml
index 633066d4a4a..27df5fba16c 100644
--- a/buildscripts/resmokeconfig/suites/retryable_writes_jscore_stepdown_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/retryable_writes_jscore_stepdown_passthrough.yml
@@ -110,6 +110,11 @@ selector:
## The next tag corresponds to long running-operations, as they may exhaust their number
# of retries and result in a network error being thrown.
- operations_longer_than_stepdown_interval
+ # Operations in the main test shell aren't guaranteed to be causally consistent with operations
+ # performed earlier in a parallel shell if multiple nodes are electable because the latest
+ # operation and cluster times aren't shared between shells.
+ # "Cowardly refusing to run test with network retries enabled when it uses startParallelShell()"
+ - uses_parallel_shell
executor:
archive: