# Checking port 63843 # Found port 63843 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=63843 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/ipo_0hC2Ii Log file: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [08:18:33.130](0.019s) # 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 13525 (standby_1,) [08:18:33.713](0.584s) 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/ipo_0hC2Ii -p 63843 --checkpoint fast --no-sync # Backup finished # Checking port 63844 # Found port 63844 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=63844 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/ipo_0hC2Ii 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 13675 # using postmaster on /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/ipo_0hC2Ii, port 63843 ok 1 - test_setup 799 ms # parallel group (20 tests): oid varchar char txid pg_lsn regproc int4 name uuid text int2 float4 money bit boolean float8 int8 enum rangetypes numeric ok 2 + boolean 1025 ms ok 3 + char 464 ms ok 4 + name 718 ms ok 5 + varchar 462 ms ok 6 + text 838 ms ok 7 + int2 838 ms ok 8 + int4 604 ms ok 9 + int8 1052 ms ok 10 + oid 427 ms ok 11 + float4 845 ms ok 12 + float8 1026 ms ok 13 + bit 991 ms ok 14 + numeric 1390 ms ok 15 + txid 463 ms ok 16 + uuid 801 ms ok 17 + enum 1036 ms ok 18 + money 967 ms ok 19 + rangetypes 1270 ms ok 20 + pg_lsn 467 ms ok 21 + regproc 531 ms # parallel group (20 tests): macaddr timetz time macaddr8 md5 inet lseg path line numerology circle point date polygon interval strings box timestamp timestamptz multirangetypes ok 22 + strings 404 ms ok 23 + md5 144 ms ok 24 + numerology 242 ms ok 25 + point 269 ms ok 26 + lseg 176 ms ok 27 + line 187 ms ok 28 + box 402 ms ok 29 + path 180 ms ok 30 + polygon 341 ms ok 31 + circle 237 ms ok 32 + date 334 ms ok 33 + time 97 ms ok 34 + timetz 93 ms ok 35 + timestamp 419 ms ok 36 + timestamptz 469 ms ok 37 + interval 341 ms ok 38 + inet 115 ms ok 39 + macaddr 73 ms ok 40 + macaddr8 78 ms ok 41 + multirangetypes 478 ms # parallel group (12 tests): comments unicode misc_sanity tstypes mvcc regex xid type_sanity expressions geometry horology opr_sanity ok 42 + geometry 1485 ms ok 43 + horology 1646 ms ok 44 + tstypes 279 ms ok 45 + regex 405 ms ok 46 + type_sanity 1106 ms ok 47 + opr_sanity 1669 ms ok 48 + misc_sanity 108 ms ok 49 + comments 59 ms ok 50 + expressions 1112 ms ok 51 + unicode 97 ms ok 52 + xid 493 ms ok 53 + mvcc 357 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 600 ms ok 55 + copyselect 79 ms ok 56 + copydml 98 ms ok 57 + insert 1796 ms ok 58 + insert_conflict 1125 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 43 ms ok 60 + create_misc 113 ms ok 61 + create_operator 107 ms ok 62 + create_procedure 114 ms ok 63 + create_table 852 ms ok 64 + create_type 104 ms ok 65 + create_schema 86 ms # parallel group (5 tests): index_including_gist index_including create_index_spgist create_view create_index ok 66 + create_index 2400 ms ok 67 + create_index_spgist 938 ms ok 68 + create_view 1481 ms ok 69 + index_including 710 ms ok 70 + index_including_gist 691 ms # parallel group (16 tests): errors infinite_recurse create_cast create_aggregate typed_table hash_func roleattributes select create_am drop_if_exists create_function_sql vacuum constraints inherit updatable_views triggers ok 71 + create_aggregate 365 ms ok 72 + create_function_sql 641 ms ok 73 + create_cast 286 ms ok 74 + constraints 1750 ms ok 75 + triggers 5865 ms ok 76 + select 489 ms ok 77 + inherit 4168 ms ok 78 + typed_table 392 ms ok 79 + vacuum 1044 ms ok 80 + drop_if_exists 537 ms ok 81 + updatable_views 4246 ms ok 82 + roleattributes 448 ms ok 83 + create_am 490 ms ok 84 + hash_func 432 ms ok 85 + errors 156 ms ok 86 + infinite_recurse 173 ms ok 87 - sanity_check 774 ms # parallel group (20 tests): select_distinct_on delete select_having random select_implicit namespace case prepared_xacts select_into select_distinct subselect union transactions portals hash_index update arrays btree_index aggregates join ok 88 + select_into 539 ms ok 89 + select_distinct 1859 ms ok 90 + select_distinct_on 338 ms ok 91 + select_implicit 469 ms ok 92 + select_having 410 ms ok 93 + subselect 1914 ms ok 94 + union 1920 ms ok 95 + case 491 ms ok 96 + join 3973 ms ok 97 + aggregates 3887 ms ok 98 + transactions 2371 ms ok 99 + random 410 ms ok 100 + portals 2393 ms ok 101 + arrays 2597 ms ok 102 + btree_index 3805 ms ok 103 + hash_index 2391 ms ok 104 + update 2560 ms ok 105 + delete 325 ms ok 106 + namespace 438 ms ok 107 + prepared_xacts 468 ms # parallel group (20 tests): init_privs drop_operator security_label lock replica_identity collate groupingsets tablesample object_address spgist password matview identity gin generated gist brin join_hash rowsecurity privileges ok 108 + brin 2779 ms ok 109 + gin 2115 ms ok 110 + gist 2481 ms ok 111 + spgist 1480 ms ok 112 + privileges 5952 ms ok 113 + init_privs 99 ms ok 114 + security_label 273 ms ok 115 + collate 413 ms ok 116 + matview 1975 ms ok 117 + lock 326 ms ok 118 + replica_identity 382 ms ok 119 + rowsecurity 4758 ms ok 120 + object_address 1374 ms ok 121 + tablesample 1219 ms ok 122 + groupingsets 882 ms ok 123 + drop_operator 108 ms ok 124 + password 1539 ms ok 125 + identity 1985 ms ok 126 + generated 2332 ms ok 127 + join_hash 2734 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 231 ms ok 129 + brin_multi 507 ms # parallel group (18 tests): async dbsize collate.utf8 sysviews tidrangescan tid tidscan misc alter_operator tsrf incremental_sort without_overlaps create_role misc_functions alter_generic create_table_like collate.icu.utf8 merge ok 130 + create_table_like 2206 ms ok 131 + alter_generic 1624 ms ok 132 + alter_operator 1360 ms ok 133 + misc 1352 ms ok 134 + async 723 ms ok 135 + dbsize 795 ms ok 136 + merge 4236 ms ok 137 + misc_functions 1605 ms ok 138 + sysviews 1090 ms ok 139 + tsrf 1377 ms ok 140 + tid 1083 ms ok 141 + tidscan 1134 ms ok 142 + tidrangescan 1074 ms ok 143 + collate.utf8 767 ms ok 144 + collate.icu.utf8 2484 ms ok 145 + incremental_sort 1411 ms ok 146 + create_role 1429 ms ok 147 + without_overlaps 1416 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab psql rules stats_ext ok 148 + rules 2367 ms ok 149 + psql 2336 ms ok 150 + psql_crosstab 195 ms ok 151 + amutils 129 ms ok 152 + stats_ext 3623 ms ok 153 + collate.linux.utf8 110 ms ok 154 + collate.windows.win1252 109 ms not ok 155 - select_parallel 2797 ms ok 156 - write_parallel 231 ms ok 157 - vacuum_parallel 417 ms # parallel group (2 tests): subscription publication ok 158 + publication 1863 ms ok 159 + subscription 606 ms # parallel group (17 tests): advisory_lock bitmapops combocid xmlmap indirect_toast portals_p2 functional_deps tsdicts select_views dependency equivclass guc tsearch cluster window foreign_data foreign_key ok 160 + select_views 2830 ms ok 161 + portals_p2 1269 ms ok 162 + foreign_key 9720 ms ok 163 + cluster 3873 ms ok 164 + dependency 2995 ms ok 165 + guc 3528 ms ok 166 + bitmapops 773 ms ok 167 + combocid 941 ms ok 168 + tsearch 3709 ms ok 169 + tsdicts 2139 ms ok 170 + foreign_data 8081 ms ok 171 + window 5015 ms ok 172 + xmlmap 994 ms ok 173 + functional_deps 1641 ms ok 174 + advisory_lock 708 ms ok 175 + indirect_toast 1228 ms ok 176 + equivclass 3431 ms # parallel group (8 tests): jsonpath jsonpath_encoding json_encoding jsonb_jsonpath sqljson sqljson_queryfuncs json jsonb ok 177 + json 1409 ms ok 178 + jsonb 1673 ms ok 179 + json_encoding 327 ms ok 180 + jsonpath 234 ms ok 181 + jsonpath_encoding 235 ms ok 182 + jsonb_jsonpath 1032 ms ok 183 + sqljson 1176 ms ok 184 + sqljson_queryfuncs 1264 ms # parallel group (18 tests): conversion plancache prepare limit returning largeobject temp copy2 truncate with rowtypes sequence polymorphism rangefuncs domain xml plpgsql alter_table ok 185 + plancache 174 ms ok 186 + limit 276 ms ok 187 + plpgsql 3324 ms ok 188 + copy2 505 ms ok 189 + temp 329 ms ok 190 + domain 1022 ms ok 191 + rangefuncs 991 ms ok 192 + prepare 199 ms ok 193 + conversion 152 ms ok 194 + truncate 553 ms ok 195 + alter_table 3954 ms ok 196 + sequence 843 ms ok 197 + polymorphism 952 ms ok 198 + rowtypes 576 ms ok 199 + returning 266 ms ok 200 + largeobject 290 ms ok 201 + with 552 ms ok 202 + xml 1707 ms # parallel group (13 tests): predicate reloptions hash_part explain partition_info compression memoize partition_aggregate stats tuplesort partition_prune partition_join indexing ok 203 + partition_join 2417 ms ok 204 + partition_prune 2399 ms ok 205 + reloptions 116 ms ok 206 + hash_part 118 ms ok 207 + indexing 2932 ms ok 208 + partition_aggregate 1604 ms ok 209 + partition_info 215 ms ok 210 + tuplesort 2110 ms ok 211 + explain 143 ms ok 212 + compression 266 ms ok 213 + memoize 274 ms ok 214 + stats 2021 ms ok 215 + predicate 67 ms # parallel group (2 tests): oidjoins event_trigger ok 216 + oidjoins 259 ms ok 217 + event_trigger 498 ms ok 218 - event_trigger_login 75 ms ok 219 - fast_default 447 ms ok 220 - tablespace 4083 ms 1..220 # 1 of 220 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-23 08:16:14 +++ /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out 2024-03-23 08:19:14 @@ -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:19:41.379](67.666s) not ok 2 - regression tests pass [08:19:41.379](0.000s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/test/recovery/t/027_stream_regress.pl line 95. [08:19:41.379](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 3 4 3 4 4 1 32 1 1 1 6 4001 104 2 1 41 5 1006 1 2 5 46 17 33 34 1 1 1 1 -1 1 1 -1 -32768 32767 -2 9 1 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/14163F98 on primary done # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 63843 --no-unlogged-table-data [08:19:52.136](10.757s) ok 3 - dump primary server # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 63844 [08:19:58.855](6.719s) 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:20:00.730](1.875s) ok 5 - compare primary and standby dumps [08:20:00.872](0.142s) 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:20:01.435](0.563s) 1..6 [08:20:01.436](0.001s) # Looks like you failed 1 test of 6.