You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#6671 xfails the tests on MacOSX when the test expects SIGINT or SIGTERM as a return code but it gets SIGKILL instead.
Should we keep this issue open for a future fix? I am personally disinclined to spend more time on it, as this hardly affects the tested software. Any third-party nanny that tests our exit codes should only ever check zero vs. nonzero.
Activity
crusaderky commentedon Jul 1, 2022
I'm getting a new error:
https://github.com/dask/distributed/pull/6633/checks?check_run_id=7150089143
I cannot understand how the process received SIGKILL after we sent SIGTERM 🤷♂️
fjetter commentedon Jul 4, 2022
There are a couple of places we are issuing a SIGKILL
distributed/distributed/nanny.py
Lines 672 to 681 in c992f80
distributed/distributed/nanny.py
Line 774 in c992f80
The last item on this list reminds me of #6493 (comment) where I was also finding a worker not closing as expected
fjetter commentedon Jul 4, 2022
Turns out, the AsyncProcess also has a finalizer that is terminating the process. I do not see any logs in the failing CI, though
distributed/distributed/process.py
Lines 363 to 369 in c992f80
crusaderky commentedon Jul 4, 2022
The nanny isn't involved in this test though
All those calls to terminate() sends SIGTERM, not SIGKILL:
distributed/distributed/process.py
Lines 261 to 288 in c992f80
distributed/distributed/process.py
Lines 219 to 224 in c992f80
crusaderky commentedon Jul 5, 2022
#6671 xfails the tests on MacOSX when the test expects SIGINT or SIGTERM as a return code but it gets SIGKILL instead.
Should we keep this issue open for a future fix? I am personally disinclined to spend more time on it, as this hardly affects the tested software. Any third-party nanny that tests our exit codes should only ever check zero vs. nonzero.