[SERVER-60820] Hang analyzer fails to run in Evergreen Created: 19/Oct/21 Updated: 29/Oct/23 Resolved: 20/Oct/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 5.1.2, 5.2.0-rc0 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Max Hirschhorn | Assignee: | Richard Samuels (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Requested: |
v5.1
|
||||||||||||
| Sprint: | STM 2021-11-01 | ||||||||||||
| Participants: | |||||||||||||
| Story Points: | 0 | ||||||||||||
| Description |
|
There's an error in the exception handling too so I don't know the true reason we couldn't get the Evergreen credentials.
|
| Comments |
| Comment by Richard Samuels (Inactive) [ 20/Oct/21 ] |
|
I suspect that this error only occurred in burn_in_tags because we don't setup an evergreen credential file for all generated burn in tasks. The attached change has fixed the exception handling and modified the hang analyzer to always set up the evergreen credential file before running the hang analyzer. Between this change, and the previous one, this problem should finally disappear |
| Comment by Githook User [ 20/Oct/21 ] |
|
Author: {'name': 'Richard Samuels', 'email': 'richard.l.samuels@gmail.com', 'username': 'richardsamuels'}Message: |
| Comment by Richard Samuels (Inactive) [ 19/Oct/21 ] |
|
The hang analyzer now looks at multiple directories, checks if there is a .evergreen.yml file, and if it exists, tries to use it to contact evergreen. If _find_evergreen_yaml_candidates() finds no .evergreen.yml files, the hang analyzer will throw None, which is invalid. Further question: why did the hang analyzer not find a single .evergreen.yml file, not even the broken one in the home directory? |