Skip to content

Pgpool-II Regression Test 001.load_balance Timeout Issue #135

@Akashkumar1208

Description

@Akashkumar1208

Using Pgpool-II 4.7devel with PostgreSQL 14 on Ubuntu 22.04.
When running:

./regress.sh -p /usr/lib/postgresql/14/bin -b /usr/lib/postgresql/14/bin -t 300 -d 001.load_balance

creating pgpool-II temporary installation ...
moving pgpool_setup to temporary installation path ...
moving watchdog_setup to temporary installation path ...
using pgpool-II at /home/qa_admin/pgpool2/src/test/regression/temp/installed


REGRESSION MODE : install
Pgpool-II version : pgpool-II version 4.7devel (tasukiboshi)
Pgpool-II install path : /home/qa_admin/pgpool2/src/test/regression/temp/installed
PostgreSQL bin : /usr/lib/postgresql/14/bin
PostgreSQL Major version : 14
pgbench : /usr/lib/postgresql/14/bin
PostgreSQL jdbc : /usr/share/java/postgresql-9.2-1003-jdbc4.jar


testing 001.load_balance...timeout.
out of 1 ok:0 failed:0 timeout:1

001.load_balance.txt

the test loops during test8 after executing:

pcp_promote_node -w -p 11001 --switchover 1

=== test8 started === /home/qa_admin/pgpool2/src/test/regression/temp/installed/bin/pcp_promote_node -w -p 11001 --switchover 1 pcp_promote_node -- Command Successful
0 | localhost | 11002 | down | down | 0.000000 | standby | unknown | 0 | false | 0 | | | 2025-11-03 20:48:08
0 | localhost | 11002 | down | down | 0.000000 | standby | unknown | 0 | false | 0 | | | 2025-11-03 20:48:08
0 | localhost | 11002 | down | down | 0.000000 | standby | unknown | 0 | false | 0 | | | 2025-11-03 20:48:08
0 | localhost | 11002 | down | down | 0.000000 | standby | unknown | 0 | false | 0 | |

Logs show:

recovery node 1...ERROR: recovery is checking if postmaster is started
DETAIL: postmaster on hostname:"localhost" user:"qa_admin" failed to start in 90 seconds

The node remains in a down/unknown state, and the test times out.

Any idea why the recovery node fails to start or loops in regression mode?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions