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

tests: don't ignore shutdown hangs in failure injector #5677

Merged
merged 1 commit into from
Jul 28, 2022

Conversation

jcsp
Copy link
Contributor

@jcsp jcsp commented Jul 27, 2022

Cover letter

Previously, a hang on SIGINT would be logged, but then
the test would proceed with a node in this zombie state.

Since shutdown hangs are always a bug, it is correct to fail
the test as early as we can with the right reason, so just
re-raise the exception instead of trying to proceed.

Related: #5178

UX changes

None

Release notes

  • none

@jcsp
Copy link
Contributor Author

jcsp commented Jul 28, 2022

@jcsp jcsp added the ci-repeat-5 repeat tests 5x concurrently to check for flakey tests; self-cancelling label Jul 28, 2022
@jcsp
Copy link
Contributor Author

jcsp commented Jul 28, 2022

Giving this a 5x repeat of tests, in case the improved hang detection triggers often enough to be disruptive.

@vbotbuildovich vbotbuildovich removed the ci-repeat-5 repeat tests 5x concurrently to check for flakey tests; self-cancelling label Jul 28, 2022
Previously, a hang on SIGINT would be logged, but then
the test would proceed with a node in this zombie state.

Since shutdown hangs are always a bug, it is correct to fail
the test as early as we can with the right reason, so just
re-raise the exception instead of trying to proceed.

Related: redpanda-data#5178
@jcsp jcsp force-pushed the issue-5178-raise-on-shutdown-hang branch from ed64407 to 190a3a0 Compare July 28, 2022 17:03
@jcsp
Copy link
Contributor Author

jcsp commented Jul 28, 2022

For the 5x repeats, checked that there were no failures related to this change ✔️

@jcsp jcsp merged commit 88bf12b into redpanda-data:dev Jul 28, 2022
@jcsp jcsp deleted the issue-5178-raise-on-shutdown-hang branch July 28, 2022 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants