[18:56:02.734](0.013s) # testing using transfer mode --clone # Checking port 64975 # Found port 64975 Name: old_node Data directory: /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata Backup directory: /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/backup Archive directory: /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/archives Connection string: port=64975 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/pGENKHv2Na Log file: /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/log/002_pg_upgrade_old_node.log [18:56:02.776](0.042s) # initializing database system by running initdb # Running: initdb -D /Users/admin/pgsql/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 --locale C --locale-provider icu --icu-locale fr-CA The files belonging to this database system will be owned by user "admin". This user must also own the server process. Using language tag "fr-CA" for ICU locale "fr-CA". The database cluster will be initialized with this locale configuration: provider: icu ICU locale: fr-CA LC_COLLATE: C LC_CTYPE: C LC_MESSAGES: C LC_MONETARY: C LC_NUMERIC: C LC_TIME: C The default text search configuration will be set to "english". Data page checksums are disabled. creating directory /Users/admin/pgsql/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 ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... UTC 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 /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -l logfile start # Running: /Users/admin/pgsql/build/src/test/regress/pg_regress --config-auth /Users/admin/pgsql/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 /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -l /Users/admin/pgsql/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 6837 [18:56:05.184](2.407s) ok 1 - check locales in original cluster # Running: createdb regression\"\  !"#$%&'()*+,-\\"\\\ [18:56:05.529](0.345s) ok 2 - created database with ASCII characters from 1 to 45 # Running: createdb regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ [18:56:05.868](0.339s) ok 3 - created database with ASCII characters from 46 to 90 # Running: createdb regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ [18:56:06.058](0.190s) ok 4 - created database with ASCII characters from 91 to 127 [18:56:06.058](0.000s) # running regression tests in old instance # using postmaster on /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/pGENKHv2Na, port 64975 ok 1 - test_setup 709 ms # parallel group (20 tests): txid pg_lsn int2 regproc money char text uuid int4 float4 float8 name oid varchar int8 boolean bit enum rangetypes numeric ok 2 + boolean 475 ms ok 3 + char 243 ms ok 4 + name 414 ms ok 5 + varchar 419 ms ok 6 + text 365 ms ok 7 + int2 196 ms ok 8 + int4 379 ms ok 9 + int8 450 ms ok 10 + oid 401 ms ok 11 + float4 372 ms ok 12 + float8 376 ms ok 13 + bit 484 ms ok 14 + numeric 1007 ms ok 15 + txid 145 ms ok 16 + uuid 356 ms ok 17 + enum 481 ms ok 18 + money 184 ms ok 19 + rangetypes 922 ms ok 20 + pg_lsn 155 ms ok 21 + regproc 175 ms # parallel group (20 tests): macaddr md5 macaddr8 lseg circle path line point time numerology timetz inet date interval strings polygon box multirangetypes timestamp timestamptz ok 22 + strings 220 ms ok 23 + md5 75 ms ok 24 + numerology 134 ms ok 25 + point 114 ms ok 26 + lseg 75 ms ok 27 + line 91 ms ok 28 + box 282 ms ok 29 + path 85 ms ok 30 + polygon 219 ms ok 31 + circle 68 ms ok 32 + date 136 ms ok 33 + time 110 ms ok 34 + timetz 115 ms ok 35 + timestamp 423 ms ok 36 + timestamptz 456 ms ok 37 + interval 134 ms ok 38 + inet 111 ms ok 39 + macaddr 34 ms ok 40 + macaddr8 38 ms ok 41 + multirangetypes 355 ms # parallel group (12 tests): comments misc_sanity unicode mvcc xid tstypes expressions type_sanity geometry horology opr_sanity regex ok 42 + geometry 138 ms ok 43 + horology 155 ms ok 44 + tstypes 116 ms ok 45 + regex 322 ms ok 46 + type_sanity 125 ms ok 47 + opr_sanity 212 ms ok 48 + misc_sanity 49 ms ok 49 + comments 46 ms ok 50 + expressions 111 ms ok 51 + unicode 48 ms ok 52 + xid 84 ms ok 53 + mvcc 56 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 54 + copy 229 ms ok 55 + copyselect 69 ms ok 56 + copydml 62 ms ok 57 + insert 920 ms ok 58 + insert_conflict 355 ms # parallel group (7 tests): create_function_c create_schema create_type create_procedure create_operator create_misc create_table ok 59 + create_function_c 39 ms ok 60 + create_misc 144 ms ok 61 + create_operator 128 ms ok 62 + create_procedure 126 ms ok 63 + create_table 720 ms ok 64 + create_type 81 ms ok 65 + create_schema 75 ms # parallel group (5 tests): create_index_spgist index_including_gist index_including create_view create_index ok 66 + create_index 3383 ms ok 67 + create_index_spgist 1071 ms ok 68 + create_view 1213 ms ok 69 + index_including 1205 ms ok 70 + index_including_gist 1127 ms # parallel group (16 tests): create_cast create_aggregate roleattributes select errors hash_func create_function_sql infinite_recurse typed_table drop_if_exists create_am vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 115 ms ok 72 + create_function_sql 321 ms ok 73 + create_cast 100 ms ok 74 + constraints 1627 ms ok 75 + triggers 2653 ms ok 76 + select 185 ms ok 77 + inherit 2377 ms ok 78 + typed_table 536 ms ok 79 + vacuum 1477 ms ok 80 + drop_if_exists 859 ms ok 81 + updatable_views 2252 ms ok 82 + roleattributes 128 ms ok 83 + create_am 924 ms ok 84 + hash_func 250 ms ok 85 + errors 202 ms ok 86 + infinite_recurse 332 ms ok 87 - sanity_check 133 ms # parallel group (20 tests): select_distinct_on delete random select_having namespace case select_implicit prepared_xacts select_into select_distinct portals union subselect transactions arrays update hash_index aggregates join btree_index ok 88 + select_into 458 ms ok 89 + select_distinct 583 ms ok 90 + select_distinct_on 158 ms ok 91 + select_implicit 227 ms ok 92 + select_having 198 ms ok 93 + subselect 746 ms ok 94 + union 672 ms ok 95 + case 212 ms ok 96 + join 2015 ms ok 97 + aggregates 1937 ms ok 98 + transactions 813 ms ok 99 + random 178 ms ok 100 + portals 626 ms ok 101 + arrays 934 ms ok 102 + btree_index 2298 ms ok 103 + hash_index 1889 ms ok 104 + update 1133 ms ok 105 + delete 136 ms ok 106 + namespace 173 ms ok 107 + prepared_xacts 370 ms # parallel group (20 tests): security_label lock init_privs drop_operator password tablesample spgist gin brin object_address collate replica_identity groupingsets gist matview identity generated rowsecurity join_hash privileges ok 108 + brin 742 ms ok 109 + gin 717 ms ok 110 + gist 1084 ms ok 111 + spgist 658 ms ok 112 + privileges 3920 ms ok 113 + init_privs 291 ms ok 114 + security_label 195 ms ok 115 + collate 872 ms ok 116 + matview 1556 ms ok 117 + lock 279 ms ok 118 + replica_identity 909 ms ok 119 + rowsecurity 2255 ms ok 120 + object_address 809 ms ok 121 + tablesample 553 ms ok 122 + groupingsets 984 ms ok 123 + drop_operator 410 ms ok 124 + password 541 ms ok 125 + identity 1752 ms ok 126 + generated 2023 ms ok 127 + join_hash 3541 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 77 ms ok 129 + brin_multi 944 ms # parallel group (17 tests): async dbsize tid tidrangescan alter_operator tidscan tsrf misc alter_generic create_role sysviews misc_functions incremental_sort without_overlaps merge create_table_like collate.icu.utf8 ok 130 + create_table_like 580 ms ok 131 + alter_generic 203 ms ok 132 + alter_operator 135 ms ok 133 + misc 150 ms ok 134 + async 88 ms ok 135 + dbsize 97 ms ok 136 + merge 546 ms ok 137 + misc_functions 287 ms ok 138 + sysviews 276 ms ok 139 + tsrf 125 ms ok 140 + tid 106 ms ok 141 + tidscan 110 ms ok 142 + tidrangescan 102 ms ok 143 + collate.icu.utf8 563 ms ok 144 + incremental_sort 396 ms ok 145 + create_role 176 ms ok 146 + without_overlaps 439 ms # parallel group (7 tests): collate.windows.win1252 amutils psql_crosstab collate.linux.utf8 rules psql stats_ext ok 147 + rules 398 ms ok 148 + psql 722 ms ok 149 + psql_crosstab 55 ms ok 150 + amutils 43 ms ok 151 + stats_ext 1902 ms ok 152 + collate.linux.utf8 64 ms ok 153 + collate.windows.win1252 25 ms ok 154 - select_parallel 1345 ms ok 155 - write_parallel 191 ms ok 156 - vacuum_parallel 517 ms # parallel group (2 tests): subscription publication ok 157 + publication 3097 ms ok 158 + subscription 166 ms # parallel group (17 tests): portals_p2 advisory_lock tsdicts xmlmap select_views combocid indirect_toast bitmapops guc functional_deps window equivclass dependency tsearch foreign_data cluster foreign_key ok 159 + select_views 786 ms ok 160 + portals_p2 190 ms ok 161 + foreign_key 10330 ms ok 162 + cluster 3487 ms ok 163 + dependency 1333 ms ok 164 + guc 1063 ms ok 165 + bitmapops 1061 ms ok 166 + combocid 829 ms ok 167 + tsearch 1508 ms ok 168 + tsdicts 200 ms ok 169 + foreign_data 2450 ms ok 170 + window 1068 ms ok 171 + xmlmap 756 ms ok 172 + functional_deps 1039 ms ok 173 + advisory_lock 153 ms ok 174 + indirect_toast 795 ms ok 175 + equivclass 1087 ms # parallel group (7 tests): json_encoding jsonpath_encoding sqljson jsonpath json jsonb_jsonpath jsonb ok 176 + json 567 ms ok 177 + jsonb 1180 ms ok 178 + json_encoding 174 ms ok 179 + jsonpath 510 ms ok 180 + jsonpath_encoding 269 ms ok 181 + jsonb_jsonpath 584 ms ok 182 + sqljson 304 ms # parallel group (18 tests): prepare limit plancache returning temp copy2 conversion sequence rangefuncs largeobject with polymorphism rowtypes truncate xml domain plpgsql alter_table ok 183 + plancache 350 ms ok 184 + limit 332 ms ok 185 + plpgsql 2948 ms ok 186 + copy2 522 ms ok 187 + temp 502 ms ok 188 + domain 1656 ms ok 189 + rangefuncs 723 ms ok 190 + prepare 280 ms ok 191 + conversion 553 ms ok 192 + truncate 1269 ms not ok 193 + alter_table 8188 ms ok 194 + sequence 584 ms ok 195 + polymorphism 833 ms ok 196 + rowtypes 831 ms ok 197 + returning 391 ms ok 198 + largeobject 752 ms ok 199 + with 802 ms ok 200 + xml 1477 ms # parallel group (13 tests): predicate hash_part explain partition_info reloptions memoize partition_aggregate compression tuplesort partition_prune stats indexing partition_join ok 201 + partition_join 8371 ms ok 202 + partition_prune 6709 ms ok 203 + reloptions 673 ms ok 204 + hash_part 284 ms ok 205 + indexing 8322 ms ok 206 + partition_aggregate 1115 ms ok 207 + partition_info 383 ms ok 208 + tuplesort 1632 ms ok 209 + explain 299 ms ok 210 + compression 1515 ms ok 211 + memoize 770 ms ok 212 + stats 7284 ms ok 213 + predicate 156 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 178 ms ok 215 + event_trigger 433 ms ok 216 - event_trigger_login 80 ms ok 217 - fast_default 517 ms ok 218 - tablespace 1555 ms 1..218 # 1 of 218 tests failed. # The differences that caused some tests to fail can be viewed in the file "/Users/admin/pgsql/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 "/Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/regression.out". === dumping /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/regression.diffs === diff -U3 /Users/admin/pgsql/src/test/regress/expected/alter_table.out /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/results/alter_table.out --- /Users/admin/pgsql/src/test/regress/expected/alter_table.out 2024-02-27 18:54:55 +++ /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/results/alter_table.out 2024-02-27 18:56:58 @@ -3476,9 +3476,20 @@ WHERE relkind IN ('r', 'i', 'S', 't', 'm') AND mapped_oid IS DISTINCT FROM oid; SELECT m.* FROM filenode_mapping m LEFT JOIN pg_class c ON c.oid = m.oid WHERE c.oid IS NOT NULL OR m.mapped_oid IS NOT NULL; - oid | mapped_oid | reltablespace | relfilenode | relname ------+------------+---------------+-------------+--------- -(0 rows) + oid | mapped_oid | reltablespace | relfilenode | relname +-------+------------+---------------+-------------+---------------------- + 36669 | | 0 | 36669 | pktable_pkey + 36666 | | 0 | 36666 | pktable + 36671 | | 0 | 36671 | fktable + 37318 | | 0 | 37323 | foo + 37327 | | 0 | 37327 | pg_toast_37318_index + 37326 | | 0 | 37326 | pg_toast_37318 + 37514 | | 0 | 37514 | old_oids + 37531 | | 0 | 37531 | pg_toast_37528 + 37532 | | 0 | 37532 | pg_toast_37528_index + 37528 | | 0 | 37528 | recur2 + 37523 | | 0 | 37523 | recur1 +(11 rows) -- Checks on creating and manipulation of user defined relations in -- pg_catalog. === EOF === [18:57:13.503](67.444s) not ok 5 - regression tests pass [18:57:13.503](0.000s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/bin/pg_upgrade/t/002_pg_upgrade.pl line 212. [18:57:13.503](0.000s) # got: '256' # expected: '0' # Checking port 64976 # Found port 64976 Name: new_node Data directory: /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata Backup directory: /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/backup Archive directory: /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/archives Connection string: port=64976 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/pGENKHv2Na Log file: /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/log/002_pg_upgrade_new_node.log [18:57:13.510](0.007s) # initializing database system by running initdb # Running: initdb -D /Users/admin/pgsql/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 "admin". This user must also own the server process. The database cluster will be initialized with this locale configuration: provider: libc LC_COLLATE: en_US.UTF-8 LC_CTYPE: en_US.UTF-8 LC_MESSAGES: C LC_MONETARY: en_US.UTF-8 LC_NUMERIC: en_US.UTF-8 LC_TIME: en_US.UTF-8 The default text search configuration will be set to "english". Data page checksums are disabled. creating directory /Users/admin/pgsql/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 ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... UTC 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 /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -l logfile start # Running: /Users/admin/pgsql/build/src/test/regress/pg_regress --config-auth /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata # Running: pg_dumpall --no-sync -d port=64975 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/pGENKHv2Na dbname='postgres' -f /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_p8w8/dump1.sql [18:57:18.516](5.006s) ok 6 - dump before running pg_upgrade ### Stopping node "old_node" using mode fast # Running: pg_ctl -D /Users/admin/pgsql/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 /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -D /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -b /Users/admin/pgsql/build/tmp_install/usr/local/pgsql/bin/does/not/exist/ -B /Users/admin/pgsql/build/tmp_install/usr/local/pgsql/bin -s /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/pGENKHv2Na -p 64975 -P 64976 --clone --check check for "/Users/admin/pgsql/build/tmp_install/usr/local/pgsql/bin/does/not/exist" failed: No such file or directory Failure, exiting [18:57:20.043](1.527s) ok 7 - run of pg_upgrade --check for new instance with incorrect binary path [18:57:20.043](0.000s) ok 8 - pg_upgrade_output.d/ not removed after pg_upgrade failure # Running: pg_upgrade --no-sync -d /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -D /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -b /Users/admin/pgsql/build/tmp_install/usr/local/pgsql/bin -B /Users/admin/pgsql/build/tmp_install/usr/local/pgsql/bin -s /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/pGENKHv2Na -p 64975 -P 64976 --clone --check [18:57:23.403](3.360s) ok 9 - invalid database causes failure status (got 1 vs expected 1) [18:57:23.403](0.000s) ok 10 - invalid database causes failure stdout /(?^:invalid)/ [18:57:23.403](0.000s) ok 11 - invalid database causes failure stderr /(?^:)/ ### Starting node "old_node" # Running: pg_ctl -w -D /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -l /Users/admin/pgsql/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 17920 ### Stopping node "old_node" using mode fast # Running: pg_ctl -D /Users/admin/pgsql/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 /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -D /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -b /Users/admin/pgsql/build/tmp_install/usr/local/pgsql/bin -B /Users/admin/pgsql/build/tmp_install/usr/local/pgsql/bin -s /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/pGENKHv2Na -p 64975 -P 64976 --clone --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 system-defined composite types in user tables ok Checking for reg* data types in user tables ok Checking for contrib/isn with bigint-passing mismatch ok Checking for valid logical replication slots ok Checking for subscription state 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* [18:57:27.780](4.377s) ok 12 - run of pg_upgrade --check for new instance [18:57:27.780](0.000s) ok 13 - pg_upgrade_output.d/ removed after pg_upgrade --check success # Running: pg_upgrade --no-sync -d /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -D /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -b /Users/admin/pgsql/build/tmp_install/usr/local/pgsql/bin -B /Users/admin/pgsql/build/tmp_install/usr/local/pgsql/bin -s /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/pGENKHv2Na -p 64975 -P 64976 --clone 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 system-defined composite types in user tables ok Checking for reg* data types in user tables ok Checking for contrib/isn with bigint-passing mismatch ok Checking for valid logical replication slots ok Checking for subscription state 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 Cloning 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: /Users/admin/pgsql/build/tmp_install/usr/local/pgsql/bin/vacuumdb --all --analyze-in-stages Running this script will delete the old cluster's data files: ./delete_old_cluster.sh [18:58:05.295](37.514s) ok 14 - run of pg_upgrade for new instance [18:58:05.296](0.001s) ok 15 - pg_upgrade_output.d/ removed after pg_upgrade success ### Starting node "new_node" # Running: pg_ctl -w -D /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -l /Users/admin/pgsql/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 21444 [18:58:05.460](0.164s) ok 16 - check that locales in new cluster match original cluster # Running: pg_dumpall --no-sync -d port=64976 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/pGENKHv2Na dbname='postgres' -f /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_p8w8/dump2.sql [18:58:16.717](11.257s) ok 17 - dump after running pg_upgrade [18:58:16.826](0.109s) ok 18 - old and new dumps match after pg_upgrade [18:58:16.826](0.000s) 1..18 ### Stopping node "new_node" using mode immediate # Running: pg_ctl -D /Users/admin/pgsql/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" [18:58:16.943](0.117s) # Looks like you failed 1 test of 18.