# Checking port 50580 # Found port 50580 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=50580 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/oXQIqpilkT Log file: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [16:21:19.236](0.022s) # 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 13371 (standby_1,) [16:21:19.606](0.370s) 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/oXQIqpilkT -p 50580 --checkpoint fast --no-sync # Backup finished # Checking port 50581 # Found port 50581 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=50581 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/oXQIqpilkT 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 13515 # using postmaster on /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/oXQIqpilkT, port 50580 ok 1 - test_setup 644 ms # parallel group (20 tests): varchar char oid name pg_lsn txid text uuid int2 money regproc int4 float4 boolean bit int8 enum float8 rangetypes numeric ok 2 + boolean 270 ms ok 3 + char 182 ms ok 4 + name 232 ms ok 5 + varchar 116 ms ok 6 + text 250 ms ok 7 + int2 252 ms ok 8 + int4 257 ms ok 9 + int8 277 ms ok 10 + oid 214 ms ok 11 + float4 248 ms ok 12 + float8 750 ms ok 13 + bit 252 ms ok 14 + numeric 1548 ms ok 15 + txid 216 ms ok 16 + uuid 220 ms ok 17 + enum 428 ms ok 18 + money 216 ms ok 19 + rangetypes 1324 ms ok 20 + pg_lsn 191 ms ok 21 + regproc 210 ms # parallel group (20 tests): md5 path lseg macaddr circle line time timetz macaddr8 numerology point inet interval date box polygon strings timestamp timestamptz multirangetypes ok 22 + strings 971 ms ok 23 + md5 131 ms ok 24 + numerology 312 ms ok 25 + point 309 ms ok 26 + lseg 207 ms ok 27 + line 222 ms ok 28 + box 921 ms ok 29 + path 176 ms ok 30 + polygon 942 ms ok 31 + circle 206 ms ok 32 + date 329 ms ok 33 + time 281 ms ok 34 + timetz 279 ms ok 35 + timestamp 963 ms ok 36 + timestamptz 1086 ms ok 37 + interval 311 ms ok 38 + inet 292 ms ok 39 + macaddr 176 ms ok 40 + macaddr8 265 ms ok 41 + multirangetypes 1252 ms # parallel group (12 tests): comments misc_sanity unicode mvcc xid expressions tstypes geometry type_sanity horology regex opr_sanity ok 42 + geometry 365 ms ok 43 + horology 399 ms ok 44 + tstypes 343 ms ok 45 + regex 663 ms ok 46 + type_sanity 364 ms ok 47 + opr_sanity 711 ms ok 48 + misc_sanity 216 ms ok 49 + comments 56 ms ok 50 + expressions 320 ms ok 51 + unicode 226 ms ok 52 + xid 306 ms ok 53 + mvcc 287 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 610 ms ok 55 + copyselect 349 ms ok 56 + copydml 374 ms ok 57 + insert 1586 ms ok 58 + insert_conflict 987 ms # parallel group (7 tests): create_function_c create_schema create_operator create_type create_procedure create_misc create_table ok 59 + create_function_c 36 ms ok 60 + create_misc 754 ms ok 61 + create_operator 478 ms ok 62 + create_procedure 735 ms ok 63 + create_table 3702 ms ok 64 + create_type 707 ms ok 65 + create_schema 90 ms # parallel group (5 tests): index_including_gist index_including create_view create_index_spgist create_index ok 66 + create_index 2868 ms ok 67 + create_index_spgist 1411 ms ok 68 + create_view 1390 ms ok 69 + index_including 1221 ms ok 70 + index_including_gist 909 ms # parallel group (16 tests): infinite_recurse create_cast errors hash_func typed_table create_aggregate roleattributes select create_am drop_if_exists create_function_sql vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 626 ms ok 72 + create_function_sql 1172 ms ok 73 + create_cast 340 ms ok 74 + constraints 1602 ms ok 75 + triggers 3775 ms ok 76 + select 1008 ms ok 77 + inherit 3246 ms ok 78 + typed_table 505 ms ok 79 + vacuum 1539 ms ok 80 + drop_if_exists 1077 ms ok 81 + updatable_views 3170 ms ok 82 + roleattributes 965 ms ok 83 + create_am 1016 ms ok 84 + hash_func 436 ms ok 85 + errors 318 ms ok 86 + infinite_recurse 182 ms ok 87 - sanity_check 283 ms # parallel group (20 tests): select_distinct_on select_having case delete random namespace select_implicit prepared_xacts select_into transactions select_distinct union portals subselect arrays update hash_index btree_index aggregates join ok 88 + select_into 231 ms ok 89 + select_distinct 662 ms ok 90 + select_distinct_on 88 ms ok 91 + select_implicit 178 ms ok 92 + select_having 133 ms ok 93 + subselect 1300 ms ok 94 + union 833 ms ok 95 + case 128 ms ok 96 + join 3259 ms ok 97 + aggregates 2978 ms ok 98 + transactions 384 ms ok 99 + random 135 ms ok 100 + portals 1189 ms ok 101 + arrays 1842 ms ok 102 + btree_index 2882 ms ok 103 + hash_index 2000 ms ok 104 + update 1936 ms ok 105 + delete 102 ms ok 106 + namespace 135 ms ok 107 + prepared_xacts 168 ms # parallel group (20 tests): init_privs drop_operator security_label tablesample lock collate replica_identity password spgist object_address gin groupingsets gist identity matview generated rowsecurity brin join_hash privileges ok 108 + brin 4784 ms ok 109 + gin 1798 ms ok 110 + gist 2364 ms ok 111 + spgist 1404 ms ok 112 + privileges 5486 ms ok 113 + init_privs 290 ms ok 114 + security_label 544 ms ok 115 + collate 638 ms ok 116 + matview 3581 ms ok 117 + lock 590 ms ok 118 + replica_identity 1280 ms ok 119 + rowsecurity 4669 ms ok 120 + object_address 1384 ms ok 121 + tablesample 558 ms ok 122 + groupingsets 1939 ms ok 123 + drop_operator 466 ms ok 124 + password 1282 ms ok 125 + identity 2467 ms ok 126 + generated 3756 ms ok 127 + join_hash 4729 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 115 ms ok 129 + brin_multi 2024 ms # parallel group (17 tests): alter_operator dbsize incremental_sort async tid tidscan tidrangescan sysviews misc_functions without_overlaps create_role tsrf misc alter_generic create_table_like merge collate.icu.utf8 ok 130 + create_table_like 2316 ms ok 131 + alter_generic 1903 ms ok 132 + alter_operator 139 ms ok 133 + misc 1450 ms ok 134 + async 299 ms ok 135 + dbsize 161 ms ok 136 + merge 2420 ms ok 137 + misc_functions 1007 ms ok 138 + sysviews 792 ms ok 139 + tsrf 1039 ms ok 140 + tid 353 ms ok 141 + tidscan 388 ms ok 142 + tidrangescan 385 ms ok 143 + collate.icu.utf8 2471 ms ok 144 + incremental_sort 139 ms ok 145 + create_role 1002 ms ok 146 + without_overlaps 970 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab psql rules stats_ext ok 147 + rules 4334 ms ok 148 + psql 3800 ms ok 149 + psql_crosstab 1228 ms ok 150 + amutils 894 ms ok 151 + stats_ext 5621 ms ok 152 + collate.linux.utf8 633 ms ok 153 + collate.windows.win1252 629 ms not ok 154 - select_parallel 2089 ms ok 155 - write_parallel 128 ms ok 156 - vacuum_parallel 157 ms # parallel group (2 tests): subscription publication ok 157 + publication 1677 ms ok 158 + subscription 709 ms # parallel group (17 tests): advisory_lock combocid xmlmap bitmapops portals_p2 indirect_toast functional_deps tsdicts dependency select_views equivclass guc tsearch cluster window foreign_data foreign_key ok 159 + select_views 1936 ms ok 160 + portals_p2 1148 ms ok 161 + foreign_key 5988 ms ok 162 + cluster 2981 ms ok 163 + dependency 1914 ms ok 164 + guc 1977 ms ok 165 + bitmapops 1064 ms ok 166 + combocid 544 ms ok 167 + tsearch 2109 ms ok 168 + tsdicts 1899 ms ok 169 + foreign_data 4779 ms ok 170 + window 3668 ms ok 171 + xmlmap 1043 ms ok 172 + functional_deps 1172 ms ok 173 + advisory_lock 353 ms ok 174 + indirect_toast 1137 ms ok 175 + equivclass 1904 ms # parallel group (7 tests): jsonpath_encoding jsonpath json_encoding jsonb_jsonpath sqljson json jsonb ok 176 + json 1369 ms ok 177 + jsonb 2012 ms ok 178 + json_encoding 293 ms ok 179 + jsonpath 174 ms ok 180 + jsonpath_encoding 168 ms ok 181 + jsonb_jsonpath 1165 ms ok 182 + sqljson 1245 ms # parallel group (18 tests): prepare returning temp plancache conversion truncate limit sequence copy2 rowtypes rangefuncs polymorphism xml largeobject with domain plpgsql alter_table ok 183 + plancache 483 ms ok 184 + limit 804 ms ok 185 + plpgsql 5119 ms ok 186 + copy2 910 ms ok 187 + temp 409 ms ok 188 + domain 2000 ms ok 189 + rangefuncs 1085 ms ok 190 + prepare 206 ms ok 191 + conversion 499 ms ok 192 + truncate 772 ms ok 193 + alter_table 7455 ms ok 194 + sequence 880 ms ok 195 + polymorphism 1076 ms ok 196 + rowtypes 1041 ms ok 197 + returning 320 ms ok 198 + largeobject 1704 ms ok 199 + with 1785 ms ok 200 + xml 1697 ms # parallel group (13 tests): predicate hash_part reloptions partition_info explain memoize compression partition_aggregate stats tuplesort partition_prune indexing partition_join ok 201 + partition_join 6193 ms ok 202 + partition_prune 4219 ms ok 203 + reloptions 147 ms ok 204 + hash_part 129 ms ok 205 + indexing 5169 ms ok 206 + partition_aggregate 1870 ms ok 207 + partition_info 165 ms ok 208 + tuplesort 3464 ms ok 209 + explain 171 ms ok 210 + compression 1327 ms ok 211 + memoize 244 ms ok 212 + stats 2994 ms ok 213 + predicate 81 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 220 ms ok 215 + event_trigger 1811 ms ok 216 - event_trigger_login 111 ms ok 217 - fast_default 456 ms ok 218 - tablespace 1615 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-02 16:19:05 +++ /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out 2024-03-02 16:22:00 @@ -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 === [16:22:30.403](70.796s) not ok 2 - regression tests pass [16:22:30.403](0.000s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/test/recovery/t/027_stream_regress.pl line 95. [16:22:30.403](0.000s) # got: '256' # expected: '0' 41 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 46 5 17 1 -2 33 34 1 1 1 1 1 -1 1 1 -1 -32768 32767 9 1 Waiting for replication conn standby_1's replay_lsn to pass 0/141CD700 on primary done # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 50580 --no-unlogged-table-data [16:22:35.741](5.338s) ok 3 - dump primary server # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 50581 [16:22:44.052](8.311s) 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 [16:22:44.614](0.561s) ok 5 - compare primary and standby dumps [16:22:46.314](1.700s) 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" [16:22:46.684](0.369s) 1..6 [16:22:46.685](0.001s) # Looks like you failed 1 test of 6.