You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/generating_tasks.md
+53-1Lines changed: 53 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,6 +157,49 @@ of the task definition. When this tag is present, both the extra setup steps and
157
157
of multiversion sub-tasks will be preformed. In order to only perform the extra setup steps
158
158
the `"no_version_combinations"` tag should also be included.
159
159
160
+
### Burn in tests and burn in tags
161
+
162
+
Newly added or modified tests might become flaky. In order to avoid that, those tests can be run
163
+
continuously multiple times in a row to see if the results are consistent. This process is called
164
+
burn-in.
165
+
166
+
`burn_in_tests_gen`task is used to generate burn-in tasks on the same buildvariant the task is
167
+
added to. The [example](https://github.com/mongodb/mongo/blob/81c41bdfdc56f05973fae70e80e80919f18f50c9/etc/evergreen_yml_components/definitions.yml#L3252-L3256)
168
+
of task configuration:
169
+
170
+
```yaml
171
+
- <<: *gen_task_template
172
+
name: burn_in_tests_gen
173
+
tags: []
174
+
commands:
175
+
- func: "generate resmoke tasks"
176
+
```
177
+
178
+
`burn_in_tags_gen`task is used to generate separate burn-in buildvariants. This way we can burn-in
179
+
on the requested buildvariant as well as the other, additional buildvariants to ensure there is no
180
+
difference between them.
181
+
182
+
The [example](https://github.com/mongodb/mongo/blob/81c41bdfdc56f05973fae70e80e80919f18f50c9/etc/evergreen_yml_components/definitions.yml#L4317-L4321)
183
+
of task configuration:
184
+
185
+
```yaml
186
+
- <<: *gen_task_template
187
+
name: burn_in_tags_gen
188
+
tags: []
189
+
commands:
190
+
- func: "generate resmoke tasks"
191
+
```
192
+
193
+
`burn_in_tag_buildvariants`buildvariant expansion is used to configure base buildvariant names.
194
+
Base buildvariant names should be delimited by spaces. The [example](https://github.com/mongodb/mongo/blob/81c41bdfdc56f05973fae70e80e80919f18f50c9/etc/evergreen.yml#L1257)
195
+
of `burn_in_tag_buildvariants` buildvariant expansion:
0 commit comments