Repository navigation
BuzzHouse: do not enable the thread-group fault injections - #113002
Merged
alexey-milovidov merged 1 commit intoAug 2, 2026
Merged
Conversation
BuzzHouse enables a random failpoint from \`system.fail_points\`. Two of them - \`attach_to_group_failure\` and \`thread_group_switcher_post_attach_failure\` - deliberately break the invariant that a query thread is attached to a thread group. \`ThreadGroupSwitcher\` is \`noexcept\` and only logs the injected failure, so the thread carries on with no group and the next \`executeQuery\` that runs on it fails with the \`No thread group attached to the thread\` logical error, e.g. https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=112766&sha=25a457c530e81c122d764503aa913d2d04eedbb1&name_0=PR&name_1=BuzzHouse%20%28amd_msan%29 (#112766). The same failure hit #110514 in \`BuzzHouse (amd_debug)\` on the same day. Both failpoints exist for the in-process unit test \`gtest_thread_group_switcher\`, which enables them around a single controlled switch; they are not meaningful to inject from SQL. Exclude them from the list the fuzzer picks from, like the other failpoints that legitimately take the server down.
1 task
Contributor
|
Workflow [PR], commit [6e8e70e] Summary: ✅
AI ReviewSummaryThis PR excludes Final Verdict✅ No blocking issues found. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BuzzHouse enables a random failpoint from
system.fail_points. Two of them —attach_to_group_failureandthread_group_switcher_post_attach_failure— deliberately break the invariant that a query thread is attached to a thread group.ThreadGroupSwitcherisnoexceptand only logs the injected failure, so the thread carries on with no group and the nextexecuteQuerythat runs on it fails with theNo thread group attached to the threadlogical error:Seen in https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=112766&sha=25a457c530e81c122d764503aa913d2d04eedbb1&name_0=PR&name_1=BuzzHouse%20%28amd_msan%29 and, on the same day, in
BuzzHouse (amd_debug)on an unrelated pull request.Both failpoints exist for the in-process unit test
gtest_thread_group_switcher, which enables them around a single controlled switch; they are not meaningful to inject from SQL. Exclude them from the list the fuzzer picks from, like the other failpoints that legitimately take the server down.Related: #112766
Related: #110514
Changelog category (leave one):
Version info
26.8.1.651(included in26.8and later)