# Checking port 58583 # Found port 58583 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=58583 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/zfmc86c_YF Log file: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [08:37:44.075](0.013s) # 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 14079 (standby_1,) [08:37:44.671](0.596s) 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/zfmc86c_YF -p 58583 --checkpoint fast --no-sync # Backup finished # Checking port 58584 # Found port 58584 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=58584 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/zfmc86c_YF 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 14204 # using postmaster on /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/zfmc86c_YF, port 58583 ok 1 - test_setup 947 ms # parallel group (20 tests): varchar oid pg_lsn char name uuid txid int2 regproc text float4 money boolean int4 bit float8 int8 enum rangetypes numeric ok 2 + boolean 943 ms ok 3 + char 478 ms ok 4 + name 502 ms ok 5 + varchar 448 ms ok 6 + text 841 ms ok 7 + int2 553 ms ok 8 + int4 940 ms ok 9 + int8 1020 ms ok 10 + oid 456 ms ok 11 + float4 891 ms ok 12 + float8 984 ms ok 13 + bit 951 ms ok 14 + numeric 3172 ms ok 15 + txid 510 ms ok 16 + uuid 479 ms ok 17 + enum 1003 ms ok 18 + money 874 ms ok 19 + rangetypes 3020 ms ok 20 + pg_lsn 417 ms ok 21 + regproc 504 ms # parallel group (20 tests): macaddr macaddr8 inet md5 lseg path line circle time timetz point numerology date polygon interval timestamp box multirangetypes timestamptz strings ok 22 + strings 1906 ms ok 23 + md5 119 ms ok 24 + numerology 863 ms ok 25 + point 855 ms ok 26 + lseg 130 ms ok 27 + line 199 ms ok 28 + box 1756 ms ok 29 + path 140 ms ok 30 + polygon 887 ms ok 31 + circle 415 ms ok 32 + date 872 ms ok 33 + time 463 ms ok 34 + timetz 826 ms ok 35 + timestamp 1729 ms ok 36 + timestamptz 1860 ms ok 37 + interval 1446 ms ok 38 + inet 69 ms ok 39 + macaddr 40 ms ok 40 + macaddr8 51 ms ok 41 + multirangetypes 1838 ms # parallel group (12 tests): comments misc_sanity unicode mvcc type_sanity tstypes expressions xid geometry horology regex opr_sanity ok 42 + geometry 379 ms ok 43 + horology 408 ms ok 44 + tstypes 337 ms ok 45 + regex 487 ms ok 46 + type_sanity 235 ms ok 47 + opr_sanity 568 ms ok 48 + misc_sanity 83 ms ok 49 + comments 77 ms ok 50 + expressions 326 ms ok 51 + unicode 105 ms ok 52 + xid 316 ms ok 53 + mvcc 190 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 366 ms ok 55 + copyselect 258 ms ok 56 + copydml 261 ms ok 57 + insert 1147 ms ok 58 + insert_conflict 557 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 68 ms ok 60 + create_misc 1152 ms ok 61 + create_operator 1117 ms ok 62 + create_procedure 1050 ms ok 63 + create_table 2722 ms ok 64 + create_type 1124 ms ok 65 + create_schema 109 ms # parallel group (5 tests): index_including index_including_gist create_index_spgist create_view create_index ok 66 + create_index 4942 ms ok 67 + create_index_spgist 1878 ms ok 68 + create_view 1975 ms ok 69 + index_including 1384 ms ok 70 + index_including_gist 1388 ms # parallel group (16 tests): infinite_recurse errors create_cast hash_func typed_table create_aggregate roleattributes select create_am drop_if_exists create_function_sql vacuum constraints inherit updatable_views triggers ok 71 + create_aggregate 970 ms ok 72 + create_function_sql 1400 ms ok 73 + create_cast 515 ms ok 74 + constraints 1794 ms ok 75 + triggers 4963 ms ok 76 + select 1197 ms ok 77 + inherit 3288 ms ok 78 + typed_table 568 ms ok 79 + vacuum 1717 ms ok 80 + drop_if_exists 1336 ms ok 81 + updatable_views 3292 ms ok 82 + roleattributes 1181 ms ok 83 + create_am 1303 ms ok 84 + hash_func 546 ms ok 85 + errors 376 ms ok 86 + infinite_recurse 247 ms ok 87 - sanity_check 495 ms # parallel group (20 tests): select_distinct_on select_having delete random namespace prepared_xacts select_implicit case select_into select_distinct subselect transactions portals union arrays update hash_index btree_index aggregates join ok 88 + select_into 735 ms ok 89 + select_distinct 1767 ms ok 90 + select_distinct_on 110 ms ok 91 + select_implicit 682 ms ok 92 + select_having 130 ms ok 93 + subselect 1880 ms ok 94 + union 2003 ms ok 95 + case 723 ms ok 96 + join 3475 ms ok 97 + aggregates 3333 ms ok 98 + transactions 1882 ms ok 99 + random 367 ms ok 100 + portals 1945 ms ok 101 + arrays 2126 ms ok 102 + btree_index 3193 ms ok 103 + hash_index 2286 ms ok 104 + update 2162 ms ok 105 + delete 196 ms ok 106 + namespace 603 ms ok 107 + prepared_xacts 626 ms # parallel group (20 tests): init_privs drop_operator security_label tablesample password spgist object_address replica_identity lock gist gin collate groupingsets matview identity generated join_hash brin rowsecurity privileges ok 108 + brin 5088 ms ok 109 + gin 2694 ms ok 110 + gist 2486 ms ok 111 + spgist 2042 ms ok 112 + privileges 5959 ms ok 113 + init_privs 307 ms ok 114 + security_label 1268 ms ok 115 + collate 2956 ms ok 116 + matview 3430 ms ok 117 + lock 2134 ms ok 118 + replica_identity 2124 ms ok 119 + rowsecurity 5365 ms ok 120 + object_address 2102 ms ok 121 + tablesample 1970 ms ok 122 + groupingsets 3268 ms ok 123 + drop_operator 333 ms ok 124 + password 2000 ms ok 125 + identity 3596 ms ok 126 + generated 4352 ms ok 127 + join_hash 5048 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 1040 ms ok 129 + brin_multi 1927 ms # parallel group (17 tests): async dbsize sysviews tid tidrangescan tidscan alter_operator tsrf without_overlaps misc incremental_sort misc_functions create_role create_table_like alter_generic merge collate.icu.utf8 ok 130 + create_table_like 4675 ms ok 131 + alter_generic 5224 ms ok 132 + alter_operator 2441 ms ok 133 + misc 2908 ms ok 134 + async 616 ms ok 135 + dbsize 690 ms ok 136 + merge 6110 ms ok 137 + misc_functions 3053 ms ok 138 + sysviews 1991 ms ok 139 + tsrf 2578 ms ok 140 + tid 2084 ms ok 141 + tidscan 2132 ms ok 142 + tidrangescan 2106 ms ok 143 + collate.icu.utf8 6188 ms ok 144 + incremental_sort 2949 ms ok 145 + create_role 3055 ms ok 146 + without_overlaps 2846 ms # parallel group (7 tests): collate.linux.utf8 collate.windows.win1252 amutils psql_crosstab psql rules stats_ext ok 147 + rules 1980 ms ok 148 + psql 1974 ms ok 149 + psql_crosstab 472 ms ok 150 + amutils 229 ms ok 151 + stats_ext 3629 ms ok 152 + collate.linux.utf8 56 ms ok 153 + collate.windows.win1252 57 ms not ok 154 - select_parallel 1959 ms ok 155 - write_parallel 336 ms ok 156 - vacuum_parallel 300 ms # parallel group (2 tests): subscription publication ok 157 + publication 1946 ms ok 158 + subscription 392 ms # parallel group (17 tests): advisory_lock combocid functional_deps bitmapops indirect_toast portals_p2 xmlmap tsdicts select_views dependency guc equivclass tsearch cluster window foreign_data foreign_key ok 159 + select_views 1414 ms ok 160 + portals_p2 1370 ms ok 161 + foreign_key 6710 ms ok 162 + cluster 2284 ms ok 163 + dependency 1429 ms ok 164 + guc 1452 ms ok 165 + bitmapops 1177 ms ok 166 + combocid 885 ms ok 167 + tsearch 1951 ms ok 168 + tsdicts 1367 ms ok 169 + foreign_data 4250 ms ok 170 + window 3119 ms ok 171 + xmlmap 1338 ms ok 172 + functional_deps 1137 ms ok 173 + advisory_lock 554 ms ok 174 + indirect_toast 1290 ms ok 175 + equivclass 1417 ms # parallel group (7 tests): jsonpath_encoding json_encoding jsonpath sqljson json jsonb_jsonpath jsonb ok 176 + json 153 ms ok 177 + jsonb 1514 ms ok 178 + json_encoding 58 ms ok 179 + jsonpath 85 ms ok 180 + jsonpath_encoding 50 ms ok 181 + jsonb_jsonpath 153 ms ok 182 + sqljson 102 ms # parallel group (18 tests): prepare conversion returning limit plancache largeobject temp sequence xml copy2 rangefuncs rowtypes with truncate polymorphism domain plpgsql alter_table ok 183 + plancache 662 ms ok 184 + limit 314 ms ok 185 + plpgsql 2865 ms ok 186 + copy2 1145 ms ok 187 + temp 915 ms ok 188 + domain 1984 ms ok 189 + rangefuncs 1213 ms ok 190 + prepare 198 ms ok 191 + conversion 196 ms ok 192 + truncate 1780 ms ok 193 + alter_table 4628 ms ok 194 + sequence 956 ms ok 195 + polymorphism 1865 ms ok 196 + rowtypes 1275 ms ok 197 + returning 249 ms ok 198 + largeobject 860 ms ok 199 + with 1750 ms ok 200 + xml 1107 ms # parallel group (13 tests): explain predicate hash_part reloptions partition_info memoize compression partition_aggregate tuplesort stats indexing partition_join partition_prune ok 201 + partition_join 8833 ms ok 202 + partition_prune 8864 ms ok 203 + reloptions 522 ms ok 204 + hash_part 478 ms ok 205 + indexing 8695 ms ok 206 + partition_aggregate 1750 ms ok 207 + partition_info 552 ms ok 208 + tuplesort 4008 ms ok 209 + explain 202 ms ok 210 + compression 843 ms ok 211 + memoize 645 ms ok 212 + stats 6998 ms ok 213 + predicate 358 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 562 ms ok 215 + event_trigger 3371 ms ok 216 - event_trigger_login 36 ms ok 217 - fast_default 563 ms ok 218 - tablespace 2825 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-19 08:35:12 +++ /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out 2024-03-19 08:38:32 @@ -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 === [08:39:05.475](80.804s) not ok 2 - regression tests pass [08:39:05.475](0.000s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/test/recovery/t/027_stream_regress.pl line 95. [08:39:05.475](0.000s) # got: '256' # expected: '0' 1 1 1 1 2 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 17 -2 33 34 9 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/13F950C0 on primary done # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 58583 --no-unlogged-table-data [08:39:16.956](11.481s) ok 3 - dump primary server # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 58584 [08:39:31.873](14.917s) 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 [08:39:32.531](0.659s) ok 5 - compare primary and standby dumps [08:39:33.429](0.898s) 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" [08:39:33.907](0.478s) 1..6 [08:39:33.908](0.001s) # Looks like you failed 1 test of 6.