Repository navigation
Make stress tests more stressful - #106385
PedroTadim wants to merge 38 commits into
Conversation
|
Workflow [PR], commit [1883a58] Summary: ❌
AI ReviewSummaryThis PR makes the stress harness inject much harsher chaos: mid-run Findings
Final VerdictChanges requested. The remaining problems are in the stress harness contract itself, not in style or CI noise: the branch still lets its own injected restarts and mutation kills masquerade as ordinary product failures, and the current restart timeout no longer matches the runner's restart-tolerant liveness window. |
|
📊 Cloud Performance Report ✅ AI verdict: This PR changes only CI and stress-test harness code: it rewrites the stress-test chaos threads (server/MinIO/Redpanda restart logic), randomizes thread-fuzzer probabilities, and reworks OOM detection, plus documentation and tooling updates. None of this touches the server's query-execution path, so it cannot plausibly speed up ClickBench Q4, Q15, or Q32. The measured improvements (-16%, -11%, -5%) are run-to-run variance, and none are large enough to override that judgment. All three flagged improvements are downgraded to not-sure. clickbenchFlagged queries (3 of 43)
q-value = BH-FDR adjusted p; smaller is stronger evidence. MIRAI flags a query when q < fdr_q (default 0.10) — the value the verdict is based on. tpch_adapted_1_official🟢 No significant changes Debug info
|
# Conflicts: # ci/jobs/scripts/stress/stress.py # ci/jobs/stress_job.py
The randomized Thread Fuzzer sleep injection was exported at the top of
`stress_runner.sh`, so it was active for every `start_server`, including the
setup-phase startups that only allow the default ~70s budget. When the
per-run randomization rolled an aggressive combination (`SLEEP_PROBABILITY`
up to 0.1 and `SLEEP_TIME_US_MAX` up to 500000us), the injected sleeps slowed
startup on sanitizer builds past that budget and the setup startup reported a
false `Cannot start clickhouse-server` (the server came up moments later).
Move the export into a `setup_thread_fuzzer` function and call it only right
before the server that runs the actual stress workload (`start_server 10`,
which already has a larger startup budget). The setup-phase server starts now
run without the fuzzer, mirroring the existing `unset "${!THREAD_@}"` before
the post-stress restart. The now-redundant `SYSTEM STOP THREAD FUZZER` after
the setup startup is removed.
CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=106385&sha=latest&name_0=PR&name_1=Stress+test+%28amd_asan_ubsan%29
PR: #106385
Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
Server restarts are slow. This is not worth it to run in the CI. |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):