Repository navigation
Fix log-check false positive from test 04367 comments - #111435
Conversation
The comments of `04367_lambda_arg_backquoted_dot_no_logical_error` contain the literal wording of the assertion-failure log message it guards against. The expected `TYPE_MISMATCH` errors echo the full query text (comments included) into the server log, and the CI log checker's pattern picks that wording up, reporting a failure (STID 2735-47bf) even though the test passes and nothing aborts: 12 runs across 10 unrelated PRs went red on this false positive on 2026-07-22 alone. Reword the comments so the pattern cannot match. Report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=109005&sha=f7ca4ee7718df28cabcf397348a5f3cd342966a4&name_0=PR&name_1=Stateless%20tests%20%28amd_llvm_coverage%2C%20old%20analyzer%2C%20s3%20storage%2C%20DBReplicated%2C%20WasmEdge%2C%20parallel%2C%202%2F3%29 (from #109005)
|
Workflow [PR], commit [88952b5] Summary: ✅ AI ReviewSummaryThis PR rewrites the comments in Final Verdict
|
|
@clickgapai, implement a style check to prevent tests from having this problem. |
|
Thanks @alexey-milovidov — I looked into this but don't have a clean, confident result to post yet. If you can point me at a specific file/line or the exact behaviour you want checked, I'll dig in precisely. |
|
backporting to fix CI |
Backport #111435 to 26.7: Fix log-check false positive from test 04367 comments
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
The comments of
04367_lambda_arg_backquoted_dot_no_logical_error(added in #108735) contain the literal wording of the assertion-failure log message the test guards against. The test's expectedTYPE_MISMATCHerrors echo the full query text — comments included — into the server log, and the CI log checker (ci/jobs/scripts/log_parser.py) matches that wording with itsLogical error.*pattern, reporting a red check (STID 2735-47bf) even though the test passes and nothing aborts. On 2026-07-22 alone, 12 runs across 10 unrelated PRs (including the docs-only #111251) went red on this false positive.This rewords the comments so the log checker's patterns cannot match them, and leaves a note explaining why the wording is avoided. Test behavior and reference output are unchanged.
The same STID also clusters a genuine abort (
Arguments of 'multiply' have incorrect data typesduring partial-result evaluation, from theEXCHANGE TABLESrace) — that one is tracked separately in #110133 with fixes in #109747 and #110048; this PR only removes the false-positive component.Report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=109005&sha=f7ca4ee7718df28cabcf397348a5f3cd342966a4&name_0=PR&name_1=Stateless%20tests%20%28amd_llvm_coverage%2C%20old%20analyzer%2C%20s3%20storage%2C%20DBReplicated%2C%20WasmEdge%2C%20parallel%2C%202%2F3%29
Related: #108735
Related: #109005
Version info
26.8.1.177(included in26.8and later)26.7.12.10