summaryrefslogtreecommitdiff
path: root/buildscripts/resmokeconfig/matrix_suites/overrides/multiversion.yml
blob: 11956227a03e0bb9507ecb151558c45d7d33abf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
### Overrides for more than 1 suite ###
- name: replica_fixture_last_lts_new_new_old
  value:
    executor:
      fixture:
        num_nodes: 3
        old_bin_version: last_lts
        mixed_bin_versions: new_new_old

- name: replica_fixture_last_lts_new_old_new
  value:
    executor:
      fixture:
        num_nodes: 3
        old_bin_version: last_lts
        mixed_bin_versions: new_old_new

- name: replica_fixture_last_lts_old_new_new
  value:
    executor:
      fixture:
        num_nodes: 3
        old_bin_version: last_lts
        mixed_bin_versions: old_new_new

- name: replica_fixture_last_continuous_new_new_old
  value:
    executor:
      fixture:
        num_nodes: 3
        old_bin_version: last_continuous
        mixed_bin_versions: new_new_old

- name: replica_fixture_last_continuous_new_old_new
  value:
    executor:
      fixture:
        num_nodes: 3
        old_bin_version: last_continuous
        mixed_bin_versions: new_old_new

- name: replica_fixture_last_continuous_old_new_new
  value:
    executor:
      fixture:
        num_nodes: 3
        old_bin_version: last_continuous
        mixed_bin_versions: old_new_new

- name: sharded_fixture_last_lts_new_old_old_new
  value:
    executor:
      fixture:
        num_shards: 2
        num_rs_nodes_per_shard: 2
        old_bin_version: last_lts
        mixed_bin_versions: new_old_old_new

- name: sharded_fixture_last_continuous_new_old_old_new
  value:
    executor:
      fixture:
        num_shards: 2
        num_rs_nodes_per_shard: 2
        old_bin_version: last_continuous
        mixed_bin_versions: new_old_old_new


### Suite-specific overrides ###
- name: multiversion_future_git_tag_exclude_files
  value:
    selector:
      exclude_files:
        # Do not execute files with helper functions.
        - jstests/multiVersion/libs/*.js

        # Exclude last-continuous specific tests
        - jstests/multiVersion/targetedTestsLastContinuousFeatures/*.js

        # Exclude last-lts specific tests
        - jstests/multiVersion/targetedTestsLastLtsFeatures/*.js

        # TODO: SERVER-21578
        - jstests/multiVersion/genericSetFCVUsage/balancer_multiVersion_detect.js

        # TODO: SERVER-28104
        - jstests/multiVersion/genericBinVersion/minor_version_tags_new_old_new.js

        # TODO SERVER-42919: recent work on the ReplicaSetMonitor means that mongoS no longer crashes when
        # it attempts to connect to an upgraded mongoD. Un-denylist when SERVER-42919 fixes this issue.
        - jstests/multiVersion/genericSetFCVUsage/crash_mongos_against_upgraded_cluster.js

- name: multiversion_auth_future_git_tag_exclude_files
  value:
    selector:
      exclude_files:
        # Do not execute files with helper functions.
        - jstests/multiVersion/libs/*.js

        # Exclude last-continuous specific tests
        - jstests/multiVersion/targetedTestsLastContinuousFeatures/*.js

        # TODO: SERVER-21578
        - jstests/multiVersion/genericSetFCVUsage/balancer_multiVersion_detect.js

        # TODO: SERVER-28104
        - jstests/multiVersion/genericBinVersion/minor_version_tags_new_old_new.js

        # TODO SERVER-42919: recent work on the ReplicaSetMonitor means that mongoS no longer crashes when
        # it attempts to connect to an upgraded mongoD. Un-denylist when SERVER-42919 fixes this issue.
        - jstests/multiVersion/genericSetFCVUsage/crash_mongos_against_upgraded_cluster.js

        # Skip any tests that run with auth explicitly.
        - jstests/multiVersion/genericBinVersion/load_keys_on_upgrade.js
      exclude_with_any_tags:

- name: multiversion_sanity_check_selector
  value:
    selector:
      include_with_any_tags:
        - multiversion_sanity_check

- name: replica_sets_multiversion_selector
  value:
    selector:
      roots:
        - jstests/replsets/*.js
      exclude_with_any_tags:
        - multiversion_incompatible
        - backport_required_multiversion
        - replica_sets_multiversion_backport_required_multiversion
      exclude_files:
        - jstests/replsets/initial_sync_rename_collection.js
        - jstests/replsets/initial_sync_drop_collection.js
        - jstests/replsets/apply_prepare_txn_write_conflict_robustness.js
        - jstests/replsets/invalidate_sessions_on_stepdown.js
        - jstests/replsets/initial_sync_fails_unclean_restart.js

- name: replica_sets_multiversion_testdata_last_lts
  value:
    executor:
      config:
        shell_options:
          global_vars:
            TestData:
              useRandomBinVersionsWithinReplicaSet: 'last-lts'

- name: replica_sets_multiversion_testdata_last_continuous
  value:
    executor:
      config:
        shell_options:
          global_vars:
            TestData:
              useRandomBinVersionsWithinReplicaSet: 'last-continuous'

- name: rollback_multiversion_fuzzer_testdata_last_lts
  value:
    executor:
      config:
        shell_options:
          global_vars:
            TestData:
              syncdelay: 5
              logComponentVerbosity:
                network:
                  verbosity:
                replication:
                  verbosity: 1
                storage:
                  verbosity: 1
              rollbackShutdowns: true
              useRandomBinVersionsWithinReplicaSet: 'last-lts'

- name: rollback_multiversion_fuzzer_testdata_last_continuous
  value:
    executor:
      config:
        shell_options:
          global_vars:
            TestData:
              syncdelay: 5
              logComponentVerbosity:
                network:
                  verbosity:
                replication:
                  verbosity: 1
                storage:
                  verbosity: 1
              rollbackShutdowns: true
              useRandomBinVersionsWithinReplicaSet: 'last-continuous'

- name: sharding_multiversion_selector
  value:
    selector:
      exclude_with_any_tags:
        - multiversion_incompatible
        - backport_required_multiversion
        - replica_sets_multiversion_backport_required_multiversion
      exclude_files:
        - jstests/sharding/**/libs/**/*.js
        # Enable when 4.6 becomes last stable
        - jstests/sharding/query/merge_command_options.js
        - jstests/sharding/max_time_ms_enforced_on_shard.js
        # TODO SERVER-46040: Enable when SERVER-46040 is backported
        - jstests/sharding/drop_indexes_with_stale_config_error.js
        - jstests/sharding/query/merge_write_concern.js

- name: sharding_multiversion_testdata_last_lts
  value:
    executor:
      config:
        shell_options:
          global_vars:
            TestData:
              useRandomBinVersionsWithinReplicaSet: 'last-lts'
              mongosBinVersion: 'last-lts'

- name: sharding_multiversion_testdata_last_continuous
  value:
    executor:
      config:
        shell_options:
          global_vars:
            TestData:
              useRandomBinVersionsWithinReplicaSet: 'last-continuous'
              mongosBinVersion: 'last-continuous'

- name: jstestfuzz_replication_multiversion_hooks
  value:
    executor:
      hooks:
        - class: FuzzerRestoreSettings
        - class: CheckReplOplogs
        - class: CheckReplDBHash
          shell_options:
            global_vars:
              TestData:
                skipValidationOnInvalidViewDefinitions: true
        - class: ValidateCollections
          shell_options:
            global_vars:
              TestData:
                skipValidationOnInvalidViewDefinitions: true

- name: jstestfuzz_sharded_multiversion_hooks
  value:
    executor:
      hooks:
        - class: FuzzerRestoreSettings
        - class: CheckReplDBHash
          shell_options:
            global_vars:
              TestData:
                skipValidationOnInvalidViewDefinitions: true
        - class: ValidateCollections
          shell_options:
            global_vars:
              TestData:
                skipValidationOnInvalidViewDefinitions: true