[02:45:01.469](0.017s) # testing using transfer mode --copy # Checking port 57787 # Found port 57787 Name: old_node Data directory: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/archives Connection string: port=57787 host=/tmp/LT_hhMpkqA Log file: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/log/002_pg_upgrade_old_node.log [02:45:01.473](0.004s) # initializing database system by running initdb # Running: initdb -D /tmp/cirrus-ci-build/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 "postgres". 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: C LC_MONETARY: C.UTF-8 LC_NUMERIC: C.UTF-8 LC_TIME: C.UTF-8 The default text search configuration will be set to "english". Data page checksums are disabled. creating directory /tmp/cirrus-ci-build/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 ... Etc/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 /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -l logfile start # Running: /tmp/cirrus-ci-build/build/src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/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 /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -l /tmp/cirrus-ci-build/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 22486 [02:45:03.193](1.721s) ok 1 - check locales in original cluster # Running: createdb regression\"\  !"#$%&'()*+,-\\"\\\ [02:45:03.522](0.328s) ok 2 - created database with ASCII characters from 1 to 45 # Running: createdb regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ [02:45:03.690](0.169s) ok 3 - created database with ASCII characters from 46 to 90 # Running: createdb regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ [02:45:03.793](0.103s) ok 4 - created database with ASCII characters from 91 to 127 [02:45:03.794](0.000s) # running regression tests in old instance # using postmaster on /tmp/LT_hhMpkqA, port 57787 ok 1 - test_setup 567 ms # parallel group (20 tests): pg_lsn oid char txid name regproc varchar int4 text int2 float4 uuid money float8 int8 enum boolean bit numeric rangetypes ok 2 + boolean 399 ms ok 3 + char 116 ms ok 4 + name 131 ms ok 5 + varchar 142 ms ok 6 + text 154 ms ok 7 + int2 164 ms ok 8 + int4 145 ms ok 9 + int8 229 ms ok 10 + oid 105 ms ok 11 + float4 175 ms ok 12 + float8 221 ms ok 13 + bit 430 ms ok 14 + numeric 869 ms ok 15 + txid 123 ms ok 16 + uuid 175 ms ok 17 + enum 232 ms ok 18 + money 190 ms ok 19 + rangetypes 1093 ms ok 20 + pg_lsn 84 ms ok 21 + regproc 135 ms # parallel group (20 tests): lseg md5 path time line macaddr8 circle timetz macaddr numerology date inet point interval timestamp strings timestamptz polygon multirangetypes box ok 22 + strings 507 ms ok 23 + md5 93 ms ok 24 + numerology 166 ms ok 25 + point 316 ms ok 26 + lseg 72 ms ok 27 + line 125 ms ok 28 + box 1112 ms ok 29 + path 95 ms ok 30 + polygon 684 ms ok 31 + circle 142 ms ok 32 + date 212 ms ok 33 + time 108 ms ok 34 + timetz 160 ms ok 35 + timestamp 437 ms ok 36 + timestamptz 595 ms ok 37 + interval 358 ms ok 38 + inet 234 ms ok 39 + macaddr 161 ms ok 40 + macaddr8 129 ms ok 41 + multirangetypes 1080 ms # parallel group (12 tests): comments unicode misc_sanity xid tstypes mvcc expressions type_sanity geometry horology regex opr_sanity ok 42 + geometry 363 ms ok 43 + horology 506 ms ok 44 + tstypes 184 ms ok 45 + regex 634 ms ok 46 + type_sanity 325 ms ok 47 + opr_sanity 754 ms ok 48 + misc_sanity 69 ms ok 49 + comments 48 ms ok 50 + expressions 206 ms ok 51 + unicode 60 ms ok 52 + xid 135 ms ok 53 + mvcc 199 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 183 ms ok 55 + copyselect 50 ms ok 56 + copydml 128 ms ok 57 + insert 914 ms ok 58 + insert_conflict 451 ms # parallel group (7 tests): create_function_c create_operator create_type create_misc create_schema create_procedure create_table ok 59 + create_function_c 52 ms ok 60 + create_misc 140 ms ok 61 + create_operator 101 ms ok 62 + create_procedure 185 ms ok 63 + create_table 1235 ms ok 64 + create_type 123 ms ok 65 + create_schema 153 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 2117 ms ok 67 + create_index_spgist 1860 ms ok 68 + create_view 859 ms ok 69 + index_including 675 ms ok 70 + index_including_gist 715 ms # parallel group (16 tests): errors create_cast roleattributes create_aggregate drop_if_exists hash_func typed_table create_function_sql create_am select infinite_recurse vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 170 ms ok 72 + create_function_sql 375 ms ok 73 + create_cast 82 ms ok 74 + constraints 1257 ms ok 75 + triggers 4186 ms ok 76 + select 455 ms ok 77 + inherit 2675 ms ok 78 + typed_table 238 ms ok 79 + vacuum 1007 ms ok 80 + drop_if_exists 173 ms ok 81 + updatable_views 1653 ms ok 82 + roleattributes 159 ms ok 83 + create_am 438 ms ok 84 + hash_func 182 ms ok 85 + errors 65 ms ok 86 + infinite_recurse 714 ms ok 87 - sanity_check 92 ms # parallel group (20 tests): select_having select_distinct_on delete select_implicit select_into namespace case prepared_xacts random transactions portals arrays union select_distinct subselect hash_index update aggregates join btree_index ok 88 + select_into 181 ms ok 89 + select_distinct 736 ms ok 90 + select_distinct_on 102 ms ok 91 + select_implicit 146 ms ok 92 + select_having 96 ms ok 93 + subselect 813 ms ok 94 + union 713 ms ok 95 + case 204 ms ok 96 + join 3724 ms ok 97 + aggregates 3508 ms ok 98 + transactions 462 ms ok 99 + random 318 ms ok 100 + portals 509 ms ok 101 + arrays 665 ms ok 102 + btree_index 4549 ms ok 103 + hash_index 1372 ms ok 104 + update 1700 ms ok 105 + delete 110 ms ok 106 + namespace 185 ms ok 107 + prepared_xacts 287 ms # parallel group (20 tests): init_privs drop_operator security_label password object_address lock tablesample replica_identity collate matview identity spgist groupingsets rowsecurity generated gist gin brin join_hash privileges ok 108 + brin 6915 ms ok 109 + gin 2850 ms ok 110 + gist 2792 ms ok 111 + spgist 2347 ms ok 112 + privileges 7644 ms ok 113 + init_privs 65 ms ok 114 + security_label 221 ms ok 115 + collate 1035 ms ok 116 + matview 1614 ms ok 117 + lock 418 ms ok 118 + replica_identity 829 ms ok 119 + rowsecurity 2560 ms ok 120 + object_address 366 ms ok 121 + tablesample 440 ms ok 122 + groupingsets 2442 ms ok 123 + drop_operator 196 ms ok 124 + password 342 ms ok 125 + identity 1685 ms ok 126 + generated 2566 ms ok 127 + join_hash 6947 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 219 ms ok 129 + brin_multi 1026 ms # parallel group (18 tests): dbsize async collate.utf8 tid tsrf tidscan alter_operator create_role tidrangescan sysviews alter_generic misc_functions misc incremental_sort create_table_like merge collate.icu.utf8 without_overlaps ok 130 + create_table_like 1024 ms ok 131 + alter_generic 382 ms ok 132 + alter_operator 208 ms ok 133 + misc 713 ms ok 134 + async 79 ms ok 135 + dbsize 65 ms ok 136 + merge 1174 ms ok 137 + misc_functions 423 ms ok 138 + sysviews 358 ms ok 139 + tsrf 192 ms ok 140 + tid 169 ms ok 141 + tidscan 197 ms ok 142 + tidrangescan 323 ms ok 143 + collate.utf8 122 ms ok 144 + collate.icu.utf8 1275 ms ok 145 + incremental_sort 860 ms ok 146 + create_role 238 ms ok 147 + without_overlaps 1356 ms # parallel group (7 tests): collate.linux.utf8 amutils collate.windows.win1252 psql_crosstab rules psql stats_ext ok 148 + rules 1040 ms ok 149 + psql 1533 ms ok 150 + psql_crosstab 138 ms ok 151 + amutils 45 ms ok 152 + stats_ext 3726 ms ok 153 + collate.linux.utf8 20 ms ok 154 + collate.windows.win1252 56 ms ok 155 - select_parallel 8396 ms ok 156 - write_parallel 277 ms ok 157 - vacuum_parallel 311 ms # parallel group (2 tests): subscription publication ok 158 + publication 3062 ms ok 159 + subscription 111 ms # parallel group (17 tests): advisory_lock portals_p2 combocid xmlmap functional_deps dependency tsdicts equivclass guc select_views window bitmapops indirect_toast cluster tsearch foreign_data foreign_key ok 160 + select_views 462 ms ok 161 + portals_p2 119 ms ok 162 + foreign_key 5457 ms ok 163 + cluster 1110 ms ok 164 + dependency 236 ms ok 165 + guc 283 ms ok 166 + bitmapops 949 ms ok 167 + combocid 151 ms ok 168 + tsearch 2792 ms ok 169 + tsdicts 238 ms ok 170 + foreign_data 3006 ms ok 171 + window 845 ms ok 172 + xmlmap 196 ms ok 173 + functional_deps 211 ms ok 174 + advisory_lock 101 ms ok 175 + indirect_toast 961 ms ok 176 + equivclass 271 ms # parallel group (9 tests): json_encoding jsonpath_encoding jsonpath sqljson_jsontable sqljson jsonb_jsonpath json sqljson_queryfuncs jsonb ok 177 + json 327 ms ok 178 + jsonb 653 ms ok 179 + json_encoding 66 ms ok 180 + jsonpath 128 ms ok 181 + jsonpath_encoding 72 ms ok 182 + jsonb_jsonpath 290 ms ok 183 + sqljson 203 ms ok 184 + sqljson_queryfuncs 341 ms ok 185 + sqljson_jsontable 130 ms # parallel group (18 tests): prepare returning plancache limit conversion temp copy2 sequence polymorphism truncate rowtypes largeobject domain rangefuncs with xml plpgsql alter_table ok 186 + plancache 394 ms ok 187 + limit 405 ms ok 188 + plpgsql 5350 ms ok 189 + copy2 725 ms ok 190 + temp 532 ms ok 191 + domain 1099 ms ok 192 + rangefuncs 1173 ms ok 193 + prepare 199 ms ok 194 + conversion 459 ms ok 195 + truncate 889 ms not ok 196 + alter_table 7250 ms ok 197 + sequence 744 ms ok 198 + polymorphism 802 ms ok 199 + rowtypes 924 ms ok 200 + returning 249 ms ok 201 + largeobject 998 ms ok 202 + with 1180 ms ok 203 + xml 2788 ms # parallel group (13 tests): hash_part predicate reloptions explain partition_info memoize compression stats partition_aggregate tuplesort partition_join indexing partition_prune ok 204 + partition_join 3207 ms ok 205 + partition_prune 3978 ms ok 206 + reloptions 228 ms ok 207 + hash_part 124 ms ok 208 + indexing 3430 ms ok 209 + partition_aggregate 2299 ms ok 210 + partition_info 451 ms ok 211 + tuplesort 2473 ms ok 212 + explain 409 ms ok 213 + compression 1035 ms ok 214 + memoize 808 ms ok 215 + stats 2260 ms ok 216 + predicate 200 ms # parallel group (2 tests): oidjoins event_trigger ok 217 + oidjoins 398 ms ok 218 + event_trigger 490 ms ok 219 - event_trigger_login 94 ms ok 220 - fast_default 174 ms ok 221 - tablespace 699 ms 1..221 # 1 of 221 tests failed. # The differences that caused some tests to fail can be viewed in the file "/tmp/cirrus-ci-build/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 "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/regression.out". === dumping /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/regression.diffs === diff -U3 /tmp/cirrus-ci-build/src/test/regress/expected/alter_table.out /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/results/alter_table.out --- /tmp/cirrus-ci-build/src/test/regress/expected/alter_table.out 2024-04-05 02:41:51.756141440 +0000 +++ /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/results/alter_table.out 2024-04-05 02:46:00.755989648 +0000 @@ -3476,9 +3476,29 @@ 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 +-------+------------+---------------+-------------+---------------------- + 38760 | | 0 | 38760 | pg_toast_38757 + 37741 | | 0 | 37741 | users_id_seq + 37752 | | 0 | 37752 | pg_toast_37742 + 37753 | | 0 | 37753 | pg_toast_37742_index + 37742 | | 0 | 37742 | users + 37954 | | 0 | 37954 | foo + 38239 | | 0 | 38239 | forc_test + 38761 | | 0 | 38761 | pg_toast_38757_index + 38757 | | 0 | 38757 | rtype + 37707 | | 0 | 37707 | pktable_pkey + 37704 | | 0 | 37704 | pktable + 37709 | | 0 | 37709 | fktable + 38188 | | 0 | 38194 | foo + 38198 | | 0 | 38198 | pg_toast_38188_index + 38197 | | 0 | 38197 | pg_toast_38188 + 38418 | | 0 | 38418 | old_oids + 38437 | | 0 | 38437 | pg_toast_38434 + 38438 | | 0 | 38438 | pg_toast_38434_index + 38434 | | 0 | 38434 | recur2 + 38429 | | 0 | 38429 | recur1 +(20 rows) -- Checks on creating and manipulation of user defined relations in -- pg_catalog. === EOF === [02:46:06.667](62.873s) not ok 5 - regression tests pass [02:46:06.667](0.000s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/bin/pg_upgrade/t/002_pg_upgrade.pl line 260. [02:46:06.667](0.000s) # got: '256' # expected: '0' # Checking port 57788 # Found port 57788 Name: new_node Data directory: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/archives Connection string: port=57788 host=/tmp/LT_hhMpkqA Log file: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/log/002_pg_upgrade_new_node.log [02:46:06.690](0.023s) # initializing database system by running initdb # Running: initdb -D /tmp/cirrus-ci-build/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 "postgres". This user must also own the server process. The database cluster will be initialized with this locale configuration: locale provider: libc LC_COLLATE: C.UTF-8 LC_CTYPE: C.UTF-8 LC_MESSAGES: C LC_MONETARY: C.UTF-8 LC_NUMERIC: C.UTF-8 LC_TIME: C.UTF-8 The default text search configuration will be set to "english". Data page checksums are disabled. creating directory /tmp/cirrus-ci-build/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 ... Etc/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 /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -l logfile start # Running: /tmp/cirrus-ci-build/build/src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata # Running: pg_dumpall --no-sync -d port=57787 host=/tmp/LT_hhMpkqA dbname='postgres' -f /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_uApY/dump1.sql [02:46:12.256](5.565s) ok 6 - dump before running pg_upgrade ### Stopping node "old_node" using mode fast # Running: pg_ctl -D /tmp/cirrus-ci-build/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 /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -b /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/does/not/exist/ -B /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin -s /tmp/LT_hhMpkqA -p 57787 -P 57788 --copy --check check for "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/does/not/exist" failed: No such file or directory Failure, exiting [02:46:12.489](0.233s) ok 7 - run of pg_upgrade --check for new instance with incorrect binary path [02:46:12.489](0.000s) ok 8 - pg_upgrade_output.d/ not removed after pg_upgrade failure # Running: pg_upgrade --no-sync -d /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -b /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin -B /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin -s /tmp/LT_hhMpkqA -p 57787 -P 57788 --copy --check [02:46:13.493](1.004s) ok 9 - invalid database causes failure status (got 1 vs expected 1) [02:46:13.493](0.000s) ok 10 - invalid database causes failure stdout /(?^:invalid)/ [02:46:13.493](0.000s) ok 11 - invalid database causes failure stderr /(?^:^$)/ ### Starting node "old_node" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -l /tmp/cirrus-ci-build/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 36473 ### Stopping node "old_node" using mode fast # Running: pg_ctl -D /tmp/cirrus-ci-build/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 /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -b /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin -B /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin -s /tmp/LT_hhMpkqA -p 57787 -P 57788 --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* [02:46:16.359](2.866s) ok 12 - run of pg_upgrade --check for new instance [02:46:16.359](0.000s) ok 13 - pg_upgrade_output.d/ removed after pg_upgrade --check success # Running: pg_upgrade --no-sync -d /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -b /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin -B /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin -s /tmp/LT_hhMpkqA -p 57787 -P 57788 --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: /tmp/cirrus-ci-build/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 [02:46:35.049](18.690s) ok 14 - run of pg_upgrade for new instance [02:46:35.049](0.000s) ok 15 - pg_upgrade_output.d/ removed after pg_upgrade success ### Starting node "new_node" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -l /tmp/cirrus-ci-build/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 40308 [02:46:35.203](0.154s) ok 16 - check that locales in new cluster match original cluster # Running: pg_dumpall --no-sync -d port=57788 host=/tmp/LT_hhMpkqA dbname='postgres' -f /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_uApY/dump2.sql [02:46:37.846](2.643s) ok 17 - dump after running pg_upgrade [02:46:37.966](0.121s) ok 18 - old and new dumps match after pg_upgrade [02:46:37.967](0.000s) 1..18 ### Stopping node "new_node" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/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" [02:46:38.089](0.122s) # Looks like you failed 1 test of 18.