# Checking port 15898 # Found port 15898 Name: main Version: 19devel Data directory: /tmp/cirrus-ci-build/src/test/modules/test_plan_advice/tmp_check/t_001_replan_regress_main_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/test/modules/test_plan_advice/tmp_check/t_001_replan_regress_main_data/backup Archive directory: /tmp/cirrus-ci-build/src/test/modules/test_plan_advice/tmp_check/t_001_replan_regress_main_data/archives Connection string: port=15898 host=/tmp/cKwSUhcMtQ Log file: /tmp/cirrus-ci-build/src/test/modules/test_plan_advice/tmp_check/log/001_replan_regress_main.log [07:20:20.268](0.097s) # initializing database system by copying initdb template # Running: cp -RPp /tmp/cirrus-ci-build/tmp_install/initdb-template /tmp/cirrus-ci-build/src/test/modules/test_plan_advice/tmp_check/t_001_replan_regress_main_data/pgdata # Running: /tmp/cirrus-ci-build/src/test/modules/test_plan_advice/../../../../src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/src/test/modules/test_plan_advice/tmp_check/t_001_replan_regress_main_data/pgdata ### Starting node "main" # Running: pg_ctl --wait --pgdata /tmp/cirrus-ci-build/src/test/modules/test_plan_advice/tmp_check/t_001_replan_regress_main_data/pgdata --log /tmp/cirrus-ci-build/src/test/modules/test_plan_advice/tmp_check/log/001_replan_regress_main.log --options --cluster-name=main start waiting for server to start.... done server started # Postmaster PID for node "main" is 55431 # using postmaster on /tmp/cKwSUhcMtQ, port 15898 ok 1 - test_setup 1116 ms # parallel group (20 tests): char name varchar oid txid text int4 int2 pg_lsn boolean float4 money int8 regproc float8 enum bit uuid numeric rangetypes ok 2 + boolean 898 ms ok 3 + char 437 ms ok 4 + name 427 ms ok 5 + varchar 441 ms ok 6 + text 651 ms ok 7 + int2 720 ms ok 8 + int4 705 ms ok 9 + int8 1156 ms ok 10 + oid 578 ms ok 11 + float4 875 ms ok 12 + float8 1320 ms ok 13 + bit 1754 ms ok 14 + numeric 4682 ms ok 15 + txid 613 ms ok 16 + uuid 1778 ms ok 17 + enum 1717 ms ok 18 + money 992 ms ok 19 + rangetypes 4864 ms ok 20 + pg_lsn 675 ms ok 21 + regproc 1093 ms # parallel group (20 tests): md5 lseg path line circle time point timetz macaddr numerology macaddr8 inet date timestamp interval timestamptz polygon strings box multirangetypes ok 22 + strings 1660 ms ok 23 + md5 166 ms ok 24 + numerology 578 ms ok 25 + point 387 ms ok 26 + lseg 201 ms ok 27 + line 298 ms ok 28 + box 1676 ms ok 29 + path 213 ms ok 30 + polygon 1339 ms ok 31 + circle 323 ms ok 32 + date 740 ms ok 33 + time 337 ms ok 34 + timetz 426 ms ok 35 + timestamp 933 ms ok 36 + timestamptz 1269 ms ok 37 + interval 1026 ms ok 38 + inet 650 ms ok 39 + macaddr 443 ms ok 40 + macaddr8 515 ms ok 41 + multirangetypes 2804 ms # parallel group (19 tests): comments unicode euc_kr misc_sanity pg_ndistinct pg_dependencies oid8 xid encoding tstypes mvcc expressions horology geometry type_sanity database regex stats_import opr_sanity ok 42 + geometry 1371 ms ok 43 + horology 1321 ms ok 44 + tstypes 892 ms ok 45 + regex 2211 ms ok 46 + type_sanity 1486 ms ok 47 + opr_sanity 3623 ms ok 48 + misc_sanity 393 ms ok 49 + comments 204 ms ok 50 + expressions 1006 ms ok 51 + unicode 258 ms ok 52 + xid 693 ms ok 53 + mvcc 890 ms ok 54 + database 1581 ms ok 55 + stats_import 3087 ms ok 56 + pg_ndistinct 464 ms ok 57 + pg_dependencies 517 ms ok 58 + oid8 621 ms ok 59 + encoding 795 ms ok 60 + euc_kr 246 ms # parallel group (6 tests): copyencoding copyselect copydml copy insert_conflict insert ok 61 + copy 1046 ms ok 62 + copyselect 268 ms ok 63 + copydml 284 ms ok 64 + copyencoding 163 ms ok 65 + insert 4191 ms ok 66 + insert_conflict 1331 ms # parallel group (7 tests): create_function_c create_operator create_type create_misc create_procedure create_schema create_table ok 67 + create_function_c 174 ms ok 68 + create_misc 744 ms ok 69 + create_operator 430 ms ok 70 + create_procedure 882 ms ok 71 + create_table 5312 ms ok 72 + create_type 555 ms ok 73 + create_schema 1423 ms # parallel group (5 tests): index_including index_including_gist create_index_spgist create_view create_index ok 74 + create_index 8922 ms ok 75 + create_index_spgist 5098 ms ok 76 + create_view 5668 ms ok 77 + index_including 3163 ms ok 78 + index_including_gist 3370 ms # parallel group (18 tests): create_cast errors roleattributes create_aggregate hash_func drop_if_exists select create_function_sql typed_table create_am create_property_graph infinite_recurse for_portion_of vacuum updatable_views constraints inherit triggers ok 79 + create_aggregate 958 ms ok 80 + create_function_sql 2621 ms ok 81 + create_cast 543 ms ok 82 + constraints 9957 ms ok 83 + triggers 13563 ms ok 84 + select 1304 ms ok 85 + inherit 12755 ms ok 86 + typed_table 2695 ms ok 87 + vacuum 5921 ms ok 88 + drop_if_exists 1149 ms ok 89 + updatable_views 8581 ms ok 90 + roleattributes 893 ms ok 91 + create_am 2842 ms ok 92 + hash_func 989 ms ok 93 + errors 657 ms ok 94 + infinite_recurse 3974 ms ok 95 + create_property_graph 3935 ms # diff -U3 /tmp/cirrus-ci-build/src/test/regress/expected/for_portion_of.out /tmp/cirrus-ci-build/src/test/modules/test_plan_advice/tmp_check/results/for_portion_of.out # --- /tmp/cirrus-ci-build/src/test/regress/expected/for_portion_of.out 2026-05-05 07:12:03.251281978 +0000 # +++ /tmp/cirrus-ci-build/src/test/modules/test_plan_advice/tmp_check/results/for_portion_of.out 2026-05-05 07:20:58.258839594 +0000 # @@ -1099,8 +1099,6 @@ # FOR PORTION OF valid_at FROM '2000-01-01' TO '2001-01-11' # SET name = 'one^3' # WHERE id = 1; # -ERROR: new row for relation "for_portion_of_test2" violates check constraint "fpo2_check" # -DETAIL: Failing row contains (1, [2000-01-01,2001-01-11), one^3). # ALTER TABLE for_portion_of_test2 DROP CONSTRAINT fpo2_check; # -- test inserts violating CHECK constraints # ALTER TABLE for_portion_of_test2 # @@ -1115,12 +1113,13 @@ # SELECT * FROM for_portion_of_test2 WHERE id = 1 ORDER BY valid_at; # id | valid_at | name # ----+-------------------------+------- # - 1 | [2000-01-01,2010-01-01) | one # + 1 | [2000-01-01,2001-01-11) | one^3 # + 1 | [2001-01-11,2010-01-01) | one # 1 | [2010-01-01,2010-01-05) | one^1 # 1 | [2010-01-05,2010-01-07) | one # 1 | [2010-01-07,2010-01-09) | one^2 # 1 | [2010-01-09,2020-01-01) | one # -(5 rows) # +(6 rows) # # -- DELETE works: # DELETE FROM for_portion_of_test2 # @@ -1222,8 +1221,6 @@ # FOR PORTION OF valid_at ('{[2000-01-01,2001-01-11)}') # SET name = 'one^3' # WHERE id = 1; # -ERROR: new row for relation "for_portion_of_test2" violates check constraint "fpo2_check" # -DETAIL: Failing row contains (1, {[2000-01-01,2001-01-11)}, one^3). # ALTER TABLE for_portion_of_test2 DROP CONSTRAINT fpo2_check; # -- test inserts violating CHECK constraints # ALTER TABLE for_portion_of_test2 # @@ -1233,14 +1230,15 @@ # SET name = 'one^3' # WHERE id = 1; # ERROR: new row for relation "for_portion_of_test2" violates check constraint "fpo2_check" # -DETAIL: Failing row contains (1, {[2000-01-01,2001-01-01),[2002-02-02,2010-01-07),[2010-01-09,202..., one). # +DETAIL: Failing row contains (1, {[2002-02-02,2010-01-07),[2010-01-09,2020-01-01)}, one). # ALTER TABLE for_portion_of_test2 DROP CONSTRAINT fpo2_check; # SELECT * FROM for_portion_of_test2 WHERE id = 1 ORDER BY valid_at; # id | valid_at | name # ----+---------------------------------------------------+------- # - 1 | {[2000-01-01,2010-01-07),[2010-01-09,2020-01-01)} | one # + 1 | {[2000-01-01,2001-01-11)} | one^3 # + 1 | {[2001-01-11,2010-01-07),[2010-01-09,2020-01-01)} | one # 1 | {[2010-01-07,2010-01-09)} | one^2 # -(2 rows) # +(3 rows) # # -- DELETE works: # DELETE FROM for_portion_of_test2 not ok 96 + for_portion_of 4958 ms ok 97 - sanity_check 1709 ms # parallel group (20 tests): delete select_having select_implicit case select_distinct_on namespace select_into random prepared_xacts transactions select_distinct portals union arrays subselect update hash_index aggregates join btree_index ok 98 + select_into 1364 ms ok 99 + select_distinct 2124 ms ok 100 + select_distinct_on 1085 ms ok 101 + select_implicit 986 ms ok 102 + select_having 700 ms ok 103 + subselect 5814 ms ok 104 + union 3325 ms ok 105 + case 967 ms ok 106 + join 10067 ms ok 107 + aggregates 8949 ms ok 108 + transactions 2054 ms ok 109 + random 1327 ms ok 110 + portals 2255 ms ok 111 + arrays 3510 ms ok 112 + btree_index 12127 ms ok 113 + hash_index 6478 ms ok 114 + update 5879 ms ok 115 + delete 536 ms ok 116 + namespace 1028 ms ok 117 + prepared_xacts 1609 ms # parallel group (20 tests): init_privs security_label drop_operator lock password object_address tablesample collate groupingsets replica_identity spgist matview identity gin gist rowsecurity generated_stored join_hash brin privileges ok 118 + brin 9501 ms ok 119 + gin 5791 ms ok 120 + gist 5796 ms ok 121 + spgist 4486 ms ok 122 + privileges 12246 ms ok 123 + init_privs 209 ms ok 124 + security_label 348 ms ok 125 + collate 2142 ms ok 126 + matview 4588 ms ok 127 + lock 866 ms ok 128 + replica_identity 3464 ms ok 129 + rowsecurity 6141 ms ok 130 + object_address 1291 ms ok 131 + tablesample 1291 ms ok 132 + groupingsets 2899 ms ok 133 + drop_operator 484 ms ok 134 + password 880 ms ok 135 + identity 4723 ms ok 136 + generated_stored 6631 ms ok 137 + join_hash 9379 ms # parallel group (2 tests): brin_bloom brin_multi ok 138 + brin_bloom 440 ms ok 139 + brin_multi 2435 ms # parallel group (20 tests): async dbsize nls alter_operator collate.utf8 tid tsrf tidscan create_role sysviews misc_functions misc tidrangescan alter_generic incremental_sort merge collate.icu.utf8 create_table_like generated_virtual without_overlaps ok 140 + create_table_like 3723 ms ok 141 + alter_generic 1625 ms ok 142 + alter_operator 541 ms ok 143 + misc 1468 ms ok 144 + async 187 ms ok 145 + dbsize 211 ms ok 146 + merge 2980 ms ok 147 + misc_functions 1389 ms ok 148 + nls 244 ms ok 149 + sysviews 1170 ms ok 150 + tsrf 649 ms ok 151 + tid 643 ms ok 152 + tidscan 666 ms ok 153 + tidrangescan 1489 ms ok 154 + collate.utf8 526 ms ok 155 + collate.icu.utf8 3178 ms ok 156 + incremental_sort 1703 ms ok 157 + create_role 948 ms ok 158 + without_overlaps 4868 ms ok 159 + generated_virtual 4497 ms # parallel group (8 tests): collate.windows.win1252 amutils psql_crosstab psql_pipeline collate.linux.utf8 rules psql stats_ext ok 160 + rules 2096 ms ok 161 + psql 4471 ms ok 162 + psql_crosstab 242 ms ok 163 + psql_pipeline 286 ms ok 164 + amutils 173 ms ok 165 + stats_ext 6030 ms ok 166 + collate.linux.utf8 1121 ms ok 167 + collate.windows.win1252 97 ms ok 168 - select_parallel 4108 ms ok 169 - write_parallel 922 ms ok 170 - vacuum_parallel 1341 ms ok 171 - maintain_every 210 ms # parallel group (2 tests): subscription publication ok 172 + publication 3176 ms ok 173 + subscription 733 ms # parallel group (18 tests): advisory_lock portals_p2 combocid xmlmap tsdicts equivclass functional_deps guc dependency select_views stats_rewrite indirect_toast bitmapops window tsearch graph_table foreign_data foreign_key ok 174 + select_views 1026 ms ok 175 + portals_p2 406 ms ok 176 + foreign_key 9388 ms ok 177 + dependency 1011 ms ok 178 + guc 953 ms ok 179 + bitmapops 1949 ms ok 180 + combocid 456 ms ok 181 + tsearch 2451 ms ok 182 + tsdicts 612 ms ok 183 + foreign_data 3568 ms ok 184 + window 2182 ms ok 185 + xmlmap 575 ms ok 186 + functional_deps 750 ms ok 187 + advisory_lock 320 ms ok 188 + indirect_toast 1445 ms ok 189 + equivclass 721 ms ok 190 + stats_rewrite 1151 ms ok 191 + graph_table 2483 ms # parallel group (9 tests): json_encoding jsonpath_encoding jsonpath sqljson_jsontable json sqljson sqljson_queryfuncs jsonb_jsonpath jsonb ok 192 + json 1049 ms ok 193 + jsonb 2481 ms ok 194 + json_encoding 136 ms ok 195 + jsonpath 337 ms ok 196 + jsonpath_encoding 168 ms ok 197 + jsonb_jsonpath 1223 ms ok 198 + sqljson 1088 ms ok 199 + sqljson_queryfuncs 1160 ms ok 200 + sqljson_jsontable 752 ms # parallel group (18 tests): prepare plancache conversion largeobject returning rowtypes limit copy2 polymorphism sequence truncate with temp rangefuncs domain plpgsql xml alter_table ok 201 + plancache 1251 ms ok 202 + limit 2203 ms ok 203 + plpgsql 5839 ms ok 204 + copy2 2295 ms ok 205 + temp 2871 ms ok 206 + domain 3222 ms ok 207 + rangefuncs 2940 ms ok 208 + prepare 500 ms ok 209 + conversion 1293 ms ok 210 + truncate 2697 ms ok 211 + alter_table 13108 ms ok 212 + sequence 2674 ms ok 213 + polymorphism 2576 ms ok 214 + rowtypes 1995 ms ok 215 + returning 1797 ms ok 216 + largeobject 1691 ms ok 217 + with 2711 ms ok 218 + xml 10198 ms # parallel group (18 tests): planner_est numa hash_part reloptions explain partition_info predicate graph_table_rls memoize eager_aggregate partition_merge partition_aggregate partition_split stats partition_join tuplesort partition_prune indexing ok 219 + partition_merge 5215 ms ok 220 + partition_split 5856 ms ok 221 + partition_join 6698 ms ok 222 + partition_prune 7036 ms ok 223 + reloptions 742 ms ok 224 + hash_part 556 ms ok 225 + indexing 8525 ms ok 226 + partition_aggregate 5422 ms ok 227 + partition_info 1155 ms ok 228 + tuplesort 6981 ms ok 229 + explain 1127 ms ok 230 + memoize 2186 ms ok 231 + stats 6188 ms ok 232 + predicate 1246 ms ok 233 + numa 505 ms ok 234 + eager_aggregate 3803 ms ok 235 + graph_table_rls 1527 ms ok 236 + planner_est 435 ms # parallel group (4 tests): compression_pglz compression compression_lz4 cluster ok 237 + compression 573 ms ok 238 + compression_lz4 714 ms ok 239 + compression_pglz 82 ms ok 240 + cluster 1204 ms # parallel group (2 tests): oidjoins event_trigger ok 241 + oidjoins 804 ms ok 242 + event_trigger 937 ms ok 243 - event_trigger_login 144 ms ok 244 - fast_default 704 ms ok 245 - tablespace 1816 ms 1..245 # 1 of 245 tests failed. # The differences that caused some tests to fail can be viewed in the file "/tmp/cirrus-ci-build/src/test/modules/test_plan_advice/tmp_check/regression.diffs". # A copy of the test summary that you see above is saved in the file "/tmp/cirrus-ci-build/src/test/modules/test_plan_advice/tmp_check/regression.out". === dumping /tmp/cirrus-ci-build/src/test/modules/test_plan_advice/tmp_check/regression.diffs === diff -U3 /tmp/cirrus-ci-build/src/test/regress/expected/for_portion_of.out /tmp/cirrus-ci-build/src/test/modules/test_plan_advice/tmp_check/results/for_portion_of.out --- /tmp/cirrus-ci-build/src/test/regress/expected/for_portion_of.out 2026-05-05 07:12:03.251281978 +0000 +++ /tmp/cirrus-ci-build/src/test/modules/test_plan_advice/tmp_check/results/for_portion_of.out 2026-05-05 07:20:58.258839594 +0000 @@ -1099,8 +1099,6 @@ FOR PORTION OF valid_at FROM '2000-01-01' TO '2001-01-11' SET name = 'one^3' WHERE id = 1; -ERROR: new row for relation "for_portion_of_test2" violates check constraint "fpo2_check" -DETAIL: Failing row contains (1, [2000-01-01,2001-01-11), one^3). ALTER TABLE for_portion_of_test2 DROP CONSTRAINT fpo2_check; -- test inserts violating CHECK constraints ALTER TABLE for_portion_of_test2 @@ -1115,12 +1113,13 @@ SELECT * FROM for_portion_of_test2 WHERE id = 1 ORDER BY valid_at; id | valid_at | name ----+-------------------------+------- - 1 | [2000-01-01,2010-01-01) | one + 1 | [2000-01-01,2001-01-11) | one^3 + 1 | [2001-01-11,2010-01-01) | one 1 | [2010-01-01,2010-01-05) | one^1 1 | [2010-01-05,2010-01-07) | one 1 | [2010-01-07,2010-01-09) | one^2 1 | [2010-01-09,2020-01-01) | one -(5 rows) +(6 rows) -- DELETE works: DELETE FROM for_portion_of_test2 @@ -1222,8 +1221,6 @@ FOR PORTION OF valid_at ('{[2000-01-01,2001-01-11)}') SET name = 'one^3' WHERE id = 1; -ERROR: new row for relation "for_portion_of_test2" violates check constraint "fpo2_check" -DETAIL: Failing row contains (1, {[2000-01-01,2001-01-11)}, one^3). ALTER TABLE for_portion_of_test2 DROP CONSTRAINT fpo2_check; -- test inserts violating CHECK constraints ALTER TABLE for_portion_of_test2 @@ -1233,14 +1230,15 @@ SET name = 'one^3' WHERE id = 1; ERROR: new row for relation "for_portion_of_test2" violates check constraint "fpo2_check" -DETAIL: Failing row contains (1, {[2000-01-01,2001-01-01),[2002-02-02,2010-01-07),[2010-01-09,202..., one). +DETAIL: Failing row contains (1, {[2002-02-02,2010-01-07),[2010-01-09,2020-01-01)}, one). ALTER TABLE for_portion_of_test2 DROP CONSTRAINT fpo2_check; SELECT * FROM for_portion_of_test2 WHERE id = 1 ORDER BY valid_at; id | valid_at | name ----+---------------------------------------------------+------- - 1 | {[2000-01-01,2010-01-07),[2010-01-09,2020-01-01)} | one + 1 | {[2000-01-01,2001-01-11)} | one^3 + 1 | {[2001-01-11,2010-01-07),[2010-01-09,2020-01-01)} | one 1 | {[2010-01-07,2010-01-09)} | one^2 -(2 rows) +(3 rows) -- DELETE works: DELETE FROM for_portion_of_test2 === EOF === [07:22:35.390](135.121s) not ok 1 - regression tests pass [07:22:35.393](0.004s) [07:22:35.393](0.000s) # Failed test 'regression tests pass' # at t/001_replan_regress.pl line 64. [07:22:35.393](0.000s) # got: '256' # expected: '0' [07:22:35.394](0.000s) 1..1 ### Stopping node "main" using mode immediate # Running: pg_ctl --pgdata /tmp/cirrus-ci-build/src/test/modules/test_plan_advice/tmp_check/t_001_replan_regress_main_data/pgdata --mode immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "main" [07:22:35.508](0.114s) # Looks like you failed 1 test of 1.