# Checking port 49255 # Found port 49255 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=49255 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/j29l8lf5Sk Log file: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [08:20:57.213](0.081s) # 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 13243 (standby_1,) [08:20:57.960](0.747s) 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/j29l8lf5Sk -p 49255 --checkpoint fast --no-sync # Backup finished # Checking port 49256 # Found port 49256 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=49256 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/j29l8lf5Sk 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 13459 # using postmaster on /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/j29l8lf5Sk, port 49255 ok 1 - test_setup 1182 ms # parallel group (20 tests): oid varchar pg_lsn char uuid name txid regproc text money float4 int2 int4 boolean bit float8 int8 enum rangetypes numeric ok 2 + boolean 2474 ms ok 3 + char 941 ms ok 4 + name 1056 ms ok 5 + varchar 812 ms ok 6 + text 2406 ms ok 7 + int2 2434 ms ok 8 + int4 2444 ms ok 9 + int8 2728 ms ok 10 + oid 338 ms ok 11 + float4 2419 ms ok 12 + float8 2665 ms ok 13 + bit 2452 ms ok 14 + numeric 4332 ms ok 15 + txid 1030 ms ok 16 + uuid 1016 ms ok 17 + enum 2778 ms ok 18 + money 2385 ms ok 19 + rangetypes 4147 ms ok 20 + pg_lsn 884 ms ok 21 + regproc 1029 ms # parallel group (20 tests): circle time timetz md5 macaddr macaddr8 inet date lseg line path numerology point timestamp interval polygon box timestamptz strings multirangetypes ok 22 + strings 3083 ms ok 23 + md5 121 ms ok 24 + numerology 611 ms ok 25 + point 624 ms ok 26 + lseg 543 ms ok 27 + line 547 ms ok 28 + box 1456 ms ok 29 + path 548 ms ok 30 + polygon 660 ms ok 31 + circle 66 ms ok 32 + date 132 ms ok 33 + time 67 ms ok 34 + timetz 74 ms ok 35 + timestamp 630 ms ok 36 + timestamptz 1591 ms ok 37 + interval 628 ms ok 38 + inet 113 ms ok 39 + macaddr 55 ms ok 40 + macaddr8 59 ms ok 41 + multirangetypes 4848 ms # parallel group (12 tests): comments misc_sanity unicode mvcc xid type_sanity tstypes expressions regex horology geometry opr_sanity ok 42 + geometry 874 ms ok 43 + horology 858 ms ok 44 + tstypes 551 ms ok 45 + regex 685 ms ok 46 + type_sanity 546 ms ok 47 + opr_sanity 920 ms ok 48 + misc_sanity 285 ms ok 49 + comments 87 ms ok 50 + expressions 544 ms ok 51 + unicode 277 ms ok 52 + xid 480 ms ok 53 + mvcc 442 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 813 ms ok 55 + copyselect 232 ms ok 56 + copydml 255 ms ok 57 + insert 3103 ms ok 58 + insert_conflict 1200 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 42 ms ok 60 + create_misc 1770 ms ok 61 + create_operator 1674 ms ok 62 + create_procedure 1731 ms ok 63 + create_table 3172 ms ok 64 + create_type 1708 ms ok 65 + create_schema 604 ms # parallel group (5 tests): index_including index_including_gist create_index_spgist create_view create_index ok 66 + create_index 3394 ms ok 67 + create_index_spgist 601 ms ok 68 + create_view 622 ms ok 69 + index_including 386 ms ok 70 + index_including_gist 416 ms # parallel group (16 tests): errors hash_func roleattributes create_am create_cast infinite_recurse typed_table create_aggregate select drop_if_exists create_function_sql vacuum constraints inherit updatable_views triggers ok 71 + create_aggregate 819 ms ok 72 + create_function_sql 1926 ms ok 73 + create_cast 163 ms ok 74 + constraints 2762 ms ok 75 + triggers 7003 ms ok 76 + select 883 ms ok 77 + inherit 6263 ms ok 78 + typed_table 689 ms ok 79 + vacuum 2384 ms ok 80 + drop_if_exists 989 ms ok 81 + updatable_views 6290 ms ok 82 + roleattributes 94 ms ok 83 + create_am 123 ms ok 84 + hash_func 87 ms ok 85 + errors 51 ms ok 86 + infinite_recurse 151 ms ok 87 - sanity_check 521 ms # parallel group (20 tests): select_distinct_on select_having select_implicit delete select_into namespace random prepared_xacts case transactions union portals subselect arrays select_distinct hash_index update aggregates btree_index join ok 88 + select_into 205 ms ok 89 + select_distinct 1319 ms ok 90 + select_distinct_on 144 ms ok 91 + select_implicit 186 ms ok 92 + select_having 148 ms ok 93 + subselect 774 ms ok 94 + union 598 ms ok 95 + case 323 ms ok 96 + join 3443 ms ok 97 + aggregates 2790 ms ok 98 + transactions 393 ms ok 99 + random 243 ms ok 100 + portals 630 ms ok 101 + arrays 1276 ms ok 102 + btree_index 3127 ms ok 103 + hash_index 1911 ms ok 104 + update 2003 ms ok 105 + delete 147 ms ok 106 + namespace 177 ms ok 107 + prepared_xacts 209 ms # parallel group (20 tests): init_privs drop_operator security_label password tablesample object_address spgist replica_identity lock collate gin groupingsets matview identity gist generated rowsecurity join_hash brin privileges ok 108 + brin 4040 ms ok 109 + gin 2046 ms ok 110 + gist 2719 ms ok 111 + spgist 1740 ms ok 112 + privileges 5285 ms ok 113 + init_privs 125 ms ok 114 + security_label 1074 ms ok 115 + collate 1821 ms ok 116 + matview 2390 ms ok 117 + lock 1758 ms ok 118 + replica_identity 1747 ms ok 119 + rowsecurity 4005 ms ok 120 + object_address 1184 ms ok 121 + tablesample 1166 ms ok 122 + groupingsets 2106 ms ok 123 + drop_operator 764 ms ok 124 + password 1124 ms ok 125 + identity 2655 ms ok 126 + generated 3267 ms ok 127 + join_hash 3972 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 1189 ms ok 129 + brin_multi 1937 ms # parallel group (17 tests): dbsize async sysviews tid tidrangescan tidscan tsrf alter_operator misc incremental_sort create_role misc_functions without_overlaps alter_generic create_table_like merge collate.icu.utf8 ok 130 + create_table_like 2784 ms ok 131 + alter_generic 2762 ms ok 132 + alter_operator 1469 ms ok 133 + misc 1506 ms ok 134 + async 163 ms ok 135 + dbsize 150 ms ok 136 + merge 3646 ms ok 137 + misc_functions 1531 ms ok 138 + sysviews 258 ms ok 139 + tsrf 1371 ms ok 140 + tid 523 ms ok 141 + tidscan 986 ms ok 142 + tidrangescan 813 ms ok 143 + collate.icu.utf8 3788 ms ok 144 + incremental_sort 1482 ms ok 145 + create_role 1488 ms ok 146 + without_overlaps 1512 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab psql rules stats_ext ok 147 + rules 3488 ms ok 148 + psql 2985 ms ok 149 + psql_crosstab 399 ms ok 150 + amutils 355 ms ok 151 + stats_ext 3968 ms ok 152 + collate.linux.utf8 305 ms ok 153 + collate.windows.win1252 303 ms not ok 154 - select_parallel 1403 ms ok 155 - write_parallel 375 ms ok 156 - vacuum_parallel 133 ms # parallel group (2 tests): subscription publication ok 157 + publication 1538 ms ok 158 + subscription 227 ms # parallel group (17 tests): bitmapops advisory_lock combocid functional_deps xmlmap portals_p2 tsdicts select_views indirect_toast dependency equivclass guc cluster tsearch window foreign_data foreign_key ok 159 + select_views 1067 ms ok 160 + portals_p2 1053 ms ok 161 + foreign_key 11910 ms ok 162 + cluster 5281 ms ok 163 + dependency 1118 ms ok 164 + guc 1304 ms ok 165 + bitmapops 905 ms ok 166 + combocid 968 ms ok 167 + tsearch 5351 ms ok 168 + tsdicts 1037 ms ok 169 + foreign_data 9153 ms ok 170 + window 7145 ms ok 171 + xmlmap 995 ms ok 172 + functional_deps 959 ms ok 173 + advisory_lock 886 ms ok 174 + indirect_toast 1035 ms ok 175 + equivclass 1097 ms # parallel group (7 tests): jsonpath_encoding json_encoding jsonpath jsonb_jsonpath sqljson json jsonb ok 176 + json 2271 ms ok 177 + jsonb 3059 ms ok 178 + json_encoding 102 ms ok 179 + jsonpath 111 ms ok 180 + jsonpath_encoding 66 ms ok 181 + jsonb_jsonpath 710 ms ok 182 + sqljson 1272 ms # parallel group (18 tests): prepare conversion returning limit plancache largeobject temp truncate copy2 xml sequence rowtypes with polymorphism domain rangefuncs plpgsql alter_table ok 183 + plancache 2153 ms ok 184 + limit 2034 ms ok 185 + plpgsql 5979 ms ok 186 + copy2 3042 ms ok 187 + temp 2824 ms ok 188 + domain 3798 ms ok 189 + rangefuncs 3867 ms ok 190 + prepare 573 ms ok 191 + conversion 1767 ms ok 192 + truncate 3024 ms ok 193 + alter_table 8387 ms ok 194 + sequence 3237 ms ok 195 + polymorphism 3570 ms ok 196 + rowtypes 3274 ms ok 197 + returning 1915 ms ok 198 + largeobject 2161 ms ok 199 + with 3317 ms ok 200 + xml 3210 ms # parallel group (13 tests): predicate hash_part reloptions explain partition_info compression memoize partition_aggregate tuplesort stats partition_join indexing partition_prune ok 201 + partition_join 2931 ms ok 202 + partition_prune 3409 ms ok 203 + reloptions 202 ms ok 204 + hash_part 121 ms ok 205 + indexing 3169 ms ok 206 + partition_aggregate 1546 ms ok 207 + partition_info 239 ms ok 208 + tuplesort 2501 ms ok 209 + explain 226 ms ok 210 + compression 320 ms ok 211 + memoize 333 ms ok 212 + stats 2858 ms ok 213 + predicate 84 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 191 ms ok 215 + event_trigger 849 ms ok 216 - event_trigger_login 54 ms ok 217 - fast_default 1328 ms ok 218 - tablespace 12518 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-17 08:18:28 +++ /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out 2024-03-17 08:21:51 @@ -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:22:35.506](97.545s) not ok 2 - regression tests pass [08:22:35.506](0.000s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/test/recovery/t/027_stream_regress.pl line 95. [08:22:35.506](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 4001 3 41 4 3 4 4 1 32 1 1 1 6 104 2 1 5 1006 1 2 5 17 46 -2 33 34 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/1409A3E0 on primary done # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 49255 --no-unlogged-table-data [08:22:41.314](5.808s) ok 3 - dump primary server # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 49256 [08:22:47.028](5.714s) 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:22:48.207](1.178s) ok 5 - compare primary and standby dumps [08:22:48.540](0.333s) 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:22:49.602](1.062s) 1..6 [08:22:49.603](0.001s) # Looks like you failed 1 test of 6.