Repository navigation
ci: fix 3 nightly failures (soak timeout, differential runner, fuzz progress) - #467
Merged
Merged
Conversation
…soak tests Benchmark.run() defaults to timeout=240s. Soak S7 (test_slow_network_smooth) uses test_time=300s (configurable via MEMTIER_SOAK_TEST_TIME), so memtier was being killed before it could write its summary, leaving the asserts on mb.stdout (p99 / totals presence) to fail with no useful diagnostic. Pass timeout=test_time+90 so the run has ~90s of slack for graceful shutdown. Audited the rest of tests/soak/: test_high_concurrency, test_connection_churn, test_cluster_turbulence, test_long_run_memory and test_retry_storm all drive memtier via their own subprocess.Popen() with their own explicit communicate(timeout=...), so none of them hit the Benchmark.run() default. test_large_payloads uses --requests=20 (no test_time), well under 240s. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
… schema ubuntu-22.04 ships redis-tools 6.0.16, whose `redis-benchmark --csv` output does not expose the `p99_latency_ms` column. The differential parser (tests/differential_redis_benchmark.py:373) assumes that column exists and raises IndexError without it, which has been breaking the nightly differential test_diff_p99_latency_get run. ubuntu-24.04 (noble) carries redis-tools 7.x with the new CSV schema, so the parser sees the column and the test completes normally. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
The driver previously printed only a startup banner and a final summary, which is fine on a clean run but leaves a diagnostic gap when the GH-hosted runner is preempted (or otherwise killed) mid-run: we cannot tell which seed or iteration was in flight, so the failure cannot be reproduced from the existing logs. Emit a one-line stderr progress record every FUZZ_PROGRESS_EVERY (default 50) iterations carrying iter/total, wall-clock elapsed, and current seed name. Setting FUZZ_PROGRESS_EVERY=0 disables it for callers that want a quiet driver. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
🛡️ Jit Security Scan Results✅ No security findings were detected in this PR
Security scan by Jit
|
This was referenced Jun 26, 2026
fcostaoliveira
added a commit
that referenced
this pull request
Jun 29, 2026
Adversarial review of #499 flagged the test_slow_network comment still claiming run() defaults to 240s (carried over from master via #467) -- false on 2.4 where this PR defaults run() to None. Doc-only; the call already passes an explicit timeout. Co-Authored-By: Claude Opus 4.8 <[email protected]>
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.
Triage of yesterday's nightly failures on master b4b18c0:
Soak S7
test_slow_network_smooth—Benchmark.run()defaulttimeout=240s< soaktest_time=300s; memtier killed before summary, asserts at lines 122/133 fail. Fix: pass explicittimeout=test_time+90from soak tests. Also audited other soak tests that exceed 240s.Differential
test_diff_p99_latency_get—IndexErrorbecause Ubuntu 22.04 ships redis-tools 6.0.16 whoseredis-benchmark --csvlacks thep99_latency_mscolumn. Bump runner to ubuntu-24.04 (noble carries redis-tools 7.x with the new CSV schema).Monitor-Input Fuzz — GH-hosted runner preempted at 2-8 min into a 2000-iter run. Not deterministic, but the fuzz driver had no per-iteration progress, leaving us blind to which seed was in flight. Adds per-iter progress emit every 50 iterations.
Generated with Claude Code
Note
Low Risk
CI and test-harness only; no production benchmark or protocol logic changes.
Overview
Addresses three nightly CI failures without changing memtier core behavior.
Differential workflow moves the job from
ubuntu-22.04toubuntu-24.04soredis-benchmark --csvincludes thep99_latency_mscolumn the differential parser expects (redis-tools 6.x on 22.04 causedIndexErrorintest_diff_p99_latency_get).Soak S7 (
test_slow_network_smooth) passestimeout=test_time + 90intoBenchmark.run()so 300s soak runs are not cut off by the default 240s harness timeout before memtier can write a summary.Monitor-input fuzz driver logs per-iteration progress (default every 50 iterations via
FUZZ_PROGRESS_EVERY) with seed name and elapsed time so preempted GitHub runners leave a visible last-known position.Reviewed by Cursor Bugbot for commit 59dd457. Bugbot is set up for automated code reviews on this repo. Configure here.