File 2791-erts-Debug-fd-a_test-in-driver_SUITE.patch of Package erlang
From f6c353b7d74be7d9b45df03d668825b15c982e39 Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Tue, 4 Jan 2022 11:48:28 +0100
Subject: [PATCH 11/12] erts: Debug fd a_test in driver_SUITE
---
erts/emulator/test/driver_SUITE.erl | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/erts/emulator/test/driver_SUITE.erl b/erts/emulator/test/driver_SUITE.erl
index 4e97b77db9..2c2f680a53 100644
--- a/erts/emulator/test/driver_SUITE.erl
+++ b/erts/emulator/test/driver_SUITE.erl
@@ -216,6 +216,9 @@ init_per_testcase(Case, Config) when is_atom(Case), is_list(Config) ->
[{testcase, Case}|Config].
end_per_testcase(_Case, Config) ->
+ %% Logs some info about the system
+ ct_os_cmd("epmd -names"),
+ ct_os_cmd("ps aux"),
try rpc(Config, fun() ->
get_stable_check_io_info(),
erts_debug:get_internal_state(check_io_debug)
@@ -224,9 +227,6 @@ end_per_testcase(Case, Config) ->
CIOD ->
0 = element(1, CIOD)
catch _E:_R:_ST ->
- %% Logs some info about the system
- ct_os_cmd("epmd -names"),
- ct_os_cmd("ps aux"),
%% Restart the node
case proplists:get_value(node, Config) of
undefined ->
@@ -1089,7 +1089,7 @@ get_stable_check_io_info(N) ->
%% Merge return from erlang:system_info(check_io)
%% as if it was one big pollset.
get_check_io_total(ChkIo) ->
- ct:log("ChkIo = ~p~n",[ChkIo]),
+ ct:log("ChkIo = ~p (~p)~n",[ChkIo, nodes()]),
{Fallback, Rest} = get_fallback(ChkIo),
OnlyPollThreads = [PS || PS <- Rest, not is_scheduler_pollset(PS)],
add_fallback_infos(Fallback,
--
2.31.1