[03:07:16.968](0.013s) # testing using transfer mode --link # Checking port 63504 # Found port 63504 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=63504 host=/tmp/2nfbc53peQ Log file: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/log/002_pg_upgrade_old_node.log [03:07:16.973](0.005s) # 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 --locale C --locale-provider icu --icu-locale fr-CA The files belonging to this database system will be owned by user "postgres". 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 /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 ... 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 7695 [03:07:18.444](1.470s) ok 1 - check locales in original cluster # Running: createdb regression\"\  !"#$%&'()*+,-\\"\\\ [03:07:18.477](0.034s) ok 2 - created database with ASCII characters from 1 to 45 # Running: createdb regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ [03:07:18.513](0.036s) ok 3 - created database with ASCII characters from 46 to 90 # Running: createdb regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ [03:07:18.591](0.077s) ok 4 - created database with ASCII characters from 91 to 127 [03:07:18.592](0.001s) # running regression tests in old instance # using postmaster on /tmp/2nfbc53peQ, port 63504 ok 1 - test_setup 309 ms # parallel group (20 tests): varchar oid char txid name pg_lsn uuid text int2 money int4 regproc boolean float4 enum int8 bit float8 rangetypes numeric ok 2 + boolean 186 ms ok 3 + char 85 ms ok 4 + name 104 ms ok 5 + varchar 70 ms ok 6 + text 124 ms ok 7 + int2 138 ms ok 8 + int4 152 ms ok 9 + int8 207 ms ok 10 + oid 71 ms ok 11 + float4 189 ms ok 12 + float8 216 ms ok 13 + bit 208 ms ok 14 + numeric 752 ms ok 15 + txid 91 ms ok 16 + uuid 112 ms ok 17 + enum 205 ms ok 18 + money 151 ms ok 19 + rangetypes 724 ms ok 20 + pg_lsn 102 ms ok 21 + regproc 153 ms # parallel group (20 tests): md5 time lseg path circle macaddr line timetz point macaddr8 numerology inet polygon date interval box strings multirangetypes timestamp timestamptz ok 22 + strings 330 ms ok 23 + md5 47 ms ok 24 + numerology 139 ms ok 25 + point 103 ms ok 26 + lseg 72 ms ok 27 + line 87 ms ok 28 + box 274 ms ok 29 + path 74 ms ok 30 + polygon 184 ms ok 31 + circle 79 ms ok 32 + date 189 ms ok 33 + time 71 ms ok 34 + timetz 101 ms ok 35 + timestamp 427 ms ok 36 + timestamptz 436 ms ok 37 + interval 255 ms ok 38 + inet 154 ms ok 39 + macaddr 81 ms ok 40 + macaddr8 114 ms ok 41 + multirangetypes 409 ms # parallel group (12 tests): unicode comments misc_sanity mvcc type_sanity xid expressions geometry tstypes horology regex opr_sanity ok 42 + geometry 168 ms ok 43 + horology 192 ms ok 44 + tstypes 185 ms ok 45 + regex 259 ms ok 46 + type_sanity 119 ms ok 47 + opr_sanity 324 ms ok 48 + misc_sanity 35 ms ok 49 + comments 35 ms ok 50 + expressions 132 ms ok 51 + unicode 29 ms ok 52 + xid 130 ms ok 53 + mvcc 96 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 224 ms ok 55 + copyselect 63 ms ok 56 + copydml 130 ms ok 57 + insert 652 ms ok 58 + insert_conflict 335 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 15 ms ok 60 + create_misc 87 ms ok 61 + create_operator 44 ms ok 62 + create_procedure 96 ms ok 63 + create_table 1074 ms ok 64 + create_type 83 ms ok 65 + create_schema 93 ms # parallel group (5 tests): index_including_gist index_including create_index_spgist create_view create_index ok 66 + create_index 1218 ms ok 67 + create_index_spgist 846 ms ok 68 + create_view 921 ms ok 69 + index_including 491 ms ok 70 + index_including_gist 461 ms # parallel group (16 tests): errors roleattributes create_aggregate create_cast select drop_if_exists hash_func infinite_recurse create_function_sql create_am typed_table vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 130 ms ok 72 + create_function_sql 374 ms ok 73 + create_cast 147 ms ok 74 + constraints 863 ms ok 75 + triggers 4121 ms ok 76 + select 200 ms ok 77 + inherit 2632 ms ok 78 + typed_table 405 ms ok 79 + vacuum 553 ms ok 80 + drop_if_exists 221 ms ok 81 + updatable_views 2369 ms ok 82 + roleattributes 128 ms ok 83 + create_am 375 ms ok 84 + hash_func 295 ms ok 85 + errors 46 ms ok 86 + infinite_recurse 330 ms ok 87 - sanity_check 112 ms # parallel group (20 tests): select_distinct_on delete random select_having namespace case select_implicit select_distinct prepared_xacts select_into portals union transactions arrays subselect hash_index update aggregates join btree_index ok 88 + select_into 245 ms ok 89 + select_distinct 208 ms ok 90 + select_distinct_on 63 ms ok 91 + select_implicit 148 ms ok 92 + select_having 127 ms ok 93 + subselect 671 ms ok 94 + union 578 ms ok 95 + case 147 ms ok 96 + join 1269 ms ok 97 + aggregates 1208 ms ok 98 + transactions 600 ms ok 99 + random 77 ms ok 100 + portals 535 ms ok 101 + arrays 653 ms ok 102 + btree_index 1453 ms ok 103 + hash_index 707 ms ok 104 + update 998 ms ok 105 + delete 72 ms ok 106 + namespace 133 ms ok 107 + prepared_xacts 233 ms # parallel group (20 tests): init_privs drop_operator security_label password tablesample lock groupingsets replica_identity collate spgist object_address gin gist matview identity generated brin join_hash rowsecurity privileges ok 108 + brin 2728 ms ok 109 + gin 1415 ms ok 110 + gist 1520 ms ok 111 + spgist 982 ms ok 112 + privileges 3016 ms ok 113 + init_privs 112 ms ok 114 + security_label 183 ms ok 115 + collate 973 ms ok 116 + matview 1970 ms ok 117 + lock 622 ms ok 118 + replica_identity 884 ms ok 119 + rowsecurity 2824 ms ok 120 + object_address 995 ms ok 121 + tablesample 333 ms ok 122 + groupingsets 866 ms ok 123 + drop_operator 114 ms ok 124 + password 222 ms ok 125 + identity 2116 ms ok 126 + generated 2686 ms ok 127 + join_hash 2727 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 116 ms ok 129 + brin_multi 606 ms # parallel group (18 tests): async dbsize sysviews tidrangescan tid tidscan alter_operator tsrf misc_functions misc create_role incremental_sort without_overlaps alter_generic merge incremental_matview create_table_like collate.icu.utf8 ok 130 + create_table_like 763 ms ok 131 + alter_generic 414 ms ok 132 + alter_operator 182 ms ok 133 + misc 254 ms ok 134 + async 44 ms ok 135 + dbsize 87 ms ok 136 + merge 690 ms ok 137 + misc_functions 218 ms ok 138 + sysviews 90 ms ok 139 + tsrf 192 ms ok 140 + tid 124 ms ok 141 + tidscan 156 ms ok 142 + tidrangescan 108 ms ok 143 + collate.icu.utf8 775 ms ok 144 + incremental_sort 301 ms ok 145 + create_role 273 ms ok 146 + without_overlaps 362 ms not ok 147 + incremental_matview 710 ms # parallel group (7 tests): collate.linux.utf8 amutils collate.windows.win1252 psql_crosstab rules psql stats_ext ok 148 + rules 788 ms ok 149 + psql 926 ms ok 150 + psql_crosstab 45 ms ok 151 + amutils 28 ms ok 152 + stats_ext 1484 ms ok 153 + collate.linux.utf8 18 ms ok 154 + collate.windows.win1252 33 ms ok 155 - select_parallel 1092 ms ok 156 - write_parallel 93 ms ok 157 - vacuum_parallel 82 ms # parallel group (2 tests): subscription publication ok 158 + publication 628 ms ok 159 + subscription 86 ms # parallel group (17 tests): portals_p2 advisory_lock functional_deps xmlmap select_views combocid bitmapops equivclass tsdicts dependency indirect_toast guc window tsearch cluster foreign_data foreign_key ok 160 + select_views 257 ms ok 161 + portals_p2 98 ms ok 162 + foreign_key 3052 ms ok 163 + cluster 755 ms ok 164 + dependency 310 ms ok 165 + guc 438 ms ok 166 + bitmapops 289 ms ok 167 + combocid 288 ms ok 168 + tsearch 638 ms ok 169 + tsdicts 302 ms ok 170 + foreign_data 1268 ms ok 171 + window 580 ms ok 172 + xmlmap 250 ms ok 173 + functional_deps 195 ms ok 174 + advisory_lock 98 ms ok 175 + indirect_toast 408 ms ok 176 + equivclass 300 ms # parallel group (7 tests): jsonpath_encoding jsonpath json_encoding sqljson json jsonb_jsonpath jsonb ok 177 + json 165 ms ok 178 + jsonb 432 ms ok 179 + json_encoding 94 ms ok 180 + jsonpath 81 ms ok 181 + jsonpath_encoding 24 ms ok 182 + jsonb_jsonpath 216 ms ok 183 + sqljson 114 ms # parallel group (18 tests): prepare conversion limit returning plancache temp truncate sequence rowtypes copy2 with largeobject polymorphism xml domain rangefuncs plpgsql alter_table ok 184 + plancache 344 ms ok 185 + limit 309 ms ok 186 + plpgsql 1620 ms ok 187 + copy2 679 ms ok 188 + temp 477 ms ok 189 + domain 895 ms ok 190 + rangefuncs 904 ms ok 191 + prepare 127 ms ok 192 + conversion 241 ms ok 193 + truncate 616 ms ok 194 + alter_table 3425 ms ok 195 + sequence 621 ms ok 196 + polymorphism 760 ms ok 197 + rowtypes 669 ms ok 198 + returning 320 ms ok 199 + largeobject 717 ms ok 200 + with 679 ms ok 201 + xml 840 ms # parallel group (13 tests): predicate hash_part reloptions partition_info memoize explain compression partition_aggregate tuplesort stats partition_prune partition_join indexing ok 202 + partition_join 1701 ms ok 203 + partition_prune 1620 ms ok 204 + reloptions 239 ms ok 205 + hash_part 141 ms ok 206 + indexing 1796 ms ok 207 + partition_aggregate 1025 ms ok 208 + partition_info 284 ms ok 209 + tuplesort 1026 ms ok 210 + explain 441 ms ok 211 + compression 614 ms ok 212 + memoize 343 ms ok 213 + stats 1268 ms ok 214 + predicate 74 ms # parallel group (2 tests): oidjoins event_trigger ok 215 + oidjoins 219 ms ok 216 + event_trigger 309 ms ok 217 - event_trigger_login 27 ms ok 218 - fast_default 242 ms ok 219 - tablespace 598 ms 1..219 # 1 of 219 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/incremental_matview.out /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/results/incremental_matview.out --- /tmp/cirrus-ci-build/src/test/regress/expected/incremental_matview.out 2024-03-04 03:05:18.960394000 +0000 +++ /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/results/incremental_matview.out 2024-03-04 03:07:33.703272000 +0000 @@ -14,6 +14,7 @@ (4,104); CREATE INCREMENTAL MATERIALIZED VIEW mv_ivm_1 AS SELECT i,j,k FROM mv_base_a a INNER JOIN mv_base_b b USING(i) WITH NO DATA; SELECT * FROM mv_ivm_1 ORDER BY 1,2,3; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: materialized view "mv_ivm_1" has not been populated HINT: Use the REFRESH MATERIALIZED VIEW command. REFRESH MATERIALIZED VIEW mv_ivm_1; @@ -21,6 +22,7 @@ DETAIL: This target list does not have all the primary key columns, or this view does not contain GROUP BY or DISTINCT clause. HINT: Create an index on the materialized view for efficient incremental maintenance. SELECT * FROM mv_ivm_1 ORDER BY 1,2,3; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | j | k ---+----+----- 1 | 10 | 101 @@ -60,7 +62,9 @@ -- immediate maintenance BEGIN; INSERT INTO mv_base_b VALUES(5,105); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_1 ORDER BY 1,2,3; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | j | k ---+----+----- 1 | 10 | 101 @@ -71,7 +75,10 @@ (5 rows) UPDATE mv_base_a SET j = 0 WHERE i = 1; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_1 ORDER BY 1,2,3; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | j | k ---+----+----- 1 | 0 | 101 @@ -82,7 +89,9 @@ (5 rows) DELETE FROM mv_base_b WHERE (i,k) = (5,105); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_1 ORDER BY 1,2,3; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | j | k ---+----+----- 1 | 0 | 101 @@ -93,6 +102,7 @@ ROLLBACK; SELECT * FROM mv_ivm_1 ORDER BY 1,2,3; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | j | k ---+----+----- 1 | 10 | 101 @@ -121,6 +131,7 @@ BEGIN; TRUNCATE mv_base_a; SELECT * FROM mv_ivm_1; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | j | k ---+---+--- (0 rows) @@ -129,6 +140,7 @@ BEGIN; TRUNCATE mv_base_b; SELECT * FROM mv_ivm_1; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | j | k ---+---+--- (0 rows) @@ -156,7 +168,10 @@ CREATE INCREMENTAL MATERIALIZED VIEW mv_ivm_distinct AS SELECT DISTINCT j FROM mv_base_a; NOTICE: created index "mv_ivm_distinct_index" on materialized view "mv_ivm_distinct" INSERT INTO mv_base_a VALUES(6,20); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_duplicate ORDER BY 1; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree j ---- 10 @@ -168,6 +183,7 @@ (6 rows) SELECT * FROM mv_ivm_distinct ORDER BY 1; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree j ---- 10 @@ -178,7 +194,11 @@ (5 rows) DELETE FROM mv_base_a WHERE (i,j) = (2,20); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_duplicate ORDER BY 1; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree j ---- 10 @@ -189,6 +209,7 @@ (5 rows) SELECT * FROM mv_ivm_distinct ORDER BY 1; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree j ---- 10 @@ -204,6 +225,7 @@ CREATE INCREMENTAL MATERIALIZED VIEW mv_ivm_agg AS SELECT i, SUM(j), COUNT(i), AVG(j) FROM mv_base_a GROUP BY i; NOTICE: created index "mv_ivm_agg_index" on materialized view "mv_ivm_agg" SELECT * FROM mv_ivm_agg ORDER BY 1,2,3,4; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | sum | count | avg ---+-----+-------+--------------------- 1 | 10 | 1 | 10.0000000000000000 @@ -214,7 +236,10 @@ (5 rows) INSERT INTO mv_base_a VALUES(2,100); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_agg ORDER BY 1,2,3,4; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | sum | count | avg ---+-----+-------+--------------------- 1 | 10 | 1 | 10.0000000000000000 @@ -225,7 +250,12 @@ (5 rows) UPDATE mv_base_a SET j = 200 WHERE (i,j) = (2,100); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_agg ORDER BY 1,2,3,4; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | sum | count | avg ---+-----+-------+---------------------- 1 | 10 | 1 | 10.0000000000000000 @@ -236,7 +266,10 @@ (5 rows) DELETE FROM mv_base_a WHERE (i,j) = (2,200); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_agg ORDER BY 1,2,3,4; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | sum | count | avg ---+-----+-------+--------------------- 1 | 10 | 1 | 10.0000000000000000 @@ -252,6 +285,7 @@ CREATE INCREMENTAL MATERIALIZED VIEW mv_ivm_agg AS SELECT i, SUM(j), COUNT(*) FROM mv_base_a GROUP BY i; NOTICE: created index "mv_ivm_agg_index" on materialized view "mv_ivm_agg" SELECT * FROM mv_ivm_agg ORDER BY 1,2,3; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | sum | count ---+-----+------- 1 | 10 | 1 @@ -262,7 +296,10 @@ (5 rows) INSERT INTO mv_base_a VALUES(2,100); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_agg ORDER BY 1,2,3; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | sum | count ---+-----+------- 1 | 10 | 1 @@ -279,6 +316,7 @@ NOTICE: created index "mv_ivm_agg_index" on materialized view "mv_ivm_agg" TRUNCATE mv_base_a; SELECT sum, count FROM mv_ivm_agg; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree sum | count -----+------- (0 rows) @@ -296,20 +334,26 @@ DETAIL: This target list does not have all the primary key columns, or this view does not contain GROUP BY or DISTINCT clause. HINT: Create an index on the materialized view for efficient incremental maintenance. SELECT * FROM mv_ivm_group ORDER BY 1; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree sum | count | avg -----+-------+--------------------- 150 | 5 | 30.0000000000000000 (1 row) INSERT INTO mv_base_a VALUES(6,60); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_group ORDER BY 1; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree sum | count | avg -----+-------+--------------------- 210 | 6 | 35.0000000000000000 (1 row) DELETE FROM mv_base_a; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_group ORDER BY 1; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree sum | count | avg -----+-------+----- | 0 | @@ -324,6 +368,7 @@ HINT: Create an index on the materialized view for efficient incremental maintenance. TRUNCATE mv_base_a; SELECT sum, count, avg FROM mv_ivm_group; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree sum | count | avg -----+-------+----- | 0 | @@ -341,6 +386,7 @@ CREATE INCREMENTAL MATERIALIZED VIEW mv_ivm_avg_bug AS SELECT i, SUM(j), COUNT(j), AVG(j) FROM mv_base_A GROUP BY i; NOTICE: created index "mv_ivm_avg_bug_index" on materialized view "mv_ivm_avg_bug" SELECT * FROM mv_ivm_avg_bug ORDER BY 1,2,3; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | sum | count | avg ---+-----+-------+--------------------- 1 | 10 | 1 | 10.0000000000000000 @@ -355,7 +401,10 @@ (1,0), (2,30), (2,30); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_avg_bug ORDER BY 1,2,3; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | sum | count | avg ---+-----+-------+--------------------- 1 | 10 | 3 | 3.3333333333333333 @@ -366,8 +415,13 @@ (5 rows) DELETE FROM mv_base_a WHERE (i,j) = (1,0); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree DELETE FROM mv_base_a WHERE (i,j) = (2,30); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_avg_bug ORDER BY 1,2,3; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | sum | count | avg ---+-----+-------+--------------------- 1 | 10 | 1 | 10.0000000000000000 @@ -383,6 +437,7 @@ CREATE INCREMENTAL MATERIALIZED VIEW mv_ivm_min_max AS SELECT i, MIN(j), MAX(j) FROM mv_base_a GROUP BY i; NOTICE: created index "mv_ivm_min_max_index" on materialized view "mv_ivm_min_max" SELECT * FROM mv_ivm_min_max ORDER BY 1,2,3; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | min | max ---+-----+----- 1 | 10 | 10 @@ -398,7 +453,10 @@ (3,31), (3,32), (4,41), (4,42), (5,51), (5,52); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_min_max ORDER BY 1,2,3; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | min | max ---+-----+----- 1 | 10 | 12 @@ -409,7 +467,11 @@ (5 rows) DELETE FROM mv_base_a WHERE (i,j) IN ((1,10), (2,21), (3,32)); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_min_max ORDER BY 1,2,3; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | min | max ---+-----+----- 1 | 11 | 12 @@ -427,6 +489,7 @@ DETAIL: This target list does not have all the primary key columns, or this view does not contain GROUP BY or DISTINCT clause. HINT: Create an index on the materialized view for efficient incremental maintenance. SELECT * FROM mv_ivm_min_max; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree min | max -----+----- 10 | 50 @@ -434,21 +497,29 @@ INSERT INTO mv_base_a VALUES (0,0), (6,60), (7,70); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_min_max; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree min | max -----+----- 0 | 70 (1 row) DELETE FROM mv_base_a WHERE (i,j) IN ((0,0), (7,70)); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_min_max; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree min | max -----+----- 10 | 60 (1 row) DELETE FROM mv_base_a; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_min_max; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree min | max -----+----- | @@ -462,6 +533,7 @@ DETAIL: This target list does not have all the primary key columns, or this view does not contain GROUP BY or DISTINCT clause. HINT: Create an index on the materialized view for efficient incremental maintenance. SELECT * FROM mv_ivm_min; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree min ----- 10 @@ -472,7 +544,11 @@ CREATE TABLE myschema.mv_base_a (j int); INSERT INTO myschema.mv_base_a VALUES (1); DELETE FROM mv_base_a WHERE (i,j) = (1,10); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_min; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree min ----- 20 @@ -480,7 +556,11 @@ SET search_path TO myschema,public,pg_catalog; DELETE FROM public.mv_base_a WHERE (i,j) = (2,20); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_min; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree min ----- 30 @@ -492,9 +572,18 @@ CREATE INCREMENTAL MATERIALIZED VIEW mv_ivm_agg(a) AS SELECT i, SUM(j) FROM mv_base_a GROUP BY i; NOTICE: created index "mv_ivm_agg_index" on materialized view "mv_ivm_agg" INSERT INTO mv_base_a VALUES (1,100), (2,200), (3,300); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree UPDATE mv_base_a SET j = 2000 WHERE (i,j) = (2,20); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree DELETE FROM mv_base_a WHERE (i,j) = (3,30); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_agg ORDER BY 1,2; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree a | sum ---+------ 1 | 110 @@ -509,9 +598,18 @@ CREATE INCREMENTAL MATERIALIZED VIEW mv_ivm_agg(a,b) AS SELECT i, SUM(j) FROM mv_base_a GROUP BY i; NOTICE: created index "mv_ivm_agg_index" on materialized view "mv_ivm_agg" INSERT INTO mv_base_a VALUES (1,100), (2,200), (3,300); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree UPDATE mv_base_a SET j = 2000 WHERE (i,j) = (2,20); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree DELETE FROM mv_base_a WHERE (i,j) = (3,30); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ivm_agg ORDER BY 1,2; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree a | b ---+------ 1 | 110 @@ -536,6 +634,7 @@ DETAIL: This target list does not have all the primary key columns, or this view does not contain GROUP BY or DISTINCT clause. HINT: Create an index on the materialized view for efficient incremental maintenance. SELECT * FROM mv_self ORDER BY v1; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree v1 | v2 ----+---- 10 | 10 @@ -544,9 +643,16 @@ (3 rows) INSERT INTO base_t VALUES (4,40); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree DELETE FROM base_t WHERE i = 1; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree UPDATE base_t SET v = v*10 WHERE i=2; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_self ORDER BY v1; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree v1 | v2 -----+----- 30 | 30 @@ -560,12 +666,17 @@ upd_t AS (UPDATE base_t SET v = v + 100 RETURNING 1), dlt_t AS (DELETE FROM base_t WHERE i IN (4,5) RETURNING 1) SELECT NULL; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ?column? ---------- (1 row) SELECT * FROM mv_self ORDER BY v1; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree v1 | v2 -----+----- 50 | 50 @@ -577,9 +688,13 @@ --- with sub-transactions SAVEPOINT p1; INSERT INTO base_t VALUES (7,70); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree RELEASE SAVEPOINT p1; INSERT INTO base_t VALUES (7,77); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_self ORDER BY v1, v2; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree v1 | v2 -----+----- 50 | 50 @@ -605,6 +720,7 @@ DETAIL: This target list does not have all the primary key columns, or this view does not contain GROUP BY or DISTINCT clause. HINT: Create an index on the materialized view for efficient incremental maintenance. SELECT * FROM mv ORDER BY v1; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree v1 | v2 ----+----- 10 | 100 @@ -619,12 +735,17 @@ upd_r AS (UPDATE base_r SET v = v + 1000 WHERE i = 2 RETURNING 1), dlt_s AS (DELETE FROM base_s WHERE i = 3 RETURNING 1) SELECT NULL; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ?column? ---------- (1 row) SELECT * FROM mv ORDER BY v1; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree v1 | v2 ------+----- 10 | 100 @@ -644,6 +765,7 @@ SELECT ri1.i, ri2.i FROM ri1 JOIN ri2 USING(i); NOTICE: created index "mv_ri_index" on materialized view "mv_ri" SELECT * FROM mv_ri ORDER BY i1; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i1 | i2 ----+---- 1 | 1 @@ -652,8 +774,12 @@ (3 rows) UPDATE ri1 SET i=10 where i=1; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree DELETE FROM ri1 WHERE i=2; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_ri ORDER BY i2; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i1 | i2 ----+---- 3 | 3 @@ -670,6 +796,7 @@ DETAIL: This target list does not have all the primary key columns, or this view does not contain GROUP BY or DISTINCT clause. HINT: Create an index on the materialized view for efficient incremental maintenance. SELECT * FROM mv ORDER BY i; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | v ---+---- 1 | 10 @@ -677,7 +804,10 @@ (2 rows) UPDATE base_t SET v = 20 WHERE i = 2; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv ORDER BY i; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | v ---+---- 1 | 10 @@ -692,12 +822,15 @@ DETAIL: This target list does not have all the primary key columns, or this view does not contain GROUP BY or DISTINCT clause. HINT: Create an index on the materialized view for efficient incremental maintenance. SELECT * FROM mv ORDER BY i; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i --- (0 rows) INSERT INTO base_t VALUES (1),(NULL); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv ORDER BY i; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i --- 1 @@ -711,6 +844,7 @@ CREATE INCREMENTAL MATERIALIZED VIEW mv AS SELECT i, sum(v) FROM base_t GROUP BY i; NOTICE: created index "mv_index" on materialized view "mv" SELECT * FROM mv ORDER BY i; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | sum ---+----- 1 | 30 @@ -718,7 +852,10 @@ (2 rows) UPDATE base_t SET v = v * 10; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv ORDER BY i; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | sum ---+----- 1 | 300 @@ -732,27 +869,35 @@ CREATE INCREMENTAL MATERIALIZED VIEW mv AS SELECT i, min(v), max(v) FROM base_t GROUP BY i; NOTICE: created index "mv_index" on materialized view "mv" SELECT * FROM mv ORDER BY i; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | min | max ---+-----+----- | 1 | 5 (1 row) DELETE FROM base_t WHERE v = 1; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv ORDER BY i; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | min | max ---+-----+----- | 2 | 5 (1 row) DELETE FROM base_t WHERE v = 3; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv ORDER BY i; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | min | max ---+-----+----- | 2 | 5 (1 row) DELETE FROM base_t WHERE v = 5; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv ORDER BY i; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | min | max ---+-----+----- | 2 | 4 @@ -802,7 +947,9 @@ DETAIL: This target list does not have all the primary key columns, or this view does not contain GROUP BY or DISTINCT clause. HINT: Create an index on the materialized view for efficient incremental maintenance. INSERT INTO t_mytype VALUES ('1'::mytype); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT * FROM mv_mytype; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree x --- 1 @@ -910,7 +1057,9 @@ DROP USER IF EXISTS ivm_user; NOTICE: role "ivm_user" does not exist, skipping CREATE USER ivm_admin; +WARNING: roles created by regression test cases should have names starting with "regress_" CREATE USER ivm_user; +WARNING: roles created by regression test cases should have names starting with "regress_" --- create a table with RLS SET SESSION AUTHORIZATION ivm_admin; CREATE TABLE rls_tbl(id int, data text, owner name); @@ -937,6 +1086,7 @@ DETAIL: This target list does not have all the primary key columns, or this view does not contain GROUP BY or DISTINCT clause. HINT: Create an index on the materialized view for efficient incremental maintenance. SELECT id, data, owner FROM ivm_rls ORDER BY 1,2,3; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree id | data | owner ----+------+---------- 1 | foo | ivm_user @@ -947,7 +1097,9 @@ INSERT INTO rls_tbl VALUES (3,'baz','ivm_user'), (4,'qux','postgres'); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree SELECT id, data, owner FROM ivm_rls ORDER BY 1,2,3; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree id | data | owner ----+------+---------- 1 | foo | ivm_user @@ -960,10 +1112,13 @@ u AS (UPDATE rls_tbl SET owner = 'postgres' WHERE id = 1), u2 AS (UPDATE rls_tbl SET owner = 'ivm_user' WHERE id = 2) SELECT; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree -- (1 row) SELECT id, data, owner FROM ivm_rls ORDER BY 1,2,3; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree id | data | owner ----+-------+---------- 2 | bar | ivm_user @@ -982,10 +1137,17 @@ x AS (UPDATE rls_tbl SET data = data || '_2' where id in (3,4)), y AS (UPDATE num_tbl SET num = num || '_2' where id in (3,4)) SELECT; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree -- (1 row) SELECT * FROM ivm_rls2 ORDER BY 1,2,3; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree id | data | owner | num ----+-------+----------+--------- 2 | bar | ivm_user | two === EOF === [03:07:47.258](28.666s) not ok 5 - regression tests pass [03:07:47.258](0.000s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/bin/pg_upgrade/t/002_pg_upgrade.pl line 212. [03:07:47.258](0.000s) # got: '256' # expected: '0' # Checking port 63505 # Found port 63505 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=63505 host=/tmp/2nfbc53peQ Log file: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/log/002_pg_upgrade_new_node.log [03:07:47.261](0.003s) # 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: 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 /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 ... 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=63504 host=/tmp/2nfbc53peQ dbname='postgres' -f /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_4GG4/dump1.sql [03:07:49.888](2.626s) 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/2nfbc53peQ -p 63504 -P 63505 --link --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 [03:07:50.032](0.145s) ok 7 - run of pg_upgrade --check for new instance with incorrect binary path [03:07:50.032](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/2nfbc53peQ -p 63504 -P 63505 --link --check [03:07:50.459](0.427s) ok 9 - invalid database causes failure status (got 1 vs expected 1) [03:07:50.460](0.000s) ok 10 - invalid database causes failure stdout /(?^:invalid)/ [03:07:50.460](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 11206 ### 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/2nfbc53peQ -p 63504 -P 63505 --link --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* [03:07:51.867](1.407s) ok 12 - run of pg_upgrade --check for new instance [03:07:51.867](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/2nfbc53peQ -p 63504 -P 63505 --link 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 Adding ".old" suffix to old global/pg_control ok If you want to start the old cluster, you will need to remove the ".old" suffix from /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/global/pg_control.old. Because "link" mode was used, the old cluster cannot be safely started once the new cluster has been started. Linking 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 [03:08:01.208](9.341s) ok 14 - run of pg_upgrade for new instance [03:08:01.208](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 12218 [03:08:01.334](0.126s) ok 16 - check that locales in new cluster match original cluster # Running: pg_dumpall --no-sync -d port=63505 host=/tmp/2nfbc53peQ dbname='postgres' -f /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_4GG4/dump2.sql [03:08:03.013](1.679s) ok 17 - dump after running pg_upgrade [03:08:03.090](0.076s) ok 18 - old and new dumps match after pg_upgrade [03:08:03.090](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" [03:08:03.195](0.105s) # Looks like you failed 1 test of 18.