c10201a4271f46bcf35decd8c8ca9e27ddf00bea,horovod/run/common/util/safe_shell_exec.py,,terminate_executor_shell_and_children,#Any#,30
Before Change
pass
// Kill shell itself.
p.kill()
def forward_stream(src_fd, dst_stream, prefix, index):
After Change
try:
p.wait(timeout=GRACEFUL_TERMINATION_TIME_S)
except psutil.TimeoutExpired:
try:
p.kill()
except psutil.NoSuchProcess:
pass
def forward_stream(src_stream, dst_stream, prefix, index):
def prepend_context(line, rank, prefix):
localtime = time.asctime(time.localtime(time.time()))
return "{time}[{rank}]<{prefix}>:{line}".format(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: horovod/horovod
Commit Name: c10201a4271f46bcf35decd8c8ca9e27ddf00bea
Time: 2020-04-30
Author: taddair@uber.com
File Name: horovod/run/common/util/safe_shell_exec.py
Class Name:
Method Name: terminate_executor_shell_and_children
Project Name: ray-project/ray
Commit Name: 3504391fd2b65ef1777e3d361a23e126add107e5
Time: 2020-09-29
Author: kfstorm@outlook.com
File Name: python/ray/tests/test_component_failures_2.py
Class Name:
Method Name: test_worker_failed
Project Name: ray-project/ray
Commit Name: 3504391fd2b65ef1777e3d361a23e126add107e5
Time: 2020-09-29
Author: kfstorm@outlook.com
File Name: python/ray/tests/test_multinode_failures.py
Class Name:
Method Name: test_worker_failed