Skip to content

Revert "Use clang-23" - #131710

Closed
clickhouse-gh[bot] wants to merge 2 commits into
masterfrom
revert-117346
Closed

clickhouse-gh[bot] wants to merge 2 commits into
masterfrom
revert-117346

Conversation

@clickhouse-gh

@clickhouse-gh clickhouse-gh Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Reverts #117346

This pull request was reverted automatically by the Revert CI regressions job, which found that it
introduced a failure that keeps happening on master, and merged this revert without waiting
for checks so that master is usable again.

Failure: test Install server rpm in Install packages (amd_release, rpm)

Seen 6 times on 6 master commits in the last
24 hours, between 2026-11-14 20:46:51 and 2026-11-15 00:01:24 UTC.

Most recent report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=master&sha=3f5aeae4c4f594897130decaaaf350b200b45e1e&name_0=MasterCI&name_1=Install%20packages%20%28amd_release%2C%20rpm%29&name_1=Install%20packages%20%28amd_release%2C%20rpm%29

Why this pull request:

Install server rpm first failed on AMD at 2026-11-14 20:46:51 UTC on merge edfbc33 (PR #117346, Use clang-23); its direct parent 58726cc passed, following 1,212 successful AMD runs in the preceding 30-day history. Comparing those builds' package headers shows clickhouse.debug grew from 4,209,932,800 to 4,311,106,992 bytes across this sole merge, crossing the existing 4 GiB RPM/CPIO limit: the failing RPM declares 16,139,696 bytes and its CPIO header declares 269,444,187 bytes, explaining cpio: Digest mismatch when the debug package is unpacked. This implicates the compiler/toolchain upgrade exposing the packaging size limit; earlier ARM and release-branch occurrences show that the underlying packaging limitation predates this AMD regression. All seven recorded AMD runs from that merge onward fail, including the newest at 2026-11-15 00:01:24 UTC, and no apparent fix or revert is present through origin/master 52d3d52. Confidence is medium because historical source trees are missing in this partial checkout, preventing inspection of the actual merge diff and leaving the precise source change responsible for the debug-size growth unverified.

A draft pull request reintroducing the change is opened right after this one is merged, so the change
can come back through normal CI once the failure is fixed. Every investigation this job makes,
including the ones that revert nothing, is recorded in the checks_investigated table of the CI
database.

If this revert is wrong, say so here and bring the change back: the job errs towards reverting
because a broken master blocks everybody, not because its judgement beats yours.

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):


Workflow [PR]
Sync PR [sync-upstream/pr/131710]

This reverts commit edfbc33, reversing
changes made to 58726cc.
@mintlify

mintlify Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
ClickHouse-docs 🟢 Ready View Preview Nov 15, 2026, 12:27 AM

@clickhouse-gh

clickhouse-gh Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor Author

Workflow [PR], commit [e324b67]

Summary: ✅

Cloudflare in front of `lemire.me` answers HTTP 520 to Python `urllib` (the client used
by `check_broken_links.py`) while the page is reachable from browsers and `curl`, so the
link in `src/Functions/randomPrintableASCII.cpp` is a false positive.

https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=131710&sha=b05b4f6c3c6dda34fd5544319813cbf3ca8a2ffb&name_0=PR&name_1=Style%20check
#131710

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@alexey-milovidov alexey-milovidov self-assigned this Nov 15, 2026
@alexey-milovidov alexey-milovidov added the blocker This issue / pr blocks a new release label Nov 15, 2026
@alexey-milovidov
alexey-milovidov added this pull request to the merge queue Nov 15, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 15, 2026
groeneai added a commit to groeneai/ClickHouse that referenced this pull request Nov 15, 2026
The release builds take `llvm-objcopy` from the compiler's directory. With
clang-22 that is the PGO toolchain, built with `LLVM_ENABLE_ZSTD=OFF` until
it is rebuilt with the previous commit, so `--compress-debug-sections=zstd`
failed the build ("LLVM was not built with LLVM_ENABLE_ZSTD"): the merge
queue entry stacked on ClickHouse#131710 (Revert "Use clang-23") failed
`Build (amd_illumos)` this way.

CMake now checks that `objcopy` accepts zstd by compressing a copy of
itself and uses zlib otherwise. zlib-compressed sections are readable by
the gdb CI has today.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
yan-alex pushed a commit to yan-alex/ClickHouse that referenced this pull request Nov 15, 2026
In the flaky check of the merge queue, `parallel_probe_small_cache` reported
two parallel statistics probes instead of one. Concurrent tests clear the
whole `PrimaryIndexCache` with `Context::clearCaches`: `ATTACH TABLE ... UUID`
(`InterpreterCreateQuery`), `dropAllData` of a table in an `Ordinary`
database and `DatabaseReplicated` moving a broken table, all from
`05480_query_condition_cache_table_created_again_with_same_uuid`. A clear
between two probes of the same read makes the next probe find the indexes not
in memory and analyze the parts in parallel again (the query had 4
`PrimaryIndexCacheMisses` instead of 2).

Every parallel probe loads the indexes of all parts, so with the cache check
that the probe ran in parallel at least once and at most once per load of
the indexes of all parts. A probe that ignored the cache would still run in
parallel three times with only one load.

https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=gh-readonly-queue/master/pr-131710-b8fc8d44bfd78367f8e7c284c7c35e6184629c35&sha=0724756e671e83a3e5e7b9e10a6f90b0bec85525&name_0=MergeQueueCI&name_1=Stateless%20tests%20(amd_binary%2C%20flaky%20check)
ClickHouse#131710

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@alexey-milovidov

Copy link
Copy Markdown
Member

Ok, too late.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocker This issue / pr blocks a new release pr-ci submodule changed At least one submodule changed in this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants