# Checking port 50196 # Found port 50196 Name: primary Data directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/archives Connection string: port=50196 host=/tmp/c8Y2_j5gcP Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [08:37:23.467](0.032s) # initializing database system by copying initdb template # Running: cp -RPp /tmp/cirrus-ci-build/build/tmp_install/initdb-template /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata # Running: /tmp/cirrus-ci-build/build/src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata ### Starting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log -o --cluster-name=primary start waiting for server to start.... done server started # Postmaster PID for node "primary" is 21779 (standby_1,) [08:37:23.916](0.449s) ok 1 - physical slot created on primary # Taking pg_basebackup my_backup from node "primary" # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/backup/my_backup -h /tmp/c8Y2_j5gcP -p 50196 --checkpoint fast --no-sync # Backup finished # Checking port 50197 # Found port 50197 Name: standby_1 Data directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/archives Connection string: port=50197 host=/tmp/c8Y2_j5gcP Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_standby_1.log # Initializing node "standby_1" from backup "my_backup" of node "primary" ### Enabling streaming replication for node "standby_1" ### Starting node "standby_1" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_standby_1.log -o --cluster-name=standby_1 start waiting for server to start.... done server started # Postmaster PID for node "standby_1" is 21924 # using postmaster on /tmp/c8Y2_j5gcP, port 50196 ok 1 - test_setup 539 ms # parallel group (20 tests): varchar char pg_lsn oid name text int2 txid int4 regproc money int8 uuid float4 float8 enum boolean bit rangetypes numeric ok 2 + boolean 432 ms ok 3 + char 104 ms ok 4 + name 165 ms ok 5 + varchar 85 ms ok 6 + text 176 ms ok 7 + int2 181 ms ok 8 + int4 201 ms ok 9 + int8 236 ms ok 10 + oid 153 ms ok 11 + float4 248 ms ok 12 + float8 319 ms ok 13 + bit 435 ms ok 14 + numeric 1675 ms ok 15 + txid 194 ms ok 16 + uuid 243 ms ok 17 + enum 365 ms ok 18 + money 219 ms ok 19 + rangetypes 1393 ms ok 20 + pg_lsn 120 ms ok 21 + regproc 216 ms # parallel group (20 tests): lseg line md5 circle path macaddr8 numerology time macaddr timetz date inet point timestamp strings interval timestamptz polygon multirangetypes box ok 22 + strings 649 ms ok 23 + md5 152 ms ok 24 + numerology 198 ms ok 25 + point 398 ms ok 26 + lseg 86 ms ok 27 + line 91 ms ok 28 + box 1481 ms ok 29 + path 193 ms ok 30 + polygon 1037 ms ok 31 + circle 175 ms ok 32 + date 262 ms ok 33 + time 201 ms ok 34 + timetz 240 ms ok 35 + timestamp 593 ms ok 36 + timestamptz 736 ms ok 37 + interval 651 ms ok 38 + inet 360 ms ok 39 + macaddr 225 ms ok 40 + macaddr8 193 ms ok 41 + multirangetypes 1142 ms # parallel group (12 tests): comments unicode misc_sanity xid tstypes expressions mvcc horology type_sanity geometry regex opr_sanity ok 42 + geometry 539 ms ok 43 + horology 515 ms ok 44 + tstypes 212 ms ok 45 + regex 791 ms ok 46 + type_sanity 519 ms ok 47 + opr_sanity 1175 ms ok 48 + misc_sanity 148 ms ok 49 + comments 45 ms ok 50 + expressions 288 ms ok 51 + unicode 69 ms ok 52 + xid 185 ms ok 53 + mvcc 311 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 316 ms ok 55 + copyselect 85 ms ok 56 + copydml 131 ms ok 57 + insert 989 ms ok 58 + insert_conflict 495 ms # parallel group (7 tests): create_function_c create_operator create_type create_schema create_misc create_procedure create_table ok 59 + create_function_c 85 ms ok 60 + create_misc 192 ms ok 61 + create_operator 113 ms ok 62 + create_procedure 205 ms ok 63 + create_table 871 ms ok 64 + create_type 149 ms ok 65 + create_schema 165 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 2909 ms ok 67 + create_index_spgist 1792 ms ok 68 + create_view 1108 ms ok 69 + index_including 565 ms ok 70 + index_including_gist 908 ms # parallel group (16 tests): errors create_cast roleattributes hash_func create_aggregate drop_if_exists create_am typed_table select create_function_sql infinite_recurse vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 279 ms ok 72 + create_function_sql 624 ms ok 73 + create_cast 109 ms ok 74 + constraints 1624 ms ok 75 + triggers 5768 ms ok 76 + select 554 ms ok 77 + inherit 3015 ms ok 78 + typed_table 488 ms ok 79 + vacuum 1254 ms ok 80 + drop_if_exists 326 ms ok 81 + updatable_views 2459 ms ok 82 + roleattributes 154 ms ok 83 + create_am 477 ms ok 84 + hash_func 230 ms ok 85 + errors 75 ms ok 86 + infinite_recurse 753 ms ok 87 - sanity_check 166 ms # parallel group (20 tests): select_having select_distinct_on delete random case select_implicit prepared_xacts select_into namespace transactions portals union select_distinct subselect arrays update hash_index aggregates join btree_index ok 88 + select_into 255 ms ok 89 + select_distinct 939 ms ok 90 + select_distinct_on 130 ms ok 91 + select_implicit 231 ms ok 92 + select_having 114 ms ok 93 + subselect 1137 ms ok 94 + union 651 ms ok 95 + case 187 ms ok 96 + join 3882 ms ok 97 + aggregates 3760 ms ok 98 + transactions 436 ms ok 99 + random 166 ms ok 100 + portals 643 ms ok 101 + arrays 1218 ms ok 102 + btree_index 4942 ms ok 103 + hash_index 1869 ms ok 104 + update 1847 ms ok 105 + delete 146 ms ok 106 + namespace 267 ms ok 107 + prepared_xacts 244 ms # parallel group (20 tests): init_privs drop_operator security_label password tablesample lock object_address replica_identity collate matview identity generated spgist groupingsets rowsecurity gist gin brin join_hash privileges ok 108 + brin 8993 ms ok 109 + gin 3954 ms ok 110 + gist 3737 ms ok 111 + spgist 3445 ms ok 112 + privileges 9700 ms ok 113 + init_privs 127 ms ok 114 + security_label 222 ms ok 115 + collate 1787 ms ok 116 + matview 2482 ms ok 117 + lock 643 ms ok 118 + replica_identity 1572 ms ok 119 + rowsecurity 3484 ms ok 120 + object_address 742 ms ok 121 + tablesample 627 ms ok 122 + groupingsets 3480 ms ok 123 + drop_operator 211 ms ok 124 + password 450 ms ok 125 + identity 2620 ms ok 126 + generated 3260 ms ok 127 + join_hash 9006 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 231 ms ok 129 + brin_multi 958 ms # parallel group (18 tests): dbsize async collate.utf8 tid tsrf tidscan alter_operator create_role sysviews tidrangescan misc_functions alter_generic without_overlaps incremental_sort create_table_like merge misc collate.icu.utf8 ok 130 + create_table_like 1262 ms ok 131 + alter_generic 557 ms ok 132 + alter_operator 294 ms ok 133 + misc 1359 ms ok 134 + async 101 ms ok 135 + dbsize 76 ms ok 136 + merge 1342 ms ok 137 + misc_functions 500 ms ok 138 + sysviews 460 ms ok 139 + tsrf 273 ms ok 140 + tid 171 ms ok 141 + tidscan 279 ms ok 142 + tidrangescan 483 ms ok 143 + collate.utf8 123 ms ok 144 + collate.icu.utf8 1467 ms ok 145 + incremental_sort 977 ms ok 146 + create_role 369 ms ok 147 + without_overlaps 772 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab psql rules stats_ext ok 148 + rules 1125 ms ok 149 + psql 1000 ms ok 150 + psql_crosstab 83 ms ok 151 + amutils 64 ms ok 152 + stats_ext 2633 ms ok 153 + collate.linux.utf8 47 ms ok 154 + collate.windows.win1252 47 ms ok 155 - select_parallel 6297 ms ok 156 - write_parallel 218 ms ok 157 - vacuum_parallel 251 ms # parallel group (2 tests): subscription publication ok 158 + publication 1817 ms ok 159 + subscription 133 ms # parallel group (17 tests): portals_p2 advisory_lock combocid xmlmap equivclass guc tsdicts dependency functional_deps select_views bitmapops window cluster indirect_toast foreign_data tsearch foreign_key ok 160 + select_views 504 ms ok 161 + portals_p2 115 ms ok 162 + foreign_key 2988 ms ok 163 + cluster 1100 ms ok 164 + dependency 319 ms ok 165 + guc 273 ms ok 166 + bitmapops 1065 ms ok 167 + combocid 174 ms ok 168 + tsearch 2218 ms ok 169 + tsdicts 283 ms ok 170 + foreign_data 1796 ms ok 171 + window 1067 ms ok 172 + xmlmap 249 ms ok 173 + functional_deps 331 ms ok 174 + advisory_lock 149 ms ok 175 + indirect_toast 1232 ms ok 176 + equivclass 253 ms # parallel group (7 tests): jsonpath_encoding json_encoding jsonpath sqljson json jsonb_jsonpath jsonb ok 177 + json 300 ms ok 178 + jsonb 578 ms ok 179 + json_encoding 51 ms ok 180 + jsonpath 83 ms ok 181 + jsonpath_encoding 49 ms ok 182 + jsonb_jsonpath 342 ms ok 183 + sqljson 163 ms # parallel group (18 tests): prepare returning plancache temp conversion limit copy2 sequence polymorphism rowtypes truncate largeobject rangefuncs with domain xml plpgsql alter_table ok 184 + plancache 360 ms ok 185 + limit 498 ms ok 186 + plpgsql 3388 ms ok 187 + copy2 809 ms ok 188 + temp 456 ms ok 189 + domain 1350 ms ok 190 + rangefuncs 1159 ms ok 191 + prepare 166 ms ok 192 + conversion 478 ms ok 193 + truncate 1087 ms ok 194 + alter_table 4142 ms ok 195 + sequence 871 ms ok 196 + polymorphism 925 ms ok 197 + rowtypes 1054 ms ok 198 + returning 332 ms ok 199 + largeobject 1097 ms ok 200 + with 1221 ms ok 201 + xml 2129 ms # parallel group (13 tests): hash_part reloptions partition_info predicate explain compression memoize stats partition_aggregate tuplesort partition_join indexing partition_prune not ok 202 + partition_join 2937 ms ok 203 + partition_prune 3345 ms ok 204 + reloptions 165 ms ok 205 + hash_part 129 ms ok 206 + indexing 2989 ms ok 207 + partition_aggregate 2253 ms ok 208 + partition_info 277 ms ok 209 + tuplesort 2608 ms ok 210 + explain 342 ms ok 211 + compression 716 ms ok 212 + memoize 1171 ms ok 213 + stats 1566 ms ok 214 + predicate 339 ms # parallel group (2 tests): oidjoins event_trigger ok 215 + oidjoins 440 ms ok 216 + event_trigger 497 ms ok 217 - event_trigger_login 59 ms ok 218 - fast_default 398 ms ok 219 - tablespace 722 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/recovery/027_stream_regress/data/regression.diffs". # A copy of the test summary that you see above is saved in the file "/tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/regression.out". === dumping /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/regression.diffs === diff -U3 /tmp/cirrus-ci-build/src/test/regress/expected/partition_join.out /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/partition_join.out --- /tmp/cirrus-ci-build/src/test/regress/expected/partition_join.out 2024-03-20 08:35:08.863283131 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/partition_join.out 2024-03-20 08:38:21.775171508 +0000 @@ -510,25 +510,30 @@ SELECT * FROM prt1 t1 JOIN LATERAL (SELECT * FROM prt1 t2 TABLESAMPLE SYSTEM (t1.a) REPEATABLE(t1.b)) s ON t1.a = s.a; - QUERY PLAN -------------------------------------------------------------- - Append - -> Nested Loop - -> Seq Scan on prt1_p1 t1_1 - -> Sample Scan on prt1_p1 t2_1 - Sampling: system (t1_1.a) REPEATABLE (t1_1.b) - Filter: (t1_1.a = a) - -> Nested Loop - -> Seq Scan on prt1_p2 t1_2 - -> Sample Scan on prt1_p2 t2_2 - Sampling: system (t1_2.a) REPEATABLE (t1_2.b) - Filter: (t1_2.a = a) - -> Nested Loop - -> Seq Scan on prt1_p3 t1_3 - -> Sample Scan on prt1_p3 t2_3 - Sampling: system (t1_3.a) REPEATABLE (t1_3.b) - Filter: (t1_3.a = a) -(16 rows) + QUERY PLAN +------------------------------------------------------------------------- + Gather + Workers Planned: 2 + -> Parallel Append + -> Nested Loop + -> Parallel Seq Scan on prt1_p1 t1_1 + -> Materialize + -> Sample Scan on prt1_p1 t2_1 + Sampling: system (t1_1.a) REPEATABLE (t1_1.b) + Filter: (t1_1.a = a) + -> Nested Loop + -> Parallel Seq Scan on prt1_p2 t1_2 + -> Materialize + -> Sample Scan on prt1_p2 t2_2 + Sampling: system (t1_2.a) REPEATABLE (t1_2.b) + Filter: (t1_2.a = a) + -> Nested Loop + -> Parallel Seq Scan on prt1_p3 t1_3 + -> Materialize + -> Sample Scan on prt1_p3 t2_3 + Sampling: system (t1_3.a) REPEATABLE (t1_3.b) + Filter: (t1_3.a = a) +(21 rows) -- lateral reference in scan's restriction clauses EXPLAIN (COSTS OFF) @@ -2041,35 +2046,42 @@ SELECT * FROM prt1_l t1 JOIN LATERAL (SELECT * FROM prt1_l t2 TABLESAMPLE SYSTEM (t1.a) REPEATABLE(t1.b)) s ON t1.a = s.a AND t1.b = s.b AND t1.c = s.c; - QUERY PLAN ----------------------------------------------------------------------------------------- - Append - -> Nested Loop - -> Seq Scan on prt1_l_p1 t1_1 - -> Sample Scan on prt1_l_p1 t2_1 - Sampling: system (t1_1.a) REPEATABLE (t1_1.b) - Filter: ((t1_1.a = a) AND (t1_1.b = b) AND ((t1_1.c)::text = (c)::text)) - -> Nested Loop - -> Seq Scan on prt1_l_p2_p1 t1_2 - -> Sample Scan on prt1_l_p2_p1 t2_2 - Sampling: system (t1_2.a) REPEATABLE (t1_2.b) - Filter: ((t1_2.a = a) AND (t1_2.b = b) AND ((t1_2.c)::text = (c)::text)) - -> Nested Loop - -> Seq Scan on prt1_l_p2_p2 t1_3 - -> Sample Scan on prt1_l_p2_p2 t2_3 - Sampling: system (t1_3.a) REPEATABLE (t1_3.b) - Filter: ((t1_3.a = a) AND (t1_3.b = b) AND ((t1_3.c)::text = (c)::text)) - -> Nested Loop - -> Seq Scan on prt1_l_p3_p1 t1_4 - -> Sample Scan on prt1_l_p3_p1 t2_4 - Sampling: system (t1_4.a) REPEATABLE (t1_4.b) - Filter: ((t1_4.a = a) AND (t1_4.b = b) AND ((t1_4.c)::text = (c)::text)) - -> Nested Loop - -> Seq Scan on prt1_l_p3_p2 t1_5 - -> Sample Scan on prt1_l_p3_p2 t2_5 - Sampling: system (t1_5.a) REPEATABLE (t1_5.b) - Filter: ((t1_5.a = a) AND (t1_5.b = b) AND ((t1_5.c)::text = (c)::text)) -(26 rows) + QUERY PLAN +---------------------------------------------------------------------------------------------------- + Gather + Workers Planned: 2 + -> Parallel Append + -> Nested Loop + -> Parallel Seq Scan on prt1_l_p1 t1_1 + -> Materialize + -> Sample Scan on prt1_l_p1 t2_1 + Sampling: system (t1_1.a) REPEATABLE (t1_1.b) + Filter: ((t1_1.a = a) AND (t1_1.b = b) AND ((t1_1.c)::text = (c)::text)) + -> Nested Loop + -> Parallel Seq Scan on prt1_l_p2_p2 t1_3 + -> Materialize + -> Sample Scan on prt1_l_p2_p2 t2_3 + Sampling: system (t1_3.a) REPEATABLE (t1_3.b) + Filter: ((t1_3.a = a) AND (t1_3.b = b) AND ((t1_3.c)::text = (c)::text)) + -> Nested Loop + -> Parallel Seq Scan on prt1_l_p2_p1 t1_2 + -> Materialize + -> Sample Scan on prt1_l_p2_p1 t2_2 + Sampling: system (t1_2.a) REPEATABLE (t1_2.b) + Filter: ((t1_2.a = a) AND (t1_2.b = b) AND ((t1_2.c)::text = (c)::text)) + -> Nested Loop + -> Parallel Seq Scan on prt1_l_p3_p1 t1_4 + -> Materialize + -> Sample Scan on prt1_l_p3_p1 t2_4 + Sampling: system (t1_4.a) REPEATABLE (t1_4.b) + Filter: ((t1_4.a = a) AND (t1_4.b = b) AND ((t1_4.c)::text = (c)::text)) + -> Nested Loop + -> Parallel Seq Scan on prt1_l_p3_p2 t1_5 + -> Materialize + -> Sample Scan on prt1_l_p3_p2 t2_5 + Sampling: system (t1_5.a) REPEATABLE (t1_5.b) + Filter: ((t1_5.a = a) AND (t1_5.b = b) AND ((t1_5.c)::text = (c)::text)) +(33 rows) -- partitionwise join with lateral reference in scan's restriction clauses EXPLAIN (COSTS OFF) === EOF === [08:38:23.936](60.020s) not ok 2 - regression tests pass [08:38:23.937](0.000s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [08:38:23.937](0.000s) # got: '256' # expected: '0' 1 1 1 1 2 1 1 9 5 5 3 4 3 4 4 1 32 1 1 1 6 104 2 1 4001 5 1006 1 2 41 -2 5 17 9 33 34 1 1 1 1 1 -1 1 1 -1 -32768 32767 46 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/1475F198 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 50196 --no-unlogged-table-data [08:38:26.681](2.744s) ok 3 - dump primary server # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 50197 [08:38:29.829](3.149s) ok 4 - dump standby server # Running: diff /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/standby.dump [08:38:29.863](0.033s) ok 5 - compare primary and standby dumps [08:38:30.131](0.269s) ok 6 - check contents of pg_stat_statements on regression database ### Stopping node "standby_1" using mode fast # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/pgdata -m fast stop waiting for server to shut down... done server stopped # No postmaster PID for node "standby_1" ### Stopping node "primary" using mode fast # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata -m fast stop waiting for server to shut down.... done server stopped # No postmaster PID for node "primary" [08:38:30.264](0.132s) 1..6 [08:38:30.265](0.001s) # Looks like you failed 1 test of 6.