SERVER-120030 Add bazel targets for release-critical, cluster-scalability resmoke suites (#50588)
GitOrigin-RevId: a24d3b491d07c9d8a8fb013c92b6d366a585aa12
This commit is contained in:
parent
61c1fe7e47
commit
d8409f9be1
@ -1648,6 +1648,7 @@ tasks:
|
||||
"incompatible_mac",
|
||||
"sharding",
|
||||
"jscore",
|
||||
"has_bazel_target",
|
||||
]
|
||||
commands:
|
||||
- func: "generate resmoke tasks"
|
||||
@ -1909,6 +1910,7 @@ tasks:
|
||||
"sharding",
|
||||
"jscore",
|
||||
"common",
|
||||
"has_bazel_target",
|
||||
]
|
||||
commands:
|
||||
- func: "generate resmoke tasks"
|
||||
|
||||
@ -17,3 +17,16 @@ exports_files(
|
||||
"*.ini",
|
||||
]),
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "timezone_info",
|
||||
srcs = [
|
||||
"//jstests/libs/config_files/bad_timezone_info:InvalidVersion",
|
||||
"//jstests/libs/config_files/good_timezone_info_fat:GMT",
|
||||
"//jstests/libs/config_files/good_timezone_info_fat/America:New_York",
|
||||
"//jstests/libs/config_files/good_timezone_info_fat/America:Sao_Paulo",
|
||||
"//jstests/libs/config_files/good_timezone_info_slim:GMT",
|
||||
"//jstests/libs/config_files/good_timezone_info_slim/America:New_York",
|
||||
"//jstests/libs/config_files/good_timezone_info_slim/America:Sao_Paulo",
|
||||
],
|
||||
)
|
||||
|
||||
@ -10,3 +10,7 @@ mongo_js_library(
|
||||
)
|
||||
|
||||
all_subpackage_javascript_files()
|
||||
|
||||
exports_files([
|
||||
"InvalidVersion",
|
||||
])
|
||||
|
||||
@ -10,3 +10,8 @@ mongo_js_library(
|
||||
)
|
||||
|
||||
all_subpackage_javascript_files()
|
||||
|
||||
exports_files([
|
||||
"New_York",
|
||||
"Sao_Paulo",
|
||||
])
|
||||
|
||||
@ -10,3 +10,5 @@ mongo_js_library(
|
||||
)
|
||||
|
||||
all_subpackage_javascript_files()
|
||||
|
||||
exports_files(["GMT"])
|
||||
|
||||
@ -10,3 +10,8 @@ mongo_js_library(
|
||||
)
|
||||
|
||||
all_subpackage_javascript_files()
|
||||
|
||||
exports_files([
|
||||
"New_York",
|
||||
"Sao_Paulo",
|
||||
])
|
||||
|
||||
@ -10,3 +10,5 @@ mongo_js_library(
|
||||
)
|
||||
|
||||
all_subpackage_javascript_files()
|
||||
|
||||
exports_files(["GMT"])
|
||||
|
||||
138
jstests/suites/cluster-scalability/BUILD.bazel
Normal file
138
jstests/suites/cluster-scalability/BUILD.bazel
Normal file
@ -0,0 +1,138 @@
|
||||
load("//bazel/resmoke:resmoke.bzl", "resmoke_suite_test")
|
||||
load(":common.bzl", "SHARDING_DATA")
|
||||
load("//jstests/suites/query-execution:common.bzl", "CORE_DATA")
|
||||
|
||||
resmoke_suite_test(
|
||||
name = "sharded_collections_jscore_passthrough_base",
|
||||
config = "//buildscripts/resmokeconfig:suites/sharded_collections_jscore_passthrough_base.yml",
|
||||
data = [],
|
||||
deps = [
|
||||
"//src/mongo/db:mongod",
|
||||
"//src/mongo/s:mongos",
|
||||
"//src/mongo/shell:mongo",
|
||||
],
|
||||
)
|
||||
|
||||
resmoke_suite_test(
|
||||
name = "sharded_collections_jscore_passthrough",
|
||||
config = "//buildscripts/resmokeconfig:matrix_suites/generated_suites/sharded_collections_jscore_passthrough.yml",
|
||||
data = [
|
||||
"//buildscripts/resmokeconfig:matrix_suites/mappings/sharded_collections_jscore_passthrough.yml",
|
||||
"//buildscripts/resmokeconfig:matrix_suites/overrides/check_system_buckets_hook.yml",
|
||||
"//buildscripts/resmokeconfig:suites/sharded_collections_jscore_passthrough_base.yml",
|
||||
"//jstests/sharding/analyze_shard_key/libs:all_subpackage_javascript_files",
|
||||
"//jstests/sharding/libs:all_subpackage_javascript_files",
|
||||
] + CORE_DATA,
|
||||
shard_count = 20,
|
||||
tags = [
|
||||
"ci-release-critical",
|
||||
"jscore",
|
||||
"sharding",
|
||||
],
|
||||
target_compatible_with = select({
|
||||
"@platforms//os:macos": ["@platforms//:incompatible"],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
deps = [
|
||||
"//src/mongo/db:mongod",
|
||||
"//src/mongo/s:mongos",
|
||||
"//src/mongo/shell:mongo",
|
||||
],
|
||||
)
|
||||
|
||||
resmoke_suite_test(
|
||||
name = "sharding",
|
||||
config = "//buildscripts/resmokeconfig:suites/sharding.yml",
|
||||
data = [
|
||||
"//jstests/concurrency/fsm_libs:shard_fixture.js",
|
||||
"//jstests/noPassthrough/rs_endpoint/lib:all_subpackage_javascript_files",
|
||||
"//jstests/sharding/libs:all_subpackage_javascript_files",
|
||||
"//jstests/sharding/libs:proxy_protocol_server",
|
||||
] + SHARDING_DATA,
|
||||
shard_count = 50,
|
||||
tags = [
|
||||
"ci-release-critical",
|
||||
"common",
|
||||
"incompatible_with_bazel_remote_test", # TODO(SERVER-122831) proxy_protocol_connect.js fails with "Unable to start program ss: No such file or directory" in remote execution
|
||||
"sharding",
|
||||
],
|
||||
target_compatible_with = select({
|
||||
"@platforms//os:macos": ["@platforms//:incompatible"],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
deps = [
|
||||
"//src/mongo/db:mongod",
|
||||
"//src/mongo/s:mongos",
|
||||
"//src/mongo/shell:mongo",
|
||||
"//src/mongo/tools/mongobridge_tool:mongobridge",
|
||||
],
|
||||
)
|
||||
|
||||
resmoke_suite_test(
|
||||
name = "sharding_csrs_continuous_config_stepdown",
|
||||
config = "//buildscripts/resmokeconfig:suites/sharding_csrs_continuous_config_stepdown.yml",
|
||||
data = [
|
||||
"//jstests/concurrency/fsm_libs:shard_fixture.js",
|
||||
"//jstests/noPassthrough/rs_endpoint/lib:all_subpackage_javascript_files",
|
||||
"//jstests/sharding/libs:all_subpackage_javascript_files",
|
||||
"//jstests/sharding/libs:proxy_protocol_server",
|
||||
] + SHARDING_DATA,
|
||||
shard_count = 50,
|
||||
tags = [
|
||||
"ci-release-critical",
|
||||
"common",
|
||||
"csrs",
|
||||
"incompatible_with_bazel_remote_test", # TODO(SERVER-122831) proxy_protocol_connect.js fails with "Unable to start program ss: No such file or directory" in remote execution
|
||||
"non_live_record",
|
||||
"sharding",
|
||||
],
|
||||
target_compatible_with = select({
|
||||
"@platforms//os:macos": ["@platforms//:incompatible"],
|
||||
"@platforms//os:windows": ["@platforms//:incompatible"],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
deps = [
|
||||
"//src/mongo/db:mongod",
|
||||
"//src/mongo/s:mongos",
|
||||
"//src/mongo/shell:mongo",
|
||||
"//src/mongo/tools/mongobridge_tool:mongobridge",
|
||||
],
|
||||
)
|
||||
|
||||
resmoke_suite_test(
|
||||
name = "sharding_jscore_passthrough_base",
|
||||
config = "//buildscripts/resmokeconfig:suites/sharding_jscore_passthrough_base.yml",
|
||||
data = [],
|
||||
deps = [
|
||||
"//src/mongo/db:mongod",
|
||||
"//src/mongo/s:mongos",
|
||||
"//src/mongo/shell:mongo",
|
||||
],
|
||||
)
|
||||
|
||||
resmoke_suite_test(
|
||||
name = "sharding_jscore_passthrough",
|
||||
config = "//buildscripts/resmokeconfig:matrix_suites/generated_suites/sharding_jscore_passthrough.yml",
|
||||
data = [
|
||||
"//buildscripts/resmokeconfig:matrix_suites/mappings/sharding_jscore_passthrough.yml",
|
||||
"//buildscripts/resmokeconfig:matrix_suites/overrides/check_system_buckets_hook.yml",
|
||||
"//buildscripts/resmokeconfig:suites/sharding_jscore_passthrough_base.yml",
|
||||
"//jstests/sharding/libs:all_subpackage_javascript_files",
|
||||
] + CORE_DATA,
|
||||
shard_count = 20,
|
||||
tags = [
|
||||
"ci-release-critical",
|
||||
"common",
|
||||
"jscore",
|
||||
"sharding",
|
||||
],
|
||||
target_compatible_with = select({
|
||||
"@platforms//os:macos": ["@platforms//:incompatible"],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
deps = [
|
||||
"//src/mongo/db:mongod",
|
||||
"//src/mongo/s:mongos",
|
||||
"//src/mongo/shell:mongo",
|
||||
],
|
||||
)
|
||||
5
jstests/suites/cluster-scalability/OWNERS.yml
Normal file
5
jstests/suites/cluster-scalability/OWNERS.yml
Normal file
@ -0,0 +1,5 @@
|
||||
version: 2.0.0
|
||||
filters:
|
||||
- "*":
|
||||
approvers:
|
||||
- 10gen/server-cluster-scalability
|
||||
10
jstests/suites/cluster-scalability/common.bzl
Normal file
10
jstests/suites/cluster-scalability/common.bzl
Normal file
@ -0,0 +1,10 @@
|
||||
SHARDING_DATA = [
|
||||
"//jstests/libs:key1",
|
||||
"//jstests/libs:key2",
|
||||
"//jstests/aggregation/extras:all_subpackage_javascript_files",
|
||||
"//jstests/multiVersion/libs:all_subpackage_javascript_files",
|
||||
"//jstests/fle2/libs:all_subpackage_javascript_files",
|
||||
"//jstests/libs/config_files:timezone_info",
|
||||
"//jstests/libs/config_files:set_shardingrole_shardsvr.json",
|
||||
"//jstests/libs/config_files:set_shardingrole_configsvr.json",
|
||||
]
|
||||
Loading…
Reference in New Issue
Block a user