From 2d75d7e74ca4a1efcf0f44b1fa5633055a2c28ff Mon Sep 17 00:00:00 2001 From: Karl Nilsson Date: Thu, 23 Jan 2025 13:24:08 +0000 Subject: [PATCH] Ct helpers: add "** killed" to the defaul log crash ignore list. Exits the with reason "killed" only occurs "naturally" in OTP when a supervisor tries to shut a child down and it times out. It is used for failure simulation in tests quite frequently however. (cherry picked from commit d6865a648e6e0a7c197b590e50ae278b30387286) --- deps/rabbitmq_ct_helpers/src/rabbit_ct_broker_helpers.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/rabbitmq_ct_helpers/src/rabbit_ct_broker_helpers.erl b/deps/rabbitmq_ct_helpers/src/rabbit_ct_broker_helpers.erl index d68881ec1246..87fee4f5ae1d 100644 --- a/deps/rabbitmq_ct_helpers/src/rabbit_ct_broker_helpers.erl +++ b/deps/rabbitmq_ct_helpers/src/rabbit_ct_broker_helpers.erl @@ -1171,7 +1171,7 @@ stop_rabbitmq_nodes(Config) -> case FindCrashes of true -> %% TODO: Make the ignore list configurable. - IgnoredCrashes0 = ["** force_vhost_failure"], + IgnoredCrashes0 = ["** force_vhost_failure", "** killed"], case rabbit_ct_helpers:get_config(Config, ignored_crashes) of undefined -> find_crashes_in_logs(NodeConfigs, IgnoredCrashes0);