The work for
SERVER-32074 added support to dump the python stacks when a signal (or Windows event) was received in powertest.py. This signal (or event) is triggered by the hang_analyzer when a timeout condition occurs. The resulting output is stdout, for that python process (and not the hang_analyzer). In the case of a remote process, it needs to be dumped to a file, i.e., debugger_remote_python_<pid>.log, which is similar to the mongod log produced by the hang_analyzer. Following this convention, the timeout phase of evergreen.yml will automatically copy the remote file over and be archived with the timed out task.