Test: add temporary checking in 028.watchdog_enable_consensus_with_half_votes.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Thu, 11 Jul 2024 02:56:57 +0000 (11:56 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Thu, 11 Jul 2024 02:56:57 +0000 (11:56 +0900)
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.

src/test/regression/tests/028.watchdog_enable_consensus_with_half_votes/test.sh

index 7f51093cd5d85fcdfd8342161cda5b53e7e4e1ff..8582232fb499fc3c7875a036f0f17523cc5f7102 100755 (executable)
@@ -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