# Checking port 55651 # Found port 55651 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=55651 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/8UNZ0Z0quF Log file: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [14:48:13.678](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 13493 (standby_1,) [14:48:14.150](0.472s) 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/8UNZ0Z0quF -p 55651 --checkpoint fast --no-sync # Backup finished # Checking port 55652 # Found port 55652 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=55652 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/8UNZ0Z0quF 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 13605 # using postmaster on /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/8UNZ0Z0quF, port 55651 ok 1 - test_setup 744 ms # parallel group (20 tests): varchar char oid name pg_lsn txid uuid int2 text float4 int4 regproc money bit boolean float8 int8 enum rangetypes numeric ok 2 + boolean 798 ms ok 3 + char 568 ms ok 4 + name 607 ms ok 5 + varchar 555 ms ok 6 + text 667 ms ok 7 + int2 661 ms ok 8 + int4 682 ms ok 9 + int8 799 ms ok 10 + oid 587 ms ok 11 + float4 667 ms ok 12 + float8 788 ms ok 13 + bit 684 ms ok 14 + numeric 1564 ms ok 15 + txid 609 ms ok 16 + uuid 614 ms ok 17 + enum 972 ms ok 18 + money 651 ms ok 19 + rangetypes 1488 ms ok 20 + pg_lsn 577 ms ok 21 + regproc 634 ms # parallel group (20 tests): md5 lseg path line circle time macaddr timetz point macaddr8 numerology date inet timestamp polygon interval timestamptz strings box multirangetypes ok 22 + strings 877 ms ok 23 + md5 81 ms ok 24 + numerology 422 ms ok 25 + point 413 ms ok 26 + lseg 84 ms ok 27 + line 105 ms ok 28 + box 927 ms ok 29 + path 97 ms ok 30 + polygon 652 ms ok 31 + circle 190 ms ok 32 + date 461 ms ok 33 + time 225 ms ok 34 + timetz 386 ms ok 35 + timestamp 616 ms ok 36 + timestamptz 818 ms ok 37 + interval 783 ms ok 38 + inet 588 ms ok 39 + macaddr 370 ms ok 40 + macaddr8 373 ms ok 41 + multirangetypes 893 ms # parallel group (12 tests): comments xid mvcc misc_sanity unicode expressions type_sanity tstypes horology geometry opr_sanity regex ok 42 + geometry 274 ms ok 43 + horology 203 ms ok 44 + tstypes 177 ms ok 45 + regex 396 ms ok 46 + type_sanity 158 ms ok 47 + opr_sanity 287 ms ok 48 + misc_sanity 98 ms ok 49 + comments 57 ms ok 50 + expressions 144 ms ok 51 + unicode 86 ms ok 52 + xid 67 ms ok 53 + mvcc 67 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 176 ms ok 55 + copyselect 93 ms ok 56 + copydml 122 ms ok 57 + insert 1333 ms ok 58 + insert_conflict 468 ms # parallel group (7 tests): create_function_c create_schema create_operator create_type create_misc create_procedure create_table ok 59 + create_function_c 34 ms ok 60 + create_misc 114 ms ok 61 + create_operator 100 ms ok 62 + create_procedure 114 ms ok 63 + create_table 927 ms ok 64 + create_type 107 ms ok 65 + create_schema 76 ms # parallel group (5 tests): index_including_gist index_including create_index_spgist create_view create_index ok 66 + create_index 1442 ms ok 67 + create_index_spgist 747 ms ok 68 + create_view 798 ms ok 69 + index_including 665 ms ok 70 + index_including_gist 551 ms # parallel group (16 tests): errors hash_func typed_table create_cast roleattributes infinite_recurse create_aggregate select create_am drop_if_exists create_function_sql vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 443 ms ok 72 + create_function_sql 1130 ms ok 73 + create_cast 176 ms ok 74 + constraints 1683 ms ok 75 + triggers 3940 ms ok 76 + select 473 ms ok 77 + inherit 3141 ms ok 78 + typed_table 124 ms ok 79 + vacuum 1662 ms ok 80 + drop_if_exists 1094 ms ok 81 + updatable_views 2798 ms ok 82 + roleattributes 220 ms ok 83 + create_am 939 ms ok 84 + hash_func 69 ms ok 85 + errors 40 ms ok 86 + infinite_recurse 281 ms ok 87 - sanity_check 249 ms # parallel group (20 tests): select_having random delete select_implicit namespace select_distinct_on select_into case prepared_xacts subselect portals transactions select_distinct union arrays update aggregates hash_index join btree_index ok 88 + select_into 181 ms ok 89 + select_distinct 723 ms ok 90 + select_distinct_on 157 ms ok 91 + select_implicit 122 ms ok 92 + select_having 102 ms ok 93 + subselect 373 ms ok 94 + union 770 ms ok 95 + case 179 ms ok 96 + join 1529 ms ok 97 + aggregates 1233 ms ok 98 + transactions 597 ms ok 99 + random 81 ms ok 100 + portals 420 ms ok 101 + arrays 952 ms ok 102 + btree_index 2325 ms ok 103 + hash_index 1319 ms ok 104 + update 1088 ms ok 105 + delete 69 ms ok 106 + namespace 82 ms ok 107 + prepared_xacts 216 ms # parallel group (20 tests): init_privs drop_operator security_label tablesample password lock object_address collate groupingsets replica_identity spgist gin brin gist identity matview generated join_hash rowsecurity privileges ok 108 + brin 2430 ms ok 109 + gin 2386 ms ok 110 + gist 2720 ms ok 111 + spgist 2104 ms ok 112 + privileges 7126 ms ok 113 + init_privs 572 ms ok 114 + security_label 920 ms ok 115 + collate 1647 ms ok 116 + matview 3201 ms ok 117 + lock 1373 ms ok 118 + replica_identity 2074 ms ok 119 + rowsecurity 6827 ms ok 120 + object_address 1465 ms ok 121 + tablesample 996 ms ok 122 + groupingsets 1804 ms ok 123 + drop_operator 807 ms ok 124 + password 1181 ms ok 125 + identity 3164 ms ok 126 + generated 4301 ms ok 127 + join_hash 5517 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 119 ms ok 129 + brin_multi 1569 ms # parallel group (17 tests): async dbsize tid tidrangescan sysviews tidscan alter_operator incremental_sort tsrf misc without_overlaps create_role misc_functions create_table_like alter_generic merge collate.icu.utf8 ok 130 + create_table_like 1714 ms ok 131 + alter_generic 1790 ms ok 132 + alter_operator 847 ms ok 133 + misc 966 ms ok 134 + async 324 ms ok 135 + dbsize 356 ms ok 136 + merge 2495 ms ok 137 + misc_functions 1130 ms ok 138 + sysviews 646 ms ok 139 + tsrf 911 ms ok 140 + tid 521 ms ok 141 + tidscan 720 ms ok 142 + tidrangescan 586 ms ok 143 + collate.icu.utf8 2944 ms ok 144 + incremental_sort 880 ms ok 145 + create_role 1095 ms ok 146 + without_overlaps 1029 ms # parallel group (7 tests): collate.linux.utf8 collate.windows.win1252 amutils psql_crosstab psql rules stats_ext ok 147 + rules 3377 ms ok 148 + psql 2748 ms ok 149 + psql_crosstab 238 ms ok 150 + amutils 186 ms ok 151 + stats_ext 5508 ms ok 152 + collate.linux.utf8 150 ms ok 153 + collate.windows.win1252 150 ms not ok 154 - select_parallel 1844 ms ok 155 - write_parallel 177 ms ok 156 - vacuum_parallel 79 ms # parallel group (2 tests): subscription publication ok 157 + publication 2115 ms ok 158 + subscription 964 ms # parallel group (17 tests): portals_p2 xmlmap advisory_lock bitmapops combocid indirect_toast functional_deps tsdicts dependency guc equivclass select_views cluster tsearch window foreign_data foreign_key ok 159 + select_views 1132 ms ok 160 + portals_p2 316 ms ok 161 + foreign_key 6894 ms ok 162 + cluster 2001 ms ok 163 + dependency 1069 ms ok 164 + guc 1119 ms ok 165 + bitmapops 476 ms ok 166 + combocid 805 ms ok 167 + tsearch 2162 ms ok 168 + tsdicts 1023 ms ok 169 + foreign_data 4737 ms ok 170 + window 3322 ms ok 171 + xmlmap 314 ms ok 172 + functional_deps 1010 ms ok 173 + advisory_lock 329 ms ok 174 + indirect_toast 838 ms ok 175 + equivclass 1085 ms # parallel group (7 tests): jsonpath_encoding json_encoding jsonpath jsonb_jsonpath sqljson json jsonb ok 176 + json 1216 ms ok 177 + jsonb 1959 ms ok 178 + json_encoding 97 ms ok 179 + jsonpath 123 ms ok 180 + jsonpath_encoding 91 ms ok 181 + jsonb_jsonpath 453 ms ok 182 + sqljson 799 ms # parallel group (18 tests): prepare plancache sequence conversion returning largeobject limit temp copy2 rowtypes rangefuncs domain with polymorphism truncate xml plpgsql alter_table ok 183 + plancache 235 ms ok 184 + limit 511 ms ok 185 + plpgsql 3765 ms ok 186 + copy2 694 ms ok 187 + temp 533 ms ok 188 + domain 839 ms ok 189 + rangefuncs 815 ms ok 190 + prepare 184 ms ok 191 + conversion 284 ms ok 192 + truncate 1103 ms ok 193 + alter_table 5488 ms ok 194 + sequence 231 ms ok 195 + polymorphism 931 ms ok 196 + rowtypes 737 ms ok 197 + returning 287 ms ok 198 + largeobject 375 ms ok 199 + with 823 ms ok 200 + xml 1709 ms # parallel group (13 tests): predicate hash_part explain reloptions memoize partition_info compression partition_aggregate tuplesort stats indexing partition_join partition_prune ok 201 + partition_join 8781 ms ok 202 + partition_prune 10428 ms ok 203 + reloptions 2084 ms ok 204 + hash_part 1858 ms ok 205 + indexing 8729 ms ok 206 + partition_aggregate 4196 ms ok 207 + partition_info 2335 ms ok 208 + tuplesort 4364 ms ok 209 + explain 2074 ms ok 210 + compression 2426 ms ok 211 + memoize 2290 ms ok 212 + stats 6435 ms ok 213 + predicate 1772 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 252 ms ok 215 + event_trigger 1331 ms ok 216 - event_trigger_login 37 ms ok 217 - fast_default 1190 ms ok 218 - tablespace 1817 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-29 14:45:59 +++ /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out 2024-02-29 14:48:50 @@ -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 === [14:49:23.031](68.881s) not ok 2 - regression tests pass [14:49:23.031](0.000s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/test/recovery/t/027_stream_regress.pl line 95. [14:49:23.032](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 4001 3 4 3 4 4 1 32 41 1 1 1 6 104 2 1 5 1006 1 2 5 9 1 17 33 34 1 1 1 1 -1 1 1 -1 -32768 32767 -2 46 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/141219A8 on primary done # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 55651 --no-unlogged-table-data [14:49:27.888](4.856s) ok 3 - dump primary server # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 55652 [14:49:34.609](6.721s) 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 [14:49:35.311](0.702s) ok 5 - compare primary and standby dumps [14:49:35.799](0.488s) 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" [14:49:36.436](0.637s) 1..6 [14:49:36.437](0.001s) # Looks like you failed 1 test of 6.