# Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/tmp_test_bAPa/nonexistent promote [12:38:03.899](0.013s) ok 1 - pg_ctl promote with nonexistent directory: exit code not 0 [12:38:03.900](0.000s) ok 2 - pg_ctl promote with nonexistent directory: matches # Checking port 61415 # Found port 61415 Name: primary Data directory: /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/t_003_promote_primary_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/t_003_promote_primary_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/t_003_promote_primary_data/archives Connection string: port=61415 host=/tmp/NbgIQaCDBQ Log file: /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/log/003_promote_primary.log [12:38:03.903](0.003s) # initializing database system by copying initdb template # Running: cp -RPp /tmp/cirrus-ci-build/build/tmp_install/initdb-template /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/t_003_promote_primary_data/pgdata # Running: /tmp/cirrus-ci-build/build/src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/t_003_promote_primary_data/pgdata # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/t_003_promote_primary_data/pgdata promote [12:38:04.081](0.178s) ok 3 - pg_ctl promote of not running instance fails: exit code not 0 [12:38:04.081](0.000s) not ok 4 - pg_ctl promote of not running instance fails: matches [12:38:04.082](0.000s) # Failed test 'pg_ctl promote of not running instance fails: matches' # at /tmp/cirrus-ci-build/src/bin/pg_ctl/t/003_promote.pl line 21. [12:38:04.082](0.000s) # 'pg_ctl: cannot promote server; single-user server is running (PID: 22404) # ' # doesn't match '(?^:PID file .* does not exist)' ### Starting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/t_003_promote_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/log/003_promote_primary.log -o --cluster-name=primary start pg_ctl: another server might be running; trying to start server anyway waiting for server to start.... done server started # Postmaster PID for node "primary" is 27125 # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/t_003_promote_primary_data/pgdata promote [12:38:04.198](0.116s) ok 5 - pg_ctl promote of primary instance fails: exit code not 0 [12:38:04.198](0.000s) ok 6 - pg_ctl promote of primary instance fails: matches # Checking port 61416 # Found port 61416 Name: standby Data directory: /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/t_003_promote_standby_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/t_003_promote_standby_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/t_003_promote_standby_data/archives Connection string: port=61416 host=/tmp/NbgIQaCDBQ Log file: /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/log/003_promote_standby.log # Taking pg_basebackup my_backup from node "primary" # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/t_003_promote_primary_data/backup/my_backup -h /tmp/NbgIQaCDBQ -p 61415 --checkpoint fast --no-sync # Backup finished # Initializing node "standby" from backup "my_backup" of node "primary" ### Enabling streaming replication for node "standby" ### Starting node "standby" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/t_003_promote_standby_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/log/003_promote_standby.log -o --cluster-name=standby start waiting for server to start.... done server started # Postmaster PID for node "standby" is 27179 connection error: 'psql: error: connection to server on socket "/tmp/NbgIQaCDBQ/.s.PGSQL.61416" failed: FATAL: database "postgres" does not exist' while running 'psql -XAtq -d port=61416 host=/tmp/NbgIQaCDBQ dbname='postgres' -f - -v ON_ERROR_STOP=1' at /tmp/cirrus-ci-build/src/test/perl/PostgreSQL/Test/Cluster.pm line 2040. # Postmaster PID for node "primary" is 27125 ### Stopping node "primary" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/t_003_promote_primary_data/pgdata -m immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "primary" # Postmaster PID for node "standby" is 27179 ### Stopping node "standby" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/t_003_promote_standby_data/pgdata -m immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "standby" [12:38:04.959](0.761s) # Tests were run but no plan was declared and done_testing() was not seen. [12:38:04.959](0.000s) # Looks like your test exited with 29 just after 6.