# Checking port 57502 # Found port 57502 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=57502 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/BTWQZqDpbp Log file: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [17:18:00.283](0.025s) # 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 17501 (standby_1,) [17:18:00.774](0.490s) 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/BTWQZqDpbp -p 57502 --checkpoint fast --no-sync # Backup finished # Checking port 57503 # Found port 57503 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=57503 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/BTWQZqDpbp 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 17919 # using postmaster on /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/BTWQZqDpbp, port 57502 ok 1 - test_setup 967 ms # parallel group (20 tests): char float4 oid pg_lsn money name varchar txid regproc bit text uuid int2 int4 boolean float8 int8 enum rangetypes numeric ok 2 + boolean 321 ms ok 3 + char 128 ms ok 4 + name 157 ms ok 5 + varchar 189 ms ok 6 + text 280 ms ok 7 + int2 283 ms ok 8 + int4 303 ms ok 9 + int8 590 ms ok 10 + oid 135 ms ok 11 + float4 128 ms ok 12 + float8 495 ms ok 13 + bit 242 ms ok 14 + numeric 1606 ms ok 15 + txid 202 ms ok 16 + uuid 248 ms ok 17 + enum 610 ms ok 18 + money 110 ms ok 19 + rangetypes 1258 ms ok 20 + pg_lsn 101 ms ok 21 + regproc 188 ms # parallel group (20 tests): md5 lseg line path time circle timetz numerology macaddr macaddr8 point polygon inet date timestamp box interval timestamptz strings multirangetypes ok 22 + strings 1863 ms ok 23 + md5 443 ms ok 24 + numerology 908 ms ok 25 + point 942 ms ok 26 + lseg 526 ms ok 27 + line 628 ms ok 28 + box 1458 ms ok 29 + path 706 ms ok 30 + polygon 1003 ms ok 31 + circle 806 ms ok 32 + date 1114 ms ok 33 + time 749 ms ok 34 + timetz 857 ms ok 35 + timestamp 1341 ms ok 36 + timestamptz 1637 ms ok 37 + interval 1432 ms ok 38 + inet 1042 ms ok 39 + macaddr 851 ms ok 40 + macaddr8 877 ms ok 41 + multirangetypes 2091 ms # parallel group (12 tests): comments unicode misc_sanity mvcc xid tstypes expressions horology type_sanity geometry regex opr_sanity ok 42 + geometry 414 ms ok 43 + horology 360 ms ok 44 + tstypes 249 ms ok 45 + regex 505 ms ok 46 + type_sanity 400 ms ok 47 + opr_sanity 506 ms ok 48 + misc_sanity 151 ms ok 49 + comments 71 ms ok 50 + expressions 244 ms ok 51 + unicode 136 ms ok 52 + xid 202 ms ok 53 + mvcc 188 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 216 ms ok 55 + copyselect 109 ms ok 56 + copydml 126 ms ok 57 + insert 899 ms ok 58 + insert_conflict 339 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 49 ms ok 60 + create_misc 105 ms ok 61 + create_operator 90 ms ok 62 + create_procedure 99 ms ok 63 + create_table 967 ms ok 64 + create_type 92 ms ok 65 + create_schema 78 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 3516 ms ok 67 + create_index_spgist 1307 ms ok 68 + create_view 1271 ms ok 69 + index_including 690 ms ok 70 + index_including_gist 970 ms # parallel group (16 tests): create_cast infinite_recurse errors typed_table create_aggregate hash_func roleattributes select create_am drop_if_exists create_function_sql vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 696 ms ok 72 + create_function_sql 1066 ms ok 73 + create_cast 115 ms ok 74 + constraints 1872 ms ok 75 + triggers 4619 ms ok 76 + select 902 ms ok 77 + inherit 3538 ms ok 78 + typed_table 665 ms ok 79 + vacuum 1179 ms ok 80 + drop_if_exists 1021 ms ok 81 + updatable_views 3414 ms ok 82 + roleattributes 720 ms ok 83 + create_am 941 ms ok 84 + hash_func 675 ms ok 85 + errors 289 ms ok 86 + infinite_recurse 187 ms ok 87 - sanity_check 1006 ms # parallel group (20 tests): delete select_having select_distinct_on namespace prepared_xacts select_implicit random case select_into select_distinct union hash_index arrays portals transactions btree_index subselect update aggregates join ok 88 + select_into 1270 ms ok 89 + select_distinct 1308 ms ok 90 + select_distinct_on 183 ms ok 91 + select_implicit 606 ms ok 92 + select_having 153 ms ok 93 + subselect 3181 ms ok 94 + union 2404 ms ok 95 + case 733 ms ok 96 + join 5120 ms ok 97 + aggregates 4814 ms ok 98 + transactions 2943 ms ok 99 + random 701 ms ok 100 + portals 2569 ms ok 101 + arrays 2453 ms ok 102 + btree_index 2999 ms ok 103 + hash_index 2391 ms ok 104 + update 3151 ms ok 105 + delete 87 ms ok 106 + namespace 125 ms ok 107 + prepared_xacts 254 ms # parallel group (20 tests): init_privs drop_operator security_label password tablesample object_address spgist replica_identity lock groupingsets collate gist gin matview identity generated brin join_hash rowsecurity privileges ok 108 + brin 8246 ms ok 109 + gin 5778 ms ok 110 + gist 5747 ms ok 111 + spgist 4079 ms ok 112 + privileges 9383 ms ok 113 + init_privs 751 ms ok 114 + security_label 1121 ms ok 115 + collate 5715 ms ok 116 + matview 6138 ms ok 117 + lock 4385 ms ok 118 + replica_identity 4359 ms ok 119 + rowsecurity 8560 ms ok 120 + object_address 4037 ms ok 121 + tablesample 4035 ms ok 122 + groupingsets 5300 ms ok 123 + drop_operator 785 ms ok 124 + password 3977 ms ok 125 + identity 6236 ms ok 126 + generated 7234 ms ok 127 + join_hash 8232 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 150 ms ok 129 + brin_multi 1370 ms # parallel group (18 tests): dbsize async collate.utf8 create_role tidrangescan tidscan tid alter_operator tsrf incremental_sort misc misc_functions sysviews alter_generic create_table_like merge collate.icu.utf8 without_overlaps ok 130 + create_table_like 1938 ms ok 131 + alter_generic 932 ms ok 132 + alter_operator 389 ms ok 133 + misc 548 ms ok 134 + async 240 ms ok 135 + dbsize 210 ms ok 136 + merge 2235 ms ok 137 + misc_functions 543 ms ok 138 + sysviews 659 ms ok 139 + tsrf 371 ms ok 140 + tid 352 ms ok 141 + tidscan 344 ms ok 142 + tidrangescan 336 ms ok 143 + collate.utf8 288 ms ok 144 + collate.icu.utf8 2257 ms ok 145 + incremental_sort 446 ms ok 146 + create_role 316 ms ok 147 + without_overlaps 2683 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab psql rules stats_ext ok 148 + rules 2864 ms ok 149 + psql 2571 ms ok 150 + psql_crosstab 277 ms ok 151 + amutils 128 ms ok 152 + stats_ext 4844 ms ok 153 + collate.linux.utf8 57 ms ok 154 + collate.windows.win1252 56 ms not ok 155 - select_parallel 1456 ms ok 156 - write_parallel 163 ms ok 157 - vacuum_parallel 133 ms # parallel group (2 tests): subscription publication ok 158 + publication 642 ms ok 159 + subscription 179 ms # parallel group (17 tests): advisory_lock combocid xmlmap portals_p2 indirect_toast bitmapops functional_deps tsdicts select_views dependency equivclass guc tsearch window cluster foreign_data foreign_key ok 160 + select_views 1109 ms ok 161 + portals_p2 767 ms ok 162 + foreign_key 3262 ms ok 163 + cluster 1890 ms ok 164 + dependency 1158 ms ok 165 + guc 1208 ms ok 166 + bitmapops 803 ms ok 167 + combocid 725 ms ok 168 + tsearch 1248 ms ok 169 + tsdicts 960 ms ok 170 + foreign_data 2577 ms ok 171 + window 1367 ms ok 172 + xmlmap 722 ms ok 173 + functional_deps 813 ms ok 174 + advisory_lock 242 ms ok 175 + indirect_toast 740 ms ok 176 + equivclass 1138 ms # parallel group (9 tests): jsonpath_encoding jsonpath json_encoding sqljson_jsontable sqljson jsonb_jsonpath sqljson_queryfuncs json jsonb ok 177 + json 740 ms ok 178 + jsonb 982 ms ok 179 + json_encoding 255 ms ok 180 + jsonpath 202 ms ok 181 + jsonpath_encoding 166 ms ok 182 + jsonb_jsonpath 547 ms ok 183 + sqljson 487 ms ok 184 + sqljson_queryfuncs 614 ms ok 185 + sqljson_jsontable 341 ms # parallel group (18 tests): returning prepare limit plancache conversion rowtypes temp sequence largeobject truncate copy2 with xml polymorphism domain rangefuncs plpgsql alter_table ok 186 + plancache 696 ms ok 187 + limit 615 ms ok 188 + plpgsql 4487 ms ok 189 + copy2 1836 ms ok 190 + temp 1270 ms ok 191 + domain 2819 ms ok 192 + rangefuncs 2823 ms ok 193 + prepare 371 ms ok 194 + conversion 705 ms ok 195 + truncate 1794 ms ok 196 + alter_table 9233 ms ok 197 + sequence 1328 ms ok 198 + polymorphism 2302 ms ok 199 + rowtypes 1174 ms ok 200 + returning 260 ms ok 201 + largeobject 1564 ms ok 202 + with 2174 ms ok 203 + xml 2258 ms # parallel group (15 tests): hash_part reloptions explain predicate partition_info memoize compression partition_merge stats partition_split partition_prune partition_aggregate indexing partition_join tuplesort ok 204 + partition_merge 1019 ms ok 205 + partition_split 1898 ms ok 206 + partition_join 3012 ms ok 207 + partition_prune 2555 ms ok 208 + reloptions 212 ms ok 209 + hash_part 156 ms ok 210 + indexing 2766 ms ok 211 + partition_aggregate 2563 ms ok 212 + partition_info 418 ms ok 213 + tuplesort 3531 ms ok 214 + explain 192 ms ok 215 + compression 887 ms ok 216 + memoize 816 ms ok 217 + stats 1709 ms ok 218 + predicate 207 ms # parallel group (2 tests): oidjoins event_trigger ok 219 + oidjoins 138 ms ok 220 + event_trigger 625 ms ok 221 - event_trigger_login 55 ms ok 222 - fast_default 318 ms ok 223 - tablespace 881 ms 1..223 # 1 of 223 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-04-20 17:14:49 +++ /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out 2024-04-20 17:18:47 @@ -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 === [17:19:08.447](67.674s) not ok 2 - regression tests pass [17:19:08.448](0.001s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/test/recovery/t/027_stream_regress.pl line 95. [17:19:08.448](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 1 4001 41 3 4 3 4 4 1 32 1 1 1 6 104 2 1 5 1006 1 2 5 1 17 -2 33 34 9 1 1 1 1 1 -1 1 1 -1 -32768 32767 46 1 Waiting for replication conn standby_1's replay_lsn to pass 0/1444D2C8 on primary done # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 57502 --no-unlogged-table-data [17:19:13.760](5.312s) ok 3 - dump primary server # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 57503 [17:19:24.156](10.396s) 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 [17:19:24.432](0.275s) ok 5 - compare primary and standby dumps [17:19:24.832](0.400s) 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" [17:19:25.376](0.544s) 1..6 [17:19:25.378](0.001s) # Looks like you failed 1 test of 6.