File 4129-Add-log-entries-to-figure-out-where-the-node-crashes.patch of Package erlang
From a89c8318311ded390a6dc75c47aada6aa5bbf5c4 Mon Sep 17 00:00:00 2001
From: Raimo Niskanen <raimo@erlang.org>
Date: Mon, 3 Oct 2022 14:34:08 +0200
Subject: [PATCH 09/27] Add log entries to figure out where the node crashes
---
lib/ssl/test/ssl_dist_bench_SUITE.erl | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lib/ssl/test/ssl_dist_bench_SUITE.erl b/lib/ssl/test/ssl_dist_bench_SUITE.erl
index f8f53e4e65..7b5318e08f 100644
--- a/lib/ssl/test/ssl_dist_bench_SUITE.erl
+++ b/lib/ssl/test/ssl_dist_bench_SUITE.erl
@@ -408,13 +408,16 @@ sched_utilization(Config) ->
sched_utilization(A, B, Prefix, Effort, HA, HB, SSL) ->
[] = ssl_apply(HA, erlang, nodes, []),
[] = ssl_apply(HB, erlang, nodes, []),
+ ct:log("Starting scheduler utilization run on ~w and ~w", [A, B]),
{ClientMsacc, ServerMsacc, Msgs} =
ssl_apply(HA, fun () -> sched_util_runner(A, B, Effort, SSL) end),
+ ct:log("Got ~p busy_dist_port msgs",[length(Msgs)]),
[B] = ssl_apply(HA, erlang, nodes, []),
[A] = ssl_apply(HB, erlang, nodes, []),
+ ct:log("Microstate accounting for node ~w:", [A]),
msacc:print(ClientMsacc),
+ ct:log("Microstate accounting for node ~w:", [B]),
msacc:print(ServerMsacc),
- ct:pal("Got ~p busy_dist_port msgs",[length(Msgs)]),
ct:log("Stats of B from A: ~p",
[ssl_apply(HA, net_kernel, node_info, [B])]),
ct:log("Stats of A from B: ~p",
--
2.35.3