-
-
Notifications
You must be signed in to change notification settings - Fork 719
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flaky tests: coroutine 'InProc.write' was never awaited
#6551
Comments
maybe this? python/cpython#31003 |
ah no it's this distributed/distributed/batched.py Lines 94 to 96 in 96c13a5
|
xref #6389 |
Would that be resolved just by switching to asyncio? I don't actually see what's causing it to not be awaited. Is it if the |
no it's switching to
No the issue is the generator getting garbage collected and raising the GeneratorExit out of the yield here rather than the Future that write goes on to |
Ah, so just switching to |
Is there any known issue that would stop us from switching it? |
XREF: #6389 |
@graingert and I will write up a ticket or comment on what approach we're going to take here. Refactoring BatchedSend to use asyncio right now may not help/be hard, because we don't have something to hang the long-lived task off of yet. We'll probably just ignore the warning for now. |
Catch-all issue for flaky tests with tracebacks like
I would imagine there's some core problem that could be fixed to make all these tests work.
Some known failures (feel free to add more in comments):
test_dont_select_closed_worker
flaky #6507test_local_cluster_redundant_kwarg[True]
flaky #6506test_cleanup
leaked #6451test_run_spec
#6549 (this one is interesting because it's with a TCP comm, which indicates the problem isn't with InProc but rather with comm handling)test_localcluster_start_exception
#6769@graingert do you have any ideas? Weren't you looking at this at some point?
The text was updated successfully, but these errors were encountered: