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

Avoid trying to kill a node twice to prevent orphaned processes. #1232

Merged
merged 2 commits into from
Jun 6, 2023

Conversation

jgiszczak
Copy link
Contributor

Some tests terminate some nodes but not all. The atexit routine intended to be the final catchall for cleaning up a cluster would fail to terminate all nodes if it tried to terminate a node which had been shut down via interruptAndVerifyExitStatus first. Tolerate terminated nodes and if the global Debug flag is set, log double kills. (The log message should be converted to a custom TRACE level when the code is converted to the Python logging module.)

@jgiszczak jgiszczak requested review from heifner and ScottBailey June 5, 2023 23:14
@heifner heifner added the OCI Work exclusive to OCI team label Jun 6, 2023
@jgiszczak jgiszczak merged commit ba919c7 into main Jun 6, 2023
@jgiszczak jgiszczak deleted the test-harness-double-kill-fix branch June 6, 2023 15:51
@ScottBailey
Copy link
Contributor

Accepted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants