[16:18:52.475](0.030s) # testing using transfer mode --copy # Checking port 16375 # Found port 16375 Name: old_node Data directory: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/backup Archive directory: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/archives Connection string: port=16375 host=/tmp/bCIPikrY52 Log file: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/log/002_pg_upgrade_old_node.log [16:18:52.499](0.024s) # initializing database system by running initdb # Running: initdb -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/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/src/bin/pg_upgrade/tmp_check/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/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata -l logfile start # Running: /tmp/cirrus-ci-build/src/bin/pg_upgrade/../../../src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata ### Starting node "old_node" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata -l /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/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 36428 [16:18:56.090](3.591s) ok 1 - check locales in original cluster # Running: createdb regression\"\  !"#$%&'()*+,-\\"\\\ [16:18:56.255](0.165s) ok 2 - created database with ASCII characters from 1 to 45 # Running: createdb regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ [16:18:56.406](0.150s) ok 3 - created database with ASCII characters from 46 to 90 # Running: createdb regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ [16:18:56.572](0.166s) ok 4 - created database with ASCII characters from 91 to 127 [16:18:56.572](0.001s) # running regression tests in old instance # using postmaster on /tmp/bCIPikrY52, port 16375 ok 1 - test_setup 727 ms # parallel group (20 tests): char int2 text int4 name txid varchar oid money regproc pg_lsn int8 uuid float4 float8 enum boolean bit numeric rangetypes ok 2 + boolean 1156 ms ok 3 + char 227 ms ok 4 + name 318 ms ok 5 + varchar 338 ms ok 6 + text 294 ms ok 7 + int2 276 ms ok 8 + int4 298 ms ok 9 + int8 458 ms ok 10 + oid 343 ms ok 11 + float4 483 ms ok 12 + float8 489 ms ok 13 + bit 1307 ms ok 14 + numeric 2254 ms ok 15 + txid 316 ms ok 16 + uuid 465 ms ok 17 + enum 591 ms ok 18 + money 343 ms ok 19 + rangetypes 2720 ms ok 20 + pg_lsn 370 ms ok 21 + regproc 347 ms # parallel group (20 tests): md5 lseg line circle path time macaddr timetz macaddr8 date numerology inet timestamp interval strings timestamptz point polygon multirangetypes box ok 22 + strings 957 ms ok 23 + md5 142 ms ok 24 + numerology 444 ms ok 25 + point 1120 ms ok 26 + lseg 202 ms ok 27 + line 201 ms ok 28 + box 3175 ms ok 29 + path 220 ms ok 30 + polygon 2117 ms ok 31 + circle 210 ms ok 32 + date 402 ms ok 33 + time 239 ms ok 34 + timetz 369 ms ok 35 + timestamp 731 ms ok 36 + timestamptz 987 ms ok 37 + interval 802 ms ok 38 + inet 609 ms ok 39 + macaddr 339 ms ok 40 + macaddr8 377 ms ok 41 + multirangetypes 2855 ms # parallel group (13 tests): comments unicode misc_sanity xid tstypes expressions mvcc type_sanity geometry database regex horology opr_sanity ok 42 + geometry 979 ms ok 43 + horology 1362 ms ok 44 + tstypes 455 ms ok 45 + regex 1235 ms ok 46 + type_sanity 695 ms ok 47 + opr_sanity 2060 ms ok 48 + misc_sanity 207 ms ok 49 + comments 132 ms ok 50 + expressions 472 ms ok 51 + unicode 163 ms ok 52 + xid 340 ms ok 53 + mvcc 482 ms ok 54 + database 1115 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 55 + copy 553 ms ok 56 + copyselect 281 ms ok 57 + copydml 244 ms ok 58 + insert 1784 ms ok 59 + insert_conflict 981 ms # parallel group (7 tests): create_function_c create_operator create_type create_schema create_misc create_procedure create_table ok 60 + create_function_c 134 ms ok 61 + create_misc 349 ms ok 62 + create_operator 222 ms ok 63 + create_procedure 417 ms ok 64 + create_table 1750 ms ok 65 + create_type 283 ms ok 66 + create_schema 301 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 67 + create_index 4537 ms ok 68 + create_index_spgist 3953 ms ok 69 + create_view 2074 ms ok 70 + index_including 1166 ms ok 71 + index_including_gist 1269 ms # parallel group (16 tests): roleattributes errors create_cast create_aggregate hash_func drop_if_exists typed_table create_function_sql select create_am constraints infinite_recurse vacuum updatable_views inherit triggers ok 72 + create_aggregate 493 ms ok 73 + create_function_sql 1062 ms ok 74 + create_cast 368 ms ok 75 + constraints 1683 ms ok 76 + triggers 8019 ms ok 77 + select 1116 ms ok 78 + inherit 4585 ms ok 79 + typed_table 894 ms ok 80 + vacuum 2177 ms ok 81 + drop_if_exists 535 ms ok 82 + updatable_views 4028 ms ok 83 + roleattributes 308 ms ok 84 + create_am 1292 ms ok 85 + hash_func 484 ms ok 86 + errors 282 ms ok 87 + infinite_recurse 1895 ms ok 88 - sanity_check 370 ms # parallel group (20 tests): select_distinct_on select_implicit select_having case delete random namespace select_into prepared_xacts transactions portals select_distinct union subselect arrays update hash_index aggregates join btree_index ok 89 + select_into 821 ms ok 90 + select_distinct 1370 ms ok 91 + select_distinct_on 408 ms ok 92 + select_implicit 426 ms ok 93 + select_having 440 ms ok 94 + subselect 1784 ms ok 95 + union 1702 ms ok 96 + case 506 ms ok 97 + join 6464 ms ok 98 + aggregates 6078 ms ok 99 + transactions 1098 ms ok 100 + random 739 ms ok 101 + portals 1118 ms ok 102 + arrays 1842 ms ok 103 + btree_index 7943 ms ok 104 + hash_index 3314 ms ok 105 + update 3154 ms ok 106 + delete 482 ms ok 107 + namespace 756 ms ok 108 + prepared_xacts 821 ms # parallel group (20 tests): init_privs security_label drop_operator tablesample lock password object_address replica_identity collate identity matview spgist rowsecurity gist generated groupingsets gin join_hash brin privileges ok 109 + brin 20749 ms ok 110 + gin 7265 ms ok 111 + gist 5654 ms ok 112 + spgist 5335 ms ok 113 + privileges 22299 ms ok 114 + init_privs 185 ms ok 115 + security_label 415 ms ok 116 + collate 3618 ms ok 117 + matview 4240 ms ok 118 + lock 968 ms ok 119 + replica_identity 1944 ms ok 120 + rowsecurity 5579 ms ok 121 + object_address 1094 ms ok 122 + tablesample 743 ms ok 123 + groupingsets 5953 ms ok 124 + drop_operator 480 ms ok 125 + password 1040 ms ok 126 + identity 3874 ms ok 127 + generated 5674 ms ok 128 + join_hash 20691 ms # parallel group (2 tests): brin_bloom brin_multi ok 129 + brin_bloom 425 ms ok 130 + brin_multi 1821 ms # parallel group (17 tests): async collate.utf8 dbsize alter_operator tsrf tidscan tid create_role sysviews misc_functions alter_generic tidrangescan incremental_sort create_table_like merge misc collate.icu.utf8 ok 131 + create_table_like 2391 ms ok 132 + alter_generic 942 ms ok 133 + alter_operator 394 ms ok 134 + misc 2759 ms ok 135 + async 146 ms ok 136 + dbsize 281 ms ok 137 + merge 2558 ms ok 138 + misc_functions 892 ms ok 139 + sysviews 885 ms ok 140 + tsrf 450 ms ok 141 + tid 509 ms ok 142 + tidscan 457 ms ok 143 + tidrangescan 1254 ms ok 144 + collate.utf8 246 ms ok 145 + collate.icu.utf8 3135 ms ok 146 + incremental_sort 1701 ms ok 147 + create_role 723 ms # parallel group (7 tests): collate.windows.win1252 amutils psql_crosstab collate.linux.utf8 rules psql stats_ext ok 148 + rules 2326 ms ok 149 + psql 2866 ms ok 150 + psql_crosstab 268 ms ok 151 + amutils 160 ms ok 152 + stats_ext 5056 ms ok 153 + collate.linux.utf8 1699 ms ok 154 + collate.windows.win1252 123 ms not ok 155 - select_parallel 7951 ms ok 156 - write_parallel 370 ms ok 157 - vacuum_parallel 225 ms # parallel group (2 tests): subscription publication ok 158 + publication 2883 ms ok 159 + subscription 121 ms # parallel group (17 tests): portals_p2 advisory_lock combocid xmlmap tsdicts equivclass functional_deps guc dependency select_views window bitmapops indirect_toast cluster foreign_data tsearch foreign_key ok 160 + select_views 994 ms ok 161 + portals_p2 253 ms ok 162 + foreign_key 3685 ms ok 163 + cluster 1997 ms ok 164 + dependency 808 ms ok 165 + guc 695 ms ok 166 + bitmapops 1651 ms ok 167 + combocid 412 ms ok 168 + tsearch 3641 ms ok 169 + tsdicts 552 ms ok 170 + foreign_data 2742 ms ok 171 + window 1551 ms ok 172 + xmlmap 440 ms ok 173 + functional_deps 620 ms ok 174 + advisory_lock 387 ms ok 175 + indirect_toast 1666 ms ok 176 + equivclass 602 ms # parallel group (9 tests): jsonpath_encoding json_encoding jsonpath sqljson sqljson_jsontable json sqljson_queryfuncs jsonb_jsonpath jsonb ok 177 + json 455 ms ok 178 + jsonb 892 ms ok 179 + json_encoding 106 ms ok 180 + jsonpath 159 ms ok 181 + jsonpath_encoding 92 ms ok 182 + jsonb_jsonpath 543 ms ok 183 + sqljson 273 ms ok 184 + sqljson_queryfuncs 496 ms ok 185 + sqljson_jsontable 433 ms # parallel group (18 tests): prepare returning limit plancache conversion temp sequence polymorphism largeobject copy2 rowtypes truncate with domain rangefuncs plpgsql alter_table xml ok 186 + plancache 700 ms ok 187 + limit 643 ms ok 188 + plpgsql 4111 ms ok 189 + copy2 1399 ms ok 190 + temp 1062 ms ok 191 + domain 2154 ms ok 192 + rangefuncs 2195 ms ok 193 + prepare 315 ms ok 194 + conversion 913 ms ok 195 + truncate 1707 ms ok 196 + alter_table 5118 ms ok 197 + sequence 1168 ms ok 198 + polymorphism 1290 ms ok 199 + rowtypes 1440 ms ok 200 + returning 471 ms ok 201 + largeobject 1341 ms ok 202 + with 1825 ms ok 203 + xml 6697 ms # parallel group (15 tests): hash_part predicate reloptions explain partition_info compression partition_merge partition_split memoize partition_aggregate stats partition_join tuplesort indexing partition_prune ok 204 + partition_merge 2524 ms ok 205 + partition_split 2640 ms ok 206 + partition_join 3627 ms ok 207 + partition_prune 4285 ms ok 208 + reloptions 448 ms ok 209 + hash_part 290 ms ok 210 + indexing 3862 ms ok 211 + partition_aggregate 3000 ms ok 212 + partition_info 506 ms ok 213 + tuplesort 3833 ms ok 214 + explain 496 ms ok 215 + compression 1263 ms ok 216 + memoize 2775 ms ok 217 + stats 3048 ms ok 218 + predicate 410 ms # parallel group (2 tests): oidjoins event_trigger ok 219 + oidjoins 492 ms ok 220 + event_trigger 575 ms ok 221 - event_trigger_login 79 ms ok 222 - fast_default 413 ms ok 223 - tablespace 820 ms 1..223 # 1 of 223 tests failed. # The differences that caused some tests to fail can be viewed in the file "/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/regression.diffs". # A copy of the test summary that you see above is saved in the file "/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/regression.out". === dumping /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/regression.diffs === diff -U3 /tmp/cirrus-ci-build/src/test/regress/expected/select_parallel.out /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/results/select_parallel.out --- /tmp/cirrus-ci-build/src/test/regress/expected/select_parallel.out 2024-07-26 16:13:01.227894890 +0000 +++ /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/results/select_parallel.out 2024-07-26 16:20:13.527925443 +0000 @@ -451,26 +451,36 @@ join tenk1 t3 on t3.stringu1 = tenk1.stringu1 where tenk1.four = t.four ); - QUERY PLAN ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - Seq Scan on public.tenk1 t + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 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) - -> Hash - Output: t3.stringu1 - -> Gather - Output: t3.stringu1 - Workers Planned: 4 - -> Parallel Seq Scan on public.tenk1 t3 - Output: t3.stringu1 -(17 rows) + 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: tenk1.four + -> HashAggregate + Output: tenk1.four + Group Key: tenk1.four + -> Gather + 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 +(27 rows) -- this is not parallel-safe due to use of random() within SubLink's testexpr: explain (costs off) @@ -839,13 +849,13 @@ where t1.two > t2.two; QUERY PLAN ------------------------------------------- - Nested Loop - -> Gather - Workers Planned: 4 + Gather + Workers Planned: 4 + -> Nested Loop -> Parallel Seq Scan on tenk1 t1 - -> Subquery Scan on t2 - Filter: (t1.two > t2.two) - -> Seq Scan on tenk2 t2_1 + -> Subquery Scan on t2 + Filter: (t1.two > t2.two) + -> Seq Scan on tenk2 t2_1 (7 rows) alter table tenk2 reset (parallel_workers); === EOF === [16:20:34.833](98.261s) not ok 5 - regression tests pass [16:20:34.833](0.000s) [16:20:34.833](0.000s) # Failed test 'regression tests pass' # at t/002_pg_upgrade.pl line 260. [16:20:34.833](0.000s) # got: '256' # expected: '0' # Checking port 16376 # Found port 16376 Name: new_node Data directory: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/backup Archive directory: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/archives Connection string: port=16376 host=/tmp/bCIPikrY52 Log file: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/log/002_pg_upgrade_new_node.log [16:20:34.843](0.010s) # initializing database system by running initdb # Running: initdb -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/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/src/bin/pg_upgrade/tmp_check/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/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata -l logfile start # Running: /tmp/cirrus-ci-build/src/bin/pg_upgrade/../../../src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata # Running: pg_dumpall --no-sync -d port=16375 host=/tmp/bCIPikrY52 dbname='postgres' -f /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/tmp_test_6tXB/dump1.sql [16:20:39.658](4.815s) ok 6 - dump before running pg_upgrade ### Stopping node "old_node" using mode fast # Running: pg_ctl -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/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/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata -b /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/does/not/exist/ -B /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin -s /tmp/bCIPikrY52 -p 16375 -P 16376 --copy --check check for "/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/does/not/exist" failed: No such file or directory Failure, exiting [16:20:39.871](0.213s) ok 7 - run of pg_upgrade --check for new instance with incorrect binary path [16:20:39.871](0.000s) ok 8 - pg_upgrade_output.d/ not removed after pg_upgrade failure # Running: pg_upgrade --no-sync -d /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata -b /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin -B /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin -s /tmp/bCIPikrY52 -p 16375 -P 16376 --copy --check [16:20:40.727](0.856s) ok 9 - invalid database causes failure status (got 1 vs expected 1) [16:20:40.728](0.000s) ok 10 - invalid database causes failure stdout /(?^:invalid)/ [16:20:40.728](0.000s) ok 11 - invalid database causes failure stderr /(?^:^$)/ ### Starting node "old_node" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata -l /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/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 46632 ### Stopping node "old_node" using mode fast # Running: pg_ctl -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/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/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata -b /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin -B /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin -s /tmp/bCIPikrY52 -p 16375 -P 16376 --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* [16:20:43.045](2.318s) ok 12 - run of pg_upgrade --check for new instance [16:20:43.046](0.000s) ok 13 - pg_upgrade_output.d/ removed after pg_upgrade --check success # Running: pg_upgrade --no-sync -d /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata -b /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin -B /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin -s /tmp/bCIPikrY52 -p 16375 -P 16376 --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/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 [16:20:53.780](10.735s) ok 14 - run of pg_upgrade for new instance [16:20:53.781](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/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata -l /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/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 48190 [16:20:53.965](0.184s) ok 16 - check that locales in new cluster match original cluster # Running: pg_dumpall --no-sync -d port=16376 host=/tmp/bCIPikrY52 dbname='postgres' -f /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/tmp_test_6tXB/dump2.sql [16:20:57.216](3.251s) ok 17 - dump after running pg_upgrade [16:20:57.302](0.086s) ok 18 - old and new dumps match after pg_upgrade [16:20:57.302](0.000s) 1..18 ### Stopping node "new_node" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/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" [16:20:57.414](0.112s) # Looks like you failed 1 test of 18.