[issue37245] Azure Pipeline 3.8 CI: multiple tests hung and timed out on macOS 10.13

Steve Dower report at bugs.python.org
Mon Sep 9 12:43:51 EDT 2019


Steve Dower <steve.dower at python.org> added the comment:

I suspect this code is a repro - it certainly locks up the host process reliably enough.

Perhaps if we unblock multiprocessing in the context of a crashed worker then it'll show what the underlying errors are?


import os
from multiprocessing import Pool

def f(x):
    os._exit(0)
    return "success"

if __name__ == '__main__':
    with Pool(1) as p:
        print(p.map(f, [1]))

----------
nosy: +davin, pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37245>
_______________________________________


More information about the Python-bugs-list mailing list