# Checking port 49904 # Found port 49904 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=49904 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/StS_2b9PsJ Log file: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [19:26:27.786](0.014s) # 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 12786 (standby_1,) [19:26:28.803](1.017s) 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/StS_2b9PsJ -p 49904 --checkpoint fast --no-sync # Backup finished # Checking port 49905 # Found port 49905 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=49905 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/StS_2b9PsJ 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 12946 # using postmaster on /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/StS_2b9PsJ, port 49904 ok 1 - test_setup 3219 ms # parallel group (20 tests): varchar char oid regproc name float4 pg_lsn txid text uuid money boolean int4 bit int2 float8 int8 enum numeric rangetypes ok 2 + boolean 351 ms ok 3 + char 254 ms ok 4 + name 280 ms ok 5 + varchar 244 ms ok 6 + text 301 ms ok 7 + int2 780 ms ok 8 + int4 736 ms ok 9 + int8 811 ms ok 10 + oid 264 ms ok 11 + float4 260 ms ok 12 + float8 793 ms ok 13 + bit 749 ms ok 14 + numeric 1988 ms ok 15 + txid 260 ms ok 16 + uuid 297 ms ok 17 + enum 792 ms ok 18 + money 292 ms ok 19 + rangetypes 2385 ms ok 20 + pg_lsn 236 ms ok 21 + regproc 227 ms # parallel group (20 tests): md5 lseg line path time circle timetz macaddr8 macaddr numerology point polygon inet date timestamp timestamptz interval box strings multirangetypes ok 22 + strings 1916 ms ok 23 + md5 149 ms ok 24 + numerology 1330 ms ok 25 + point 1336 ms ok 26 + lseg 730 ms ok 27 + line 755 ms ok 28 + box 1877 ms ok 29 + path 1012 ms ok 30 + polygon 1397 ms ok 31 + circle 1265 ms ok 32 + date 1410 ms ok 33 + time 1166 ms ok 34 + timetz 1272 ms ok 35 + timestamp 1524 ms ok 36 + timestamptz 1800 ms ok 37 + interval 1802 ms ok 38 + inet 1385 ms ok 39 + macaddr 1274 ms ok 40 + macaddr8 1270 ms ok 41 + multirangetypes 1906 ms # parallel group (12 tests): comments misc_sanity mvcc unicode regex xid tstypes expressions type_sanity horology geometry opr_sanity ok 42 + geometry 1335 ms ok 43 + horology 1313 ms ok 44 + tstypes 1070 ms ok 45 + regex 581 ms ok 46 + type_sanity 1089 ms ok 47 + opr_sanity 1351 ms ok 48 + misc_sanity 219 ms ok 49 + comments 41 ms ok 50 + expressions 1069 ms ok 51 + unicode 287 ms ok 52 + xid 1049 ms ok 53 + mvcc 276 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 1222 ms ok 55 + copyselect 443 ms ok 56 + copydml 464 ms ok 57 + insert 5832 ms ok 58 + insert_conflict 2989 ms # parallel group (7 tests): create_function_c create_schema create_operator create_procedure create_type create_misc create_table ok 59 + create_function_c 51 ms ok 60 + create_misc 2500 ms ok 61 + create_operator 1238 ms ok 62 + create_procedure 2478 ms ok 63 + create_table 3858 ms ok 64 + create_type 2476 ms ok 65 + create_schema 1197 ms # parallel group (5 tests): index_including_gist index_including create_index_spgist create_view create_index ok 66 + create_index 3427 ms ok 67 + create_index_spgist 1605 ms ok 68 + create_view 2011 ms ok 69 + index_including 1356 ms ok 70 + index_including_gist 1211 ms # parallel group (16 tests): infinite_recurse errors create_cast typed_table create_aggregate hash_func roleattributes create_am select drop_if_exists create_function_sql vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 1827 ms ok 72 + create_function_sql 2812 ms ok 73 + create_cast 1115 ms ok 74 + constraints 4413 ms ok 75 + triggers 8836 ms ok 76 + select 2428 ms ok 77 + inherit 5688 ms ok 78 + typed_table 1409 ms ok 79 + vacuum 3346 ms ok 80 + drop_if_exists 2687 ms ok 81 + updatable_views 5478 ms ok 82 + roleattributes 2297 ms ok 83 + create_am 2331 ms ok 84 + hash_func 1793 ms ok 85 + errors 1036 ms ok 86 + infinite_recurse 198 ms ok 87 - sanity_check 1440 ms # parallel group (20 tests): delete select_distinct_on random select_having namespace prepared_xacts select_implicit case select_distinct select_into hash_index union btree_index transactions portals subselect update arrays aggregates join ok 88 + select_into 1157 ms ok 89 + select_distinct 1117 ms ok 90 + select_distinct_on 530 ms ok 91 + select_implicit 849 ms ok 92 + select_having 596 ms ok 93 + subselect 4046 ms ok 94 + union 3326 ms ok 95 + case 942 ms ok 96 + join 5551 ms ok 97 + aggregates 4843 ms ok 98 + transactions 3381 ms ok 99 + random 534 ms ok 100 + portals 3486 ms ok 101 + arrays 4333 ms ok 102 + btree_index 3316 ms ok 103 + hash_index 2501 ms ok 104 + update 4177 ms ok 105 + delete 466 ms ok 106 + namespace 607 ms ok 107 + prepared_xacts 751 ms # parallel group (20 tests): init_privs drop_operator security_label tablesample password spgist object_address replica_identity lock gin gist collate groupingsets matview identity generated join_hash brin rowsecurity privileges ok 108 + brin 6012 ms ok 109 + gin 1566 ms ok 110 + gist 1740 ms ok 111 + spgist 1271 ms ok 112 + privileges 12023 ms ok 113 + init_privs 226 ms ok 114 + security_label 592 ms ok 115 + collate 2218 ms ok 116 + matview 3066 ms ok 117 + lock 1545 ms ok 118 + replica_identity 1522 ms ok 119 + rowsecurity 9635 ms ok 120 + object_address 1456 ms ok 121 + tablesample 1232 ms ok 122 + groupingsets 3018 ms ok 123 + drop_operator 248 ms ok 124 + password 1225 ms ok 125 + identity 3242 ms ok 126 + generated 4261 ms ok 127 + join_hash 5924 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 110 ms ok 129 + brin_multi 1371 ms # parallel group (17 tests): async dbsize sysviews tidrangescan alter_operator tid tidscan tsrf misc incremental_sort without_overlaps misc_functions create_role create_table_like alter_generic merge collate.icu.utf8 ok 130 + create_table_like 2731 ms ok 131 + alter_generic 3184 ms ok 132 + alter_operator 540 ms ok 133 + misc 646 ms ok 134 + async 321 ms ok 135 + dbsize 359 ms ok 136 + merge 4963 ms ok 137 + misc_functions 1331 ms ok 138 + sysviews 459 ms ok 139 + tsrf 635 ms ok 140 + tid 531 ms ok 141 + tidscan 550 ms ok 142 + tidrangescan 513 ms ok 143 + collate.icu.utf8 5293 ms ok 144 + incremental_sort 1102 ms ok 145 + create_role 1315 ms ok 146 + without_overlaps 1231 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab psql rules stats_ext ok 147 + rules 7051 ms ok 148 + psql 6775 ms ok 149 + psql_crosstab 3621 ms ok 150 + amutils 1251 ms ok 151 + stats_ext 8255 ms ok 152 + collate.linux.utf8 1049 ms ok 153 + collate.windows.win1252 1047 ms not ok 154 - select_parallel 3915 ms ok 155 - write_parallel 157 ms ok 156 - vacuum_parallel 881 ms # parallel group (2 tests): subscription publication ok 157 + publication 4637 ms ok 158 + subscription 1184 ms # parallel group (17 tests): advisory_lock combocid bitmapops indirect_toast functional_deps xmlmap portals_p2 tsdicts dependency select_views equivclass guc tsearch cluster window foreign_data foreign_key ok 159 + select_views 1693 ms ok 160 + portals_p2 1209 ms ok 161 + foreign_key 8070 ms ok 162 + cluster 2802 ms ok 163 + dependency 1646 ms ok 164 + guc 1809 ms ok 165 + bitmapops 970 ms ok 166 + combocid 921 ms ok 167 + tsearch 1937 ms ok 168 + tsdicts 1542 ms ok 169 + foreign_data 5285 ms ok 170 + window 3938 ms ok 171 + xmlmap 1178 ms ok 172 + functional_deps 999 ms ok 173 + advisory_lock 638 ms ok 174 + indirect_toast 954 ms ok 175 + equivclass 1664 ms # parallel group (7 tests): jsonpath_encoding jsonpath json_encoding sqljson jsonb_jsonpath json jsonb ok 176 + json 1182 ms ok 177 + jsonb 2759 ms ok 178 + json_encoding 73 ms ok 179 + jsonpath 56 ms ok 180 + jsonpath_encoding 45 ms ok 181 + jsonb_jsonpath 398 ms ok 182 + sqljson 327 ms # parallel group (18 tests): prepare conversion returning limit plancache largeobject temp truncate sequence copy2 rowtypes xml with rangefuncs polymorphism domain plpgsql alter_table ok 183 + plancache 3755 ms ok 184 + limit 3739 ms ok 185 + plpgsql 18347 ms ok 186 + copy2 4298 ms ok 187 + temp 4115 ms ok 188 + domain 12167 ms ok 189 + rangefuncs 9545 ms ok 190 + prepare 2223 ms ok 191 + conversion 3541 ms ok 192 + truncate 4214 ms ok 193 + alter_table 23767 ms ok 194 + sequence 4215 ms ok 195 + polymorphism 10382 ms ok 196 + rowtypes 4328 ms ok 197 + returning 3551 ms ok 198 + largeobject 3731 ms ok 199 + with 5614 ms ok 200 + xml 5484 ms # parallel group (13 tests): hash_part predicate explain reloptions partition_info memoize compression partition_aggregate stats indexing partition_join tuplesort partition_prune ok 201 + partition_join 2791 ms ok 202 + partition_prune 2868 ms ok 203 + reloptions 644 ms ok 204 + hash_part 493 ms ok 205 + indexing 2776 ms ok 206 + partition_aggregate 1846 ms ok 207 + partition_info 669 ms ok 208 + tuplesort 2795 ms ok 209 + explain 538 ms ok 210 + compression 998 ms ok 211 + memoize 666 ms ok 212 + stats 2268 ms ok 213 + predicate 520 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 260 ms ok 215 + event_trigger 601 ms ok 216 - event_trigger_login 102 ms ok 217 - fast_default 814 ms ok 218 - tablespace 6414 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-02-23 19:24:50 +++ /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out 2024-02-23 19:27:43 @@ -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 === [19:28:36.224](127.421s) not ok 2 - regression tests pass [19:28:36.224](0.000s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/test/recovery/t/027_stream_regress.pl line 95. [19:28:36.224](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 4001 41 3 4 3 4 4 1 32 1 1 1 6 104 2 1 5 1006 1 2 5 -2 17 33 34 46 9 1 1 1 1 1 -1 1 1 -1 -32768 32767 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/146FA598 on primary done # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 49904 --no-unlogged-table-data [19:29:18.785](42.561s) ok 3 - dump primary server # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 49905 [19:29:23.580](4.795s) 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 [19:29:23.676](0.095s) ok 5 - compare primary and standby dumps [19:29:23.850](0.174s) 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" [19:29:25.235](1.385s) 1..6 [19:29:25.236](0.001s) # Looks like you failed 1 test of 6.