Skip to content

Collection of test fixes (2025Q2, batch 2) (backport #14310) #14371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 31 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
cdb94c9
rabbit_vhosts: Only reconcile vhost procs on nodes running RabbitMQ
dumbbell Jul 31, 2025
d2be2a3
rabbitmq_stream_management: Tell Maven to retry when fetching deps
dumbbell Aug 4, 2025
45d1444
rabbitmq_cli: Create a symlink to test node's logs
dumbbell Aug 5, 2025
8d7ef66
rabbit_fifo_dlx_integration_SUITE: Increase a timeout in `delivery_li…
dumbbell Jul 31, 2025
7e3d568
per_user_connection_channel_tracking_SUITE: Wait for the expected lis…
dumbbell Jul 31, 2025
4a367bf
per_user_connection_tracking_SUITE: Wait for the expected list of con…
dumbbell Aug 5, 2025
c4559cb
amqp_filter_sql_SUITE: Expect to wait for credits
dumbbell Jul 31, 2025
0c9456a
rabbit_prometheus_http_SUITE: Log more details for a future failure i…
dumbbell Jul 31, 2025
073de80
rabbit_prometheus_http_SUITE: Run `stream_pub_sub_metrics` first
dumbbell Aug 7, 2025
411dfdc
rabbit_exchange_type_consistent_hash_SUITE: Open/close connection exp…
dumbbell Jul 31, 2025
2930d3d
rabbit_exchange_type_consistent_hash_SUITE: Set timetrap to 5 minutes
dumbbell Jul 31, 2025
ecc2b39
rabbit_exchange_type_consistent_hash_SUITE: Don't enable a feature fl…
dumbbell Aug 4, 2025
33db9bb
rabbit_stream_partitions_SUITE: Fix incorrect log message
dumbbell Aug 4, 2025
2a0ca59
amqp_jms_SUITE: Increase time trap
dumbbell Aug 4, 2025
c3e0094
mqtt_shared_SUITE: Handle error returned by rabbit_ct_broker_helpers
dumbbell Aug 4, 2025
e7a344c
amqp_client_SUITE: Trim "list_connections" output in one more place
dumbbell Jul 31, 2025
20caaa2
amqp_client_SUITE: Load test module on broker before using one of its…
dumbbell Aug 5, 2025
4513a29
amqp10_inter_cluster_SUITE: Wait for queue length to reach expectations
dumbbell Jul 30, 2025
638d206
amqp10_inter_cluster_SUITE: Use per-test shovel names
dumbbell Aug 6, 2025
d9bc531
amqp10_inter_cluster_SUITE: Log messages and queues length
dumbbell Aug 6, 2025
957d0ba
feature_flags_v2_SUITE: Catch and log return value of peer:stop/1
dumbbell Aug 6, 2025
677867e
auth_SUITE: Handle error returned by rabbit_ct_broker_helpers
dumbbell Aug 5, 2025
b70e030
auth_SUITE: Wait for connection tracking to be up-to-date
dumbbell Aug 6, 2025
24dd661
jwks_SUITE: Wait for connection exit in `test_failed_token_refresh_ca…
dumbbell Aug 6, 2025
87a678b
proxy_protocol_SUITE: Wait for connection close
dumbbell Aug 7, 2025
685774a
cluster_SUITE: Handle error returned by rabbit_ct_broker_helpers
dumbbell Aug 7, 2025
530845e
python_SUITE: Increase a timeout in `test_exchange_dest` and `test_to…
dumbbell Jul 30, 2025
2c127e0
python_SUITE: Bump Python dependencies to their latest versions
dumbbell Aug 4, 2025
a83884d
python_SUITE: Wait for the AMQP connection to close in `x_queue_name.py`
dumbbell Aug 6, 2025
45b427d
python_SUITE: Increase unittest verbosity
dumbbell Aug 6, 2025
78a4b94
python_SUITE: Add more debug messages
dumbbell Aug 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/test-make-target.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,6 @@ jobs:
name: CT logs (${{ inputs.plugin }} ${{ inputs.make_target }} OTP-${{ inputs.erlang_version }} ${{ inputs.metadata_store }}${{ inputs.mixed_clusters && ' mixed' || '' }})
path: |
logs/
deps/rabbitmq_cli/logs/
# !logs/**/log_private
if-no-files-found: ignore
2 changes: 1 addition & 1 deletion deps/rabbit/src/rabbit_vhosts.erl
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ start_processes_for_all(Nodes) ->

-spec start_processes_for_all() -> 'ok'.
start_processes_for_all() ->
start_processes_for_all(rabbit_nodes:list_reachable()).
start_processes_for_all(rabbit_nodes:list_running()).

%% Same as rabbit_vhost_sup_sup:start_on_all_nodes/0.
-spec start_on_all_nodes(vhost:name(), [node()]) -> 'ok'.
Expand Down
17 changes: 16 additions & 1 deletion deps/rabbit/test/amqp_client_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1773,6 +1773,11 @@ link_target_queue_deleted(QType, Config) ->
ok = amqp10_client:send_msg(Sender, amqp10_msg:new(DTag1, <<"m1">>, false)),
ok = wait_for_accepted(DTag1),

%% Load test module on the broker: we reference an anonymous function
%% from it during the configuration of meck.
[_ | _] = rabbit_ct_broker_helpers:rpc(
Config, ?MODULE, module_info, []),

%% Mock delivery to the target queue to do nothing.
rabbit_ct_broker_helpers:setup_meck(Config, [?MODULE]),
Mod = rabbit_queue_type,
Expand Down Expand Up @@ -1833,6 +1838,11 @@ target_queues_deleted_accepted(Config) ->
ok = amqp10_client:send_msg(Sender, amqp10_msg:new(DTag1, <<"m1">>, false)),
ok = wait_for_accepted(DTag1),

%% Load test module on the broker: we reference an anonymous function
%% from it during the configuration of meck.
[_ | _] = rabbit_ct_broker_helpers:rpc(
Config, ?MODULE, module_info, []),

%% Mock to deliver only to q1.
rabbit_ct_broker_helpers:setup_meck(Config, [?MODULE]),
Mod = rabbit_queue_type,
Expand Down Expand Up @@ -3979,7 +3989,7 @@ list_connections(Config) ->
end,

{ok, StdOut0} = rabbit_ct_broker_helpers:rabbitmqctl(Config, 0, ["list_connections", "--silent", "protocol"]),
Protocols0 = re:split(StdOut0, <<"\n">>, [trim]),
Protocols0 = re:split(string:trim(StdOut0), <<"\n">>, [trim]),
%% Remove any whitespaces.
Protocols1 = [binary:replace(Subject, <<" ">>, <<>>, [global]) || Subject <- Protocols0],
Protocols = lists:sort(Protocols1),
Expand Down Expand Up @@ -4630,6 +4640,11 @@ idle_time_out_on_server(Config) ->
after 30000 -> ct:fail({missing_event, ?LINE})
end,

%% Load test module on the broker: we reference an anonymous function
%% from it during the configuration of meck.
[_ | _] = rabbit_ct_broker_helpers:rpc(
Config, ?MODULE, module_info, []),

%% Mock the server socket to not have received any bytes.
rabbit_ct_broker_helpers:setup_meck(Config),
ok = rpc(Config, meck, new, [Mod, [no_link, passthrough]]),
Expand Down
Loading
Loading