[SERVER-40034] Set setup_group_can_fail_task to true for compile-related task groups Created: 07/Mar/19 Updated: 29/Oct/23 Resolved: 13/Mar/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.7, 4.1.9 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | Max Hirschhorn |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | tig-evgconfig | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Backport Requested: |
v4.0
|
||||||||||||||||
| Sprint: | STM 2019-03-25 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||
| Story Points: | 1 | ||||||||||||||||
| Description |
|
The Evergreen team introduced the setup_group_can_fail_task option in EVG-5759 to make it possible for commands which fail in the setup_group list to cause the task to fail. This is desirable because it is otherwise possible for a transient network error to occur when cloning the enterprise module and for the compile task to successfully build the server without the enterprise module.
|
| Comments |
| Comment by Githook User [ 13/Mar/19 ] | ||||||||||
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: (cherry picked from commit 471ef6b4335dd180a9fd446629a4b068abd6c02e) | ||||||||||
| Comment by Githook User [ 13/Mar/19 ] | ||||||||||
|
Author: {'name': 'Max Hirschhorn', 'username': 'visemet', 'email': 'max.hirschhorn@mongodb.com'}Message: | ||||||||||
| Comment by Annie Black [ 08/Mar/19 ] | ||||||||||
|
Sorry about that max.hirschhorn, should be fixed next time we deploy. | ||||||||||
| Comment by Max Hirschhorn [ 08/Mar/19 ] | ||||||||||
|
brian.samek, annie.black, I'm running into trouble trying to use the setup_group_can_fail_task option where it appears a command in the setup_group is failing but the task keeps going without running the remainder of the setup_group. Note that the """Running command 'shell.exec' in "generate compile expansions" (step 7 of 7)""" message never appears in the log output (which is what causes this failure in a later task in the task group). The following error is actually an issue with how the embedded_sdk_build_and_test task group attempts to run the "install pip requirements" function before running the "set up virtualenv" function.
|