# Running: pg_ctl -D C:\cirrus\build\testrun\pg_ctl\003_promote\data\tmp_test_us0W/nonexistent promote [21:15:28.803](0.353s) ok 1 - pg_ctl promote with nonexistent directory: exit code not 0 [21:15:28.803](0.001s) ok 2 - pg_ctl promote with nonexistent directory: matches # Checking port 54786 # Found port 54786 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=54786 host=C:/Windows/TEMP/wMMMfx7FPN Log file: C:\cirrus\build/testrun/pg_ctl/003_promote\log/003_promote_primary.log [21:15:29.120](0.317s) # 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 [21:15:30.362](1.242s) ok 3 - pg_ctl promote of not running instance fails: exit code not 0 [21:15:30.363](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 21:15:30.999 GMT [3668][postmaster] LOG: starting PostgreSQL 17devel on x86_64-windows, compiled by msvc-19.29.30151, 64-bit 2024-04-02 21:15:31.001 GMT [3668][postmaster] LOG: listening on Unix socket "C:/Windows/TEMP/wMMMfx7FPN/.s.PGSQL.54786" 2024-04-02 21:15:31.085 GMT [976][startup] LOG: database system was shut down at 2024-04-02 21:14:05 GMT 2024-04-02 21:15:32.699 GMT [3668][postmaster] LOG: startup process (PID 976) was terminated by exception 0xC0000354 2024-04-02 21:15:32.699 GMT [3668][postmaster] HINT: See C include file "ntstatus.h" for a description of the hexadecimal value. 2024-04-02 21:15:32.699 GMT [3668][postmaster] LOG: aborting startup due to startup process failure 2024-04-02 21:15:32.700 GMT [3668][postmaster] LOG: database system is shut down # No postmaster PID for node "primary" [21:15:32.818](2.456s) Bail out! pg_ctl start failed # No postmaster PID for node "primary"