# Checking port 59501 # Found port 59501 Name: node_checksum Data directory: C:\cirrus\build/testrun/pg_checksums/002_actions\data/t_002_actions_node_checksum_data/pgdata Backup directory: C:\cirrus\build/testrun/pg_checksums/002_actions\data/t_002_actions_node_checksum_data/backup Archive directory: C:\cirrus\build/testrun/pg_checksums/002_actions\data/t_002_actions_node_checksum_data/archives Connection string: port=59501 host=C:/Windows/TEMP/_ADnuT4UfP Log file: C:\cirrus\build/testrun/pg_checksums/002_actions\log/002_actions_node_checksum.log [22:09:38.783](0.106s) # 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_checksums/002_actions\data/t_002_actions_node_checksum_data/pgdata # Running: C:\cirrus\build\src/test\regress\pg_regress.exe --config-auth C:\cirrus\build/testrun/pg_checksums/002_actions\data/t_002_actions_node_checksum_data/pgdata # Running: pg_controldata C:\cirrus\build/testrun/pg_checksums/002_actions\data/t_002_actions_node_checksum_data/pgdata [22:09:40.180](1.397s) ok 1 - checksums disabled in control file: exit code 0 [22:09:40.180](0.000s) ok 2 - checksums disabled in control file: no stderr [22:09:40.181](0.000s) ok 3 - checksums disabled in control file: matches # Running: pg_checksums --enable --no-sync -D C:\cirrus\build/testrun/pg_checksums/002_actions\data/t_002_actions_node_checksum_data/pgdata Checksum operation completed Files scanned: 956 Blocks scanned: 2829 Files written: 780 Blocks written: 2829 pg_checksums: updating control file Checksums enabled in cluster [22:09:40.580](0.400s) ok 4 - checksums successfully enabled in cluster # Running: pg_checksums --enable --no-sync -D C:\cirrus\build/testrun/pg_checksums/002_actions\data/t_002_actions_node_checksum_data/pgdata pg_checksums: error: data checksums are already enabled in cluster [22:09:40.682](0.101s) ok 5 - enabling checksums fails if already enabled # Running: pg_controldata C:\cirrus\build/testrun/pg_checksums/002_actions\data/t_002_actions_node_checksum_data/pgdata [22:09:40.786](0.105s) ok 6 - checksums enabled in control file: exit code 0 [22:09:40.787](0.000s) ok 7 - checksums enabled in control file: no stderr [22:09:40.787](0.000s) ok 8 - checksums enabled in control file: matches # Running: pg_checksums --disable -D C:\cirrus\build/testrun/pg_checksums/002_actions\data/t_002_actions_node_checksum_data/pgdata pg_checksums: syncing data directory pg_checksums: updating control file Checksums disabled in cluster [22:09:42.762](1.975s) ok 9 - checksums successfully disabled in cluster # Running: pg_checksums --disable --no-sync -D C:\cirrus\build/testrun/pg_checksums/002_actions\data/t_002_actions_node_checksum_data/pgdata pg_checksums: error: data checksums are already disabled in cluster [22:09:42.808](0.047s) ok 10 - disabling checksums fails if already disabled # Running: pg_controldata C:\cirrus\build/testrun/pg_checksums/002_actions\data/t_002_actions_node_checksum_data/pgdata [22:09:42.980](0.172s) ok 11 - checksums disabled in control file: exit code 0 [22:09:42.981](0.001s) ok 12 - checksums disabled in control file: no stderr [22:09:42.981](0.000s) ok 13 - checksums disabled in control file: matches # Running: pg_checksums --enable --no-sync -D C:\cirrus\build/testrun/pg_checksums/002_actions\data/t_002_actions_node_checksum_data/pgdata Checksum operation completed Files scanned: 956 Blocks scanned: 2829 Files written: 0 Blocks written: 0 pg_checksums: updating control file Checksums enabled in cluster [22:09:43.216](0.235s) ok 14 - checksums successfully enabled in cluster # Running: pg_controldata C:\cirrus\build/testrun/pg_checksums/002_actions\data/t_002_actions_node_checksum_data/pgdata [22:09:43.326](0.110s) ok 15 - checksums enabled in control file: exit code 0 [22:09:43.327](0.001s) ok 16 - checksums enabled in control file: no stderr [22:09:43.327](0.000s) ok 17 - checksums enabled in control file: matches # Running: pg_checksums --check -D C:\cirrus\build/testrun/pg_checksums/002_actions\data/t_002_actions_node_checksum_data/pgdata Checksum operation completed Files scanned: 956 Blocks scanned: 2829 Bad checksums: 0 Data checksum version: 1 [22:09:43.452](0.125s) ok 18 - succeeds with offline cluster # Running: pg_checksums -D C:\cirrus\build/testrun/pg_checksums/002_actions\data/t_002_actions_node_checksum_data/pgdata Checksum operation completed Files scanned: 956 Blocks scanned: 2829 Bad checksums: 0 Data checksum version: 1 [22:09:43.550](0.097s) ok 19 - verifies checksums as default action # Running: pg_checksums --disable --filenode 1234 -D C:\cirrus\build/testrun/pg_checksums/002_actions\data/t_002_actions_node_checksum_data/pgdata pg_checksums: error: option -f/--filenode can only be used with --check pg_checksums: hint: Try "pg_checksums --help" for more information. [22:09:43.590](0.040s) ok 20 - fails when relfilenodes are requested and action is --disable # Running: pg_checksums --enable --filenode 1234 -D C:\cirrus\build/testrun/pg_checksums/002_actions\data/t_002_actions_node_checksum_data/pgdata pg_checksums: error: option -f/--filenode can only be used with --check pg_checksums: hint: Try "pg_checksums --help" for more information. [22:09:43.617](0.027s) ok 21 - fails when relfilenodes are requested and action is --enable # Running: pg_ctl start -D C:\cirrus\build/testrun/pg_checksums/002_actions\data/t_002_actions_node_checksum_data/pgdata -s -o -C data_checksums -c log_min_messages=fatal [22:09:45.118](1.502s) ok 22 - data_checksums=on is reported on an offline cluster status (got 1 vs expected 1) [22:09:45.119](0.000s) ok 23 - data_checksums=on is reported on an offline cluster stdout /(?^:^on$)/ [22:09:45.119](0.000s) ok 24 - data_checksums=on is reported on an offline cluster stderr /(?^:could not start server)/ ### Starting node "node_checksum" # Running: pg_ctl -w -D C:\cirrus\build/testrun/pg_checksums/002_actions\data/t_002_actions_node_checksum_data/pgdata -l C:\cirrus\build/testrun/pg_checksums/002_actions\log/002_actions_node_checksum.log -o --cluster-name=node_checksum 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 22:09:45.342 GMT [4472][postmaster] LOG: starting PostgreSQL 17devel on x86_64-windows, compiled by msvc-19.29.30151, 64-bit 2024-04-02 22:09:45.344 GMT [4472][postmaster] LOG: listening on Unix socket "C:/Windows/TEMP/_ADnuT4UfP/.s.PGSQL.59501" 2024-04-02 22:09:45.421 GMT [3164][startup] LOG: database system was shut down at 2024-04-02 22:09:43 GMT 2024-04-02 22:09:47.618 GMT [4472][postmaster] LOG: startup process (PID 3164) was terminated by exception 0xC0000354 2024-04-02 22:09:47.618 GMT [4472][postmaster] HINT: See C include file "ntstatus.h" for a description of the hexadecimal value. 2024-04-02 22:09:47.618 GMT [4472][postmaster] LOG: aborting startup due to startup process failure 2024-04-02 22:09:47.619 GMT [4472][postmaster] LOG: database system is shut down # No postmaster PID for node "node_checksum" [22:09:47.742](2.622s) Bail out! pg_ctl start failed # No postmaster PID for node "node_checksum"