[21:24:09.902](0.018s) # testing using transfer mode --clone # Checking port 50454 # Found port 50454 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=50454 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/eppk9HHmMV Log file: /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/log/002_pg_upgrade_old_node.log [21:24:09.947](0.045s) # 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 8274 [21:24:11.532](1.585s) ok 1 - check locales in original cluster # Running: createdb regression\"\  !"#$%&'()*+,-\\"\\\ [21:24:11.629](0.097s) ok 2 - created database with ASCII characters from 1 to 45 # Running: createdb regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ [21:24:11.807](0.178s) ok 3 - created database with ASCII characters from 46 to 90 # Running: createdb regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ [21:24:12.156](0.349s) ok 4 - created database with ASCII characters from 91 to 127 [21:24:12.156](0.000s) # running regression tests in old instance # using postmaster on /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/eppk9HHmMV, port 50454 ok 1 - test_setup 299 ms # parallel group (20 tests): varchar char pg_lsn float4 name oid float8 int2 text int4 int8 bit regproc uuid boolean txid money enum numeric rangetypes ok 2 + boolean 262 ms ok 3 + char 177 ms ok 4 + name 189 ms ok 5 + varchar 146 ms ok 6 + text 196 ms ok 7 + int2 194 ms ok 8 + int4 197 ms ok 9 + int8 207 ms ok 10 + oid 181 ms ok 11 + float4 177 ms ok 12 + float8 178 ms ok 13 + bit 195 ms ok 14 + numeric 670 ms ok 15 + txid 231 ms ok 16 + uuid 222 ms ok 17 + enum 342 ms ok 18 + money 229 ms ok 19 + rangetypes 787 ms ok 20 + pg_lsn 123 ms ok 21 + regproc 178 ms # parallel group (20 tests): md5 lseg path circle line point time macaddr timetz numerology inet macaddr8 strings date interval polygon timestamp timestamptz multirangetypes box ok 22 + strings 238 ms ok 23 + md5 96 ms ok 24 + numerology 152 ms ok 25 + point 128 ms ok 26 + lseg 93 ms ok 27 + line 112 ms ok 28 + box 648 ms ok 29 + path 103 ms ok 30 + polygon 320 ms ok 31 + circle 94 ms ok 32 + date 220 ms ok 33 + time 108 ms ok 34 + timetz 109 ms ok 35 + timestamp 495 ms ok 36 + timestamptz 515 ms ok 37 + interval 233 ms ok 38 + inet 182 ms ok 39 + macaddr 87 ms ok 40 + macaddr8 178 ms ok 41 + multirangetypes 588 ms # parallel group (12 tests): misc_sanity comments unicode mvcc xid expressions tstypes horology geometry type_sanity regex opr_sanity ok 42 + geometry 191 ms ok 43 + horology 181 ms ok 44 + tstypes 155 ms ok 45 + regex 382 ms ok 46 + type_sanity 227 ms ok 47 + opr_sanity 465 ms ok 48 + misc_sanity 88 ms ok 49 + comments 88 ms ok 50 + expressions 142 ms ok 51 + unicode 90 ms ok 52 + xid 133 ms ok 53 + mvcc 95 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 99 ms ok 55 + copyselect 56 ms ok 56 + copydml 64 ms ok 57 + insert 581 ms ok 58 + insert_conflict 276 ms # parallel group (7 tests): create_function_c create_schema create_misc create_operator create_type create_procedure create_table ok 59 + create_function_c 40 ms ok 60 + create_misc 111 ms ok 61 + create_operator 114 ms ok 62 + create_procedure 137 ms ok 63 + create_table 498 ms ok 64 + create_type 124 ms ok 65 + create_schema 75 ms # parallel group (5 tests): create_view create_index_spgist index_including index_including_gist create_index ok 66 + create_index 1803 ms ok 67 + create_index_spgist 686 ms ok 68 + create_view 318 ms ok 69 + index_including 748 ms ok 70 + index_including_gist 795 ms # parallel group (16 tests): drop_if_exists create_cast hash_func create_aggregate roleattributes errors select create_am typed_table infinite_recurse create_function_sql vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 192 ms ok 72 + create_function_sql 434 ms ok 73 + create_cast 160 ms ok 74 + constraints 1243 ms ok 75 + triggers 3465 ms ok 76 + select 241 ms ok 77 + inherit 3163 ms ok 78 + typed_table 344 ms ok 79 + vacuum 1155 ms ok 80 + drop_if_exists 89 ms ok 81 + updatable_views 2937 ms ok 82 + roleattributes 173 ms ok 83 + create_am 263 ms ok 84 + hash_func 161 ms ok 85 + errors 178 ms ok 86 + infinite_recurse 342 ms ok 87 - sanity_check 197 ms # parallel group (20 tests): select_distinct_on random select_having delete namespace select_implicit prepared_xacts case select_into select_distinct transactions subselect union portals update arrays aggregates hash_index join btree_index ok 88 + select_into 319 ms ok 89 + select_distinct 404 ms ok 90 + select_distinct_on 85 ms ok 91 + select_implicit 180 ms ok 92 + select_having 138 ms ok 93 + subselect 677 ms ok 94 + union 829 ms ok 95 + case 313 ms ok 96 + join 1610 ms ok 97 + aggregates 1314 ms ok 98 + transactions 621 ms ok 99 + random 118 ms ok 100 + portals 826 ms ok 101 + arrays 956 ms ok 102 + btree_index 2079 ms ok 103 + hash_index 1557 ms ok 104 + update 848 ms ok 105 + delete 115 ms ok 106 + namespace 138 ms ok 107 + prepared_xacts 178 ms # parallel group (20 tests): init_privs drop_operator tablesample lock object_address password security_label replica_identity identity collate groupingsets matview spgist gin gist brin rowsecurity generated join_hash privileges ok 108 + brin 1445 ms ok 109 + gin 1199 ms ok 110 + gist 1273 ms ok 111 + spgist 1127 ms ok 112 + privileges 2323 ms ok 113 + init_privs 245 ms ok 114 + security_label 434 ms ok 115 + collate 779 ms ok 116 + matview 860 ms ok 117 + lock 359 ms ok 118 + replica_identity 479 ms ok 119 + rowsecurity 1440 ms ok 120 + object_address 365 ms ok 121 + tablesample 357 ms ok 122 + groupingsets 801 ms ok 123 + drop_operator 269 ms ok 124 + password 365 ms ok 125 + identity 769 ms ok 126 + generated 1502 ms ok 127 + join_hash 2159 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 66 ms ok 129 + brin_multi 383 ms # parallel group (17 tests): async dbsize tidscan sysviews alter_operator tid tidrangescan tsrf create_role misc_functions alter_generic misc incremental_sort without_overlaps merge create_table_like collate.icu.utf8 ok 130 + create_table_like 725 ms ok 131 + alter_generic 265 ms ok 132 + alter_operator 207 ms ok 133 + misc 360 ms ok 134 + async 123 ms ok 135 + dbsize 137 ms ok 136 + merge 599 ms ok 137 + misc_functions 237 ms ok 138 + sysviews 185 ms ok 139 + tsrf 206 ms ok 140 + tid 180 ms ok 141 + tidscan 166 ms ok 142 + tidrangescan 180 ms ok 143 + collate.icu.utf8 741 ms ok 144 + incremental_sort 386 ms ok 145 + create_role 189 ms ok 146 + without_overlaps 487 ms # parallel group (7 tests): collate.linux.utf8 collate.windows.win1252 amutils psql_crosstab psql rules stats_ext ok 147 + rules 379 ms ok 148 + psql 349 ms ok 149 + psql_crosstab 46 ms ok 150 + amutils 42 ms ok 151 + stats_ext 1214 ms ok 152 + collate.linux.utf8 30 ms ok 153 + collate.windows.win1252 29 ms ok 154 - select_parallel 695 ms ok 155 - write_parallel 104 ms ok 156 - vacuum_parallel 73 ms # parallel group (2 tests): subscription publication ok 157 + publication 655 ms ok 158 + subscription 329 ms # parallel group (17 tests): portals_p2 dependency advisory_lock tsdicts window combocid guc xmlmap equivclass functional_deps select_views tsearch bitmapops cluster indirect_toast foreign_data foreign_key ok 159 + select_views 420 ms ok 160 + portals_p2 158 ms ok 161 + foreign_key 1205 ms ok 162 + cluster 631 ms ok 163 + dependency 172 ms ok 164 + guc 340 ms ok 165 + bitmapops 586 ms ok 166 + combocid 274 ms ok 167 + tsearch 471 ms ok 168 + tsdicts 186 ms ok 169 + foreign_data 939 ms ok 170 + window 207 ms ok 171 + xmlmap 309 ms ok 172 + functional_deps 347 ms ok 173 + advisory_lock 137 ms ok 174 + indirect_toast 752 ms ok 175 + equivclass 311 ms # parallel group (7 tests): jsonpath_encoding json_encoding jsonpath sqljson json jsonb_jsonpath jsonb ok 176 + json 152 ms ok 177 + jsonb 385 ms ok 178 + json_encoding 41 ms ok 179 + jsonpath 70 ms ok 180 + jsonpath_encoding 37 ms ok 181 + jsonb_jsonpath 330 ms ok 182 + sqljson 74 ms # parallel group (18 tests): limit plancache copy2 temp domain prepare returning largeobject conversion rowtypes sequence with polymorphism rangefuncs truncate plpgsql xml alter_table ok 183 + plancache 168 ms ok 184 + limit 165 ms ok 185 + plpgsql 1837 ms ok 186 + copy2 203 ms ok 187 + temp 210 ms ok 188 + domain 263 ms ok 189 + rangefuncs 917 ms ok 190 + prepare 364 ms ok 191 + conversion 528 ms ok 192 + truncate 914 ms not ok 193 + alter_table 3042 ms ok 194 + sequence 683 ms ok 195 + polymorphism 852 ms ok 196 + rowtypes 671 ms ok 197 + returning 375 ms ok 198 + largeobject 433 ms ok 199 + with 725 ms ok 200 + xml 1936 ms # parallel group (13 tests): predicate explain partition_info memoize hash_part reloptions compression stats tuplesort partition_aggregate partition_join partition_prune indexing ok 201 + partition_join 1825 ms ok 202 + partition_prune 1867 ms ok 203 + reloptions 285 ms ok 204 + hash_part 262 ms ok 205 + indexing 2038 ms ok 206 + partition_aggregate 1617 ms ok 207 + partition_info 114 ms ok 208 + tuplesort 1576 ms ok 209 + explain 97 ms ok 210 + compression 559 ms ok 211 + memoize 113 ms ok 212 + stats 1262 ms ok 213 + predicate 57 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 187 ms ok 215 + event_trigger 403 ms ok 216 - event_trigger_login 120 ms ok 217 - fast_default 380 ms ok 218 - tablespace 625 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-03-04 21:12:34 +++ /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/results/alter_table.out 2024-03-04 21:24:36 @@ -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 +-------+------------+---------------+-------------+---------------------- + 36817 | | 0 | 36817 | pktable_pkey + 36814 | | 0 | 36814 | pktable + 36819 | | 0 | 36819 | fktable + 37253 | | 0 | 37258 | foo + 37262 | | 0 | 37262 | pg_toast_37253_index + 37261 | | 0 | 37261 | pg_toast_37253 + 37496 | | 0 | 37496 | old_oids + 37513 | | 0 | 37513 | pg_toast_37510 + 37514 | | 0 | 37514 | pg_toast_37510_index + 37510 | | 0 | 37510 | recur2 + 37505 | | 0 | 37505 | recur1 +(11 rows) -- Checks on creating and manipulation of user defined relations in -- pg_catalog. === EOF === [21:24:41.022](28.866s) not ok 5 - regression tests pass [21:24:41.022](0.000s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/bin/pg_upgrade/t/002_pg_upgrade.pl line 212. [21:24:41.023](0.000s) # got: '256' # expected: '0' # Checking port 50455 # Found port 50455 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=50455 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/eppk9HHmMV Log file: /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/log/002_pg_upgrade_new_node.log [21:24:41.030](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=50454 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/eppk9HHmMV dbname='postgres' -f /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_qGmZ/dump1.sql [21:24:45.803](4.773s) 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/eppk9HHmMV -p 50454 -P 50455 --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 [21:24:48.522](2.719s) ok 7 - run of pg_upgrade --check for new instance with incorrect binary path [21:24:48.522](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/eppk9HHmMV -p 50454 -P 50455 --clone --check [21:24:49.634](1.112s) ok 9 - invalid database causes failure status (got 1 vs expected 1) [21:24:49.634](0.000s) ok 10 - invalid database causes failure stdout /(?^:invalid)/ [21:24:49.634](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 16509 ### 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/eppk9HHmMV -p 50454 -P 50455 --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* [21:24:52.196](2.562s) ok 12 - run of pg_upgrade --check for new instance [21:24:52.196](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/eppk9HHmMV -p 50454 -P 50455 --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 [21:25:10.603](18.407s) ok 14 - run of pg_upgrade for new instance [21:25:10.603](0.000s) 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 20177 [21:25:10.749](0.146s) ok 16 - check that locales in new cluster match original cluster # Running: pg_dumpall --no-sync -d port=50455 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/eppk9HHmMV dbname='postgres' -f /Users/admin/pgsql/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_qGmZ/dump2.sql [21:25:22.084](11.335s) ok 17 - dump after running pg_upgrade [21:25:22.332](0.248s) ok 18 - old and new dumps match after pg_upgrade [21:25:22.332](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" [21:25:22.447](0.115s) # Looks like you failed 1 test of 18.