From 149ea384eb238dc096fa7d8283db3c2fc5aafdc2 Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: Thu, 11 Jul 2024 11:56:57 +0900 Subject: [PATCH] Test: add temporary checking in 028.watchdog_enable_consensus_with_half_votes. We often see a timeout error in the buildfarm test. Analyzing the buildfarm log shows: 2024-07-10 03:41:31.044: watchdog pid 29119: FATAL: failed to create watchdog receive socket 2024-07-10 03:41:31.044: watchdog pid 29119: DETAIL: bind on "TCP:50010" failed with reason: "Address already in use" I suspect there's something wrong in watchdog shutdown process. To confirm my theory, add sh command to show all process named "pgpool" at the end of each test cycle. --- .../tests/028.watchdog_enable_consensus_with_half_votes/test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/regression/tests/028.watchdog_enable_consensus_with_half_votes/test.sh b/src/test/regression/tests/028.watchdog_enable_consensus_with_half_votes/test.sh index 7f51093cd..8582232fb 100755 --- a/src/test/regression/tests/028.watchdog_enable_consensus_with_half_votes/test.sh +++ b/src/test/regression/tests/028.watchdog_enable_consensus_with_half_votes/test.sh @@ -153,6 +153,8 @@ do ./shutdownall sleep 10 + echo "Check if whole pgpool process went down" + ps aux|grep pgpool done if [ $failed = "true" ];then -- 2.39.5