# Checking port 65485 # Found port 65485 Name: main Data directory: /tmp/cirrus-ci-build/build/testrun/pg_resetwal/002_corrupted/data/t_002_corrupted_main_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/pg_resetwal/002_corrupted/data/t_002_corrupted_main_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/pg_resetwal/002_corrupted/data/t_002_corrupted_main_data/archives Connection string: port=65485 host=/tmp/rxg1HVZw2s Log file: /tmp/cirrus-ci-build/build/testrun/pg_resetwal/002_corrupted/log/002_corrupted_main.log [12:38:07.344](0.012s) # initializing database system by copying initdb template # Running: cp -RPp /tmp/cirrus-ci-build/build/tmp_install/initdb-template /tmp/cirrus-ci-build/build/testrun/pg_resetwal/002_corrupted/data/t_002_corrupted_main_data/pgdata # Running: /tmp/cirrus-ci-build/build/src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/build/testrun/pg_resetwal/002_corrupted/data/t_002_corrupted_main_data/pgdata # Running: pg_resetwal -n /tmp/cirrus-ci-build/build/testrun/pg_resetwal/002_corrupted/data/t_002_corrupted_main_data/pgdata [12:38:07.452](0.108s) not ok 1 - processes corrupted pg_control all zeroes status (got 1 vs expected 0) [12:38:07.453](0.000s) # Failed test 'processes corrupted pg_control all zeroes status (got 1 vs expected 0)' # at /tmp/cirrus-ci-build/src/bin/pg_resetwal/t/002_corrupted.pl line 33. [12:38:07.453](0.000s) not ok 2 - processes corrupted pg_control all zeroes stdout /(?^:pg_control version number)/ [12:38:07.453](0.000s) # Failed test 'processes corrupted pg_control all zeroes stdout /(?^:pg_control version number)/' # at /tmp/cirrus-ci-build/src/bin/pg_resetwal/t/002_corrupted.pl line 33. [12:38:07.453](0.000s) # '' # doesn't match '(?^:pg_control version number)' [12:38:07.453](0.000s) not ok 3 - processes corrupted pg_control all zeroes stderr /(?^:pg_resetwal: warning: pg_control exists but is broken or wrong version; ignoring it)/ [12:38:07.453](0.000s) # Failed test 'processes corrupted pg_control all zeroes stderr /(?^:pg_resetwal: warning: pg_control exists but is broken or wrong version; ignoring it)/' # at /tmp/cirrus-ci-build/src/bin/pg_resetwal/t/002_corrupted.pl line 33. [12:38:07.453](0.000s) # 'pg_resetwal: error: lock file "postmaster.pid" exists # pg_resetwal: hint: Is a server running? If not, delete the lock file and try again. # ' # doesn't match '(?^:pg_resetwal: warning: pg_control exists but is broken or wrong version; ignoring it)' # Running: pg_resetwal -n /tmp/cirrus-ci-build/build/testrun/pg_resetwal/002_corrupted/data/t_002_corrupted_main_data/pgdata [12:38:07.542](0.088s) not ok 4 - processes zero WAL segment size status (got 1 vs expected 0) [12:38:07.542](0.000s) # Failed test 'processes zero WAL segment size status (got 1 vs expected 0)' # at /tmp/cirrus-ci-build/src/bin/pg_resetwal/t/002_corrupted.pl line 49. [12:38:07.542](0.000s) not ok 5 - processes zero WAL segment size stdout /(?^:pg_control version number)/ [12:38:07.543](0.000s) # Failed test 'processes zero WAL segment size stdout /(?^:pg_control version number)/' # at /tmp/cirrus-ci-build/src/bin/pg_resetwal/t/002_corrupted.pl line 49. [12:38:07.543](0.000s) # '' # doesn't match '(?^:pg_control version number)' [12:38:07.543](0.000s) not ok 6 - processes zero WAL segment size stderr /(?^:pg_resetwal\:\ warning\:\ pg_control\ specifies\ invalid\ WAL\ segment\ size\ \(0\ bytes\)\;\ proceed\ with\ caution)/ [12:38:07.543](0.000s) # Failed test 'processes zero WAL segment size stderr /(?^:pg_resetwal\:\ warning\:\ pg_control\ specifies\ invalid\ WAL\ segment\ size\ \(0\ bytes\)\;\ proceed\ with\ caution)/' # at /tmp/cirrus-ci-build/src/bin/pg_resetwal/t/002_corrupted.pl line 49. [12:38:07.543](0.000s) # 'pg_resetwal: error: lock file "postmaster.pid" exists # pg_resetwal: hint: Is a server running? If not, delete the lock file and try again. # ' # doesn't match '(?^:pg_resetwal\:\ warning\:\ pg_control\ specifies\ invalid\ WAL\ segment\ size\ \(0\ bytes\)\;\ proceed\ with\ caution)' # Running: pg_resetwal /tmp/cirrus-ci-build/build/testrun/pg_resetwal/002_corrupted/data/t_002_corrupted_main_data/pgdata [12:38:07.546](0.003s) ok 7 - does not run when control file values were guessed: exit code not 0 [12:38:07.546](0.000s) not ok 8 - does not run when control file values were guessed: matches [12:38:07.546](0.000s) # Failed test 'does not run when control file values were guessed: matches' # at /tmp/cirrus-ci-build/src/bin/pg_resetwal/t/002_corrupted.pl line 59. [12:38:07.546](0.000s) # 'pg_resetwal: error: lock file "postmaster.pid" exists # pg_resetwal: hint: Is a server running? If not, delete the lock file and try again. # ' # doesn't match '(?^:not proceeding because control file values were guessed)' # Running: pg_resetwal -f /tmp/cirrus-ci-build/build/testrun/pg_resetwal/002_corrupted/data/t_002_corrupted_main_data/pgdata pg_resetwal: error: lock file "postmaster.pid" exists pg_resetwal: hint: Is a server running? If not, delete the lock file and try again. [12:38:07.558](0.012s) not ok 9 - runs with force when control file values were guessed [12:38:07.559](0.000s) # Failed test 'runs with force when control file values were guessed' # at /tmp/cirrus-ci-build/src/bin/pg_resetwal/t/002_corrupted.pl line 63. [12:38:07.559](0.000s) 1..9 [12:38:07.560](0.001s) # Looks like you failed 8 tests of 9.