# Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/tmp_test_CKYu/nonexistent promote [02:07:11.689](0.013s) ok 1 - pg_ctl promote with nonexistent directory: exit code not 0 [02:07:11.690](0.000s) ok 2 - pg_ctl promote with nonexistent directory: matches # Checking port 51189 # Found port 51189 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=51189 host=/tmp/A4QtfqIEXD Log file: /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/log/003_promote_primary.log [02:07:11.693](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 [02:07:11.882](0.189s) ok 3 - pg_ctl promote of not running instance fails: exit code not 0 [02:07:11.882](0.000s) not ok 4 - pg_ctl promote of not running instance fails: matches [02:07:11.883](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. [02:07:11.883](0.000s) # 'pg_ctl: cannot promote server; single-user server is running (PID: 22718) # ' # 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 27365 # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/t_003_promote_primary_data/pgdata promote [02:07:12.002](0.119s) ok 5 - pg_ctl promote of primary instance fails: exit code not 0 [02:07:12.002](0.000s) ok 6 - pg_ctl promote of primary instance fails: matches # Checking port 51190 # Found port 51190 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=51190 host=/tmp/A4QtfqIEXD 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/A4QtfqIEXD -p 51189 --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 27483 connection error: 'psql: error: connection to server on socket "/tmp/A4QtfqIEXD/.s.PGSQL.51190" failed: FATAL: database "postgres" does not exist' while running 'psql -XAtq -d port=51190 host=/tmp/A4QtfqIEXD 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 27365 ### 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 27483 ### 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" [02:07:12.783](0.781s) # Tests were run but no plan was declared and done_testing() was not seen. [02:07:12.784](0.000s) # Looks like your test exited with 29 just after 6.