Skip to content

Build the libFuzzer targets for aarch64 again (fixes fuzzer build on CI) - #123749

Merged
azat merged 1 commit into
ClickHouse:masterfrom
azat:ci/fuzzer-back-on-arm
Oct 5, 2026
Merged

azat merged 1 commit into
ClickHouse:masterfrom
azat:ci/fuzzer-back-on-arm

Conversation

@azat

@azat azat commented Oct 3, 2026 •

Copy link
Copy Markdown
Member

clickhouse_fuzzer outgrew the +-2 GiB reach of R_X86_64_PC32

Reverts: #105118
Closes: #122521
Report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=119443&sha=a9efd16dc50bda1511b4018c74a13df32450e190&name_0=PR&name_1=Build%20%28amd_fuzzers%29

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

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

Version info

  • Merged into: 26.10.1.1623-master (included in 26.10 and later)

@clickhouse-gh

clickhouse-gh Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [6042316]

Summary: ✅


AI Review

Summary

This PR moves the libFuzzer build and scheduled runner wiring from the broken x86_64 amd_fuzzers lane to aarch64, updates the generated workflows and artifact names consistently, and switches NightlyFuzzers to use the matching arm_release binary when generating the dictionary. I did not find any producer/consumer mismatches, stale workflow references, or cache-sharing inconsistencies in the updated CI graph, and the current PR CI is green.

Final Verdict
  • Status: ✅ Approve

LLVM Coverage Report

Measured on commit 6042316.

Metric Baseline Current Δ
Lines 88.20% 88.20% +0.00%
Functions 92.10% 91.80% -0.30%
Branches 79.70% 79.70% +0.00%

Changed lines: Uncovered code analysis did not run: No coverable C/C++ source files changed (contrib/ is excluded from coverage).

Newly covered: +152 lines in 48 files (-137 lines lost coverage) · Details

Full report

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Oct 3, 2026
@azat azat mentioned this pull request Oct 3, 2026
3 of 7 tasks
@azat azat changed the title Build the libFuzzer targets for aarch64 again (fixes fuzzer build on CI) Build the libFuzzer targets for aarch64 again (fixes fuzzer build on CI, option 1) Oct 3, 2026
@clickhouse-gh clickhouse-gh Bot added the comp-ci-infrastructure CI/CD pipelines (GitHub Actions, CI scripts, runners). label Oct 3, 2026
@azat azat changed the title Build the libFuzzer targets for aarch64 again (fixes fuzzer build on CI, option 1) Build the libFuzzer targets for aarch64 again (fixes fuzzer build on CI) Oct 3, 2026
@clickhouse-gh

clickhouse-gh Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing 60423160a with master 915744a54 (stripped binary size, per-symbol sizes and ThinLTO time; compile times per translation unit against the most recent warmup build that recompiled it).

✅ No significant changes.

Binary sizes

programs/clickhouse-stripped: smaller than the master baseline by the known offset between the two builds, so the difference is not shown. A delta that differs from the offset by more than 50% of it is shown, in either direction.

The official master build is compiled with -g and a pull request build is not, and XRay counts debug instructions towards its instrumentation threshold, so master instruments thousands of functions more and its binary is ~0.4% larger no matter what the pull request does.

Compile time of recompiled translation units

6 translation units recompiled, 4 s compile time in total, 6 of them have a recent master baseline.

Job report

@azat

azat commented Oct 5, 2026 •

Copy link
Copy Markdown
Member Author

Even after #123738 and #123889

It fails - https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=master&sha=4127c65654d09f0b25695155c629448fb3d93596&name_0=MasterCI&name_1=Build%20%28amd_fuzzers%29

ld.lld-22: error: /ClickHouse/ci/tmp/build/contrib/compiler-rt-cmake/libclang_rt_asan.a(sanitizer_stackdepot.cpp.o):(function __sanitizer::(anonymous namespace)::CompressThread::NewWorkNotify(): .text+0x19e): relocation R_X86_64_PC32 out of range: 2148738730 is not in [-2147483648, 2147483647]; references section '.bss'

So we still need it

@azat
azat enabled auto-merge October 5, 2026 13:30
@clickhouse-gh

clickhouse-gh Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

📊 Cloud Performance Report

✅ AI verdict: no_change — no significant changes across 32 queries analysed

no significant changes detected. K_source=6 K_base=30 flagged=0/65

clickbench

🟢 No significant changes

tpch_adapted_1_official

🟢 No significant changes

Debug info
  • StressHouse run: 4e258cbd-2fb3-4918-9bdb-6550ac173e16
  • MIRAI run: f921e48f-bcba-48f5-925e-be0e82d9bdc3
  • PR check IDs:
    • clickbench_3403760_1791224798
    • clickbench_3403774_1791224798
    • clickbench_3403780_1791224798
    • tpch_adapted_1_official_3403787_1791224798
    • tpch_adapted_1_official_3403816_1791224798
    • tpch_adapted_1_official_3403830_1791224798

@azat
azat added this pull request to the merge queue Oct 5, 2026
Merged via the queue into ClickHouse:master with commit ef037e6 Oct 5, 2026
150 checks passed
@azat
azat deleted the ci/fuzzer-back-on-arm branch October 5, 2026 22:20
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Oct 5, 2026
alexey-milovidov added a commit that referenced this pull request Oct 6, 2026
Conflicts in `ci/defs/job_configs.py` and `ci/tests/test_nightly_fuzzers_build_sharing.py`
are resolved by taking master, which already moved the fuzzers to AArch64 in
#123749. The deletion of
`ci/tests/test_fuzzer_dict_ossfuzz_contract.py` from this branch is kept.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-ci-infrastructure CI/CD pipelines (GitHub Actions, CI scripts, runners). 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.

3 participants