# Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/tmp_test_hqxB/nonexistent promote [18:44:00.106](0.011s) ok 1 - pg_ctl promote with nonexistent directory: exit code not 0 [18:44:00.106](0.000s) ok 2 - pg_ctl promote with nonexistent directory: matches # Checking port 49445 # Found port 49445 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=49445 host=/tmp/boykPt9fEJ Log file: /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/log/003_promote_primary.log [18:44:00.108](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 [18:44:00.256](0.147s) ok 3 - pg_ctl promote of not running instance fails: exit code not 0 [18:44:00.256](0.000s) not ok 4 - pg_ctl promote of not running instance fails: matches [18:44:00.256](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. [18:44:00.256](0.000s) # 'pg_ctl: cannot promote server; single-user server is running (PID: 22808) # ' # 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 27461 # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/t_003_promote_primary_data/pgdata promote [18:44:00.371](0.115s) ok 5 - pg_ctl promote of primary instance fails: exit code not 0 [18:44:00.371](0.000s) ok 6 - pg_ctl promote of primary instance fails: matches # Checking port 49446 # Found port 49446 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=49446 host=/tmp/boykPt9fEJ 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/boykPt9fEJ -p 49445 --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 27570 connection error: 'psql: error: connection to server on socket "/tmp/boykPt9fEJ/.s.PGSQL.49446" failed: FATAL: database "postgres" does not exist' while running 'psql -XAtq -d port=49446 host=/tmp/boykPt9fEJ 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 27461 ### 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 27570 ### 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" [18:44:00.998](0.627s) # Tests were run but no plan was declared and done_testing() was not seen. [18:44:00.999](0.000s) # Looks like your test exited with 29 just after 6.