# Running: pg_ctl --help [20:50:47.194](0.085s) ok 1 - pg_ctl --help exit code 0 [20:50:47.194](0.001s) ok 2 - pg_ctl --help goes to stdout [20:50:47.194](0.000s) ok 3 - pg_ctl --help nothing to stderr [20:50:47.195](0.000s) ok 4 - pg_ctl --help maximum line length # Running: pg_ctl --version [20:50:47.256](0.062s) ok 5 - pg_ctl --version exit code 0 [20:50:47.257](0.000s) ok 6 - pg_ctl --version goes to stdout [20:50:47.257](0.000s) ok 7 - pg_ctl --version nothing to stderr # Running: pg_ctl --not-a-valid-option [20:50:47.299](0.042s) ok 8 - pg_ctl with invalid option nonzero exit code [20:50:47.300](0.001s) ok 9 - pg_ctl with invalid option prints error message # Running: pg_ctl start -D C:\cirrus\build\testrun\pg_ctl\001_start_stop\data\tmp_test_N8lF/nonexistent pg_ctl: directory "C:/cirrus/build/testrun/pg_ctl/001_start_stop/data/tmp_test_N8lF/nonexistent" does not exist [20:50:47.342](0.042s) ok 10 - pg_ctl start with nonexistent directory # Running: pg_ctl initdb -D C:\cirrus\build\testrun\pg_ctl\001_start_stop\data\tmp_test_N8lF/data -o -N The files belonging to this database system will be owned by user "SYSTEM". This user must also own the server process. The database cluster will be initialized with locale "English_United States.1252". The default database encoding has accordingly been set to "WIN1252". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory C:/cirrus/build/testrun/pg_ctl/001_start_stop/data/tmp_test_N8lF/data ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... windows selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Atlantic/Reykjavik creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok Sync to disk skipped. The data directory might become corrupt if the operating system crashes. initdb: warning: enabling "trust" authentication for local connections initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. Success. You can now start the database server using: ^"C^:^\cirrus^\build^\tmp^_install^\usr^\local^\pgsql^\bin^\pg^_ctl^" -D C:/cirrus/build/testrun/pg_ctl/001_start_stop/data/tmp_test_N8lF/data -l logfile start [20:50:53.195](5.853s) ok 11 - pg_ctl initdb # Running: C:\cirrus\build\src/test\regress\pg_regress.exe --config-auth C:\cirrus\build\testrun\pg_ctl\001_start_stop\data\tmp_test_N8lF/data [20:50:53.290](0.095s) ok 12 - configure authentication # Checking port 50206 # Found port 50206 # Running: pg_ctl start -D C:\cirrus\build\testrun\pg_ctl\001_start_stop\data\tmp_test_N8lF/data -l C:\cirrus\build/testrun/pg_ctl/001_start_stop\log/001_start_stop_server.log [20:50:55.200](1.910s) not ok 13 - pg_ctl start: exit code 0 [20:50:55.201](0.001s) # Failed test 'pg_ctl start: exit code 0' # at C:/cirrus/src/bin/pg_ctl/t/001_start_stop.pl line 47. [20:50:55.201](0.000s) not ok 14 - pg_ctl start: no stderr [20:50:55.201](0.000s) # Failed test 'pg_ctl start: no stderr' # at C:/cirrus/src/bin/pg_ctl/t/001_start_stop.pl line 47. [20:50:55.201](0.000s) # got: 'pg_ctl: could not start server # Examine the log output. # ' # expected: '' [20:50:55.202](0.000s) not ok 15 - pg_ctl start: matches [20:50:55.202](0.000s) # Failed test 'pg_ctl start: matches' # at C:/cirrus/src/bin/pg_ctl/t/001_start_stop.pl line 47. [20:50:55.202](0.000s) # 'waiting for server to start..... stopped waiting # ' # doesn't match '(?^s:done.*server started)' # Running: pg_ctl start -D C:\cirrus\build\testrun\pg_ctl\001_start_stop\data\tmp_test_N8lF/data waiting for server to start....2024-04-02 20:50:58.774 GMT [5992][postmaster] LOG: starting PostgreSQL 17devel on x86_64-windows, compiled by msvc-19.29.30151, 64-bit 2024-04-02 20:50:58.776 GMT [5992][postmaster] LOG: listening on Unix socket "C:/Windows/TEMP/MfdKTlY8Wm/.s.PGSQL.50206" 2024-04-02 20:50:58.892 GMT [5016][startup] LOG: database system was interrupted; last known up at 2024-04-02 20:50:53 GMT 2024-04-02 20:50:58.892 GMT [5016][startup] LOG: database system was not properly shut down; automatic recovery in progress 2024-04-02 20:50:58.894 GMT [5016][startup] LOG: redo starts at 0/14F9920 2024-04-02 20:50:58.894 GMT [5016][startup] LOG: invalid record length at 0/14F9958: expected at least 24, got 0 2024-04-02 20:50:58.894 GMT [5016][startup] LOG: redo done at 0/14F9920 system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s 2024-04-02 20:50:58.913 GMT [5900][checkpointer] LOG: checkpoint starting: end-of-recovery immediate wait 2024-04-02 20:50:58.917 GMT [5900][checkpointer] LOG: checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.002 s, sync=0.001 s, total=0.003 s; sync files=0, longest=0.000 s, average=0.000 s; distance=0 kB, estimate=0 kB; lsn=0/14F9958, redo lsn=0/14F9958 ..2024-04-02 20:51:00.679 GMT [5992][postmaster] LOG: startup process (PID 5016) was terminated by exception 0xC0000354 2024-04-02 20:51:00.679 GMT [5992][postmaster] HINT: See C include file "ntstatus.h" for a description of the hexadecimal value. 2024-04-02 20:51:00.679 GMT [5992][postmaster] LOG: terminating any other active server processes 2024-04-02 20:51:00.688 GMT [5992][postmaster] LOG: shutting down due to startup process failure 2024-04-02 20:51:00.690 GMT [5992][postmaster] LOG: database system is shut down stopped waiting pg_ctl: could not start server Examine the log output. [20:51:01.144](5.942s) ok 16 - second pg_ctl start fails # Running: pg_ctl stop -D C:\cirrus\build\testrun\pg_ctl\001_start_stop\data\tmp_test_N8lF/data pg_ctl: PID file "C:/cirrus/build/testrun/pg_ctl/001_start_stop/data/tmp_test_N8lF/data/postmaster.pid" does not exist Is server running? [20:51:01.193](0.049s) not ok 17 - pg_ctl stop [20:51:01.194](0.001s) # Failed test 'pg_ctl stop' # at C:/cirrus/src/bin/pg_ctl/t/001_start_stop.pl line 56. # Running: pg_ctl stop -D C:\cirrus\build\testrun\pg_ctl\001_start_stop\data\tmp_test_N8lF/data pg_ctl: PID file "C:/cirrus/build/testrun/pg_ctl/001_start_stop/data/tmp_test_N8lF/data/postmaster.pid" does not exist Is server running? [20:51:01.227](0.033s) ok 18 - second pg_ctl stop fails # Running: pg_ctl restart -D C:\cirrus\build\testrun\pg_ctl\001_start_stop\data\tmp_test_N8lF/data -l C:\cirrus\build\testrun\pg_ctl\001_start_stop\data\tmp_test_N8lF/data/perm-test-600.log pg_ctl: PID file "C:/cirrus/build/testrun/pg_ctl/001_start_stop/data/tmp_test_N8lF/data/postmaster.pid" does not exist Is server running? trying to start server anyway waiting for server to start..... stopped waiting pg_ctl: could not start server Examine the log output. [20:51:03.180](1.954s) not ok 19 - pg_ctl restart with server not running [20:51:03.181](0.001s) # Failed test 'pg_ctl restart with server not running' # at C:/cirrus/src/bin/pg_ctl/t/001_start_stop.pl line 64. [20:51:03.182](0.001s) ok 20 # skip unix-style permissions not supported on Windows [20:51:03.182](0.001s) ok 21 # skip unix-style permissions not supported on Windows [20:51:03.183](0.000s) ok 22 # skip group access not supported on Windows [20:51:03.183](0.000s) ok 23 # skip group access not supported on Windows [20:51:03.183](0.000s) ok 24 # skip group access not supported on Windows # Running: pg_ctl restart -D C:\cirrus\build\testrun\pg_ctl\001_start_stop\data\tmp_test_N8lF/data pg_ctl: PID file "C:/cirrus/build/testrun/pg_ctl/001_start_stop/data/tmp_test_N8lF/data/postmaster.pid" does not exist Is server running? trying to start server anyway waiting for server to start....2024-04-02 20:51:03.690 GMT [3604][postmaster] LOG: starting PostgreSQL 17devel on x86_64-windows, compiled by msvc-19.29.30151, 64-bit 2024-04-02 20:51:03.691 GMT [3604][postmaster] LOG: listening on Unix socket "C:/Windows/TEMP/MfdKTlY8Wm/.s.PGSQL.50206" 2024-04-02 20:51:03.724 GMT [4984][startup] LOG: database system was interrupted; last known up at 2024-04-02 20:51:01 GMT 2024-04-02 20:51:03.725 GMT [4984][startup] LOG: database system was not properly shut down; automatic recovery in progress 2024-04-02 20:51:03.727 GMT [4984][startup] LOG: invalid record length at 0/14F9A48: expected at least 24, got 0 2024-04-02 20:51:03.727 GMT [4984][startup] LOG: redo is not required 2024-04-02 20:51:03.729 GMT [2232][checkpointer] LOG: checkpoint starting: end-of-recovery immediate wait 2024-04-02 20:51:03.733 GMT [2232][checkpointer] LOG: checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.002 s, sync=0.001 s, total=0.004 s; sync files=0, longest=0.000 s, average=0.000 s; distance=0 kB, estimate=0 kB; lsn=0/14F9A48, redo lsn=0/14F9A48 .2024-04-02 20:51:05.447 GMT [3604][postmaster] LOG: startup process (PID 4984) was terminated by exception 0xC0000354 2024-04-02 20:51:05.447 GMT [3604][postmaster] HINT: See C include file "ntstatus.h" for a description of the hexadecimal value. 2024-04-02 20:51:05.447 GMT [3604][postmaster] LOG: terminating any other active server processes 2024-04-02 20:51:05.469 GMT [3604][postmaster] LOG: shutting down due to startup process failure 2024-04-02 20:51:05.471 GMT [3604][postmaster] LOG: database system is shut down stopped waiting pg_ctl: could not start server Examine the log output. [20:51:05.695](2.511s) not ok 25 - pg_ctl restart with server running [20:51:05.695](0.001s) # Failed test 'pg_ctl restart with server running' # at C:/cirrus/src/bin/pg_ctl/t/001_start_stop.pl line 98. # Running: pg_ctl stop -D C:\cirrus\build\testrun\pg_ctl\001_start_stop\data\tmp_test_N8lF/data pg_ctl: PID file "C:/cirrus/build/testrun/pg_ctl/001_start_stop/data/tmp_test_N8lF/data/postmaster.pid" does not exist Is server running? [20:51:05.711](0.016s) Bail out! command "pg_ctl stop -D C:\cirrus\build\testrun\pg_ctl\001_start_stop\data\tmp_test_N8lF/data" exited with value 1