Skip to content

MOD-18751: flag against the already-pinned RLTest (CI isolation, do not merge) - #2195

Closed
LiranAbir wants to merge 3 commits into
masterfrom
MOD-18751-rltest-pin-only
Closed

LiranAbir wants to merge 3 commits into
masterfrom
MOD-18751-rltest-pin-only

Conversation

@LiranAbir

@LiranAbir LiranAbir commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Purpose

Isolation run, not a merge candidate yet.

#2194 does two things at once: it bumps the RLTest pin and adds --cluster_bus_port_protected_mode to the oss-cluster phase. Its cluster legs now start correctly — 506 run, 505 passed, no Connection refused — so the flag does its job. But 15 legs are red on two tests:

test legs
test_topology_events:test_failover — Test timeout after 2308 s oss_cluster, x64 / arm64 / sanitizer
test_globalconfigs:test_module_config_from_module_arguments_raises_deprecation_messages — Connection refused while the test builds its own Env(...) gen, slaves, aof, aof_slaves

The general, slaves and AOF phases never receive the new flag, and the cluster phase receives it, starts, and only times out much later. So the pin bump is the likelier cause of both.

This branch carries only the pin bump, no test or flag changes, so CI can attribute the failures. Same 15 legs red here means the failures belong to the RLTest upgrade and #2194 should be split: the flag merges on its own, and the upgrade lands separately with whatever fixes it needs.

What the bump actually spans

The pin has sat at b6277948 since March 2025, so moving to current master pulls in roughly 25 RLTest commits. Two are obvious suspects for these symptoms:

  • Improve waitCluster (#239)
  • Add configurable cluster startup timeout and verbose output (#242)

Worth noting for whoever picks this up: the repo also keeps the pin in two places, requirements_docker.txt and tests/flow/requirements.txt, and the build-linux-* legs bake it into the prebuilt ghcr image — whose tag is the redis ref, not a content hash. So a pin change is invisible to those legs until the image is rebuilt, or the PR carries the docker-image-changes label to force a local build. This PR will need that label to test anything.

🤖 Generated with Claude Code


Note

Low Risk
Test harness and dependency pin only; no module runtime or production paths change, though CI behavior on cluster legs may shift with Redis/RLTest versions.

Overview
Bumps the RLTest git pin in requirements_docker.txt and tests/flow/requirements.txt from RedisLabsModules/RLTest@b6277948 to LiranAbir/RLTest@9f301983.

OSS cluster flow tests in tests/flow/tests.sh now build optional CLUSTER_BUS_ARGS (--cluster_bus_port_protected_mode, default no) and pass them into both OSS cluster RLTest invocations (with and without password). Setting CLUSTER_BUS_PROTECTED_MODE= empty omits the flag so older Redis builds that reject the directive can still start.

Reviewed by Cursor Bugbot for commit df740f5. Bugbot is set up for automated code reviews on this repo. Configure here.

No test or flag changes here. The pin has been at b6277948 since March 2025, so
moving it to current master carries about 25 RLTest commits, and #2194 - which
bumps the pin and adds --cluster_bus_port_protected_mode together - fails
test_topology_events:test_failover on the cluster legs and
test_globalconfigs:test_module_config_from_module_arguments_raises_deprecation_messages
on the general, slaves and AOF legs. Neither of those phases receives the new
flag, so the upgrade is the likelier cause; this branch separates the two so CI
can say which.

Suspects in range: "Improve waitCluster" (#239) and "Add configurable cluster
startup timeout and verbose output" (#242).
@LiranAbir LiranAbir added the docker-image-changes Force CI to build Docker images locally instead of pulling prebuilt registry images. label Sep 24, 2026
@codecov

codecov Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.19%. Comparing base (a65a01a) to head (df740f5).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2195   +/-   ##
=======================================
  Coverage   70.19%   70.19%           
=======================================
  Files          41       41           
  Lines        8622     8622           
=======================================
  Hits         6052     6052           
  Misses       2570     2570           
Flag Coverage Δ
flow 70.19% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Repoints the pin at the March-2025 commit plus only the new option, and adds the
oss-cluster waiver, so this branch changes RLTest behaviour in exactly one way.

#2194 moved the pin forward by about 25 commits at the same time as adding the
option, and its cluster legs start correctly while other legs fail on
test_topology_events:test_failover and
test_globalconfigs:test_module_config_from_module_arguments_raises_deprecation_messages.
Bumping the pin alone reproduced red legs too. If this branch is green, those
failures belong to the intervening RLTest commits and not to the option.

The pin points at a personal fork for the duration of this experiment, so this
branch must not be merged.
@LiranAbir LiranAbir changed the title MOD-18751: bump RLTest pin only (CI isolation, not for merge as-is) MOD-18751: flag against the already-pinned RLTest (CI isolation, do not merge) Sep 24, 2026
@LiranAbir

Copy link
Copy Markdown
Contributor Author

Experiment changed. This branch no longer carries the pin bump alone.

Bumping the pin on its own also produced red legs, so the variable has been narrowed further. df740f5 now pins RLTest at 9f30198 — the March-2025 commit this repo was already pinned to (b6277948), plus only the new option — and adds the oss-cluster waiver to tests.sh. So RLTest behaviour differs from the long-standing baseline in exactly one way.

branch RLTest tests.sh flag result
#2194 master, ~25 commits newer yes cluster starts, 15 legs red on two unrelated tests
this, 593be5c master, ~25 commits newer no red
this, df740f5 old base + option only yes ← the run that matters

Green here means the failures belong to the intervening RLTest commits, not the option, and #2194 should split: the waiver merges on its own, and the RLTest upgrade lands separately with whatever fixes it needs.

The pin points at a personal fork for the duration of this experiment, so this branch must not be merged.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit df740f5. Configure here.

Comment thread tests/flow/tests.sh
RLTEST_ARGS_1="$RLTEST_ARGS"
RLTEST_TEST_ARGS_1=" --test test_ts_password"
{ (RLTEST_ARGS="${RLTEST_ARGS_1} --env oss-cluster --shards-count $SHARDS --oss_password password" \
{ (RLTEST_ARGS="${RLTEST_ARGS_1} --env oss-cluster --shards-count $SHARDS --oss_password password $CLUSTER_BUS_ARGS" \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failover replicas omit cluster bus flag

High Severity

CLUSTER_BUS_ARGS is applied only to RLTest-managed oss-cluster processes. test_failover then starts replicas in added_slaves_to_cluster with a separate redis-server command that never passes cluster-bus-port-protected-mode. On Redis 8.12+ that setting defaults to enabled, so those replicas refuse to start and the untimed ping wait hangs until the test timeout.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit df740f5. Configure here.

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker-image-changes Force CI to build Docker images locally instead of pulling prebuilt registry images.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant