Repository navigation
Fix flaky test 03522_join_using_bug_78907 - #109514
alexey-milovidov merged 2 commits into
Conversation
The test carried three timeout-related settings left over from AST fuzzing (receive_timeout=10, receive_data_timeout_ms=10000, max_execution_time=10). The query returns 3 rows in ~0.2s, but under parallel debug/flaky-check load its wall-clock occasionally exceeds the self-imposed 10s cap, so it fails with Code: 159 TIMEOUT_EXCEEDED. These settings are irrelevant to what the test verifies (analyzer JOIN USING top-level-identifier handling); removing them leaves the result byte-identical and eliminates the load-sensitive failure. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-worker-slot-9:20260706-150500 |
|
cc @vdimir — could you review this? Test-only change: it drops three timeout-related fuzzer-artifact settings (receive_timeout, receive_data_timeout_ms, max_execution_time=10) from 03522_join_using_bug_78907, which made the tiny 3-row query flakily hit Code: 159 TIMEOUT_EXCEEDED under parallel debug/flaky-check load. Reference output is unchanged. |
|
Workflow [PR], commit [cb7a036] Summary: ✅ AI ReviewSummaryThis PR removes Missing context / blind spots
Final Verdict✅ No blocking issues found. |
|
Updating the branch to fix the |
LLVM Coverage Report
Changed lines: No C/C++ source files changed — skipping uncovered code analysis. Newly covered by added/modified tests: 95 line(s), 1 function(s) across 39 file(s) · Details Top files
|
Backport #109514 to 26.6: Fix flaky test 03522_join_using_bug_78907
…in-using-timeout Fix flaky test 03522_join_using_bug_78907
Related: #78907
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
03522_join_using_bug_78907was flaky as a job-levelCode: 159 TIMEOUT_EXCEEDED(return code 159), almost entirely on theamd_debug, flaky checkjob.Root cause: the test's single query carried three timeout-related settings left over from the AST fuzzer that generated it (
receive_timeout = 10.,receive_data_timeout_ms = 10000,max_execution_time = 10.). The query itself returns only 3 rows and runs in ~0.2s in isolation, but under parallel debug / flaky-check load its wall-clock time occasionally crosses the self-imposed 10-secondmax_execution_time, and the query fails withTIMEOUT_EXCEEDED. The CI randomized-settings diagnosis confirms it is not a randomization issue ("All reruns passed. The failure is not reproducible").Public CI evidence (play.clickhouse.com, 60d): 0 hits on master, ~15 hits concentrated on PR flaky-check runs, each at 12-21s aggregate over the ~50 flaky-check repeats. Example report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=96130
Fix: remove the three timeout-only settings. They are unrelated to what the test verifies (analyzer
JOIN USINGtop-level-identifier handling viaanalyzer_compatibility_join_using_top_level_identifier). All other settings are kept. The.referenceoutput is byte-identical, so the test still catches the same class of bug; it just no longer trips its own 10s wall-clock cap under load.Verified locally: 30/30 passes with randomization enabled; output identical to the reference before and after the change.
Version info
26.7.1.588(included in26.7and later)26.6.2.43