# Checking port 57991 # Found port 57991 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=57991 host=/tmp/IOV0Py4RsI Log file: /tmp/cirrus-ci-build/build/testrun/pg_resetwal/002_corrupted/log/002_corrupted_main.log [14:01:02.785](0.013s) # 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 [14:01:02.977](0.192s) not ok 1 - processes corrupted pg_control all zeroes status (got 1 vs expected 0) [14:01:02.977](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. [14:01:02.978](0.000s) not ok 2 - processes corrupted pg_control all zeroes stdout /(?^:pg_control version number)/ [14:01:02.978](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. [14:01:02.978](0.000s) # '' # doesn't match '(?^:pg_control version number)' [14:01:02.978](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)/ [14:01:02.978](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. [14:01:02.979](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 [14:01:03.078](0.100s) not ok 4 - processes zero WAL segment size status (got 1 vs expected 0) [14:01:03.078](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. [14:01:03.079](0.000s) not ok 5 - processes zero WAL segment size stdout /(?^:pg_control version number)/ [14:01:03.079](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. [14:01:03.079](0.000s) # '' # doesn't match '(?^:pg_control version number)' [14:01:03.079](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)/ [14:01:03.079](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. [14:01:03.079](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 [14:01:03.083](0.003s) ok 7 - does not run when control file values were guessed: exit code not 0 [14:01:03.083](0.000s) not ok 8 - does not run when control file values were guessed: matches [14:01:03.083](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. [14:01:03.083](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. [14:01:03.096](0.012s) not ok 9 - runs with force when control file values were guessed [14:01:03.096](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. [14:01:03.096](0.000s) 1..9 [14:01:03.097](0.001s) # Looks like you failed 8 tests of 9.