Skip to content

ci: fix 3 nightly failures (soak timeout, differential runner, fuzz progress) - #467

Merged
fcostaoliveira merged 3 commits into
masterfrom
fix/nightly-bundle-2
Jun 10, 2026
Merged

fcostaoliveira merged 3 commits into
masterfrom
fix/nightly-bundle-2

Conversation

@fcostaoliveira

@fcostaoliveira fcostaoliveira commented Jun 10, 2026 •

Copy link
Copy Markdown
Collaborator

Triage of yesterday's nightly failures on master b4b18c0:

  1. Soak S7 test_slow_network_smooth — Benchmark.run() default timeout=240s < soak test_time=300s; memtier killed before summary, asserts at lines 122/133 fail. Fix: pass explicit timeout=test_time+90 from soak tests. Also audited other soak tests that exceed 240s.

  2. Differential test_diff_p99_latency_get — IndexError because Ubuntu 22.04 ships redis-tools 6.0.16 whose redis-benchmark --csv lacks the p99_latency_ms column. Bump runner to ubuntu-24.04 (noble carries redis-tools 7.x with the new CSV schema).

  3. 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.04 to ubuntu-24.04 so redis-benchmark --csv includes the p99_latency_ms column the differential parser expects (redis-tools 6.x on 22.04 caused IndexError in test_diff_p99_latency_get).

Soak S7 (test_slow_network_smooth) passes timeout=test_time + 90 into Benchmark.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.

fcostaoliveira and others added 3 commits June 10, 2026 20:49
…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-ci

jit-ci Bot commented Jun 10, 2026

Copy link
Copy Markdown

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit

@fcostaoliveira
fcostaoliveira merged commit 62413fd into master Jun 10, 2026
117 checks passed
fcostaoliveira added a commit that referenced this pull request Jun 26, 2026
#493)

Test/CI-only backports so the nightly fuzzers pass on 2.4: cli-fuzz --connection-stage-timeout (#449), soak slope/timeout thresholds (#464, #467). Verified: full 500-example cli-fuzz passes on 2.4 (with the master-side per-leg detect_leaks=0 in #492).
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant