Repository navigation
Give each libFuzzer target 5 hours instead of 1 - #117143
Merged
Merged
Conversation
At the current one-hour budget the two slowest targets never reach mutation. On 2026-08-30 `execute_query_fuzzer` started fuzzing at 04:36:42 and wrote its first new corpus unit at 05:34:36; `clickhouse_fuzzer` started at 04:49:39 and found its first at 05:45:10. Both spend the hour replaying their existing inputs at 3-5 exec/s under ASan, so their corpora grow by 4 and 26 units per night respectively and neither has reported a finding since mid-May. Corpus minimization keeps a separate one-hour cap instead of inheriting the fuzzing timeout, because it is a fixed amount of work proportional to the corpus - the slowest target takes 38 minutes - and letting it scale with the fuzzing budget would just double the length of the job. `RUNNERS` is now set to the number of fuzzer binaries. It defaulted to 16 for 20 targets, which was a few minutes of queueing at a one-hour budget but would be a six-hour serialization at five hours. The runner is already fully loaded either way; each target is single-threaded in its fuzz loop. The job timeout has to move with this: praktika's default is exactly 5 hours, so the job would be killed mid-run.
This was referenced Aug 30, 2026
Contributor
|
Workflow [PR], commit [540e258] Summary: ✅ AI ReviewSummaryThis PR increases the scheduled Final Verdict✅ Approved. |
…n job After #117145 the nightly fuzzing run sets `SKIP_MERGE=1` and corpus minimization runs in the weekly `libFuzzer corpus minimization` job, so the `MINIMIZATION_TIMEOUT` plumbing in `tests/fuzz/runner.py` no longer has anything to bound. The minimize-only job now simply gets the one-hour cap through `TIMEOUT`, keeping its behavior unchanged while the fuzzing job moves to five hours. The job timeout drops from seven to six hours, because the fuzzing job no longer contains a minimization phase. Six hours does not exceed GitHub's default limit, so the generated `nightly_fuzzers.yml` does not change, which also fixes the `Check Workflows` failure: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=117143&sha=8f63aa320e7dc99a472dddd42707fbe8108d57d0&name_0=PR&name_1=Config%20Workflow #117143
alexey-milovidov
commented
Sep 4, 2026
yakov-olkhovskiy
approved these changes
Sep 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
At the current one-hour budget the two slowest targets never reach mutation. On 2026-08-30
execute_query_fuzzerstarted fuzzing at 04:36:42 and wrote its first new corpus unit at 05:34:36;clickhouse_fuzzerstarted at 04:49:39 and found its first at 05:45:10. Both spend the hour replaying their existing inputs at 3-5 exec/s under ASan, so their corpora grow by 4 and 26 units per night respectively and neither has reported a finding since mid-May.Corpus minimization already runs in its own weekly job since #117145, and it keeps its one-hour cap: it is a fixed amount of work proportional to the corpus (the slowest target takes about 40 minutes), so it must not scale with the fuzzing budget.
RUNNERSis now set to the number of fuzzer binaries. It defaulted to 16 for 20 targets, which was a few minutes of queueing at a one-hour budget but would be a five-hour serialization at five hours. The runner is already fully loaded either way; each target is single-threaded in its fuzz loop.The job timeout has to move with this: praktika's default is exactly 5 hours, so the job would be killed mid-run. Six hours does not exceed GitHub's default job limit, so the generated workflow file is unchanged.
Related: #117145
Related: #117142
Changelog category (leave one):
Workflow [PR]
Sync PR [sync-upstream/pr/117143]
Version info
26.9.1.748(included in26.9and later)