Repository navigation
Fix test_copy_of_temporary_table_under_unrelated_name after the duplicate-UUID rule of #123902 - #125292
Conversation
…e#123902 The arm was added by ClickHouse#123832, whose CI ran before ClickHouse#123902 was merged. ClickHouse#123902 makes `DatabaseOrdinary::loadTablesMetadata` remove a deferred `_tmp_replace_*` metadata file whose UUID matches any table of the database, whatever its name, and its test 05325 expects the server to start in that case. So a copy of the temporary table's metadata under an unrelated name (`u.sql`) is no longer a UUID collision: the server starts, and the arm's `start_clickhouse(expected_to_fail=True)` failed on every master run. The arm now expects the start with `t` and `u` (which keeps the data), the temporary file removed, and the message of the ClickHouse#123902 rule for this file. That message can only be logged if the copy rule of ClickHouse#123832 left the file alone, so the arm still checks that the copy rule only handles destinations of the temporary table's own moves. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Internal second-model review: adjudication log (click to expand)Pre-publication review by an independent model (engine: codex) and my own cold review of the diff: 0 findings from both. Coverage: the changed test module and its helpers, both load-time cleanup rules ( Session id: cron:clickhouse-review-slot-9:20261012-005300 |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-6:20261012-002800 |
|
Workflow [PR], commit [3e84b091] Summary: ✅ AI ReviewSummaryThis PR updates Final Verdict
|
Merge upstream `360bb0de656eb8f83cea4ca307f8480348494eb4`, including the existing fix for the unrelated database-disk CI failure in PR ClickHouse#125292. Related: ClickHouse#116257 Related: ClickHouse#125292
Picks up ClickHouse#125292, the fix for test_copy_of_temporary_table_under_unrelated_name. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The merge queue is meant to fail fast, so its targeted checks stop at 3 failed tests (`--max-failures 3` for `clickhouse-test`, `--maxfail` for pytest, with the sequential integration phase getting what remains of the limit and dropped once it is reached), do not rerun the failed integration tests, and stop at 20 minutes from their start, the budget of the merge-queue flaky check, instead of 30. Reaching the time limit stops the tests without failing the job, as before. The merge-queue flaky check keeps its 20-minute limit and 5 failures. The changed stateless tests and those `master` changed after the PR's last CI run run only in the merge-queue flaky check, which already reruns them since #126406; the targeted integration check reruns the integration test modules `master` changed. Related: #123832 Related: #125292
Related: #123832
Related: #123902
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
test_copy_of_temporary_table_under_unrelated_name(added in #123832, whose CI ran before #123902 was merged) fails on every master run: Integration tests (amd_tsan, 2/8),ClickHouse server is still running, but was expected to shutdown. #123902 removes, at load, a_tmp_replace_*metadata file whose UUID matches any table of the database, and its test 05325 expects the server to start in this case. The arm expected a UUID collision.The arm now expects the start:
tanduremain,ukeeps its 100 rows, and the temporary file is removed. It asserts the #123902 message for this file, which is only logged if the copy rule of #123832 left the file alone.Validation with CI
amd_binarybuilds: the old arm fails on master34e2636; the new arm passes there (15 of 15 module runs) and fails on the build of #123832 alone.Workflow [PR]
Sync PR [sync-upstream/pr/125292]
Version info
26.10.1.2175-master(included in26.10and later)