Skip to content

Increase wait_for_queries_to_finish timeout in 01169_old_alter_partition_isolation_stress - #98280

Merged
alexey-milovidov merged 1 commit into
masterfrom
fix-01169-old-alter-partition-timeout
Feb 28, 2026
Merged

alexey-milovidov merged 1 commit into
masterfrom
fix-01169-old-alter-partition-timeout

Conversation

@alexey-milovidov

Copy link
Copy Markdown
Member

Summary

  • The test 01169_old_alter_partition_isolation_stress was flaky in the amd_debug + distributed plan + S3 storage configuration
  • The thread_select query spent ~8 seconds in query plan optimization in debug mode, causing wait_for_queries_to_finish to time out with its default 10-second limit
  • On timeout, it dumps system.processes to stdout, polluting the output and causing a reference mismatch
  • Increased the timeout from 20 retries (10s) to 40 retries (20s), matching the newer version of this test (01169_alter_partition_isolation_stress.sh)

CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?REF=master&sha=caae6d378b492d978a29b5143be67d7078d1a7c2&name_0=MasterCI&name_1=Stateless%20tests%20%28amd_debug%2C%20distributed%20plan%2C%20s3%20storage%2C%20parallel%29

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

…tition_isolation_stress`

The test was flaky in the amd_debug + distributed plan + S3 storage
configuration. The `thread_select` query spent ~8 seconds in query plan
optimization in debug mode, causing `wait_for_queries_to_finish` to time
out with its default 10-second limit. On timeout, it dumps
`system.processes` to stdout, which pollutes the output and causes a
reference mismatch.

Increased the timeout from 20 retries (10s) to 40 retries (20s),
matching the newer version of this test
(`01169_alter_partition_isolation_stress.sh`).

https://s3.amazonaws.com/clickhouse-test-reports/json.html?REF=master&sha=caae6d378b492d978a29b5143be67d7078d1a7c2&name_0=MasterCI&name_1=Stateless%20tests%20%28amd_debug%2C%20distributed%20plan%2C%20s3%20storage%2C%20parallel%29

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

clickhouse-gh Bot commented Feb 27, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [fc9bb1e]

Summary: ✅

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Feb 27, 2026
@alexey-milovidov alexey-milovidov self-assigned this Feb 28, 2026
@alexey-milovidov
alexey-milovidov added this pull request to the merge queue Feb 28, 2026
Merged via the queue into master with commit 42ee997 Feb 28, 2026
144 checks passed
@alexey-milovidov
alexey-milovidov deleted the fix-01169-old-alter-partition-timeout branch February 28, 2026 16:06
@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-synced-to-cloud The PR is synced to the cloud repo label Feb 28, 2026
alexey-milovidov added a commit that referenced this pull request Mar 1, 2026
…on-timeout

Increase wait_for_queries_to_finish timeout in 01169_old_alter_partition_isolation_stress
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.

2 participants