Skip to content
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: plain TimeoutError during client connection to scheduler #6757

Open
gjoseph92 opened this issue Jul 20, 2022 · 1 comment
Open
Labels
flaky test Intermittent failures on CI.

Comments

@gjoseph92
Copy link
Collaborator

Manifests as a CancelledError from Comm.read:

>           frames_nbytes = await stream.read_bytes(fmt_size)
E           asyncio.exceptions.CancelledError

Which eventually comes out as a TimeoutError from asyncio.wait_for:

except exceptions.CancelledError as exc:
>                   raise exceptions.TimeoutError() fromexc
E                   asyncio.exceptions.TimeoutError

Then, tearing down the test times out after 10s waiting for all global clients to close:

whileset(_global_clients):
            sleep(0.1)
>           assert time() < start + 10
E           assert 1657573967.6341991 < (1657573957.571699 + 10)
E            +  where 1657573967.6341991 = time()

I would imagine the underlying cause is related to (or even the same as) #6731.

@gjoseph92 gjoseph92 added the flaky test Intermittent failures on CI. label Jul 20, 2022
@gjoseph92
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky test Intermittent failures on CI.
Projects
None yet
Development

No branches or pull requests

1 participant