Older branches, for instance, the 5.0 one, are missing the script print_stack_trace.py that dumps and uploads stack traces from core dumps.
It would be great to add this script and the required code changes to their Evergreen file to execute the script when needed.