summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Shchatko <mikhail.shchatko@mongodb.com>2023-01-24 09:21:28 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-05-11 07:40:33 +0000
commit4d789600a6a508e1cfd0a2d3bd27ad565fa9e14b (patch)
treed1bf195466e2ca99e9d029bdcaf168f34b4c0c9c
parenteb4753305e65ee592a9cca0d2b3e0c80812d8cf6 (diff)
downloadmongo-4d789600a6a508e1cfd0a2d3bd27ad565fa9e14b.tar.gz
SERVER-72297 Add burn_in_tasks related configuration
(cherry picked from commit 411bf66d0a6a61fe922043c01eb120730a210a3b)
-rw-r--r--etc/evergreen.yml10
-rw-r--r--etc/evergreen_yml_components/definitions.yml21
-rw-r--r--evergreen/prelude_mongo_task_generator.sh2
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
}