Skip to content

Fix flaky 00446_clear_column_in_partition_concurrent_zookeeper and 03307_parallel_hash_max_joined_rows - #102116

Closed
al13n321 wants to merge 6 commits into
masterfrom
ttmp
Closed

al13n321 wants to merge 6 commits into
masterfrom
ttmp

Conversation

@clickhouse-gh

clickhouse-gh Bot commented Apr 8, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [7ee7b35]

Summary: ❌

job_name test_name status info comment
Stateless tests (arm_asan_ubsan, azure, parallel) failure
00999_join_on_expression FAIL cidb
02734_sparse_columns_mutation FAIL cidb
Stateless tests (arm_asan_ubsan, azure, sequential) failure
01076_parallel_alter_replicated_zookeeper FAIL cidb
01070_materialize_ttl FAIL cidb
Stress test (arm_msan) failure
Server died FAIL cidb, issue
MemorySanitizer: use-of-uninitialized-value (STID: 1478-2063) FAIL cidb
Fast test (arm_darwin) error

AI Review

Summary

This PR updates test tags to mitigate CI instability/timeouts in two stateless tests. I found one major concern: 00446_clear_column_in_partition_concurrent_zookeeper.sh adds no-ubsan with rationale tied only to asan_ubsan flaky check, which reduces UBSan coverage more broadly than the stated problem scope. This should be narrowed to flaky-check handling so regular UBSan signal is preserved.

Findings
  • ⚠️ Majors
    • [tests/queries/0_stateless/00446_clear_column_in_partition_concurrent_zookeeper.sh:2,5] The change adds no-ubsan, but the justification says the issue is specific to the asan_ubsan flaky check timeout (>180s). This disables UBSan for all relevant runs of this test, creating unnecessary sanitizer coverage regression.
    • Suggested fix: remove no-ubsan and apply a targeted flaky-check exclusion (for example no-flaky-check or an equivalent narrowly scoped mechanism).
ClickHouse Rules
Item Status Notes
Deletion logging ➖
Serialization versioning ➖
Core-area scrutiny ✅
No test removal ✅
Experimental gate ➖
No magic constants ✅
Backward compatibility ✅
SettingsChangesHistory.cpp ➖
PR metadata quality ✅
Safe rollout ⚠️ Broader sanitizer exclusion than stated CI problem scope
Compilation time ✅
No large/binary files ✅
Final Verdict
  • Status: ⚠️ Request changes
  • Minimum required actions:
    • Replace broad no-ubsan exclusion in 00446_clear_column_in_partition_concurrent_zookeeper.sh with a flaky-check-scoped mitigation to keep UBSan coverage.

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Apr 8, 2026
@al13n321 al13n321 changed the title does this test always fail in flaky check no-ubsan 00446_clear_column_in_partition_concurrent_zookeeper Apr 8, 2026
@al13n321
al13n321 marked this pull request as ready for review April 8, 2026 20:09
@al13n321
al13n321 marked this pull request as draft April 8, 2026 20:13
@clickhouse-gh clickhouse-gh Bot added pr-ci and removed pr-not-for-changelog This PR should not be mentioned in the changelog labels Apr 8, 2026
@alexey-milovidov

Copy link
Copy Markdown
Member

Mark 03307_parallel_hash_max_joined_rows as long, no-flaky-check.

@al13n321 al13n321 changed the title no-ubsan 00446_clear_column_in_partition_concurrent_zookeeper Fix flaky 00446_clear_column_in_partition_concurrent_zookeeper and 03307_parallel_hash_max_joined_rows Apr 8, 2026
@al13n321
al13n321 marked this pull request as ready for review April 8, 2026 21:36
@alexey-milovidov

Copy link
Copy Markdown
Member

The MSan stress test failure (MemorySanitizer: use-of-uninitialized-value, STID 4179-5154 or 4148-3044) is a known pre-existing issue unrelated to this PR. Fix: #102158

@alexey-milovidov alexey-milovidov self-assigned this Apr 10, 2026
@alexey-milovidov

Copy link
Copy Markdown
Member

Ok, though the main reason will be fixed in #102148

@al13n321 al13n321 closed this Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants