rabbitmq / rabbitmq-server

Open source RabbitMQ: core server and tier 1 (built-in) plugins
https://www.rabbitmq.com/
Other
12.31k stars 3.92k forks source link

By @Ayanda-D: Ensure only alive leaders and followers when fetching QQ replica states #12727

Closed michaelklishin closed 6 days ago

michaelklishin commented 1 week ago

This is #12709 by @Ayanda-D with individual commits cherry-picked so that Actions run with my permissions for secrets.

michaelklishin commented 1 week ago
gmake ct-unit_quorum_queue

fails repeatably, both on Actions and for locally for me, with

Node: rabbit_shard1@localhost
Case: unit_quorum_queue_SUITE:all_replica_states_includes_nonvoters
Reason: {error,
            {{badmatch,{rabbit_shard1@localhost,#{}}},
             [{unit_quorum_queue_SUITE,all_replica_states_includes_nonvoters,
                  1,
                  [{file,"unit_quorum_queue_SUITE.erl"},{line,111}]},
              {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
              {test_server,run_test_case_eval1,6,
                  [{file,"test_server.erl"},{line,1302}]},
              {test_server,run_test_case_eval,9,
                  [{file,"test_server.erl"},{line,1234}]}]}}

Node: rabbit_shard4@localhost
Case: mirrored_supervisor_SUITE:{end_per_group,broker_tests,[]}
Reason: {error,
            {{assertEqual,
                 [{module,rabbit_ct_broker_helpers},
                  {line,1218},
                  {expression,"CrashesCount"},
                  {expected,0},
                  {value,21}]},
             [{rabbit_ct_broker_helpers,find_crashes_in_logs,2,
                  [{file,"rabbit_ct_broker_helpers.erl"},{line,1218}]},
              {rabbit_ct_broker_helpers,stop_rabbitmq_nodes,1,
                  [{file,"rabbit_ct_broker_helpers.erl"},{line,1174}]},
              {rabbit_ct_helpers,run_steps,2,
                  [{file,"rabbit_ct_helpers.erl"},{line,136}]},
              {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
              {test_server,run_test_case_eval1,6,
                  [{file,"test_server.erl"},{line,1390}]},
              {test_server,run_test_case_eval,9,
                  [{file,"test_server.erl"},{line,1234}]}]}}