# Running: pg_ctl -D C:\cirrus\build\testrun\pg_ctl\003_promote\data\tmp_test_k4xw/nonexistent promote [23:50:31.884](0.119s) ok 1 - pg_ctl promote with nonexistent directory: exit code not 0 [23:50:31.886](0.002s) ok 2 - pg_ctl promote with nonexistent directory: matches # Checking port 51212 # Found port 51212 Name: primary Data directory: C:\cirrus\build/testrun/pg_ctl/003_promote\data/t_003_promote_primary_data/pgdata Backup directory: C:\cirrus\build/testrun/pg_ctl/003_promote\data/t_003_promote_primary_data/backup Archive directory: C:\cirrus\build/testrun/pg_ctl/003_promote\data/t_003_promote_primary_data/archives Connection string: port=51212 host=C:/Windows/TEMP/_OTvNB67fo Log file: C:\cirrus\build/testrun/pg_ctl/003_promote\log/003_promote_primary.log [23:50:31.974](0.088s) # initializing database system by copying initdb template # Running: robocopy /E /NJS /NJH /NFL /NDL /NP C:/cirrus/build/tmp_install/initdb-template C:\cirrus\build/testrun/pg_ctl/003_promote\data/t_003_promote_primary_data/pgdata # Running: C:\cirrus\build\src/test\regress\pg_regress.exe --config-auth C:\cirrus\build/testrun/pg_ctl/003_promote\data/t_003_promote_primary_data/pgdata # Running: pg_ctl -D C:\cirrus\build/testrun/pg_ctl/003_promote\data/t_003_promote_primary_data/pgdata promote [23:50:33.635](1.661s) ok 3 - pg_ctl promote of not running instance fails: exit code not 0 [23:50:33.636](0.000s) ok 4 - pg_ctl promote of not running instance fails: matches ### Starting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/pg_ctl/003_promote\data/t_003_promote_primary_data/pgdata -l C:\cirrus\build/testrun/pg_ctl/003_promote\log/003_promote_primary.log -o --cluster-name=primary start waiting for server to start..... stopped waiting pg_ctl: could not start server Examine the log output. # pg_ctl start failed; logfile: 2024-04-02 23:50:33.880 GMT [5412][postmaster] LOG: starting PostgreSQL 17devel on x86_64-windows, compiled by msvc-19.29.30151, 64-bit 2024-04-02 23:50:33.881 GMT [5412][postmaster] LOG: listening on Unix socket "C:/Windows/TEMP/_OTvNB67fo/.s.PGSQL.51212" 2024-04-02 23:50:33.935 GMT [2888][startup] LOG: database system was shut down at 2024-04-02 23:48:57 GMT 2024-04-02 23:50:35.738 GMT [5412][postmaster] LOG: startup process (PID 2888) was terminated by exception 0xC0000354 2024-04-02 23:50:35.738 GMT [5412][postmaster] HINT: See C include file "ntstatus.h" for a description of the hexadecimal value. 2024-04-02 23:50:35.739 GMT [5412][postmaster] LOG: aborting startup due to startup process failure 2024-04-02 23:50:35.739 GMT [5412][postmaster] LOG: database system is shut down # No postmaster PID for node "primary" [23:50:35.921](2.286s) Bail out! pg_ctl start failed # No postmaster PID for node "primary"