Skip to content

Fix flaky test 03249_dynamic_alter_consistency timeout on MSan - #96930

Merged
alexey-milovidov merged 1 commit into
masterfrom
fix-03249-dynamic-alter-consistency-flaky
Feb 15, 2026
Merged

alexey-milovidov merged 1 commit into
masterfrom
fix-03249-dynamic-alter-consistency-flaky

Conversation

@alexey-milovidov

@alexey-milovidov alexey-milovidov commented Feb 15, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Reduced dataset size in 03249_dynamic_alter_consistency from 1M to 100K rows
  • The ALTER TABLE MODIFY COLUMN d Dynamic(max_types=1) rewrites all data, which under MSan exceeds the 300-second timeout with 1M rows
  • 100K rows still validates the same correctness behavior while running in ~0.4 seconds

Closes #93442

CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=96863&sha=9434b56df0ebb3c31c7f55dbb631655bedeb070b&name_0=PR&name_1=Stateless%20tests%20%28amd_msan%2C%20parallel%2C%202%2F2%29
#96863

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 into CHANGELOG.md):

...

🤖 Generated with Claude Code

Version info

  • Merged into: 26.2.1.700

… timeout

The test inserts rows and runs `ALTER TABLE MODIFY COLUMN d Dynamic(max_types=1)`,
which rewrites all data. Under MSan (~3x slowdown), 1M rows causes the ALTER
to exceed the 300-second timeout. Reducing to 100K rows still validates the
same correctness behavior while staying well within time limits.

Closes #93442

CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=96863&sha=9434b56df0ebb3c31c7f55dbb631655bedeb070b&name_0=PR&name_1=Stateless%20tests%20%28amd_msan%2C%20parallel%2C%202%2F2%29

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Feb 15, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [434475d]

Summary: ❌

job_name test_name status info comment
Stress test (amd_debug) failure
Logical error: Cannot modify size limits to A in size and B in elements: not enough space freed. Current size: C/D, elements: E/F (G) (STID: 4012-44fe) FAIL cidb

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Feb 15, 2026
@alexey-milovidov alexey-milovidov self-assigned this Feb 15, 2026
@alexey-milovidov
alexey-milovidov merged commit e9bf4ee into master Feb 15, 2026
130 of 131 checks passed
@alexey-milovidov
alexey-milovidov deleted the fix-03249-dynamic-alter-consistency-flaky branch February 15, 2026 06:50
@robot-ch-test-poll4 robot-ch-test-poll4 added the pr-synced-to-cloud The PR is synced to the cloud repo label Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-ci pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

03249_dynamic_alter_consistency is flaky

2 participants