# Checking port 57933 # Found port 57933 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=57933 host=/tmp/YoRq3KvFKG Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [05:08:53.838](0.040s) # 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 28894 (standby_1,) [05:08:54.332](0.494s) 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/YoRq3KvFKG -p 57933 --checkpoint fast --no-sync # Backup finished # Checking port 57934 # Found port 57934 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=57934 host=/tmp/YoRq3KvFKG 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 29034 # using postmaster on /tmp/YoRq3KvFKG, port 57933 ok 1 - test_setup 585 ms # parallel group (20 tests): txid oid pg_lsn char int2 name text varchar int4 regproc uuid money float4 float8 int8 enum bit boolean numeric rangetypes ok 2 + boolean 393 ms ok 3 + char 136 ms ok 4 + name 153 ms ok 5 + varchar 174 ms ok 6 + text 165 ms ok 7 + int2 145 ms ok 8 + int4 175 ms ok 9 + int8 258 ms ok 10 + oid 128 ms ok 11 + float4 202 ms ok 12 + float8 246 ms ok 13 + bit 376 ms ok 14 + numeric 1218 ms ok 15 + txid 118 ms ok 16 + uuid 193 ms ok 17 + enum 286 ms ok 18 + money 194 ms ok 19 + rangetypes 1244 ms ok 20 + pg_lsn 130 ms ok 21 + regproc 176 ms # parallel group (20 tests): line path lseg md5 circle time timetz macaddr macaddr8 numerology inet date point strings interval timestamp timestamptz polygon multirangetypes box ok 22 + strings 484 ms ok 23 + md5 107 ms ok 24 + numerology 218 ms ok 25 + point 361 ms ok 26 + lseg 82 ms ok 27 + line 70 ms ok 28 + box 1355 ms ok 29 + path 74 ms ok 30 + polygon 978 ms ok 31 + circle 129 ms ok 32 + date 258 ms ok 33 + time 133 ms ok 34 + timetz 158 ms ok 35 + timestamp 587 ms ok 36 + timestamptz 659 ms ok 37 + interval 518 ms ok 38 + inet 218 ms ok 39 + macaddr 166 ms ok 40 + macaddr8 176 ms ok 41 + multirangetypes 1138 ms # parallel group (12 tests): comments unicode misc_sanity xid tstypes expressions mvcc type_sanity geometry horology regex opr_sanity ok 42 + geometry 521 ms ok 43 + horology 587 ms ok 44 + tstypes 260 ms ok 45 + regex 954 ms ok 46 + type_sanity 393 ms ok 47 + opr_sanity 1297 ms ok 48 + misc_sanity 106 ms ok 49 + comments 35 ms ok 50 + expressions 283 ms ok 51 + unicode 104 ms ok 52 + xid 154 ms ok 53 + mvcc 341 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 311 ms ok 55 + copyselect 90 ms ok 56 + copydml 109 ms ok 57 + insert 999 ms ok 58 + insert_conflict 429 ms # parallel group (7 tests): create_operator create_function_c create_type create_schema create_procedure create_misc create_table ok 59 + create_function_c 68 ms ok 60 + create_misc 163 ms ok 61 + create_operator 65 ms ok 62 + create_procedure 154 ms ok 63 + create_table 1156 ms ok 64 + create_type 133 ms ok 65 + create_schema 143 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 3718 ms ok 67 + create_index_spgist 3146 ms ok 68 + create_view 1901 ms ok 69 + index_including 960 ms ok 70 + index_including_gist 1099 ms # parallel group (16 tests): create_cast errors hash_func create_aggregate roleattributes drop_if_exists create_function_sql typed_table create_am select infinite_recurse vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 184 ms ok 72 + create_function_sql 476 ms ok 73 + create_cast 107 ms ok 74 + constraints 1474 ms ok 75 + triggers 5708 ms ok 76 + select 605 ms ok 77 + inherit 2464 ms ok 78 + typed_table 490 ms ok 79 + vacuum 1335 ms ok 80 + drop_if_exists 247 ms ok 81 + updatable_views 2123 ms ok 82 + roleattributes 196 ms ok 83 + create_am 543 ms ok 84 + hash_func 180 ms ok 85 + errors 127 ms ok 86 + infinite_recurse 778 ms ok 87 - sanity_check 297 ms # parallel group (20 tests): delete select_distinct_on select_having select_implicit random case namespace select_into prepared_xacts transactions portals select_distinct union arrays subselect update hash_index join aggregates btree_index ok 88 + select_into 328 ms ok 89 + select_distinct 818 ms ok 90 + select_distinct_on 142 ms ok 91 + select_implicit 172 ms ok 92 + select_having 153 ms ok 93 + subselect 1117 ms ok 94 + union 887 ms ok 95 + case 239 ms ok 96 + join 2794 ms ok 97 + aggregates 3215 ms ok 98 + transactions 555 ms ok 99 + random 193 ms ok 100 + portals 607 ms ok 101 + arrays 928 ms ok 102 + btree_index 6424 ms ok 103 + hash_index 1863 ms ok 104 + update 1819 ms ok 105 + delete 131 ms ok 106 + namespace 284 ms ok 107 + prepared_xacts 376 ms # parallel group (20 tests): init_privs drop_operator security_label lock tablesample password object_address replica_identity collate matview identity spgist generated groupingsets rowsecurity gist gin brin join_hash privileges ok 108 + brin 7908 ms ok 109 + gin 3837 ms ok 110 + gist 3269 ms ok 111 + spgist 2645 ms ok 112 + privileges 8539 ms ok 113 + init_privs 50 ms ok 114 + security_label 232 ms ok 115 + collate 1108 ms ok 116 + matview 1742 ms ok 117 + lock 347 ms ok 118 + replica_identity 946 ms ok 119 + rowsecurity 3164 ms ok 120 + object_address 572 ms ok 121 + tablesample 367 ms ok 122 + groupingsets 3057 ms ok 123 + drop_operator 148 ms ok 124 + password 462 ms ok 125 + identity 1774 ms ok 126 + generated 2934 ms ok 127 + join_hash 7932 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 326 ms ok 129 + brin_multi 1014 ms # parallel group (18 tests): async dbsize collate.utf8 tid alter_operator tsrf create_role tidscan tidrangescan sysviews misc_functions alter_generic without_overlaps incremental_sort create_table_like misc merge collate.icu.utf8 ok 130 + create_table_like 936 ms ok 131 + alter_generic 476 ms ok 132 + alter_operator 206 ms ok 133 + misc 1028 ms ok 134 + async 79 ms ok 135 + dbsize 94 ms ok 136 + merge 1234 ms ok 137 + misc_functions 377 ms ok 138 + sysviews 361 ms ok 139 + tsrf 205 ms ok 140 + tid 119 ms ok 141 + tidscan 268 ms ok 142 + tidrangescan 356 ms ok 143 + collate.utf8 115 ms ok 144 + collate.icu.utf8 1300 ms ok 145 + incremental_sort 849 ms ok 146 + create_role 251 ms ok 147 + without_overlaps 556 ms # parallel group (7 tests): collate.linux.utf8 amutils collate.windows.win1252 psql_crosstab rules psql stats_ext ok 148 + rules 1123 ms ok 149 + psql 1384 ms ok 150 + psql_crosstab 81 ms ok 151 + amutils 43 ms ok 152 + stats_ext 3001 ms ok 153 + collate.linux.utf8 38 ms ok 154 + collate.windows.win1252 45 ms ok 155 - select_parallel 6091 ms ok 156 - write_parallel 199 ms ok 157 - vacuum_parallel 289 ms # parallel group (2 tests): subscription publication ok 158 + publication 1980 ms ok 159 + subscription 170 ms # parallel group (17 tests): portals_p2 combocid advisory_lock xmlmap functional_deps tsdicts guc dependency equivclass select_views window bitmapops cluster indirect_toast foreign_data tsearch foreign_key ok 160 + select_views 498 ms ok 161 + portals_p2 111 ms ok 162 + foreign_key 2786 ms ok 163 + cluster 1211 ms ok 164 + dependency 349 ms ok 165 + guc 302 ms ok 166 + bitmapops 1184 ms ok 167 + combocid 187 ms ok 168 + tsearch 2451 ms ok 169 + tsdicts 299 ms ok 170 + foreign_data 1886 ms ok 171 + window 1081 ms ok 172 + xmlmap 210 ms ok 173 + functional_deps 287 ms ok 174 + advisory_lock 191 ms ok 175 + indirect_toast 1239 ms ok 176 + equivclass 354 ms # parallel group (8 tests): json_encoding jsonpath_encoding jsonpath sqljson json sqljson_queryfuncs jsonb_jsonpath jsonb ok 177 + json 276 ms ok 178 + jsonb 633 ms ok 179 + json_encoding 37 ms ok 180 + jsonpath 119 ms ok 181 + jsonpath_encoding 57 ms ok 182 + jsonb_jsonpath 300 ms ok 183 + sqljson 202 ms ok 184 + sqljson_queryfuncs 294 ms # parallel group (18 tests): prepare returning plancache limit conversion temp copy2 sequence largeobject rowtypes polymorphism truncate domain rangefuncs with xml plpgsql alter_table ok 185 + plancache 375 ms ok 186 + limit 466 ms ok 187 + plpgsql 2889 ms ok 188 + copy2 768 ms ok 189 + temp 662 ms ok 190 + domain 1236 ms ok 191 + rangefuncs 1305 ms ok 192 + prepare 179 ms ok 193 + conversion 614 ms ok 194 + truncate 1198 ms ok 195 + alter_table 3662 ms ok 196 + sequence 868 ms ok 197 + polymorphism 1143 ms ok 198 + rowtypes 995 ms ok 199 + returning 269 ms ok 200 + largeobject 972 ms ok 201 + with 1361 ms ok 202 + xml 2102 ms # parallel group (13 tests): hash_part reloptions explain partition_info predicate compression memoize stats partition_aggregate partition_join tuplesort indexing partition_prune not ok 203 + partition_join 2701 ms ok 204 + partition_prune 3037 ms ok 205 + reloptions 180 ms ok 206 + hash_part 144 ms ok 207 + indexing 2771 ms ok 208 + partition_aggregate 1914 ms ok 209 + partition_info 256 ms ok 210 + tuplesort 2712 ms ok 211 + explain 252 ms ok 212 + compression 700 ms ok 213 + memoize 830 ms ok 214 + stats 1624 ms ok 215 + predicate 268 ms # parallel group (2 tests): oidjoins event_trigger ok 216 + oidjoins 351 ms ok 217 + event_trigger 517 ms ok 218 - event_trigger_login 33 ms ok 219 - fast_default 235 ms ok 220 - tablespace 712 ms 1..220 # 1 of 220 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-24 05:05:13.919607735 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/partition_join.out 2024-03-24 05:09:52.331367205 +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 === [05:09:54.222](59.890s) not ok 2 - regression tests pass [05:09:54.223](0.000s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [05:09:54.223](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 5 1006 4001 1 2 41 5 -2 17 9 1 33 34 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/1467AF10 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 57933 --no-unlogged-table-data [05:09:56.973](2.750s) 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 57934 [05:09:59.618](2.645s) 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 [05:09:59.697](0.079s) ok 5 - compare primary and standby dumps [05:10:00.051](0.354s) 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" [05:10:00.170](0.119s) 1..6 [05:10:00.171](0.001s) # Looks like you failed 1 test of 6.