[11:48:01.954](0.033s) # testing using transfer mode --copy # Checking port 49903 # Found port 49903 Name: old_node Data directory: C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata Backup directory: C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/backup Archive directory: C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/archives Connection string: port=49903 host=C:/Windows/TEMP/_ut2n49dFU Log file: C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\log/002_pg_upgrade_old_node.log [11:48:01.999](0.045s) # initializing database system by running initdb # Running: initdb -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata -A trust -N --wal-segsize 1 --allow-group-access --encoding UTF-8 --lc-collate C --lc-ctype C --locale-provider builtin --builtin-locale C.UTF-8 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: C LC_CTYPE: C 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/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... windows selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Atlantic/Reykjavik creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok Sync to disk skipped. The data directory might become corrupt if the operating system crashes. Success. You can now start the database server using: pg_ctl -D ^"C^:^\cirrus^\build^/testrun^/pg^_upgrade^/002^_pg^_upgrade^\data^/t^_002^_pg^_upgrade^_old^_node^_data^/pgdata^" -l logfile start # Running: C:\cirrus\build\src/test\regress\pg_regress.exe --config-auth C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata ### Starting node "old_node" # Running: pg_ctl -w -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata -l C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\log/002_pg_upgrade_old_node.log -o --cluster-name=old_node start waiting for server to start.... done server started # Postmaster PID for node "old_node" is 7104 [11:48:07.555](5.556s) ok 1 - check locales in original cluster # Running: createdb regression\"\  !"#$%&'()*+,-\\"\\\ [11:48:07.941](0.386s) ok 2 - created database with ASCII characters from 1 to 45 # Running: createdb regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ [11:48:08.353](0.412s) ok 3 - created database with ASCII characters from 46 to 90 # Running: createdb regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ [11:48:09.153](0.800s) ok 4 - created database with ASCII characters from 91 to 127 [11:48:09.157](0.004s) # running regression tests in old instance # using postmaster on C:/Windows/TEMP/_ut2n49dFU, port 49903 ok 1 - test_setup 526 ms # parallel group (20 tests): char oid txid boolean bit int4 name money int8 float4 text varchar uuid pg_lsn float8 int2 regproc enum rangetypes numeric ok 2 + boolean 912 ms ok 3 + char 616 ms ok 4 + name 950 ms ok 5 + varchar 1039 ms ok 6 + text 1011 ms ok 7 + int2 1074 ms ok 8 + int4 931 ms ok 9 + int8 949 ms ok 10 + oid 604 ms ok 11 + float4 946 ms ok 12 + float8 1061 ms ok 13 + bit 922 ms ok 14 + numeric 1341 ms ok 15 + txid 689 ms ok 16 + uuid 1020 ms ok 17 + enum 1169 ms ok 18 + money 930 ms ok 19 + rangetypes 1251 ms ok 20 + pg_lsn 1042 ms ok 21 + regproc 1135 ms # parallel group (20 tests): md5 numerology path lseg line time point circle macaddr macaddr8 strings timetz date inet box interval polygon timestamp timestamptz multirangetypes ok 22 + strings 925 ms ok 23 + md5 722 ms ok 24 + numerology 720 ms ok 25 + point 823 ms ok 26 + lseg 787 ms ok 27 + line 785 ms ok 28 + box 985 ms ok 29 + path 782 ms ok 30 + polygon 1029 ms ok 31 + circle 865 ms ok 32 + date 909 ms ok 33 + time 775 ms ok 34 + timetz 905 ms ok 35 + timestamp 1038 ms ok 36 + timestamptz 1088 ms ok 37 + interval 1017 ms ok 38 + inet 920 ms ok 39 + macaddr 851 ms ok 40 + macaddr8 895 ms ok 41 + multirangetypes 1210 ms # parallel group (12 tests): tstypes mvcc xid unicode misc_sanity comments horology geometry type_sanity expressions regex opr_sanity ok 42 + geometry 791 ms ok 43 + horology 789 ms ok 44 + tstypes 728 ms ok 45 + regex 907 ms ok 46 + type_sanity 785 ms ok 47 + opr_sanity 904 ms ok 48 + misc_sanity 722 ms ok 49 + comments 721 ms ok 50 + expressions 870 ms ok 51 + unicode 718 ms ok 52 + xid 716 ms ok 53 + mvcc 714 ms # parallel group (5 tests): copyselect copydml insert_conflict copy insert ok 54 + copy 709 ms ok 55 + copyselect 602 ms ok 56 + copydml 676 ms ok 57 + insert 1176 ms ok 58 + insert_conflict 673 ms # parallel group (7 tests): create_operator create_misc create_function_c create_procedure create_schema create_type create_table ok 59 + create_function_c 813 ms ok 60 + create_misc 758 ms ok 61 + create_operator 615 ms ok 62 + create_procedure 942 ms ok 63 + create_table 1051 ms ok 64 + create_type 947 ms ok 65 + create_schema 945 ms # parallel group (5 tests): create_view index_including create_index_spgist index_including_gist create_index ok 66 + create_index 2156 ms ok 67 + create_index_spgist 1198 ms ok 68 + create_view 1172 ms ok 69 + index_including 1194 ms ok 70 + index_including_gist 1192 ms # parallel group (16 tests): create_function_sql hash_func infinite_recurse select errors create_aggregate typed_table roleattributes create_cast drop_if_exists create_am constraints updatable_views inherit vacuum triggers ok 71 + create_aggregate 2797 ms ok 72 + create_function_sql 1817 ms ok 73 + create_cast 2964 ms ok 74 + constraints 3194 ms ok 75 + triggers 4568 ms ok 76 + select 2544 ms ok 77 + inherit 4324 ms ok 78 + typed_table 2877 ms ok 79 + vacuum 4352 ms ok 80 + drop_if_exists 3125 ms ok 81 + updatable_views 3895 ms ok 82 + roleattributes 2946 ms ok 83 + create_am 3119 ms ok 84 + hash_func 2526 ms ok 85 + errors 2657 ms ok 86 + infinite_recurse 2523 ms ok 87 - sanity_check 365 ms # parallel group (20 tests): select_distinct_on select_into delete select_having namespace select_implicit union random transactions prepared_xacts case portals arrays subselect select_distinct update join hash_index aggregates btree_index ok 88 + select_into 746 ms ok 89 + select_distinct 2454 ms ok 90 + select_distinct_on 743 ms ok 91 + select_implicit 1933 ms ok 92 + select_having 1867 ms ok 93 + subselect 2408 ms ok 94 + union 1928 ms ok 95 + case 2137 ms ok 96 + join 2686 ms ok 97 + aggregates 3440 ms ok 98 + transactions 2073 ms ok 99 + random 1920 ms ok 100 + portals 2130 ms ok 101 + arrays 2128 ms ok 102 + btree_index 7018 ms ok 103 + hash_index 2988 ms ok 104 + update 2581 ms ok 105 + delete 1846 ms ok 106 + namespace 1908 ms ok 107 + prepared_xacts 2058 ms # parallel group (20 tests): lock replica_identity collate drop_operator security_label tablesample spgist generated groupingsets identity init_privs gin password object_address matview rowsecurity gist join_hash brin privileges ok 108 + brin 10156 ms ok 109 + gin 3158 ms ok 110 + gist 5466 ms ok 111 + spgist 2887 ms ok 112 + privileges 11725 ms ok 113 + init_privs 3152 ms ok 114 + security_label 2250 ms ok 115 + collate 1761 ms ok 116 + matview 3200 ms ok 117 + lock 1168 ms ok 118 + replica_identity 1649 ms ok 119 + rowsecurity 3215 ms ok 120 + object_address 3142 ms ok 121 + tablesample 2240 ms ok 122 + groupingsets 2997 ms ok 123 + drop_operator 1749 ms ok 124 + password 3136 ms ok 125 + identity 2992 ms ok 126 + generated 2927 ms ok 127 + join_hash 10005 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 344 ms ok 129 + brin_multi 2410 ms # parallel group (18 tests): create_role sysviews alter_operator merge collate.utf8 incremental_sort alter_generic tid dbsize collate.icu.utf8 tidscan tidrangescan async misc_functions misc tsrf without_overlaps create_table_like ok 130 + create_table_like 2648 ms ok 131 + alter_generic 2024 ms ok 132 + alter_operator 1392 ms ok 133 + misc 2403 ms ok 134 + async 2326 ms ok 135 + dbsize 2192 ms ok 136 + merge 1403 ms ok 137 + misc_functions 2320 ms ok 138 + sysviews 1332 ms ok 139 + tsrf 2393 ms ok 140 + tid 2063 ms ok 141 + tidscan 2274 ms ok 142 + tidrangescan 2272 ms ok 143 + collate.utf8 1945 ms ok 144 + collate.icu.utf8 2269 ms ok 145 + incremental_sort 1942 ms ok 146 + create_role 1231 ms ok 147 + without_overlaps 2399 ms # parallel group (7 tests): psql_crosstab collate.windows.win1252 collate.linux.utf8 amutils psql rules stats_ext ok 148 + rules 1301 ms ok 149 + psql 1245 ms ok 150 + psql_crosstab 413 ms ok 151 + amutils 633 ms ok 152 + stats_ext 3239 ms ok 153 + collate.linux.utf8 550 ms ok 154 + collate.windows.win1252 423 ms not ok 155 - select_parallel 9037 ms ok 156 - write_parallel 812 ms ok 157 - vacuum_parallel 462 ms # parallel group (2 tests): subscription publication ok 158 + publication 1392 ms ok 159 + subscription 718 ms # parallel group (17 tests): guc select_views window advisory_lock functional_deps cluster combocid dependency tsdicts equivclass foreign_data xmlmap portals_p2 tsearch indirect_toast bitmapops foreign_key ok 160 + select_views 1539 ms ok 161 + portals_p2 2345 ms ok 162 + foreign_key 3927 ms ok 163 + cluster 1738 ms ok 164 + dependency 2169 ms ok 165 + guc 1530 ms ok 166 + bitmapops 2395 ms ok 167 + combocid 2165 ms ok 168 + tsearch 2334 ms ok 169 + tsdicts 2196 ms ok 170 + foreign_data 2299 ms ok 171 + window 1522 ms ok 172 + xmlmap 2314 ms ok 173 + functional_deps 1723 ms ok 174 + advisory_lock 1518 ms ok 175 + indirect_toast 2349 ms ok 176 + equivclass 2278 ms # parallel group (9 tests): json_encoding jsonpath sqljson_queryfuncs sqljson_jsontable sqljson jsonpath_encoding json jsonb_jsonpath jsonb ok 177 + json 709 ms ok 178 + jsonb 1061 ms ok 179 + json_encoding 446 ms ok 180 + jsonpath 488 ms ok 181 + jsonpath_encoding 645 ms ok 182 + jsonb_jsonpath 716 ms ok 183 + sqljson 571 ms ok 184 + sqljson_queryfuncs 545 ms ok 185 + sqljson_jsontable 568 ms # parallel group (18 tests): rowtypes plancache sequence conversion polymorphism copy2 prepare largeobject limit xml returning truncate with rangefuncs domain temp plpgsql alter_table ok 186 + plancache 2607 ms ok 187 + limit 3016 ms ok 188 + plpgsql 3666 ms ok 189 + copy2 2892 ms ok 190 + temp 3632 ms ok 191 + domain 3472 ms ok 192 + rangefuncs 3426 ms ok 193 + prepare 2883 ms ok 194 + conversion 2765 ms ok 195 + truncate 3419 ms ok 196 + alter_table 5966 ms ok 197 + sequence 2632 ms ok 198 + polymorphism 2870 ms ok 199 + rowtypes 2380 ms ok 200 + returning 2988 ms ok 201 + largeobject 2848 ms ok 202 + with 3387 ms ok 203 + xml 2965 ms # parallel group (15 tests): partition_info reloptions predicate memoize hash_part partition_split compression partition_merge explain tuplesort partition_join indexing stats partition_aggregate partition_prune ok 204 + partition_merge 2861 ms ok 205 + partition_split 2570 ms ok 206 + partition_join 3267 ms ok 207 + partition_prune 5803 ms ok 208 + reloptions 1087 ms ok 209 + hash_part 2296 ms ok 210 + indexing 3260 ms ok 211 + partition_aggregate 4168 ms ok 212 + partition_info 1081 ms ok 213 + tuplesort 2970 ms ok 214 + explain 2968 ms ok 215 + compression 2844 ms ok 216 + memoize 2286 ms ok 217 + stats 3889 ms ok 218 + predicate 1849 ms # parallel group (2 tests): oidjoins event_trigger ok 219 + oidjoins 592 ms ok 220 + event_trigger 674 ms ok 221 - event_trigger_login 299 ms ok 222 - fast_default 517 ms ok 223 - tablespace 947 ms 1..223 # 1 of 223 tests failed. # The differences that caused some tests to fail can be viewed in the file "C:/cirrus/build/testrun/pg_upgrade/002_pg_upgrade/data/regression.diffs". # A copy of the test summary that you see above is saved in the file "C:/cirrus/build/testrun/pg_upgrade/002_pg_upgrade/data/regression.out". === dumping C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/regression.diffs === diff -w -U3 C:/cirrus/src/test/regress/expected/select_parallel.out C:/cirrus/build/testrun/pg_upgrade/002_pg_upgrade/data/results/select_parallel.out --- C:/cirrus/src/test/regress/expected/select_parallel.out 2024-04-22 11:46:05.339753000 +0000 +++ C:/cirrus/build/testrun/pg_upgrade/002_pg_upgrade/data/results/select_parallel.out 2024-04-22 11:49:27.629698900 +0000 @@ -452,25 +452,35 @@ where tenk1.four = t.four ); QUERY PLAN ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - Seq Scan on public.tenk1 t +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Hash Join Output: t.unique1, t.unique2, t.two, t.four, t.ten, t.twenty, t.hundred, t.thousand, t.twothousand, t.fivethous, t.tenthous, t.odd, t.even, t.stringu1, t.stringu2, t.string4 - Filter: (SubPlan 1) - SubPlan 1 - -> Hash Join - Output: t.two - Hash Cond: (tenk1.stringu1 = t3.stringu1) - -> Seq Scan on public.tenk1 - Output: tenk1.unique1, tenk1.unique2, tenk1.two, tenk1.four, tenk1.ten, tenk1.twenty, tenk1.hundred, tenk1.thousand, tenk1.twothousand, tenk1.fivethous, tenk1.tenthous, tenk1.odd, tenk1.even, tenk1.stringu1, tenk1.stringu2, tenk1.string4 - Filter: (tenk1.four = t.four) + Inner Unique: true + Hash Cond: (t.four = tenk1.four) + -> Gather + Output: t.unique1, t.unique2, t.two, t.four, t.ten, t.twenty, t.hundred, t.thousand, t.twothousand, t.fivethous, t.tenthous, t.odd, t.even, t.stringu1, t.stringu2, t.string4 + Workers Planned: 4 + -> Parallel Seq Scan on public.tenk1 t + Output: t.unique1, t.unique2, t.two, t.four, t.ten, t.twenty, t.hundred, t.thousand, t.twothousand, t.fivethous, t.tenthous, t.odd, t.even, t.stringu1, t.stringu2, t.string4 + Filter: (t.two IS NOT NULL) -> Hash - Output: t3.stringu1 + Output: tenk1.four + -> HashAggregate + Output: tenk1.four + Group Key: tenk1.four -> Gather - Output: t3.stringu1 + Output: tenk1.four Workers Planned: 4 + -> Parallel Hash Join + Output: tenk1.four + Hash Cond: (tenk1.stringu1 = t3.stringu1) + -> Parallel Seq Scan on public.tenk1 + Output: tenk1.unique1, tenk1.unique2, tenk1.two, tenk1.four, tenk1.ten, tenk1.twenty, tenk1.hundred, tenk1.thousand, tenk1.twothousand, tenk1.fivethous, tenk1.tenthous, tenk1.odd, tenk1.even, tenk1.stringu1, tenk1.stringu2, tenk1.string4 + -> Parallel Hash + Output: t3.stringu1 -> Parallel Seq Scan on public.tenk1 t3 Output: t3.stringu1 -(17 rows) +(27 rows) -- this is not parallel-safe due to use of random() within SubLink's testexpr: explain (costs off) === EOF === [11:50:02.923](113.766s) not ok 5 - regression tests pass [11:50:02.923](0.000s) # Failed test 'regression tests pass' # at C:/cirrus/src/bin/pg_upgrade/t/002_pg_upgrade.pl line 260. [11:50:02.923](0.000s) # got: '256' # expected: '0' # Checking port 49904 # Found port 49904 Name: new_node Data directory: C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/pgdata Backup directory: C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/backup Archive directory: C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/archives Connection string: port=49904 host=C:/Windows/TEMP/_ut2n49dFU Log file: C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\log/002_pg_upgrade_new_node.log [11:50:02.937](0.014s) # initializing database system by running initdb # Running: initdb -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/pgdata -A trust -N --wal-segsize 1 --allow-group-access --encoding SQL_ASCII --locale-provider libc 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 text search configuration will be set to "english". Data page checksums are disabled. creating directory C:/cirrus/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... windows selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Atlantic/Reykjavik creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok Sync to disk skipped. The data directory might become corrupt if the operating system crashes. Success. You can now start the database server using: pg_ctl -D ^"C^:^\cirrus^\build^/testrun^/pg^_upgrade^/002^_pg^_upgrade^\data^/t^_002^_pg^_upgrade^_new^_node^_data^/pgdata^" -l logfile start # Running: C:\cirrus\build\src/test\regress\pg_regress.exe --config-auth C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/pgdata # Running: pg_dumpall --no-sync -d port=49903 host=C:/Windows/TEMP/_ut2n49dFU dbname='postgres' -f C:\cirrus\build\testrun\pg_upgrade\002_pg_upgrade\data\tmp_test_ks_P/dump1.sql [11:50:10.151](7.214s) ok 6 - dump before running pg_upgrade ### Stopping node "old_node" using mode fast # Running: pg_ctl -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata -m fast stop waiting for server to shut down.... done server stopped # No postmaster PID for node "old_node" # Running: pg_upgrade --no-sync -d C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/pgdata -b C:/cirrus/build/TMP_IN~1/usr/local/pgsql/bin/does/not/exist/ -B C:/cirrus/build/TMP_IN~1/usr/local/pgsql/bin -s C:/Windows/TEMP/_ut2n49dFU -p 49903 -P 49904 --copy --check check for "C:/cirrus/build/TMP_IN~1/usr/local/pgsql/bin/does/not/exist" failed: No such file or directory Failure, exiting [11:50:11.464](1.312s) ok 7 - run of pg_upgrade --check for new instance with incorrect binary path [11:50:11.466](0.002s) ok 8 - pg_upgrade_output.d/ not removed after pg_upgrade failure # Running: pg_upgrade --no-sync -d C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/pgdata -b C:/cirrus/build/TMP_IN~1/usr/local/pgsql/bin -B C:/cirrus/build/TMP_IN~1/usr/local/pgsql/bin -s C:/Windows/TEMP/_ut2n49dFU -p 49903 -P 49904 --copy --check [11:50:16.609](5.143s) ok 9 - invalid database causes failure status (got 1 vs expected 1) [11:50:16.609](0.000s) ok 10 - invalid database causes failure stdout /(?^:invalid)/ [11:50:16.609](0.000s) ok 11 - invalid database causes failure stderr /(?^:^$)/ ### Starting node "old_node" # Running: pg_ctl -w -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata -l C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\log/002_pg_upgrade_old_node.log -o --cluster-name=old_node start waiting for server to start.... done server started # Postmaster PID for node "old_node" is 7148 ### Stopping node "old_node" using mode fast # Running: pg_ctl -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata -m fast stop waiting for server to shut down.... done server stopped # No postmaster PID for node "old_node" # Running: pg_upgrade --no-sync -d C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/pgdata -b C:/cirrus/build/TMP_IN~1/usr/local/pgsql/bin -B C:/cirrus/build/TMP_IN~1/usr/local/pgsql/bin -s C:/Windows/TEMP/_ut2n49dFU -p 49903 -P 49904 --copy --check Performing Consistency Checks ----------------------------- Checking cluster versions ok Checking database user is the install user ok Checking database connection settings ok Checking for prepared transactions ok Checking for contrib/isn with bigint-passing mismatch ok Checking for valid logical replication slots ok Checking for subscription state ok Checking for data type usage ok Checking for presence of required libraries ok Checking database user is the install user ok Checking for prepared transactions ok Checking for new cluster tablespace directories ok *Clusters are compatible* [11:50:24.714](8.105s) ok 12 - run of pg_upgrade --check for new instance [11:50:24.718](0.004s) ok 13 - pg_upgrade_output.d/ removed after pg_upgrade --check success # Running: pg_upgrade --no-sync -d C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/pgdata -b C:/cirrus/build/TMP_IN~1/usr/local/pgsql/bin -B C:/cirrus/build/TMP_IN~1/usr/local/pgsql/bin -s C:/Windows/TEMP/_ut2n49dFU -p 49903 -P 49904 --copy Performing Consistency Checks ----------------------------- Checking cluster versions ok Checking database user is the install user ok Checking database connection settings ok Checking for prepared transactions ok Checking for contrib/isn with bigint-passing mismatch ok Checking for valid logical replication slots ok Checking for subscription state ok Checking for data type usage ok Creating dump of global objects ok Creating dump of database schemas ok Checking for presence of required libraries ok Checking database user is the install user ok Checking for prepared transactions ok Checking for new cluster tablespace directories ok If pg_upgrade fails after this point, you must re-initdb the new cluster before continuing. Performing Upgrade ------------------ Setting locale and encoding for new cluster ok Analyzing all rows in the new cluster ok Freezing all rows in the new cluster ok Deleting files from new pg_xact ok Copying old pg_xact to new server ok Setting oldest XID for new cluster ok Setting next transaction ID and epoch for new cluster ok Deleting files from new pg_multixact/offsets ok Copying old pg_multixact/offsets to new server ok Deleting files from new pg_multixact/members ok Copying old pg_multixact/members to new server ok Setting next multixact ID and offset for new cluster ok Resetting WAL archives ok Setting frozenxid and minmxid counters in new cluster ok Restoring global objects in the new cluster ok Restoring database schemas in the new cluster ok Copying user relation files ok Setting next OID for new cluster ok Creating script to delete old cluster ok Checking for extension updates ok Upgrade Complete ---------------- Optimizer statistics are not transferred by pg_upgrade. Once you start the new server, consider running: C:/cirrus/build/TMP_IN~1/usr/local/pgsql/bin/vacuumdb --all --analyze-in-stages Running this script will delete the old cluster's data files: delete_old_cluster.bat [11:51:03.105](38.387s) ok 14 - run of pg_upgrade for new instance [11:51:03.105](0.000s) ok 15 - pg_upgrade_output.d/ removed after pg_upgrade success ### Starting node "new_node" # Running: pg_ctl -w -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/pgdata -l C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\log/002_pg_upgrade_new_node.log -o --cluster-name=new_node start waiting for server to start.... done server started # Postmaster PID for node "new_node" is 404 [11:51:04.966](1.861s) ok 16 - check that locales in new cluster match original cluster # Running: pg_dumpall --no-sync -d port=49904 host=C:/Windows/TEMP/_ut2n49dFU dbname='postgres' -f C:\cirrus\build\testrun\pg_upgrade\002_pg_upgrade\data\tmp_test_ks_P/dump2.sql [11:51:09.004](4.038s) ok 17 - dump after running pg_upgrade [11:51:09.461](0.458s) ok 18 - old and new dumps match after pg_upgrade [11:51:09.464](0.003s) 1..18 ### Stopping node "new_node" using mode immediate # Running: pg_ctl -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/pgdata -m immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "new_node" [11:51:10.099](0.635s) # Looks like you failed 1 test of 18.