# Running: initdb --help [09:38:20.761](0.241s) ok 1 - initdb --help exit code 0 [09:38:20.762](0.001s) ok 2 - initdb --help goes to stdout [09:38:20.762](0.001s) ok 3 - initdb --help nothing to stderr [09:38:20.763](0.000s) ok 4 - initdb --help maximum line length # Running: initdb --version [09:38:20.816](0.053s) ok 5 - initdb --version exit code 0 [09:38:20.816](0.001s) ok 6 - initdb --version goes to stdout [09:38:20.817](0.000s) ok 7 - initdb --version nothing to stderr # Running: initdb --not-a-valid-option [09:38:20.910](0.093s) ok 8 - initdb with invalid option nonzero exit code [09:38:20.911](0.001s) ok 9 - initdb with invalid option prints error message # Running: initdb -S C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/nonexistent initdb: error: could not access directory "C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/nonexistent": No such file or directory [09:38:20.963](0.052s) ok 10 - sync missing data directory # Running: initdb -X C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/pgxlog C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/data The files belonging to this database system will be owned by user "SYSTEM". 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 C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/data ... ok initdb: error: directory "C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/pgxlog" exists but is not empty initdb: hint: If you want to store the WAL there, either remove or empty the directory "C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/pgxlog". initdb: removing data directory "C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/data" [09:38:21.071](0.108s) ok 11 - existing nonempty xlog directory # Running: initdb -X pgxlog C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/data The files belonging to this database system will be owned by user "SYSTEM". 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 C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/data ... ok initdb: error: WAL directory location must be an absolute path initdb: removing data directory "C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/data" [09:38:21.131](0.060s) ok 12 - relative xlog directory not allowed # Running: initdb -U pg_test C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/data initdb: error: superuser name "pg_test" is disallowed; role names cannot begin with "pg_" [09:38:21.179](0.047s) ok 13 - role names cannot begin with "pg_" # Running: initdb -N -T german -c default_text_search_config=german -X C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/pgxlog C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/data The files belonging to this database system will be owned by user "SYSTEM". 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". initdb: warning: specified text search configuration "german" might not match locale "English_United States.1252" The default text search configuration will be set to "german". Data page checksums are disabled. fixing permissions on existing directory C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/data ... ok fixing permissions on existing directory C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/pgxlog ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... windows selecting default max_connections ... 20 selecting default shared_buffers ... 400kB selecting default time zone ... Atlantic/Reykjavik creating configuration files ... ok running bootstrap script ... 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: 3780 abort() has been calledchild process was terminated by exception 0xC0000409 initdb: removing contents of data directory "C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/data" initdb: removing contents of WAL directory "C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/pgxlog" [09:38:31.817](10.638s) not ok 14 - successful creation [09:38:31.818](0.001s) # Failed test 'successful creation' # at C:/cirrus/src/bin/initdb/t/001_initdb.pl line 53. [09:38:31.818](0.000s) ok 15 # skip unix-style permissions not supported on Windows # Running: pg_controldata C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/data [09:38:31.890](0.071s) not ok 16 - checksums are disabled in control file: exit code 0 [09:38:31.890](0.001s) # Failed test 'checksums are disabled in control file: exit code 0' # at C:/cirrus/src/bin/initdb/t/001_initdb.pl line 74. [09:38:31.891](0.000s) not ok 17 - checksums are disabled in control file: no stderr [09:38:31.891](0.001s) # Failed test 'checksums are disabled in control file: no stderr' # at C:/cirrus/src/bin/initdb/t/001_initdb.pl line 74. [09:38:31.892](0.001s) # got: 'pg_controldata: error: could not open file "C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/data/global/pg_control" for reading: No such file or directory # ' # expected: '' [09:38:31.893](0.001s) not ok 18 - checksums are disabled in control file: matches [09:38:31.893](0.001s) # Failed test 'checksums are disabled in control file: matches' # at C:/cirrus/src/bin/initdb/t/001_initdb.pl line 74. [09:38:31.894](0.000s) # '' # doesn't match '(?^:Data page checksum version:.*0)' # Running: pg_checksums -D C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/data pg_checksums: error: could not open file "C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/data/global/pg_control" for reading: No such file or directory [09:38:31.930](0.036s) ok 19 - pg_checksums fails with data checksum disabled # Running: initdb -S C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/data syncing data to disk ... initdb: error: could not stat file "C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/data/pg_wal": No such file or directory initdb: error: could not open directory "C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/data/pg_tblspc": No such file or directory ok [09:38:31.959](0.029s) ok 20 - sync only # Running: initdb C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/data The files belonging to this database system will be owned by user "SYSTEM". 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. fixing permissions on existing directory C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/data ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... windows selecting default max_connections ... 20 selecting default shared_buffers ... 400kB selecting default time zone ... Atlantic/Reykjavik creating configuration files ... ok running bootstrap script ... 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: 4692 abort() has been calledchild process was terminated by exception 0xC0000354 initdb: removing contents of data directory "C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/data" [09:38:46.271](14.312s) ok 21 - existing data directory # Running: initdb -S C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/data --sync-method syncfs initdb: error: this build does not support sync method "syncfs" [09:38:46.287](0.016s) ok 22 - sync method syncfs [09:38:46.287](0.000s) ok 23 # skip unix-style permissions not supported on Windows [09:38:46.287](0.000s) ok 24 # skip unix-style permissions not supported on Windows # Running: initdb --no-sync --locale-provider=icu C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/data2 The files belonging to this database system will be owned by user "SYSTEM". This user must also own the server process. initdb: error: locale must be specified if provider is icu [09:38:46.349](0.062s) ok 25 - locale provider ICU fails since no ICU support # Running: initdb --no-sync --locale-provider=builtin C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/data6 The files belonging to this database system will be owned by user "SYSTEM". This user must also own the server process. initdb: error: locale must be specified if provider is builtin [09:38:46.443](0.094s) ok 26 - locale provider builtin fails without --locale # Running: initdb --no-sync --locale-provider=builtin --locale=C C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/data7 The files belonging to this database system will be owned by user "SYSTEM". This user must also own the server process. The database cluster will be initialized with this locale configuration: locale provider: builtin default collation: C LC_COLLATE: C LC_CTYPE: C LC_MESSAGES: C LC_MONETARY: C LC_NUMERIC: C LC_TIME: C The default database encoding has accordingly been set to "SQL_ASCII". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/data7 ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... windows selecting default max_connections ... 20 selecting default shared_buffers ... 400kB selecting default time zone ... Atlantic/Reykjavik creating configuration files ... ok running bootstrap script ... 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: 1644 abort() has been calledchild process was terminated by exception 0xC0000354 initdb: removing data directory "C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/data7" [09:38:57.295](10.852s) not ok 27 - locale provider builtin with --locale [09:38:57.295](0.000s) # Failed test 'locale provider builtin with --locale' # at C:/cirrus/src/bin/initdb/t/001_initdb.pl line 191. # Running: initdb --no-sync --locale-provider=builtin -E UTF-8 --builtin-locale=C.UTF-8 C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/data8 The files belonging to this database system will be owned by user "SYSTEM". This user must also own the server process. The database cluster will be initialized with this locale configuration: locale provider: builtin default collation: C.UTF-8 LC_COLLATE: English_United States.1252 LC_CTYPE: English_United States.1252 LC_MESSAGES: English_United States.1252 LC_MONETARY: English_United States.1252 LC_NUMERIC: English_United States.1252 LC_TIME: English_United States.1252 The default text search configuration will be set to "english". Data page checksums are disabled. creating directory C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/data8 ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... windows selecting default max_connections ... 20 selecting default shared_buffers ... 400kB selecting default time zone ... Atlantic/Reykjavik creating configuration files ... ok running bootstrap script ... 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: 1472 abort() has been calledchild process was terminated by exception 0xC0000409 initdb: removing data directory "C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/data8" [09:39:05.992](8.698s) not ok 28 - locale provider builtin with -E UTF-8 --builtin-locale=C.UTF-8 [09:39:05.995](0.003s) # Failed test 'locale provider builtin with -E UTF-8 --builtin-locale=C.UTF-8' # at C:/cirrus/src/bin/initdb/t/001_initdb.pl line 199. # Running: initdb --no-sync --locale-provider=builtin -E SQL_ASCII --builtin-locale=C.UTF-8 C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/data9 The files belonging to this database system will be owned by user "SYSTEM". This user must also own the server process. The database cluster will be initialized with this locale configuration: locale provider: builtin default collation: C.UTF-8 LC_COLLATE: English_United States.1252 LC_CTYPE: English_United States.1252 LC_MESSAGES: English_United States.1252 LC_MONETARY: English_United States.1252 LC_NUMERIC: English_United States.1252 LC_TIME: English_United States.1252 initdb: error: builtin provider locale "C.UTF-8" requires encoding "UTF-8" [09:39:06.086](0.090s) ok 29 - locale provider builtin with --builtin-locale=C.UTF-8 fails for SQL_ASCII # Running: initdb --no-sync --locale-provider=builtin --lc-ctype=C --locale=C C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/data10 The files belonging to this database system will be owned by user "SYSTEM". This user must also own the server process. The database cluster will be initialized with this locale configuration: locale provider: builtin default collation: C LC_COLLATE: C LC_CTYPE: C LC_MESSAGES: C LC_MONETARY: C LC_NUMERIC: C LC_TIME: C The default database encoding has accordingly been set to "SQL_ASCII". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/data10 ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... windows selecting default max_connections ... 20 selecting default shared_buffers ... 400kB selecting default time zone ... Atlantic/Reykjavik creating configuration files ... ok running bootstrap script ... 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: 2388 abort() has been calledchild process was terminated by exception 0xC0000354 initdb: removing data directory "C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/data10" [09:39:18.390](12.305s) not ok 30 - locale provider builtin with --lc-ctype [09:39:18.391](0.001s) # Failed test 'locale provider builtin with --lc-ctype' # at C:/cirrus/src/bin/initdb/t/001_initdb.pl line 216. # Running: initdb --no-sync --locale-provider=builtin --icu-locale=en C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/dataX initdb: error: --icu-locale cannot be specified unless locale provider "icu" is chosen [09:39:18.422](0.031s) ok 31 - fails for locale provider builtin with ICU locale # Running: initdb --no-sync --locale-provider=builtin --icu-rules="" C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/dataX initdb: error: --icu-rules cannot be specified unless locale provider "icu" is chosen [09:39:18.438](0.016s) ok 32 - fails for locale provider builtin with ICU rules # Running: initdb --no-sync --locale-provider=xyz C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/dataX initdb: error: unrecognized locale provider: xyz [09:39:18.454](0.015s) ok 33 - fails for invalid locale provider # Running: initdb --no-sync --locale-provider=libc --icu-locale=en C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/dataX initdb: error: --icu-locale cannot be specified unless locale provider "icu" is chosen [09:39:18.469](0.016s) ok 34 - fails for invalid option combination # Running: initdb --no-sync --set foo=bar C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/dataX The files belonging to this database system will be owned by user "SYSTEM". 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 C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/dataX ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... windows selecting default max_connections ... 20 selecting default shared_buffers ... 400kB selecting default time zone ... Atlantic/Reykjavik creating configuration files ... ok running bootstrap script ... 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: 3892 abort() has been calledchild process was terminated by exception 0xC0000354 initdb: removing data directory "C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/dataX" [09:39:43.622](25.153s) ok 35 - fails for invalid --set option # Running: initdb -cwork_mem=128 -cWork_Mem=256 -cWORK_MEM=512 C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/dataY The files belonging to this database system will be owned by user "SYSTEM". 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 C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/dataY ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... windows selecting default max_connections ... 20 selecting default shared_buffers ... 400kB selecting default time zone ... Atlantic/Reykjavik creating configuration files ... ok running bootstrap script ... 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: 5116 abort() has been calledchild process was terminated by exception 0xC0000354 initdb: removing data directory "C:/cirrus/build/testrun/initdb/001_initdb/data/tmp_test_3pXu/dataY" [09:40:08.863](25.241s) not ok 36 - multiple -c options with different case [09:40:08.863](0.000s) # Failed test 'multiple -c options with different case' # at C:/cirrus/src/bin/initdb/t/001_initdb.pl line 256. could not open "C:\cirrus\build\testrun\initdb\001_initdb\data\tmp_test_3pXu/dataY/postgresql.conf": The system cannot find the path specified at C:/cirrus/src/bin/initdb/t/001_initdb.pl line 264. [09:40:08.864](0.001s) # Tests were run but no plan was declared and done_testing() was not seen. [09:40:08.864](0.000s) # Looks like your test exited with 2 just after 36.