pgpool2.git / summary / log / commit / refs
commit 149ea384eb238dc096fa7d8283db3c2fc5aafdc2
Author: Tatsuo Ishii <ishii@sraoss.co.jp>
Date: Thu Jul 11 02:56:57 2024 +0000
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
[parent: c1b17275fc0d]