# Checking port 49861 # Found port 49861 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=49861 host=C:/Windows/TEMP/XgaU2qOsO9 Log file: C:\cirrus\build/testrun/recovery/027_stream_regress\log/027_stream_regress_primary.log [11:50:17.817](0.067s) # 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 3944 (standby_1,) [11:50:19.396](1.579s) 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/XgaU2qOsO9 -p 49861 --checkpoint fast --no-sync # Backup finished # Checking port 49862 # Found port 49862 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=49862 host=C:/Windows/TEMP/XgaU2qOsO9 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 4776 # using postmaster on C:/Windows/TEMP/XgaU2qOsO9, port 49861 ok 1 - test_setup 1535 ms # parallel group (20 tests): char txid name varchar pg_lsn float4 enum money boolean int2 int4 uuid bit text regproc oid int8 float8 rangetypes numeric ok 2 + boolean 1197 ms ok 3 + char 1024 ms ok 4 + name 1113 ms ok 5 + varchar 1110 ms ok 6 + text 1345 ms ok 7 + int2 1188 ms ok 8 + int4 1186 ms ok 9 + int8 1436 ms ok 10 + oid 1393 ms ok 11 + float4 1143 ms ok 12 + float8 1479 ms ok 13 + bit 1265 ms ok 14 + numeric 2323 ms ok 15 + txid 1005 ms ok 16 + uuid 1218 ms ok 17 + enum 1133 ms ok 18 + money 1170 ms ok 19 + rangetypes 1486 ms ok 20 + pg_lsn 1128 ms ok 21 + regproc 1325 ms # parallel group (20 tests): macaddr time path circle interval inet macaddr8 box lseg date md5 timetz multirangetypes timestamp line numerology timestamptz strings point polygon ok 22 + strings 1385 ms ok 23 + md5 1161 ms ok 24 + numerology 1313 ms ok 25 + point 1404 ms ok 26 + lseg 1037 ms ok 27 + line 1242 ms ok 28 + box 1034 ms ok 29 + path 896 ms ok 30 + polygon 1657 ms ok 31 + circle 893 ms ok 32 + date 1028 ms ok 33 + time 890 ms ok 34 + timetz 1145 ms ok 35 + timestamp 1230 ms ok 36 + timestamptz 1337 ms ok 37 + interval 910 ms ok 38 + inet 909 ms ok 39 + macaddr 756 ms ok 40 + macaddr8 966 ms ok 41 + multirangetypes 1222 ms # parallel group (12 tests): comments horology geometry type_sanity unicode xid regex mvcc expressions tstypes misc_sanity opr_sanity ok 42 + geometry 722 ms ok 43 + horology 701 ms ok 44 + tstypes 960 ms ok 45 + regex 795 ms ok 46 + type_sanity 714 ms ok 47 + opr_sanity 1386 ms ok 48 + misc_sanity 954 ms ok 49 + comments 658 ms ok 50 + expressions 949 ms ok 51 + unicode 744 ms ok 52 + xid 783 ms ok 53 + mvcc 871 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 1069 ms ok 55 + copyselect 956 ms ok 56 + copydml 954 ms ok 57 + insert 2103 ms ok 58 + insert_conflict 1112 ms # parallel group (7 tests): create_function_c create_operator create_schema create_misc create_type create_procedure create_table ok 59 + create_function_c 447 ms ok 60 + create_misc 543 ms ok 61 + create_operator 462 ms ok 62 + create_procedure 612 ms ok 63 + create_table 1748 ms ok 64 + create_type 572 ms ok 65 + create_schema 535 ms # parallel group (5 tests): create_view index_including create_index_spgist index_including_gist create_index ok 66 + create_index 3315 ms ok 67 + create_index_spgist 1965 ms ok 68 + create_view 1237 ms ok 69 + index_including 1650 ms ok 70 + index_including_gist 2040 ms # parallel group (16 tests): create_cast create_aggregate infinite_recurse hash_func errors roleattributes typed_table create_function_sql select drop_if_exists create_am constraints vacuum updatable_views inherit triggers ok 71 + create_aggregate 592 ms ok 72 + create_function_sql 1071 ms ok 73 + create_cast 588 ms ok 74 + constraints 2218 ms ok 75 + triggers 5177 ms ok 76 + select 1065 ms ok 77 + inherit 4035 ms ok 78 + typed_table 1060 ms ok 79 + vacuum 3610 ms ok 80 + drop_if_exists 1157 ms ok 81 + updatable_views 3735 ms ok 82 + roleattributes 1052 ms ok 83 + create_am 1819 ms ok 84 + hash_func 943 ms ok 85 + errors 1048 ms ok 86 + infinite_recurse 940 ms ok 87 - sanity_check 1506 ms # parallel group (20 tests): delete select_implicit select_into namespace random prepared_xacts arrays case select_having select_distinct transactions select_distinct_on union portals subselect hash_index join update aggregates btree_index ok 88 + select_into 1166 ms ok 89 + select_distinct 2272 ms ok 90 + select_distinct_on 2270 ms ok 91 + select_implicit 1160 ms ok 92 + select_having 1811 ms ok 93 + subselect 2621 ms ok 94 + union 2264 ms ok 95 + case 1714 ms ok 96 + join 4164 ms ok 97 + aggregates 5095 ms ok 98 + transactions 2258 ms ok 99 + random 1192 ms ok 100 + portals 2439 ms ok 101 + arrays 1345 ms ok 102 + btree_index 6061 ms ok 103 + hash_index 3618 ms ok 104 + update 4167 ms ok 105 + delete 1063 ms ok 106 + namespace 1166 ms ok 107 + prepared_xacts 1337 ms # parallel group (20 tests): init_privs drop_operator lock password security_label tablesample groupingsets object_address replica_identity spgist collate matview identity generated gin rowsecurity gist join_hash brin privileges ok 108 + brin 10386 ms ok 109 + gin 4626 ms ok 110 + gist 5591 ms ok 111 + spgist 3563 ms ok 112 + privileges 12316 ms ok 113 + init_privs 759 ms ok 114 + security_label 2860 ms ok 115 + collate 3557 ms ok 116 + matview 3579 ms ok 117 + lock 2648 ms ok 118 + replica_identity 3459 ms ok 119 + rowsecurity 4684 ms ok 120 + object_address 3456 ms ok 121 + tablesample 2868 ms ok 122 + groupingsets 2875 ms ok 123 + drop_operator 752 ms ok 124 + password 2844 ms ok 125 + identity 4559 ms ok 126 + generated 4557 ms ok 127 + join_hash 10265 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 396 ms ok 129 + brin_multi 1776 ms # parallel group (18 tests): tsrf async sysviews alter_operator misc alter_generic tidscan collate.icu.utf8 tid tidrangescan incremental_sort misc_functions dbsize create_table_like collate.utf8 create_role merge without_overlaps ok 130 + create_table_like 1676 ms ok 131 + alter_generic 1403 ms ok 132 + alter_operator 1376 ms ok 133 + misc 1374 ms ok 134 + async 1147 ms ok 135 + dbsize 1617 ms ok 136 + merge 1667 ms ok 137 + misc_functions 1579 ms ok 138 + sysviews 1246 ms ok 139 + tsrf 1138 ms ok 140 + tid 1574 ms ok 141 + tidscan 1386 ms ok 142 + tidrangescan 1572 ms ok 143 + collate.utf8 1654 ms ok 144 + collate.icu.utf8 1485 ms ok 145 + incremental_sort 1567 ms ok 146 + create_role 1651 ms ok 147 + without_overlaps 2639 ms # parallel group (7 tests): amutils collate.linux.utf8 psql_crosstab collate.windows.win1252 psql rules stats_ext ok 148 + rules 1652 ms ok 149 + psql 1546 ms ok 150 + psql_crosstab 680 ms ok 151 + amutils 373 ms ok 152 + stats_ext 5546 ms ok 153 + collate.linux.utf8 459 ms ok 154 + collate.windows.win1252 916 ms not ok 155 - select_parallel 6907 ms ok 156 - write_parallel 1424 ms ok 157 - vacuum_parallel 492 ms # parallel group (2 tests): subscription publication ok 158 + publication 1654 ms ok 159 + subscription 553 ms # parallel group (17 tests): portals_p2 dependency advisory_lock combocid tsdicts xmlmap select_views guc equivclass tsearch window functional_deps indirect_toast cluster foreign_data bitmapops foreign_key ok 160 + select_views 1766 ms ok 161 + portals_p2 1081 ms ok 162 + foreign_key 4761 ms ok 163 + cluster 2525 ms ok 164 + dependency 1335 ms ok 165 + guc 1914 ms ok 166 + bitmapops 2721 ms ok 167 + combocid 1581 ms ok 168 + tsearch 2498 ms ok 169 + tsdicts 1670 ms ok 170 + foreign_data 2554 ms ok 171 + window 2503 ms ok 172 + xmlmap 1665 ms ok 173 + functional_deps 2508 ms ok 174 + advisory_lock 1385 ms ok 175 + indirect_toast 2505 ms ok 176 + equivclass 1897 ms # parallel group (9 tests): jsonpath jsonb_jsonpath jsonpath_encoding sqljson json sqljson_queryfuncs json_encoding sqljson_jsontable jsonb ok 177 + json 885 ms ok 178 + jsonb 1338 ms ok 179 + json_encoding 882 ms ok 180 + jsonpath 637 ms ok 181 + jsonpath_encoding 855 ms ok 182 + jsonb_jsonpath 819 ms ok 183 + sqljson 876 ms ok 184 + sqljson_queryfuncs 875 ms ok 185 + sqljson_jsontable 877 ms # parallel group (18 tests): limit prepare plancache returning rangefuncs conversion truncate xml rowtypes largeobject sequence copy2 with polymorphism temp domain plpgsql alter_table ok 186 + plancache 1072 ms ok 187 + limit 811 ms ok 188 + plpgsql 4226 ms ok 189 + copy2 2352 ms ok 190 + temp 2362 ms ok 191 + domain 3042 ms ok 192 + rangefuncs 1448 ms ok 193 + prepare 957 ms ok 194 + conversion 1522 ms ok 195 + truncate 1983 ms ok 196 + alter_table 6923 ms ok 197 + sequence 2264 ms ok 198 + polymorphism 2348 ms ok 199 + rowtypes 2204 ms ok 200 + returning 1050 ms ok 201 + largeobject 2201 ms ok 202 + with 2332 ms ok 203 + xml 1972 ms # parallel group (15 tests): partition_info predicate reloptions hash_part compression memoize explain partition_merge partition_split indexing partition_join partition_aggregate stats tuplesort partition_prune ok 204 + partition_merge 2483 ms ok 205 + partition_split 2549 ms ok 206 + partition_join 5157 ms ok 207 + partition_prune 8225 ms ok 208 + reloptions 1788 ms ok 209 + hash_part 1786 ms ok 210 + indexing 5147 ms ok 211 + partition_aggregate 6041 ms ok 212 + partition_info 1735 ms ok 213 + tuplesort 6203 ms ok 214 + explain 2467 ms ok 215 + compression 1828 ms ok 216 + memoize 2317 ms ok 217 + stats 6033 ms ok 218 + predicate 1772 ms # parallel group (2 tests): oidjoins event_trigger ok 219 + oidjoins 654 ms ok 220 + event_trigger 769 ms ok 221 - event_trigger_login 249 ms ok 222 - fast_default 656 ms ok 223 - tablespace 1913 ms 1..223 # 1 of 223 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-04-22 11:46:05.339753000 +0000 +++ C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out 2024-04-22 11:51:55.559809700 +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 === [11:52:34.941](135.544s) not ok 2 - regression tests pass [11:52:34.941](0.000s) # Failed test 'regression tests pass' # at C:/cirrus/src/test/recovery/t/027_stream_regress.pl line 95. [11:52:34.942](0.001s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 1 4001 3 4 3 41 4 4 1 32 1 1 1 6 104 2 1 5 1006 1 2 1 1 -1 1 1 -1 5 -32768 32767 17 33 34 46 1 1 -2 9 1 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/149607F0 on primary done # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/primary.dump --no-sync -p 49861 --no-unlogged-table-data [11:52:39.797](4.855s) ok 3 - dump primary server # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/standby.dump --no-sync -p 49862 [11:52:45.099](5.303s) 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 [11:52:45.311](0.211s) ok 5 - compare primary and standby dumps [11:52:46.287](0.976s) 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" [11:52:46.819](0.532s) 1..6 [11:52:46.842](0.022s) # Looks like you failed 1 test of 6.