# Checking port 64668 # Found port 64668 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=64668 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/aaM81gVqXN Log file: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [22:02:37.055](0.054s) # 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 13338 (standby_1,) [22:02:37.639](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/aaM81gVqXN -p 64668 --checkpoint fast --no-sync # Backup finished # Checking port 64669 # Found port 64669 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=64669 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/aaM81gVqXN 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 13448 # using postmaster on /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/aaM81gVqXN, port 64668 ok 1 - test_setup 1220 ms # parallel group (20 tests): oid varchar char name pg_lsn txid uuid int2 text regproc money float4 boolean int4 bit float8 int8 enum rangetypes numeric ok 2 + boolean 491 ms ok 3 + char 392 ms ok 4 + name 394 ms ok 5 + varchar 389 ms ok 6 + text 473 ms ok 7 + int2 470 ms ok 8 + int4 495 ms ok 9 + int8 932 ms ok 10 + oid 342 ms ok 11 + float4 480 ms ok 12 + float8 897 ms ok 13 + bit 834 ms ok 14 + numeric 1839 ms ok 15 + txid 390 ms ok 16 + uuid 391 ms ok 17 + enum 911 ms ok 18 + money 447 ms ok 19 + rangetypes 1604 ms ok 20 + pg_lsn 357 ms ok 21 + regproc 429 ms # parallel group (20 tests): md5 lseg path circle line time macaddr timetz point macaddr8 numerology inet polygon date box timestamp interval timestamptz strings multirangetypes ok 22 + strings 2140 ms ok 23 + md5 99 ms ok 24 + numerology 514 ms ok 25 + point 504 ms ok 26 + lseg 104 ms ok 27 + line 414 ms ok 28 + box 1522 ms ok 29 + path 105 ms ok 30 + polygon 534 ms ok 31 + circle 97 ms ok 32 + date 553 ms ok 33 + time 464 ms ok 34 + timetz 475 ms ok 35 + timestamp 1519 ms ok 36 + timestamptz 1805 ms ok 37 + interval 1515 ms ok 38 + inet 506 ms ok 39 + macaddr 446 ms ok 40 + macaddr8 460 ms ok 41 + multirangetypes 2458 ms # parallel group (12 tests): comments misc_sanity mvcc regex unicode xid type_sanity expressions tstypes geometry opr_sanity horology ok 42 + geometry 1043 ms ok 43 + horology 1073 ms ok 44 + tstypes 984 ms ok 45 + regex 480 ms ok 46 + type_sanity 684 ms ok 47 + opr_sanity 1058 ms ok 48 + misc_sanity 207 ms ok 49 + comments 126 ms ok 50 + expressions 959 ms ok 51 + unicode 537 ms ok 52 + xid 632 ms ok 53 + mvcc 293 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 723 ms ok 55 + copyselect 625 ms ok 56 + copydml 645 ms ok 57 + insert 1710 ms ok 58 + insert_conflict 1242 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 47 ms ok 60 + create_misc 1607 ms ok 61 + create_operator 1414 ms ok 62 + create_procedure 1589 ms ok 63 + create_table 2200 ms ok 64 + create_type 1584 ms ok 65 + create_schema 677 ms # parallel group (5 tests): index_including_gist index_including create_index_spgist create_view create_index ok 66 + create_index 2487 ms ok 67 + create_index_spgist 926 ms ok 68 + create_view 1273 ms ok 69 + index_including 689 ms ok 70 + index_including_gist 587 ms # parallel group (16 tests): create_cast infinite_recurse errors hash_func typed_table create_aggregate roleattributes select create_am drop_if_exists create_function_sql vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 870 ms ok 72 + create_function_sql 1446 ms ok 73 + create_cast 200 ms ok 74 + constraints 3967 ms ok 75 + triggers 6201 ms ok 76 + select 1249 ms ok 77 + inherit 5396 ms ok 78 + typed_table 685 ms ok 79 + vacuum 2904 ms ok 80 + drop_if_exists 1327 ms ok 81 + updatable_views 4930 ms ok 82 + roleattributes 1210 ms ok 83 + create_am 1243 ms ok 84 + hash_func 437 ms ok 85 + errors 347 ms ok 86 + infinite_recurse 260 ms ok 87 - sanity_check 695 ms # parallel group (20 tests): delete namespace prepared_xacts select_distinct_on random select_having select_implicit case select_into union portals transactions select_distinct subselect arrays update hash_index aggregates join btree_index ok 88 + select_into 278 ms ok 89 + select_distinct 683 ms ok 90 + select_distinct_on 196 ms ok 91 + select_implicit 239 ms ok 92 + select_having 228 ms ok 93 + subselect 961 ms ok 94 + union 528 ms ok 95 + case 250 ms ok 96 + join 2877 ms ok 97 + aggregates 2618 ms ok 98 + transactions 638 ms ok 99 + random 194 ms ok 100 + portals 592 ms ok 101 + arrays 1083 ms ok 102 + btree_index 3150 ms ok 103 + hash_index 1760 ms ok 104 + update 1321 ms ok 105 + delete 64 ms ok 106 + namespace 108 ms ok 107 + prepared_xacts 118 ms # parallel group (20 tests): init_privs security_label drop_operator tablesample password spgist object_address gin gist replica_identity lock collate groupingsets matview identity generated join_hash brin rowsecurity privileges ok 108 + brin 5489 ms ok 109 + gin 2467 ms ok 110 + gist 2981 ms ok 111 + spgist 2322 ms ok 112 + privileges 6442 ms ok 113 + init_privs 133 ms ok 114 + security_label 188 ms ok 115 + collate 3228 ms ok 116 + matview 4317 ms ok 117 + lock 3011 ms ok 118 + replica_identity 3001 ms ok 119 + rowsecurity 6153 ms ok 120 + object_address 2412 ms ok 121 + tablesample 1322 ms ok 122 + groupingsets 3745 ms ok 123 + drop_operator 498 ms ok 124 + password 1333 ms ok 125 + identity 4316 ms ok 126 + generated 4884 ms ok 127 + join_hash 5446 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 438 ms ok 129 + brin_multi 2189 ms # parallel group (17 tests): async dbsize tid tidscan sysviews alter_operator tidrangescan tsrf misc create_role incremental_sort misc_functions without_overlaps alter_generic create_table_like merge collate.icu.utf8 ok 130 + create_table_like 2352 ms ok 131 + alter_generic 1376 ms ok 132 + alter_operator 444 ms ok 133 + misc 468 ms ok 134 + async 232 ms ok 135 + dbsize 280 ms ok 136 + merge 2524 ms ok 137 + misc_functions 1044 ms ok 138 + sysviews 404 ms ok 139 + tsrf 431 ms ok 140 + tid 321 ms ok 141 + tidscan 342 ms ok 142 + tidrangescan 400 ms ok 143 + collate.icu.utf8 2651 ms ok 144 + incremental_sort 971 ms ok 145 + create_role 733 ms ok 146 + without_overlaps 1102 ms # parallel group (7 tests): collate.linux.utf8 collate.windows.win1252 amutils psql_crosstab rules psql stats_ext ok 147 + rules 1658 ms ok 148 + psql 1671 ms ok 149 + psql_crosstab 118 ms ok 150 + amutils 78 ms ok 151 + stats_ext 5390 ms ok 152 + collate.linux.utf8 59 ms ok 153 + collate.windows.win1252 56 ms not ok 154 - select_parallel 2309 ms ok 155 - write_parallel 285 ms ok 156 - vacuum_parallel 106 ms # parallel group (2 tests): subscription publication ok 157 + publication 3364 ms ok 158 + subscription 304 ms # parallel group (17 tests): advisory_lock combocid portals_p2 functional_deps bitmapops tsdicts xmlmap indirect_toast equivclass dependency select_views guc tsearch cluster window foreign_data foreign_key ok 159 + select_views 1273 ms ok 160 + portals_p2 664 ms ok 161 + foreign_key 8759 ms ok 162 + cluster 2790 ms ok 163 + dependency 1247 ms ok 164 + guc 1345 ms ok 165 + bitmapops 815 ms ok 166 + combocid 370 ms ok 167 + tsearch 1752 ms ok 168 + tsdicts 883 ms ok 169 + foreign_data 5050 ms ok 170 + window 4074 ms ok 171 + xmlmap 868 ms ok 172 + functional_deps 748 ms ok 173 + advisory_lock 199 ms ok 174 + indirect_toast 973 ms ok 175 + equivclass 1145 ms # parallel group (7 tests): jsonpath_encoding json_encoding jsonpath sqljson jsonb_jsonpath json jsonb ok 176 + json 914 ms ok 177 + jsonb 1557 ms ok 178 + json_encoding 185 ms ok 179 + jsonpath 532 ms ok 180 + jsonpath_encoding 145 ms ok 181 + jsonb_jsonpath 809 ms ok 182 + sqljson 784 ms # parallel group (18 tests): prepare returning conversion plancache limit largeobject temp sequence rowtypes copy2 truncate xml with polymorphism rangefuncs domain plpgsql alter_table ok 183 + plancache 1206 ms ok 184 + limit 1281 ms ok 185 + plpgsql 8729 ms ok 186 + copy2 3481 ms ok 187 + temp 2899 ms ok 188 + domain 5272 ms ok 189 + rangefuncs 5208 ms ok 190 + prepare 697 ms ok 191 + conversion 1121 ms ok 192 + truncate 3476 ms ok 193 + alter_table 12985 ms ok 194 + sequence 3372 ms ok 195 + polymorphism 5144 ms ok 196 + rowtypes 3417 ms ok 197 + returning 952 ms ok 198 + largeobject 2747 ms ok 199 + with 4942 ms ok 200 + xml 4828 ms # parallel group (13 tests): predicate hash_part explain reloptions partition_info memoize compression partition_aggregate tuplesort stats indexing partition_join partition_prune ok 201 + partition_join 19547 ms ok 202 + partition_prune 20162 ms ok 203 + reloptions 900 ms ok 204 + hash_part 818 ms ok 205 + indexing 18902 ms ok 206 + partition_aggregate 3884 ms ok 207 + partition_info 934 ms ok 208 + tuplesort 6911 ms ok 209 + explain 848 ms ok 210 + compression 1233 ms ok 211 + memoize 1122 ms ok 212 + stats 12752 ms ok 213 + predicate 746 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 416 ms ok 215 + event_trigger 1668 ms ok 216 - event_trigger_login 85 ms ok 217 - fast_default 994 ms ok 218 - tablespace 4324 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-06 21:57:48 +++ /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out 2024-03-06 22:03:24 @@ -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 === [22:04:20.945](103.306s) not ok 2 - regression tests pass [22:04:20.946](0.001s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/test/recovery/t/027_stream_regress.pl line 95. [22:04:20.946](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 -2 5 17 33 34 9 1 46 1 1 1 1 -1 1 1 -1 -32768 32767 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/14091290 on primary done # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 64668 --no-unlogged-table-data [22:04:42.621](21.674s) ok 3 - dump primary server # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 64669 [22:05:13.875](31.255s) 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 [22:05:14.321](0.446s) ok 5 - compare primary and standby dumps [22:05:15.063](0.742s) 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" [22:05:16.066](1.003s) 1..6 [22:05:16.068](0.002s) # Looks like you failed 1 test of 6.