# Checking port 62504
# Found port 62504
Name: master
Data directory: E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/pgdata
Backup directory: E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/backup
Archive directory: E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/archives
Connection string: port=62504 host=127.0.0.1
Log file: E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/log/003_corruption_master.log
# Running: initdb -D E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/pgdata -A trust -N
The files belonging to this database system will be owned by user "edb".
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 E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/pgdata ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... windows
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... Asia/Calcutta
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.

Success. You can now start the database server using:

    pg_ctl -D E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/pgdata -l logfile start

# Running: E:/WorkSpace/PostgreSQL/master/postgresql/Debug/pg_regress/pg_regress --config-auth E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/pgdata
### Starting node "master"
# Running: pg_ctl -D E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/pgdata -l E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/log/003_corruption_master.log -o --cluster-name=master start
waiting for server to start.... done
server started
# Postmaster PID for node "master" is 324
# Running: pg_basebackup -D E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/backup/extra_file --no-sync -T E:\WorkSpace\PostgreSQL\master\postgresql\src\bin\pg_validatebackup\tmp_check\tmp_test_vdkT=E:\WorkSpace\PostgreSQL\master\postgresql\src\bin\pg_validatebackup\tmp_check\tmp_test_DWMx
ok 1 - base backup ok
# Running: pg_validatebackup E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/backup/extra_file
pg_validatebackup: fatal: could not parse backup manifest: both pathname and encoded pathname
not ok 2 - intact backup validated

#   Failed test 'intact backup validated'
#   at t/003_corruption.pl line 110.
# Running: pg_validatebackup E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/backup/extra_file
ok 3 - corrupt backup fails validation: extra_file: exit code not 0
not ok 4 - corrupt backup fails validation: extra_file: matches

#   Failed test 'corrupt backup fails validation: extra_file: matches'
#   at t/003_corruption.pl line 117.
#                   'pg_validatebackup: fatal: could not parse backup manifest: both pathname and encoded pathname
# '
#     doesn't match '(?^:extra_file.*present on disk but not in the manifest)'
# Running: pg_basebackup -D E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/backup/extra_tablespace_file --no-sync -T E:\WorkSpace\PostgreSQL\master\postgresql\src\bin\pg_validatebackup\tmp_check\tmp_test_vdkT=E:\WorkSpace\PostgreSQL\master\postgresql\src\bin\pg_validatebackup\tmp_check\tmp_test_eLbs
ok 5 - base backup ok
# Running: pg_validatebackup E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/backup/extra_tablespace_file
pg_validatebackup: fatal: could not parse backup manifest: both pathname and encoded pathname
not ok 6 - intact backup validated

#   Failed test 'intact backup validated'
#   at t/003_corruption.pl line 110.
# Running: pg_validatebackup E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/backup/extra_tablespace_file
ok 7 - corrupt backup fails validation: extra_tablespace_file: exit code not 0
not ok 8 - corrupt backup fails validation: extra_tablespace_file: matches

#   Failed test 'corrupt backup fails validation: extra_tablespace_file: matches'
#   at t/003_corruption.pl line 117.
#                   'pg_validatebackup: fatal: could not parse backup manifest: both pathname and encoded pathname
# '
#     doesn't match '(?^:extra_ts_file.*present on disk but not in the manifest)'
# Running: pg_basebackup -D E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/backup/missing_file --no-sync -T E:\WorkSpace\PostgreSQL\master\postgresql\src\bin\pg_validatebackup\tmp_check\tmp_test_vdkT=E:\WorkSpace\PostgreSQL\master\postgresql\src\bin\pg_validatebackup\tmp_check\tmp_test_HuWX
ok 9 - base backup ok
# Running: pg_validatebackup E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/backup/missing_file
pg_validatebackup: fatal: could not parse backup manifest: both pathname and encoded pathname
not ok 10 - intact backup validated

#   Failed test 'intact backup validated'
#   at t/003_corruption.pl line 110.
# Running: pg_validatebackup E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/backup/missing_file
ok 11 - corrupt backup fails validation: missing_file: exit code not 0
not ok 12 - corrupt backup fails validation: missing_file: matches

#   Failed test 'corrupt backup fails validation: missing_file: matches'
#   at t/003_corruption.pl line 117.
#                   'pg_validatebackup: fatal: could not parse backup manifest: both pathname and encoded pathname
# '
#     doesn't match '(?^:pg_xact/0000.*present in the manifest but not on disk)'
# Running: pg_basebackup -D E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/backup/missing_tablespace --no-sync -T E:\WorkSpace\PostgreSQL\master\postgresql\src\bin\pg_validatebackup\tmp_check\tmp_test_vdkT=E:\WorkSpace\PostgreSQL\master\postgresql\src\bin\pg_validatebackup\tmp_check\tmp_test_ep6l
ok 13 - base backup ok
# Running: pg_validatebackup E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/backup/missing_tablespace
pg_validatebackup: fatal: could not parse backup manifest: both pathname and encoded pathname
not ok 14 - intact backup validated

#   Failed test 'intact backup validated'
#   at t/003_corruption.pl line 110.
E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/backup/missing_tablespace/pg_tblspc/16387:  at t/003_corruption.pl line 175.
### Stopping node "master" using mode immediate
# Running: pg_ctl -D E:/WorkSpace/PostgreSQL/master/postgresql/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/pgdata -m immediate stop
waiting for server to shut down.... done
server stopped
# No postmaster PID for node "master"
# Looks like you planned 44 tests but ran 14.
# Looks like you failed 7 tests of 14 run.
# Looks like your test exited with 1 just after 14.
