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

Fix test_process_executor_kills_process flakyness #5183

Merged
merged 6 commits into from
Aug 11, 2021
Merged

Conversation

crusaderky
Copy link
Collaborator

@crusaderky crusaderky commented Aug 6, 2021

test_process_executor_kills_process has started chain-failing on ubuntu 3.7/3.8/3.9 and on macosx 3.7 (only).

Possibly it's not failing on macosx 3.8/3.9 because the scheduler is not cythonized and that's enough to slow everything down to let the SIGTERM take effect?

This PR changes SIGTERM to SIGKILL which should be instantaneous at all times.

Also address a couple other flaky tests.

@fjetter
Copy link
Member

fjetter commented Aug 6, 2021

test_process_executor_kills_process still flaky :/

@@ -2229,7 +2229,7 @@ def _transition(self, key, finish: str, *args, **kwargs):
self._transition_counter += 1
recommendations, client_msgs, worker_msgs = a
elif "released" not in start_finish:
assert not args and not kwargs
assert not args and not kwargs, (args, kwargs)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@crusaderky
Copy link
Collaborator Author

Ready for final review and merge

@fjetter fjetter merged commit 2801f11 into dask:main Aug 11, 2021
@crusaderky crusaderky deleted the CI_fix branch August 16, 2021 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants