# Checking port 64901 # Found port 64901 Name: primary Data directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata Backup directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/backup Archive directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/archives Connection string: port=64901 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/Mq1wYmqG7H Log file: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [07:17:43.154](0.251s) # initializing database system by copying initdb template # Running: cp -RPp /Users/admin/pgsql/build/tmp_install/initdb-template /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata # Running: /Users/admin/pgsql/build/src/test/regress/pg_regress --config-auth /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata ### Starting node "primary" # Running: pg_ctl -w -D /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata -l /Users/admin/pgsql/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 14324 (standby_1,) [07:17:43.843](0.689s) ok 1 - physical slot created on primary # Taking pg_basebackup my_backup from node "primary" # Running: pg_basebackup -D /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/backup/my_backup -h /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/Mq1wYmqG7H -p 64901 --checkpoint fast --no-sync # Backup finished # Checking port 64902 # Found port 64902 Name: standby_1 Data directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/pgdata Backup directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/backup Archive directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/archives Connection string: port=64902 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/Mq1wYmqG7H Log file: /Users/admin/pgsql/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 /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/pgdata -l /Users/admin/pgsql/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 14499 # using postmaster on /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/Mq1wYmqG7H, port 64901 ok 1 - test_setup 704 ms # parallel group (20 tests): oid varchar char name int8 int2 text money int4 boolean float4 pg_lsn bit uuid txid regproc float8 enum rangetypes numeric ok 2 + boolean 265 ms ok 3 + char 212 ms ok 4 + name 212 ms ok 5 + varchar 202 ms ok 6 + text 244 ms ok 7 + int2 229 ms ok 8 + int4 246 ms ok 9 + int8 199 ms ok 10 + oid 128 ms ok 11 + float4 237 ms ok 12 + float8 276 ms ok 13 + bit 242 ms ok 14 + numeric 2060 ms ok 15 + txid 252 ms ok 16 + uuid 243 ms ok 17 + enum 304 ms ok 18 + money 195 ms ok 19 + rangetypes 1697 ms ok 20 + pg_lsn 213 ms ok 21 + regproc 237 ms # parallel group (20 tests): md5 lseg path circle line macaddr time numerology timetz point macaddr8 date inet timestamp polygon interval timestamptz box strings multirangetypes ok 22 + strings 1692 ms ok 23 + md5 250 ms ok 24 + numerology 687 ms ok 25 + point 742 ms ok 26 + lseg 352 ms ok 27 + line 478 ms ok 28 + box 1624 ms ok 29 + path 346 ms ok 30 + polygon 1365 ms ok 31 + circle 438 ms ok 32 + date 1227 ms ok 33 + time 506 ms ok 34 + timetz 686 ms ok 35 + timestamp 1255 ms ok 36 + timestamptz 1567 ms ok 37 + interval 1489 ms ok 38 + inet 1220 ms ok 39 + macaddr 451 ms ok 40 + macaddr8 744 ms ok 41 + multirangetypes 1959 ms # parallel group (12 tests): comments misc_sanity unicode mvcc xid expressions type_sanity tstypes geometry horology opr_sanity regex ok 42 + geometry 811 ms ok 43 + horology 1099 ms ok 44 + tstypes 735 ms ok 45 + regex 1260 ms ok 46 + type_sanity 641 ms ok 47 + opr_sanity 1150 ms ok 48 + misc_sanity 307 ms ok 49 + comments 205 ms ok 50 + expressions 464 ms ok 51 + unicode 306 ms ok 52 + xid 436 ms ok 53 + mvcc 305 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 597 ms ok 55 + copyselect 117 ms ok 56 + copydml 131 ms ok 57 + insert 1491 ms ok 58 + insert_conflict 1067 ms # parallel group (7 tests): create_function_c create_schema create_procedure create_operator create_type create_misc create_table ok 59 + create_function_c 62 ms ok 60 + create_misc 194 ms ok 61 + create_operator 153 ms ok 62 + create_procedure 118 ms ok 63 + create_table 1905 ms ok 64 + create_type 160 ms ok 65 + create_schema 77 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 3319 ms ok 67 + create_index_spgist 1705 ms ok 68 + create_view 1579 ms ok 69 + index_including 891 ms ok 70 + index_including_gist 906 ms # parallel group (16 tests): errors create_cast create_aggregate infinite_recurse typed_table select roleattributes hash_func drop_if_exists create_function_sql create_am vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 189 ms ok 72 + create_function_sql 663 ms ok 73 + create_cast 152 ms ok 74 + constraints 2400 ms ok 75 + triggers 7265 ms ok 76 + select 563 ms ok 77 + inherit 5232 ms ok 78 + typed_table 515 ms ok 79 + vacuum 2058 ms ok 80 + drop_if_exists 578 ms ok 81 + updatable_views 4664 ms ok 82 + roleattributes 567 ms ok 83 + create_am 680 ms ok 84 + hash_func 563 ms ok 85 + errors 71 ms ok 86 + infinite_recurse 244 ms ok 87 - sanity_check 1370 ms # parallel group (20 tests): delete select_distinct_on select_having random select_implicit namespace prepared_xacts case select_into select_distinct union transactions hash_index btree_index subselect portals update arrays aggregates join ok 88 + select_into 1050 ms ok 89 + select_distinct 1118 ms ok 90 + select_distinct_on 307 ms ok 91 + select_implicit 660 ms ok 92 + select_having 414 ms ok 93 + subselect 3639 ms ok 94 + union 3138 ms ok 95 + case 1035 ms ok 96 + join 5115 ms ok 97 + aggregates 4951 ms ok 98 + transactions 3273 ms ok 99 + random 618 ms ok 100 + portals 3634 ms ok 101 + arrays 3842 ms ok 102 + btree_index 3520 ms ok 103 + hash_index 3256 ms ok 104 + update 3771 ms ok 105 + delete 257 ms ok 106 + namespace 676 ms ok 107 + prepared_xacts 937 ms # parallel group (20 tests): drop_operator init_privs security_label tablesample object_address password spgist lock replica_identity gin gist groupingsets collate matview identity generated join_hash brin rowsecurity privileges ok 108 + brin 5707 ms ok 109 + gin 2440 ms ok 110 + gist 2778 ms ok 111 + spgist 1521 ms ok 112 + privileges 7678 ms ok 113 + init_privs 181 ms ok 114 + security_label 371 ms ok 115 + collate 3746 ms ok 116 + matview 4211 ms ok 117 + lock 1856 ms ok 118 + replica_identity 1873 ms ok 119 + rowsecurity 7393 ms ok 120 + object_address 1178 ms ok 121 + tablesample 654 ms ok 122 + groupingsets 3713 ms ok 123 + drop_operator 73 ms ok 124 + password 1222 ms ok 125 + identity 4486 ms ok 126 + generated 4943 ms ok 127 + join_hash 5451 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 105 ms ok 129 + brin_multi 959 ms # parallel group (17 tests): async dbsize sysviews tsrf tidscan tidrangescan tid alter_operator create_role misc_functions misc incremental_sort without_overlaps alter_generic create_table_like merge collate.icu.utf8 ok 130 + create_table_like 1999 ms ok 131 + alter_generic 1633 ms ok 132 + alter_operator 320 ms ok 133 + misc 1018 ms ok 134 + async 125 ms ok 135 + dbsize 131 ms ok 136 + merge 3487 ms ok 137 + misc_functions 993 ms ok 138 + sysviews 221 ms ok 139 + tsrf 233 ms ok 140 + tid 295 ms ok 141 + tidscan 249 ms ok 142 + tidrangescan 275 ms ok 143 + collate.icu.utf8 4774 ms ok 144 + incremental_sort 1034 ms ok 145 + create_role 957 ms ok 146 + without_overlaps 1429 ms # parallel group (7 tests): collate.linux.utf8 collate.windows.win1252 amutils psql_crosstab rules psql stats_ext ok 147 + rules 4553 ms ok 148 + psql 4582 ms ok 149 + psql_crosstab 1670 ms ok 150 + amutils 1099 ms ok 151 + stats_ext 5990 ms ok 152 + collate.linux.utf8 401 ms ok 153 + collate.windows.win1252 399 ms not ok 154 - select_parallel 2210 ms ok 155 - write_parallel 276 ms ok 156 - vacuum_parallel 259 ms # parallel group (2 tests): subscription publication ok 157 + publication 2374 ms ok 158 + subscription 606 ms # parallel group (17 tests): portals_p2 functional_deps combocid bitmapops advisory_lock xmlmap dependency indirect_toast guc tsdicts select_views equivclass cluster tsearch window foreign_data foreign_key ok 159 + select_views 1310 ms ok 160 + portals_p2 181 ms ok 161 + foreign_key 5975 ms ok 162 + cluster 2150 ms ok 163 + dependency 902 ms ok 164 + guc 1164 ms ok 165 + bitmapops 842 ms ok 166 + combocid 808 ms ok 167 + tsearch 2433 ms ok 168 + tsdicts 1266 ms ok 169 + foreign_data 4639 ms ok 170 + window 3363 ms ok 171 + xmlmap 864 ms ok 172 + functional_deps 395 ms ok 173 + advisory_lock 820 ms ok 174 + indirect_toast 999 ms ok 175 + equivclass 1280 ms # parallel group (7 tests): jsonpath_encoding jsonpath json_encoding jsonb_jsonpath sqljson json jsonb ok 176 + json 776 ms ok 177 + jsonb 1614 ms ok 178 + json_encoding 216 ms ok 179 + jsonpath 163 ms ok 180 + jsonpath_encoding 137 ms ok 181 + jsonb_jsonpath 610 ms ok 182 + sqljson 700 ms # parallel group (18 tests): conversion prepare returning limit plancache temp truncate rowtypes copy2 xml largeobject sequence with polymorphism domain rangefuncs plpgsql alter_table ok 183 + plancache 585 ms ok 184 + limit 582 ms ok 185 + plpgsql 4064 ms ok 186 + copy2 837 ms ok 187 + temp 720 ms ok 188 + domain 1814 ms ok 189 + rangefuncs 1897 ms ok 190 + prepare 279 ms ok 191 + conversion 129 ms ok 192 + truncate 750 ms ok 193 + alter_table 6228 ms ok 194 + sequence 1562 ms ok 195 + polymorphism 1723 ms ok 196 + rowtypes 772 ms ok 197 + returning 487 ms ok 198 + largeobject 1430 ms ok 199 + with 1563 ms ok 200 + xml 1251 ms # parallel group (13 tests): predicate hash_part partition_info reloptions explain memoize compression tuplesort partition_aggregate stats indexing partition_join partition_prune ok 201 + partition_join 13924 ms ok 202 + partition_prune 14820 ms ok 203 + reloptions 539 ms ok 204 + hash_part 496 ms ok 205 + indexing 13364 ms ok 206 + partition_aggregate 6564 ms ok 207 + partition_info 524 ms ok 208 + tuplesort 4299 ms ok 209 + explain 967 ms ok 210 + compression 3160 ms ok 211 + memoize 1843 ms ok 212 + stats 8550 ms ok 213 + predicate 457 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 727 ms ok 215 + event_trigger 1800 ms ok 216 - event_trigger_login 59 ms ok 217 - fast_default 2621 ms ok 218 - tablespace 1573 ms 1..218 # 1 of 218 tests failed. # The differences that caused some tests to fail can be viewed in the file "/Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/regression.diffs". # A copy of the test summary that you see above is saved in the file "/Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/regression.out". === dumping /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/regression.diffs === diff -U3 /Users/admin/pgsql/src/test/regress/expected/select_parallel.out /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out --- /Users/admin/pgsql/src/test/regress/expected/select_parallel.out 2024-03-13 07:15:20 +++ /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out 2024-03-13 07:18:37 @@ -451,26 +451,36 @@ join tenk1 t3 on t3.stringu1 = tenk1.stringu1 where tenk1.four = t.four ); - QUERY PLAN ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - Seq Scan on public.tenk1 t + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Hash Join Output: t.unique1, t.unique2, t.two, t.four, t.ten, t.twenty, t.hundred, t.thousand, t.twothousand, t.fivethous, t.tenthous, t.odd, t.even, t.stringu1, t.stringu2, t.string4 - Filter: (SubPlan 1) - SubPlan 1 - -> Hash Join - Output: t.two - Hash Cond: (tenk1.stringu1 = t3.stringu1) - -> Seq Scan on public.tenk1 - Output: tenk1.unique1, tenk1.unique2, tenk1.two, tenk1.four, tenk1.ten, tenk1.twenty, tenk1.hundred, tenk1.thousand, tenk1.twothousand, tenk1.fivethous, tenk1.tenthous, tenk1.odd, tenk1.even, tenk1.stringu1, tenk1.stringu2, tenk1.string4 - Filter: (tenk1.four = t.four) - -> Hash - Output: t3.stringu1 - -> Gather - Output: t3.stringu1 - Workers Planned: 4 - -> Parallel Seq Scan on public.tenk1 t3 - Output: t3.stringu1 -(17 rows) + Inner Unique: true + Hash Cond: (t.four = tenk1.four) + -> Gather + Output: t.unique1, t.unique2, t.two, t.four, t.ten, t.twenty, t.hundred, t.thousand, t.twothousand, t.fivethous, t.tenthous, t.odd, t.even, t.stringu1, t.stringu2, t.string4 + Workers Planned: 4 + -> Parallel Seq Scan on public.tenk1 t + Output: t.unique1, t.unique2, t.two, t.four, t.ten, t.twenty, t.hundred, t.thousand, t.twothousand, t.fivethous, t.tenthous, t.odd, t.even, t.stringu1, t.stringu2, t.string4 + Filter: (t.two IS NOT NULL) + -> Hash + Output: tenk1.four + -> HashAggregate + Output: tenk1.four + Group Key: tenk1.four + -> Gather + Output: tenk1.four + Workers Planned: 4 + -> Parallel Hash Join + Output: tenk1.four + Hash Cond: (tenk1.stringu1 = t3.stringu1) + -> Parallel Seq Scan on public.tenk1 + Output: tenk1.unique1, tenk1.unique2, tenk1.two, tenk1.four, tenk1.ten, tenk1.twenty, tenk1.hundred, tenk1.thousand, tenk1.twothousand, tenk1.fivethous, tenk1.tenthous, tenk1.odd, tenk1.even, tenk1.stringu1, tenk1.stringu2, tenk1.string4 + -> Parallel Hash + Output: t3.stringu1 + -> Parallel Seq Scan on public.tenk1 t3 + Output: t3.stringu1 +(27 rows) -- this is not parallel-safe due to use of random() within SubLink's testexpr: explain (costs off) === EOF === [07:19:16.564](92.721s) not ok 2 - regression tests pass [07:19:16.565](0.001s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/test/recovery/t/027_stream_regress.pl line 95. [07:19:16.565](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 9 1 5 5 4001 3 4 3 41 4 4 1 32 1 1 1 6 104 2 1 5 1006 1 2 5 17 33 34 46 9 1 1 1 1 1 -1 1 1 -1 -32768 32767 -2 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/14E68B90 on primary done # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 64901 --no-unlogged-table-data [07:19:22.576](6.011s) ok 3 - dump primary server # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 64902 [07:19:49.153](26.577s) ok 4 - dump standby server # Running: diff /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump [07:19:50.603](1.451s) ok 5 - compare primary and standby dumps [07:19:51.277](0.673s) ok 6 - check contents of pg_stat_statements on regression database ### Stopping node "standby_1" using mode fast # Running: pg_ctl -D /Users/admin/pgsql/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 /Users/admin/pgsql/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" [07:19:51.686](0.409s) 1..6 [07:19:51.687](0.001s) # Looks like you failed 1 test of 6.