summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Shchatko <mikhail.shchatko@mongodb.com>2023-01-06 08:35:41 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-01-06 09:09:16 +0000
commit8fd187d1f0c32a4d2fbf720e7f8c37b392c013b2 (patch)
treed69826b8aa56ad68c935b787721a752d9000ae09
parent841de0c1431530903cac29bab34bebfd65f6284d (diff)
downloadmongo-8fd187d1f0c32a4d2fbf720e7f8c37b392c013b2.tar.gz
SERVER-72297 Add burn_in_tasks related configuration
-rw-r--r--etc/evergreen.yml12
-rw-r--r--etc/evergreen_yml_components/definitions.yml21
-rw-r--r--evergreen/prelude_mongo_task_generator.sh2
3 files changed, 27 insertions, 8 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 231a046d2cc..1ff34896177 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -941,6 +941,10 @@ buildvariants:
--excludeWithAnyTags=incompatible_with_windows_tls
--excludeWithAnyTags=incompatible_with_shard_merge
external_auth_jobs_max: 1
+ # 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_disabled_pipeline_opt
@@ -949,6 +953,7 @@ buildvariants:
- name: query_golden_classic
- name: query_golden_cqf
- name: burn_in_tests_gen
+ # - name: burn_in_tasks_gen
- name: audit
- name: auth_audit_gen
- name: buildscripts_test
@@ -1532,6 +1537,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
depends_on:
- name: archive_dist_test
variant: *linux_x86_dynamic_compile_variant_name
@@ -1553,6 +1562,8 @@ buildvariants:
- name: lint_fuzzer_sanity_patch
- name: test_api_version_compatibility
- name: burn_in_tests_gen
+ - name: burn_in_tags_gen
+ # - name: burn_in_tasks_gen
- name: check_feature_flag_tags
- name: check_for_todos
- name: .aggfuzzer
@@ -1560,7 +1571,6 @@ buildvariants:
- name: aggregation_repeat_queries
- name: audit
- name: .auth
- - name: burn_in_tags_gen
- name: buildscripts_test
- name: resmoke_end2end_tests
- name: unittest_shell_hang_analyzer_gen
diff --git a/etc/evergreen_yml_components/definitions.yml b/etc/evergreen_yml_components/definitions.yml
index 518ad2061ee..cdb5a1eb3ce 100644
--- a/etc/evergreen_yml_components/definitions.yml
+++ b/etc/evergreen_yml_components/definitions.yml
@@ -3490,6 +3490,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"
@@ -4597,12 +4612,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..439c547094e 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.0/mongo-task-generator --output mongo-task-generator
chmod +x mongo-task-generator
fi
}