# Checking port 51284 # Found port 51284 Name: primary Data directory: C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_primary_data/pgdata Backup directory: C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_primary_data/backup Archive directory: C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_primary_data/archives Connection string: port=51284 host=C:/Windows/TEMP/gGyfywjUBi Log file: C:\cirrus\build/testrun/recovery/027_stream_regress\log/027_stream_regress_primary.log [21:35:33.405](0.061s) # initializing database system by copying initdb template # Running: robocopy /E /NJS /NJH /NFL /NDL /NP C:/cirrus/build/tmp_install/initdb-template C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_primary_data/pgdata # Running: C:\cirrus\build\src/test\regress\pg_regress.exe --config-auth C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_primary_data/pgdata ### Starting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_primary_data/pgdata -l C:\cirrus\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 5020 (standby_1,) [21:35:35.080](1.674s) ok 1 - physical slot created on primary # Taking pg_basebackup my_backup from node "primary" # Running: pg_basebackup -D C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_primary_data/backup/my_backup -h C:/Windows/TEMP/gGyfywjUBi -p 51284 --checkpoint fast --no-sync # Backup finished # Checking port 51285 # Found port 51285 Name: standby_1 Data directory: C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_standby_1_data/pgdata Backup directory: C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_standby_1_data/backup Archive directory: C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_standby_1_data/archives Connection string: port=51285 host=C:/Windows/TEMP/gGyfywjUBi Log file: C:\cirrus\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 C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_standby_1_data/pgdata -l C:\cirrus\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 7276 # using postmaster on C:/Windows/TEMP/gGyfywjUBi, port 51284 ok 1 - test_setup 923 ms # parallel group (20 tests): regproc boolean char text money enum float4 int2 int4 varchar name txid oid pg_lsn uuid float8 int8 bit numeric rangetypes ok 2 + boolean 647 ms ok 3 + char 698 ms ok 4 + name 1222 ms ok 5 + varchar 1220 ms ok 6 + text 672 ms ok 7 + int2 1098 ms ok 8 + int4 1097 ms ok 9 + int8 1340 ms ok 10 + oid 1214 ms ok 11 + float4 1085 ms ok 12 + float8 1334 ms ok 13 + bit 1393 ms ok 14 + numeric 2005 ms ok 15 + txid 1206 ms ok 16 + uuid 1281 ms ok 17 + enum 921 ms ok 18 + money 655 ms ok 19 + rangetypes 2240 ms ok 20 + pg_lsn 1254 ms ok 21 + regproc 597 ms # parallel group (20 tests): macaddr line point circle inet md5 interval numerology timetz time lseg path timestamp strings date macaddr8 timestamptz box multirangetypes polygon ok 22 + strings 1215 ms ok 23 + md5 799 ms ok 24 + numerology 1001 ms ok 25 + point 697 ms ok 26 + lseg 1026 ms ok 27 + line 621 ms ok 28 + box 1318 ms ok 29 + path 1102 ms ok 30 + polygon 1482 ms ok 31 + circle 686 ms ok 32 + date 1199 ms ok 33 + time 985 ms ok 34 + timetz 984 ms ok 35 + timestamp 1093 ms ok 36 + timestamptz 1306 ms ok 37 + interval 911 ms ok 38 + inet 772 ms ok 39 + macaddr 600 ms ok 40 + macaddr8 1267 ms ok 41 + multirangetypes 1463 ms # parallel group (12 tests): type_sanity mvcc geometry misc_sanity comments xid tstypes unicode horology expressions opr_sanity regex ok 42 + geometry 635 ms ok 43 + horology 710 ms ok 44 + tstypes 698 ms ok 45 + regex 718 ms ok 46 + type_sanity 590 ms ok 47 + opr_sanity 715 ms ok 48 + misc_sanity 626 ms ok 49 + comments 625 ms ok 50 + expressions 706 ms ok 51 + unicode 698 ms ok 52 + xid 635 ms ok 53 + mvcc 599 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 54 + copy 693 ms ok 55 + copyselect 418 ms ok 56 + copydml 273 ms ok 57 + insert 1592 ms ok 58 + insert_conflict 764 ms # parallel group (7 tests): create_schema create_misc create_function_c create_operator create_procedure create_type create_table ok 59 + create_function_c 499 ms ok 60 + create_misc 497 ms ok 61 + create_operator 496 ms ok 62 + create_procedure 518 ms ok 63 + create_table 1681 ms ok 64 + create_type 554 ms ok 65 + create_schema 394 ms # parallel group (5 tests): index_including create_view index_including_gist create_index_spgist create_index ok 66 + create_index 2971 ms ok 67 + create_index_spgist 2000 ms ok 68 + create_view 1526 ms ok 69 + index_including 1408 ms ok 70 + index_including_gist 1811 ms # parallel group (16 tests): create_cast hash_func infinite_recurse roleattributes select typed_table errors create_aggregate drop_if_exists create_function_sql create_am constraints updatable_views vacuum inherit triggers ok 71 + create_aggregate 961 ms ok 72 + create_function_sql 1319 ms ok 73 + create_cast 523 ms ok 74 + constraints 1897 ms ok 75 + triggers 4944 ms ok 76 + select 546 ms ok 77 + inherit 3482 ms ok 78 + typed_table 619 ms ok 79 + vacuum 3168 ms ok 80 + drop_if_exists 990 ms ok 81 + updatable_views 3139 ms ok 82 + roleattributes 537 ms ok 83 + create_am 1579 ms ok 84 + hash_func 503 ms ok 85 + errors 935 ms ok 86 + infinite_recurse 526 ms ok 87 - sanity_check 825 ms # parallel group (20 tests): random select_distinct_on delete case prepared_xacts select_into select_implicit select_having transactions namespace subselect portals select_distinct arrays union update hash_index join aggregates btree_index ok 88 + select_into 2579 ms ok 89 + select_distinct 2891 ms ok 90 + select_distinct_on 1307 ms ok 91 + select_implicit 2595 ms ok 92 + select_having 2594 ms ok 93 + subselect 2633 ms ok 94 + union 2976 ms ok 95 + case 1490 ms ok 96 + join 4302 ms ok 97 + aggregates 4755 ms ok 98 + transactions 2626 ms ok 99 + random 1294 ms ok 100 + portals 2842 ms ok 101 + arrays 2875 ms ok 102 + btree_index 6621 ms ok 103 + hash_index 3429 ms ok 104 + update 3343 ms ok 105 + delete 1287 ms ok 106 + namespace 2614 ms ok 107 + prepared_xacts 1558 ms # parallel group (20 tests): lock tablesample security_label drop_operator init_privs password replica_identity matview groupingsets spgist collate object_address gin identity generated rowsecurity gist join_hash brin privileges ok 108 + brin 11310 ms ok 109 + gin 4252 ms ok 110 + gist 5182 ms ok 111 + spgist 4166 ms ok 112 + privileges 12838 ms ok 113 + init_privs 2106 ms ok 114 + security_label 1864 ms ok 115 + collate 4159 ms ok 116 + matview 3919 ms ok 117 + lock 1554 ms ok 118 + replica_identity 2132 ms ok 119 + rowsecurity 4505 ms ok 120 + object_address 4153 ms ok 121 + tablesample 1706 ms ok 122 + groupingsets 4150 ms ok 123 + drop_operator 2088 ms ok 124 + password 2091 ms ok 125 + identity 4330 ms ok 126 + generated 4394 ms ok 127 + join_hash 11275 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 606 ms ok 129 + brin_multi 1795 ms # parallel group (17 tests): collate.icu.utf8 create_role tidrangescan tid tsrf alter_operator misc dbsize tidscan async misc_functions alter_generic without_overlaps incremental_sort sysviews merge create_table_like ok 130 + create_table_like 1500 ms ok 131 + alter_generic 1185 ms ok 132 + alter_operator 1078 ms ok 133 + misc 1077 ms ok 134 + async 1097 ms ok 135 + dbsize 1076 ms ok 136 + merge 1472 ms ok 137 + misc_functions 1175 ms ok 138 + sysviews 1398 ms ok 139 + tsrf 1067 ms ok 140 + tid 978 ms ok 141 + tidscan 1084 ms ok 142 + tidrangescan 974 ms ok 143 + collate.icu.utf8 744 ms ok 144 + incremental_sort 1346 ms ok 145 + create_role 864 ms ok 146 + without_overlaps 1325 ms # parallel group (7 tests): collate.linux.utf8 psql_crosstab amutils collate.windows.win1252 psql rules stats_ext ok 147 + rules 1670 ms ok 148 + psql 1614 ms ok 149 + psql_crosstab 400 ms ok 150 + amutils 585 ms ok 151 + stats_ext 5619 ms ok 152 + collate.linux.utf8 395 ms ok 153 + collate.windows.win1252 740 ms not ok 154 - select_parallel 6550 ms ok 155 - write_parallel 972 ms ok 156 - vacuum_parallel 513 ms # parallel group (2 tests): subscription publication ok 157 + publication 1620 ms ok 158 + subscription 938 ms # parallel group (17 tests): tsdicts guc equivclass advisory_lock functional_deps portals_p2 xmlmap combocid select_views dependency window tsearch cluster bitmapops indirect_toast foreign_data foreign_key ok 159 + select_views 1710 ms ok 160 + portals_p2 1193 ms ok 161 + foreign_key 5302 ms ok 162 + cluster 2547 ms ok 163 + dependency 2262 ms ok 164 + guc 1181 ms ok 165 + bitmapops 2543 ms ok 166 + combocid 1441 ms ok 167 + tsearch 2393 ms ok 168 + tsdicts 1175 ms ok 169 + foreign_data 2631 ms ok 170 + window 2330 ms ok 171 + xmlmap 1177 ms ok 172 + functional_deps 1176 ms ok 173 + advisory_lock 1168 ms ok 174 + indirect_toast 2566 ms ok 175 + equivclass 1165 ms # parallel group (7 tests): json_encoding jsonpath jsonpath_encoding jsonb_jsonpath sqljson json jsonb ok 176 + json 685 ms ok 177 + jsonb 1093 ms ok 178 + json_encoding 209 ms ok 179 + jsonpath 228 ms ok 180 + jsonpath_encoding 227 ms ok 181 + jsonb_jsonpath 612 ms ok 182 + sqljson 641 ms # parallel group (18 tests): returning plancache prepare limit temp conversion largeobject sequence copy2 xml polymorphism rangefuncs with rowtypes domain truncate plpgsql alter_table ok 183 + plancache 751 ms ok 184 + limit 787 ms ok 185 + plpgsql 3612 ms ok 186 + copy2 1727 ms ok 187 + temp 1124 ms ok 188 + domain 2296 ms ok 189 + rangefuncs 1769 ms ok 190 + prepare 741 ms ok 191 + conversion 1641 ms ok 192 + truncate 2413 ms ok 193 + alter_table 5785 ms ok 194 + sequence 1715 ms ok 195 + polymorphism 1757 ms ok 196 + rowtypes 2038 ms ok 197 + returning 713 ms ok 198 + largeobject 1658 ms ok 199 + with 1971 ms ok 200 + xml 1749 ms # parallel group (13 tests): hash_part compression reloptions partition_info predicate memoize explain partition_join indexing stats partition_aggregate tuplesort partition_prune ok 201 + partition_join 2806 ms ok 202 + partition_prune 6399 ms ok 203 + reloptions 1517 ms ok 204 + hash_part 1270 ms ok 205 + indexing 3143 ms ok 206 + partition_aggregate 4844 ms ok 207 + partition_info 1510 ms ok 208 + tuplesort 4892 ms ok 209 + explain 2139 ms ok 210 + compression 1505 ms ok 211 + memoize 2136 ms ok 212 + stats 3876 ms ok 213 + predicate 1509 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 856 ms ok 215 + event_trigger 873 ms ok 216 - event_trigger_login 326 ms ok 217 - fast_default 811 ms ok 218 - tablespace 1193 ms 1..218 # 1 of 218 tests failed. # The differences that caused some tests to fail can be viewed in the file "C:/cirrus/build/testrun/recovery/027_stream_regress/data/regression.diffs". # A copy of the test summary that you see above is saved in the file "C:/cirrus/build/testrun/recovery/027_stream_regress/data/regression.out". === dumping C:\cirrus\build/testrun/recovery/027_stream_regress\data/regression.diffs === diff -w -U3 C:/cirrus/src/test/regress/expected/select_parallel.out C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out --- C:/cirrus/src/test/regress/expected/select_parallel.out 2024-03-06 21:31:34.199011000 +0000 +++ C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out 2024-03-06 21:36:47.330429200 +0000 @@ -452,25 +452,35 @@ where tenk1.four = t.four ); QUERY PLAN ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - Seq Scan on public.tenk1 t +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 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) + 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: t3.stringu1 + Output: tenk1.four + -> HashAggregate + Output: tenk1.four + Group Key: tenk1.four -> Gather - Output: t3.stringu1 + 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 -(17 rows) +(27 rows) -- this is not parallel-safe due to use of random() within SubLink's testexpr: explain (costs off) === EOF === [21:37:21.761](106.681s) not ok 2 - regression tests pass [21:37:21.761](0.000s) # Failed test 'regression tests pass' # at C:/cirrus/src/test/recovery/t/027_stream_regress.pl line 95. [21:37:21.764](0.003s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 4001 5 5 3 4 3 41 4 4 1 32 1 1 1 6 104 2 1 5 1006 1 2 5 -2 17 1 1 33 34 9 1 1 1 1 1 -1 1 1 -1 -32768 32767 46 Waiting for replication conn standby_1's replay_lsn to pass 0/14028308 on primary done # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/primary.dump --no-sync -p 51284 --no-unlogged-table-data [21:37:27.197](5.433s) ok 3 - dump primary server # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/standby.dump --no-sync -p 51285 [21:37:31.880](4.683s) ok 4 - dump standby server # Running: diff C:\cirrus\build/testrun/recovery/027_stream_regress\data/primary.dump C:\cirrus\build/testrun/recovery/027_stream_regress\data/standby.dump [21:37:31.961](0.081s) ok 5 - compare primary and standby dumps [21:37:32.616](0.655s) ok 6 - check contents of pg_stat_statements on regression database ### Stopping node "standby_1" using mode fast # Running: pg_ctl -D C:\cirrus\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 C:\cirrus\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" [21:37:33.022](0.406s) 1..6 [21:37:33.042](0.020s) # Looks like you failed 1 test of 6.