Skip to content

Fix log-check false positive from test 04367 comments - #111435

Merged
alexey-milovidov merged 1 commit into
masterfrom
fix/04367-log-check-false-positive
Jul 26, 2026
Merged

alexey-milovidov merged 1 commit into
masterfrom
fix/04367-log-check-false-positive

Conversation

@alexey-milovidov

@alexey-milovidov alexey-milovidov commented Jul 22, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • CI Fix or improvement (changelog entry is not required)

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 expected TYPE_MISMATCH errors 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 its Logical 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 types during partial-result evaluation, from the EXCHANGE TABLES race) — 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

  • Merged into: 26.8.1.177 (included in 26.8 and later)
  • Backported to: 26.7.12.10

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)
@clickhouse-gh

clickhouse-gh Bot commented Jul 22, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [88952b5]

Summary: ✅


AI Review

Summary

This PR rewrites the comments in 04367_lambda_arg_backquoted_dot_no_logical_error.sql so the stateless test still documents the original regression without echoing Logical error '!part.empty()' into the server log. The change is narrowly scoped, preserves the existing test behavior and reference output, and the new wording no longer matches the log checker's Logical error.* / Assertion.*failed patterns, so I did not find review items.

Final Verdict
  • Status: ✅ Approve

@alexey-milovidov alexey-milovidov left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

LGTM

@alexey-milovidov
alexey-milovidov merged commit b849a6c into master Jul 26, 2026
179 of 180 checks passed
@alexey-milovidov
alexey-milovidov deleted the fix/04367-log-check-false-positive branch July 26, 2026 22:07
@alexey-milovidov

Copy link
Copy Markdown
Member Author

@clickgapai, implement a style check to prevent tests from having this problem.

@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label Jul 26, 2026
@clickgapai

Copy link
Copy Markdown
Contributor

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.

@PedroTadim

Copy link
Copy Markdown
Member

backporting to fix CI

@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Sep 19, 2026
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR label Sep 19, 2026
clickhouse-gh Bot pushed a commit that referenced this pull request Sep 19, 2026
clickhouse-gh Bot added a commit that referenced this pull request Sep 19, 2026
Backport #111435 to 26.7: Fix log-check false positive from test 04367 comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-ci pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR pr-synced-to-cloud The PR is synced to the cloud repo v26.7-must-backport

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants