# Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/tmp_test_a_1C/nonexistent promote [05:45:13.764](0.012s) ok 1 - pg_ctl promote with nonexistent directory: exit code not 0 [05:45:13.764](0.000s) ok 2 - pg_ctl promote with nonexistent directory: matches # Checking port 61700 # Found port 61700 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=61700 host=/tmp/Fo__CheLjm Log file: /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/log/003_promote_primary.log [05:45:13.767](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 [05:45:13.930](0.164s) ok 3 - pg_ctl promote of not running instance fails: exit code not 0 [05:45:13.931](0.000s) not ok 4 - pg_ctl promote of not running instance fails: matches [05:45:13.931](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. [05:45:13.931](0.000s) # 'pg_ctl: cannot promote server; single-user server is running (PID: 22509) # ' # 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 27209 # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_ctl/003_promote/data/t_003_promote_primary_data/pgdata promote [05:45:14.048](0.117s) ok 5 - pg_ctl promote of primary instance fails: exit code not 0 [05:45:14.049](0.000s) ok 6 - pg_ctl promote of primary instance fails: matches # Checking port 61701 # Found port 61701 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=61701 host=/tmp/Fo__CheLjm 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/Fo__CheLjm -p 61700 --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 27338 connection error: 'psql: error: connection to server on socket "/tmp/Fo__CheLjm/.s.PGSQL.61701" failed: FATAL: database "postgres" does not exist' while running 'psql -XAtq -d port=61701 host=/tmp/Fo__CheLjm 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 27209 ### 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 27338 ### 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" [05:45:14.869](0.820s) # Tests were run but no plan was declared and done_testing() was not seen. [05:45:14.869](0.000s) # Looks like your test exited with 29 just after 6.