# Checking port 56533 # Found port 56533 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=56533 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/WDbZbYn_hL Log file: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [02:18:51.206](0.017s) # 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 14126 (standby_1,) [02:18:51.745](0.540s) 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/WDbZbYn_hL -p 56533 --checkpoint fast --no-sync # Backup finished # Checking port 56534 # Found port 56534 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=56534 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/WDbZbYn_hL 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 14228 # using postmaster on /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/WDbZbYn_hL, port 56533 ok 1 - test_setup 305 ms # parallel group (20 tests): pg_lsn regproc uuid enum float8 bit char varchar name oid txid int2 text money float4 int4 int8 boolean rangetypes numeric ok 2 + boolean 419 ms ok 3 + char 172 ms ok 4 + name 177 ms ok 5 + varchar 173 ms ok 6 + text 194 ms ok 7 + int2 191 ms ok 8 + int4 194 ms ok 9 + int8 213 ms ok 10 + oid 167 ms ok 11 + float4 184 ms ok 12 + float8 108 ms ok 13 + bit 134 ms ok 14 + numeric 960 ms ok 15 + txid 161 ms ok 16 + uuid 76 ms ok 17 + enum 85 ms ok 18 + money 159 ms ok 19 + rangetypes 608 ms ok 20 + pg_lsn 36 ms ok 21 + regproc 38 ms # parallel group (20 tests): md5 lseg path line circle time point macaddr timetz numerology macaddr8 date polygon box timestamp inet interval timestamptz strings multirangetypes ok 22 + strings 2430 ms ok 23 + md5 114 ms ok 24 + numerology 849 ms ok 25 + point 156 ms ok 26 + lseg 117 ms ok 27 + line 135 ms ok 28 + box 2152 ms ok 29 + path 117 ms ok 30 + polygon 1502 ms ok 31 + circle 123 ms ok 32 + date 1165 ms ok 33 + time 128 ms ok 34 + timetz 667 ms ok 35 + timestamp 2137 ms ok 36 + timestamptz 2354 ms ok 37 + interval 2336 ms ok 38 + inet 2137 ms ok 39 + macaddr 259 ms ok 40 + macaddr8 981 ms ok 41 + multirangetypes 2534 ms # parallel group (12 tests): comments misc_sanity unicode mvcc tstypes xid expressions geometry horology opr_sanity type_sanity regex ok 42 + geometry 249 ms ok 43 + horology 272 ms ok 44 + tstypes 140 ms ok 45 + regex 601 ms ok 46 + type_sanity 295 ms ok 47 + opr_sanity 278 ms ok 48 + misc_sanity 68 ms ok 49 + comments 56 ms ok 50 + expressions 146 ms ok 51 + unicode 69 ms ok 52 + xid 137 ms ok 53 + mvcc 86 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 682 ms ok 55 + copyselect 466 ms ok 56 + copydml 484 ms ok 57 + insert 1292 ms ok 58 + insert_conflict 968 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 46 ms ok 60 + create_misc 191 ms ok 61 + create_operator 177 ms ok 62 + create_procedure 181 ms ok 63 + create_table 964 ms ok 64 + create_type 178 ms ok 65 + create_schema 156 ms # parallel group (5 tests): index_including_gist index_including create_index_spgist create_view create_index ok 66 + create_index 3263 ms ok 67 + create_index_spgist 1854 ms ok 68 + create_view 2483 ms ok 69 + index_including 1212 ms ok 70 + index_including_gist 1151 ms # parallel group (16 tests): create_cast errors create_am infinite_recurse typed_table roleattributes hash_func create_aggregate select drop_if_exists create_function_sql vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 431 ms ok 72 + create_function_sql 563 ms ok 73 + create_cast 124 ms ok 74 + constraints 1595 ms ok 75 + triggers 4645 ms ok 76 + select 486 ms ok 77 + inherit 3803 ms ok 78 + typed_table 409 ms ok 79 + vacuum 1052 ms ok 80 + drop_if_exists 518 ms ok 81 + updatable_views 2768 ms ok 82 + roleattributes 398 ms ok 83 + create_am 187 ms ok 84 + hash_func 391 ms ok 85 + errors 92 ms ok 86 + infinite_recurse 213 ms ok 87 - sanity_check 342 ms # parallel group (20 tests): delete random namespace select_having prepared_xacts select_distinct_on select_implicit transactions union select_distinct case portals select_into update subselect arrays hash_index aggregates btree_index join ok 88 + select_into 1619 ms ok 89 + select_distinct 563 ms ok 90 + select_distinct_on 249 ms ok 91 + select_implicit 253 ms ok 92 + select_having 187 ms ok 93 + subselect 2048 ms ok 94 + union 448 ms ok 95 + case 691 ms ok 96 + join 3592 ms ok 97 + aggregates 3251 ms ok 98 + transactions 341 ms ok 99 + random 77 ms ok 100 + portals 780 ms ok 101 + arrays 2331 ms ok 102 + btree_index 3487 ms ok 103 + hash_index 2348 ms ok 104 + update 1796 ms ok 105 + delete 60 ms ok 106 + namespace 99 ms ok 107 + prepared_xacts 164 ms # parallel group (20 tests): init_privs drop_operator password security_label tablesample lock collate object_address replica_identity groupingsets spgist gin gist identity matview generated join_hash brin rowsecurity privileges ok 108 + brin 5225 ms ok 109 + gin 1819 ms ok 110 + gist 2047 ms ok 111 + spgist 1622 ms ok 112 + privileges 6389 ms ok 113 + init_privs 88 ms ok 114 + security_label 405 ms ok 115 + collate 546 ms ok 116 + matview 2161 ms ok 117 + lock 471 ms ok 118 + replica_identity 1141 ms ok 119 + rowsecurity 5987 ms ok 120 + object_address 561 ms ok 121 + tablesample 422 ms ok 122 + groupingsets 1434 ms ok 123 + drop_operator 164 ms ok 124 + password 366 ms ok 125 + identity 2024 ms ok 126 + generated 4527 ms ok 127 + join_hash 5155 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 114 ms ok 129 + brin_multi 981 ms # parallel group (17 tests): async dbsize sysviews tid tidrangescan alter_operator tidscan misc tsrf without_overlaps incremental_sort misc_functions create_role create_table_like alter_generic merge collate.icu.utf8 ok 130 + create_table_like 1597 ms ok 131 + alter_generic 1635 ms ok 132 + alter_operator 278 ms ok 133 + misc 355 ms ok 134 + async 112 ms ok 135 + dbsize 133 ms ok 136 + merge 1918 ms ok 137 + misc_functions 775 ms ok 138 + sysviews 247 ms ok 139 + tsrf 596 ms ok 140 + tid 244 ms ok 141 + tidscan 269 ms ok 142 + tidrangescan 248 ms ok 143 + collate.icu.utf8 2333 ms ok 144 + incremental_sort 645 ms ok 145 + create_role 1002 ms ok 146 + without_overlaps 611 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab psql rules stats_ext ok 147 + rules 4134 ms ok 148 + psql 2219 ms ok 149 + psql_crosstab 101 ms ok 150 + amutils 77 ms ok 151 + stats_ext 5038 ms ok 152 + collate.linux.utf8 34 ms ok 153 + collate.windows.win1252 33 ms not ok 154 - select_parallel 2010 ms ok 155 - write_parallel 223 ms ok 156 - vacuum_parallel 89 ms # parallel group (2 tests): subscription publication ok 157 + publication 2925 ms ok 158 + subscription 1170 ms # parallel group (17 tests): advisory_lock combocid portals_p2 xmlmap indirect_toast functional_deps bitmapops dependency tsdicts select_views equivclass guc tsearch cluster window foreign_data foreign_key ok 159 + select_views 1335 ms ok 160 + portals_p2 233 ms ok 161 + foreign_key 6601 ms ok 162 + cluster 1973 ms ok 163 + dependency 1018 ms ok 164 + guc 1431 ms ok 165 + bitmapops 461 ms ok 166 + combocid 224 ms ok 167 + tsearch 1508 ms ok 168 + tsdicts 1257 ms ok 169 + foreign_data 3970 ms ok 170 + window 2611 ms ok 171 + xmlmap 332 ms ok 172 + functional_deps 407 ms ok 173 + advisory_lock 110 ms ok 174 + indirect_toast 376 ms ok 175 + equivclass 1310 ms # parallel group (7 tests): jsonpath jsonpath_encoding json_encoding sqljson jsonb_jsonpath json jsonb ok 176 + json 787 ms ok 177 + jsonb 1504 ms ok 178 + json_encoding 125 ms ok 179 + jsonpath 84 ms ok 180 + jsonpath_encoding 106 ms ok 181 + jsonb_jsonpath 567 ms ok 182 + sqljson 519 ms # parallel group (18 tests): prepare conversion returning plancache limit largeobject temp truncate sequence copy2 rowtypes with polymorphism domain rangefuncs xml plpgsql alter_table ok 183 + plancache 1109 ms ok 184 + limit 1136 ms ok 185 + plpgsql 5839 ms ok 186 + copy2 2754 ms ok 187 + temp 2612 ms ok 188 + domain 3234 ms ok 189 + rangefuncs 3234 ms ok 190 + prepare 184 ms ok 191 + conversion 1016 ms ok 192 + truncate 2675 ms ok 193 + alter_table 7985 ms ok 194 + sequence 2724 ms ok 195 + polymorphism 3197 ms ok 196 + rowtypes 2874 ms ok 197 + returning 1000 ms ok 198 + largeobject 2128 ms ok 199 + with 2939 ms ok 200 + xml 3603 ms # parallel group (13 tests): predicate explain hash_part reloptions partition_info memoize compression partition_aggregate tuplesort stats partition_join partition_prune indexing ok 201 + partition_join 4558 ms ok 202 + partition_prune 4585 ms ok 203 + reloptions 877 ms ok 204 + hash_part 226 ms ok 205 + indexing 4595 ms ok 206 + partition_aggregate 2664 ms ok 207 + partition_info 1098 ms ok 208 + tuplesort 2936 ms ok 209 + explain 192 ms ok 210 + compression 1308 ms ok 211 + memoize 1160 ms ok 212 + stats 3059 ms ok 213 + predicate 157 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 366 ms ok 215 + event_trigger 3655 ms ok 216 - event_trigger_login 93 ms ok 217 - fast_default 2688 ms ok 218 - tablespace 2227 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-09 02:15:18 +++ /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out 2024-03-09 02:19:30 @@ -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 === [02:20:03.825](72.080s) not ok 2 - regression tests pass [02:20:03.825](0.000s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/test/recovery/t/027_stream_regress.pl line 95. [02:20:03.825](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 9 1 5 5 41 3 4 3 4 4 1 32 1 1 1 6 104 4001 2 1 5 1006 1 2 -2 5 17 33 34 9 46 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/140FFE18 on primary done # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 56533 --no-unlogged-table-data [02:20:10.134](6.309s) ok 3 - dump primary server # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 56534 [02:20:18.442](8.308s) 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 [02:20:20.261](1.819s) ok 5 - compare primary and standby dumps [02:20:21.876](1.614s) 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" [02:20:22.936](1.061s) 1..6 [02:20:22.937](0.001s) # Looks like you failed 1 test of 6.