# Running: pg_resetwal --help [12:57:29.939](0.013s) ok 1 - pg_resetwal --help exit code 0 [12:57:29.939](0.000s) ok 2 - pg_resetwal --help goes to stdout [12:57:29.939](0.000s) ok 3 - pg_resetwal --help nothing to stderr [12:57:29.939](0.000s) ok 4 - pg_resetwal --help maximum line length # Running: pg_resetwal --version [12:57:29.942](0.003s) ok 5 - pg_resetwal --version exit code 0 [12:57:29.942](0.000s) ok 6 - pg_resetwal --version goes to stdout [12:57:29.943](0.000s) ok 7 - pg_resetwal --version nothing to stderr # Running: pg_resetwal --not-a-valid-option [12:57:29.945](0.003s) ok 8 - pg_resetwal with invalid option nonzero exit code [12:57:29.945](0.000s) ok 9 - pg_resetwal with invalid option prints error message # Checking port 61658 # Found port 61658 Name: main Data directory: /tmp/cirrus-ci-build/build/testrun/pg_resetwal/001_basic/data/t_001_basic_main_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/pg_resetwal/001_basic/data/t_001_basic_main_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/pg_resetwal/001_basic/data/t_001_basic_main_data/archives Connection string: port=61658 host=/tmp/HkSk3MXGWc Log file: /tmp/cirrus-ci-build/build/testrun/pg_resetwal/001_basic/log/001_basic_main.log [12:57:29.948](0.003s) # 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/001_basic/data/t_001_basic_main_data/pgdata # Running: /tmp/cirrus-ci-build/build/src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/build/testrun/pg_resetwal/001_basic/data/t_001_basic_main_data/pgdata # Running: pg_resetwal -n /tmp/cirrus-ci-build/build/testrun/pg_resetwal/001_basic/data/t_001_basic_main_data/pgdata [12:57:29.960](0.011s) not ok 10 - pg_resetwal -n produces output: exit code 0 [12:57:29.960](0.000s) # Failed test 'pg_resetwal -n produces output: exit code 0' # at /tmp/cirrus-ci-build/src/bin/pg_resetwal/t/001_basic.pl line 19. [12:57:29.960](0.000s) not ok 11 - pg_resetwal -n produces output: no stderr [12:57:29.960](0.000s) # Failed test 'pg_resetwal -n produces output: no stderr' # at /tmp/cirrus-ci-build/src/bin/pg_resetwal/t/001_basic.pl line 19. [12:57:29.960](0.000s) # got: 'pg_resetwal: error: could not open file "global/pg_control" for reading: No such file or directory # pg_resetwal: hint: If you are sure the data directory path is correct, execute # touch global/pg_control # and try again. # ' # expected: '' [12:57:29.960](0.000s) not ok 12 - pg_resetwal -n produces output: matches [12:57:29.960](0.000s) # Failed test 'pg_resetwal -n produces output: matches' # at /tmp/cirrus-ci-build/src/bin/pg_resetwal/t/001_basic.pl line 19. [12:57:29.961](0.000s) # '' # doesn't match '(?^:checkpoint)' [12:57:29.962](0.001s) ok 13 - check PGDATA permissions # Running: pg_resetwal -D /tmp/cirrus-ci-build/build/testrun/pg_resetwal/001_basic/data/t_001_basic_main_data/pgdata pg_resetwal: error: could not open file "global/pg_control" for reading: No such file or directory pg_resetwal: hint: If you are sure the data directory path is correct, execute touch global/pg_control and try again. [12:57:29.974](0.012s) not ok 14 - pg_resetwal runs [12:57:29.974](0.000s) # Failed test 'pg_resetwal runs' # at /tmp/cirrus-ci-build/src/bin/pg_resetwal/t/001_basic.pl line 33. ### Starting node "main" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/pg_resetwal/001_basic/data/t_001_basic_main_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/pg_resetwal/001_basic/log/001_basic_main.log -o --cluster-name=main start waiting for server to start.... stopped waiting pg_ctl: could not start server Examine the log output. # pg_ctl start failed; logfile: LOG: GUC (PGC_BOOL) externally_managed_configuration, boot_val=0, C-var=1 TRAP: failed Assert("check_GUC_init(hentry->gucvar)"), File: "../src/backend/utils/misc/guc.c", Line: 1556, PID: 15285 /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres(ExceptionalCondition+0x56)[0x556f36717588] /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres(InitializeGUCOptions+0x8d)[0x556f3674d206] /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres(PostmasterMain+0x194)[0x556f36318030] /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres(main+0x393)[0x556f3614378c] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7f060a1ced0a] /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres(_start+0x2a)[0x556f35ca421a] # No postmaster PID for node "main" [12:57:30.391](0.417s) Bail out! pg_ctl start failed # No postmaster PID for node "main"