From 4d789600a6a508e1cfd0a2d3bd27ad565fa9e14b Mon Sep 17 00:00:00 2001 From: Mikhail Shchatko Date: Tue, 24 Jan 2023 09:21:28 +0000 Subject: SERVER-72297 Add burn_in_tasks related configuration (cherry picked from commit 411bf66d0a6a61fe922043c01eb120730a210a3b) --- etc/evergreen.yml | 10 ++++++++++ etc/evergreen_yml_components/definitions.yml | 21 +++++++++++++++------ evergreen/prelude_mongo_task_generator.sh | 2 +- 3 files changed, 26 insertions(+), 7 deletions(-) diff --git a/etc/evergreen.yml b/etc/evergreen.yml index e04bfe2a982..a788d80b52c 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -963,6 +963,10 @@ buildvariants: --additionalFeatureFlagsFile all_feature_flags.txt --excludeWithAnyTags=incompatible_with_windows_tls --excludeWithAnyTags=incompatible_with_shard_merge + # Uncomment expansion and `burn_in_tasks_gen` task below and add resmoke task name to burn-in. + # WARNING! Task splitting is not supported for burn-in tasks. Large unsplitted `_gen` tasks may + # run too long and hit execution timeouts. + # burn_in_task_name: jsCore tasks: - name: cqf - name: cqf_parallel @@ -973,6 +977,7 @@ buildvariants: distros: - windows-vsCurrent-xlarge - name: burn_in_tests_gen + # - name: burn_in_tasks_gen - name: audit - name: auth_audit_gen - name: causally_consistent_jscore_txns_passthrough @@ -1452,6 +1457,10 @@ buildvariants: test_flags: >- --additionalFeatureFlagsFile all_feature_flags.txt --excludeWithAnyTags=incompatible_with_shard_merge + # Uncomment expansion and `burn_in_tasks_gen` task below and add resmoke task name to burn-in. + # WARNING! Task splitting is not supported for burn-in tasks. Large unsplitted `_gen` tasks may + # run too long and hit execution timeouts. + # burn_in_task_name: jsCore tasks: &enterprise-rhel-80-64-bit-dynamic-all-feature-flags-tasks - name: cqf - name: cqf_parallel @@ -1469,6 +1478,7 @@ buildvariants: distros: - rhel80-large - name: burn_in_tests_gen + # - name: burn_in_tasks_gen - name: .aggfuzzer - name: .aggregation - name: audit diff --git a/etc/evergreen_yml_components/definitions.yml b/etc/evergreen_yml_components/definitions.yml index 9e2733bc145..d574315659f 100644 --- a/etc/evergreen_yml_components/definitions.yml +++ b/etc/evergreen_yml_components/definitions.yml @@ -3329,6 +3329,21 @@ tasks: - <<: *gen_burn_in_task_template name: burn_in_tests_gen tags: [] + patch_only: true + commands: + - func: "generate resmoke tasks" + +- <<: *gen_burn_in_task_template + name: burn_in_tags_gen + tags: [] + patch_only: true + commands: + - func: "generate resmoke tasks" + +- <<: *gen_burn_in_task_template + name: burn_in_tasks_gen + tags: [] + patch_only: true commands: - func: "generate resmoke tasks" @@ -4353,12 +4368,6 @@ tasks: commands: - func: "generate resmoke tasks" -- <<: *gen_burn_in_task_template - name: burn_in_tags_gen - tags: [] - commands: - - func: "generate resmoke tasks" - - name: version_gen commands: - command: manifest.load diff --git a/evergreen/prelude_mongo_task_generator.sh b/evergreen/prelude_mongo_task_generator.sh index b76690db7c2..896ae617ed5 100644 --- a/evergreen/prelude_mongo_task_generator.sh +++ b/evergreen/prelude_mongo_task_generator.sh @@ -1,6 +1,6 @@ function setup_mongo_task_generator { if [ ! -f mongo-task-generator ]; then - curl -L https://github.com/mongodb/mongo-task-generator/releases/download/v0.6.7/mongo-task-generator --output mongo-task-generator + curl -L https://github.com/mongodb/mongo-task-generator/releases/download/v0.7.1/mongo-task-generator --output mongo-task-generator chmod +x mongo-task-generator fi } -- cgit v1.2.1