Repository navigation
Allowlist 02555_davengers_rename_chain upgrade-check errors - #104037
Conversation
PR #103917 narrowed the `wrong_metadata_wide` allowlist to the specific corrupted-filename signature emitted by `02538_alter_rename_sequence` after the `getFileNameForRenamedColumnStream` `substr(0, N)` bug (issue #102259, fix in PR #102689). The same bug also surfaces on `02555_davengers_rename_chain`'s `wrong_metadata` table, but with a different column/stream pair, so the narrow regex did not catch it and the upgrade check began failing on unrelated PRs. Add the matching narrow signatures: * `No stream (ba1.bin) file checksum for column b` — the chained rename `a -> a1 -> b` produces `<new=b><old=a1>.bin = ba1.bin` for column `b`. This `<column><stream>` combination is unique to that test and that bug. * Loosen `wrong_metadata_wide` to `wrong_metadata` in the secondary `Detaching broken part` regex so it matches both narrow and wide table variants. The other two substrings (`Detaching broken part` + `backward incompatibility`) keep the allowlist scoped to the same symptom. Verified against the failing log (https://s3.amazonaws.com/clickhouse-test-reports/PRs/103874/49885046aba0893d06655439d554aeac6998469e/upgrade_check_amd_release/upgrade_error_messages.txt): all six lines are filtered, while synthetic unrelated errors (other tables, generic detach notices, log lines that mention the table name in passing) pass through. Source PR with the failing run: #103874
|
Workflow [PR], commit [0ce4ea3] Summary: ✅ AI ReviewSummaryThis PR updates the upgrade-check log allowlist in ClickHouse Rules
Final Verdict
|
| # the same issue: a "Detaching broken part" notice that does not contain the corrupted filename. Filtered | ||
| # via regex in the secondary pipe below to require all three substrings together, so unrelated broken-part | ||
| # detach messages are not masked. | ||
| # `No stream (ba1.bin) file checksum for column b` is the same bug observed on |
There was a problem hiding this comment.
@groeneai, is this bug inherent to the old ClickHouse version (used in the upgrade check) or to master as well? If the latter, we should investigate and fix the bug.
|
@alexey-milovidov — investigated. The bug is OLD-VERSION-ONLY. Master is correct; the allowlist in this PR is the right approach. Evidence1. PR #102689's fix is complete on master. 2. Why the corrupted filename
The buggy code accumulates the original column-name prefix across each rename in the chain. 3. Empirical reproduction on master HEAD (binary built from After the chained rename, the part directory contains 4. CIDB cross-check (60 days): zero master/release-branch failures matching Why the upgrade check still fires it
The allowlist in this PR is the correct approach: the column+stream pair (Investigated by groeneai. session: cron:clickhouse-ci-task-worker:20260506-014500) |
Description
PR #103917 narrowed the
wrong_metadata_wideallowlist intests/docker_scripts/upgrade_runner.shto the specific corrupted-filename signature emitted by02538_alter_rename_sequenceafter thegetFileNameForRenamedColumnStreamsubstr(0, N)bug (issue #102259, fix in PR #102689). The same bug also surfaces on02555_davengers_rename_chain'swrong_metadatatable, but with a different column/stream pair (b/ba1.bininstead ofcolumn1_renamed/column1_renamedcolumn1.bin), so the narrow regex did not catch it and the upgrade check began failing on unrelated PRs.This PR adds a matching narrow signature for the chained-rename variant and loosens the secondary
Detaching broken partregex so it covers both the narrow and wide table variants. The other two substrings of the secondary regex (Detaching broken part+backward incompatibility) keep the allowlist scoped to the same symptom.Verified against the failing log from PR #103874:
https://s3.amazonaws.com/clickhouse-test-reports/PRs/103874/49885046aba0893d06655439d554aeac6998469e/upgrade_check_amd_release/upgrade_error_messages.txt
All six lines from that log are filtered, while synthetic unrelated errors (other tables, generic detach notices, log lines that mention the table name in passing) pass through.
Source PR with the failing run: #103874
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Documentation entry for user-facing changes
Version info
26.5.1.319