Flaky tests: assert False, (bad_thread, call_stacks)
- Worker executor thread still running after Nanny.kill
#6796
Labels
flaky test
Intermittent failures on CI.
distributed.deploy.tests.test_spec_cluster::test_adaptive_killed_worker
#6794distributed.deploy.tests.test_spec_cluster::test_restart
#6795In these tests, a Nanny is killed (either via
Nanny.kill
, orNanny.restart
, which callskill
internally), like:distributed/distributed/deploy/tests/test_spec_cluster.py
Lines 156 to 158 in a53858a
It appears that in some cases the worker's ThreadPoolExecutor isn't being terminated? That's confusing though, since the worker should be in a subprocess, so its threads wouldn't even be visible to the parent process?
I have a feeling #6427 would address this (or at least raise a meaningful error instead of this thread leakage?) because
Nanny.kill
doesn't actually wait for the subprocess to terminate.The text was updated successfully, but these errors were encountered: