# Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/tmp_test_VNor/nonexistent promote [12:42:03.648](0.012s) ok 1 - pg_ctl promote with nonexistent directory: exit code not 0 [12:42:03.648](0.000s) ok 2 - pg_ctl promote with nonexistent directory: matches # Checking port 49655 # Found port 49655 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=49655 host=/tmp/jG3BZqZ4UY Log file: /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/log/003_promote_primary.log [12:42:03.651](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:42:03.843](0.191s) ok 3 - pg_ctl promote of not running instance fails: exit code not 0 [12:42:03.843](0.000s) not ok 4 - pg_ctl promote of not running instance fails: matches [12:42:03.843](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:42:03.843](0.000s) # 'pg_ctl: cannot promote server; single-user server is running (PID: 23135) # ' # 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 27836 # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/t_003_promote_primary_data/pgdata promote [12:42:03.959](0.116s) ok 5 - pg_ctl promote of primary instance fails: exit code not 0 [12:42:03.959](0.000s) ok 6 - pg_ctl promote of primary instance fails: matches # Checking port 49656 # Found port 49656 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=49656 host=/tmp/jG3BZqZ4UY 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/jG3BZqZ4UY -p 49655 --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 27960 connection error: 'psql: error: connection to server on socket "/tmp/jG3BZqZ4UY/.s.PGSQL.49656" failed: FATAL: database "postgres" does not exist' while running 'psql -XAtq -d port=49656 host=/tmp/jG3BZqZ4UY dbname='postgres' -f - -v ON_ERROR_STOP=1' at /tmp/cirrus-ci-build/src/test/perl/PostgreSQL/Test/Cluster.pm line 2043. # Postmaster PID for node "primary" is 27836 ### 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 27960 ### 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:42:04.814](0.855s) # Tests were run but no plan was declared and done_testing() was not seen. [12:42:04.814](0.000s) # Looks like your test exited with 29 just after 6.