# Checking port 60420 # Found port 60420 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=60420 host=/tmp/KpSymKl6e1 Log file: /tmp/cirrus-ci-build/build/testrun/pg_resetwal/002_corrupted/log/002_corrupted_main.log [18:47:46.311](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 [18:47:46.466](0.154s) not ok 1 - processes corrupted pg_control all zeroes status (got 1 vs expected 0) [18:47:46.466](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. [18:47:46.466](0.000s) not ok 2 - processes corrupted pg_control all zeroes stdout /(?^:pg_control version number)/ [18:47:46.466](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. [18:47:46.466](0.000s) # '' # doesn't match '(?^:pg_control version number)' [18:47:46.467](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)/ [18:47:46.467](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. [18:47:46.467](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 [18:47:46.570](0.103s) not ok 4 - processes zero WAL segment size status (got 1 vs expected 0) [18:47:46.570](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. [18:47:46.570](0.000s) not ok 5 - processes zero WAL segment size stdout /(?^:pg_control version number)/ [18:47:46.571](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. [18:47:46.571](0.000s) # '' # doesn't match '(?^:pg_control version number)' [18:47:46.571](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)/ [18:47:46.571](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. [18:47:46.571](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 [18:47:46.574](0.003s) ok 7 - does not run when control file values were guessed: exit code not 0 [18:47:46.574](0.000s) not ok 8 - does not run when control file values were guessed: matches [18:47:46.574](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. [18:47:46.575](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. [18:47:46.589](0.014s) not ok 9 - runs with force when control file values were guessed [18:47:46.589](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. [18:47:46.589](0.000s) 1..9 [18:47:46.590](0.001s) # Looks like you failed 8 tests of 9.