# Checking port 59360 # Found port 59360 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=59360 host=C:/Windows/TEMP/oZ7Do26MRU Log file: C:\cirrus\build/testrun/recovery/027_stream_regress\log/027_stream_regress_primary.log [01:05:25.090](0.051s) # 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 7704 (standby_1,) [01:05:26.354](1.264s) 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/oZ7Do26MRU -p 59360 --checkpoint fast --no-sync # Backup finished # Checking port 59361 # Found port 59361 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=59361 host=C:/Windows/TEMP/oZ7Do26MRU 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 1428 # using postmaster on C:/Windows/TEMP/oZ7Do26MRU, port 59360 ok 1 - test_setup 727 ms # parallel group (20 tests): char oid float4 uuid text money bit int2 pg_lsn varchar name int8 txid boolean regproc int4 float8 enum rangetypes numeric ok 2 + boolean 1134 ms ok 3 + char 356 ms ok 4 + name 890 ms ok 5 + varchar 857 ms ok 6 + text 705 ms ok 7 + int2 769 ms ok 8 + int4 1160 ms ok 9 + int8 1099 ms ok 10 + oid 346 ms ok 11 + float4 660 ms ok 12 + float8 1219 ms ok 13 + bit 723 ms ok 14 + numeric 1715 ms ok 15 + txid 1113 ms ok 16 + uuid 653 ms ok 17 + enum 1317 ms ok 18 + money 694 ms ok 19 + rangetypes 1676 ms ok 20 + pg_lsn 802 ms ok 21 + regproc 1106 ms # parallel group (20 tests): line numerology timetz macaddr md5 lseg point path interval time macaddr8 inet circle date timestamp timestamptz box strings polygon multirangetypes ok 22 + strings 1486 ms ok 23 + md5 641 ms ok 24 + numerology 547 ms ok 25 + point 674 ms ok 26 + lseg 673 ms ok 27 + line 466 ms ok 28 + box 1348 ms ok 29 + path 856 ms ok 30 + polygon 1555 ms ok 31 + circle 1109 ms ok 32 + date 1192 ms ok 33 + time 991 ms ok 34 + timetz 570 ms ok 35 + timestamp 1215 ms ok 36 + timestamptz 1336 ms ok 37 + interval 936 ms ok 38 + inet 1041 ms ok 39 + macaddr 616 ms ok 40 + macaddr8 1038 ms ok 41 + multirangetypes 1566 ms # parallel group (12 tests): unicode comments mvcc misc_sanity type_sanity expressions tstypes regex xid horology opr_sanity geometry ok 42 + geometry 1648 ms ok 43 + horology 1607 ms ok 44 + tstypes 1194 ms ok 45 + regex 1289 ms ok 46 + type_sanity 1188 ms ok 47 + opr_sanity 1640 ms ok 48 + misc_sanity 1135 ms ok 49 + comments 891 ms ok 50 + expressions 1183 ms ok 51 + unicode 888 ms ok 52 + xid 1530 ms ok 53 + mvcc 1022 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 618 ms ok 55 + copyselect 463 ms ok 56 + copydml 547 ms ok 57 + insert 1365 ms ok 58 + insert_conflict 881 ms # parallel group (7 tests): create_type create_misc create_schema create_function_c create_operator create_procedure create_table ok 59 + create_function_c 428 ms ok 60 + create_misc 412 ms ok 61 + create_operator 427 ms ok 62 + create_procedure 507 ms ok 63 + create_table 1143 ms ok 64 + create_type 360 ms ok 65 + create_schema 420 ms # parallel group (5 tests): create_view index_including index_including_gist create_index_spgist create_index ok 66 + create_index 2472 ms ok 67 + create_index_spgist 1445 ms ok 68 + create_view 1113 ms ok 69 + index_including 1226 ms ok 70 + index_including_gist 1430 ms # parallel group (16 tests): errors infinite_recurse hash_func create_aggregate typed_table drop_if_exists create_cast create_function_sql select roleattributes create_am constraints vacuum updatable_views inherit triggers ok 71 + create_aggregate 877 ms ok 72 + create_function_sql 1241 ms ok 73 + create_cast 1238 ms ok 74 + constraints 1978 ms ok 75 + triggers 4281 ms ok 76 + select 1234 ms ok 77 + inherit 3503 ms ok 78 + typed_table 1021 ms ok 79 + vacuum 2896 ms ok 80 + drop_if_exists 1081 ms ok 81 + updatable_views 3496 ms ok 82 + roleattributes 1283 ms ok 83 + create_am 1281 ms ok 84 + hash_func 773 ms ok 85 + errors 500 ms ok 86 + infinite_recurse 703 ms ok 87 - sanity_check 763 ms # parallel group (20 tests): prepared_xacts select_having namespace select_distinct_on case select_into select_implicit delete transactions random portals union select_distinct arrays subselect hash_index update join aggregates btree_index ok 88 + select_into 1996 ms ok 89 + select_distinct 2748 ms ok 90 + select_distinct_on 1621 ms ok 91 + select_implicit 1992 ms ok 92 + select_having 1310 ms ok 93 + subselect 2890 ms ok 94 + union 2736 ms ok 95 + case 1987 ms ok 96 + join 3407 ms ok 97 + aggregates 4112 ms ok 98 + transactions 1983 ms ok 99 + random 2016 ms ok 100 + portals 2728 ms ok 101 + arrays 2879 ms ok 102 + btree_index 5988 ms ok 103 + hash_index 3073 ms ok 104 + update 3193 ms ok 105 + delete 1973 ms ok 106 + namespace 1599 ms ok 107 + prepared_xacts 1098 ms # parallel group (20 tests): collate tablesample password security_label lock init_privs drop_operator gin matview object_address replica_identity identity spgist groupingsets generated rowsecurity gist brin join_hash privileges ok 108 + brin 11281 ms ok 109 + gin 2658 ms ok 110 + gist 5071 ms ok 111 + spgist 3501 ms ok 112 + privileges 13111 ms ok 113 + init_privs 2388 ms ok 114 + security_label 2147 ms ok 115 + collate 1704 ms ok 116 + matview 3199 ms ok 117 + lock 2376 ms ok 118 + replica_identity 3196 ms ok 119 + rowsecurity 4975 ms ok 120 + object_address 3193 ms ok 121 + tablesample 2066 ms ok 122 + groupingsets 4148 ms ok 123 + drop_operator 2638 ms ok 124 + password 2133 ms ok 125 + identity 3290 ms ok 126 + generated 4145 ms ok 127 + join_hash 11271 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 399 ms ok 129 + brin_multi 2738 ms # parallel group (18 tests): tidrangescan async alter_operator tidscan misc collate.icu.utf8 tsrf dbsize collate.utf8 tid sysviews create_role alter_generic misc_functions incremental_sort create_table_like merge without_overlaps ok 130 + create_table_like 2024 ms ok 131 + alter_generic 1090 ms ok 132 + alter_operator 598 ms ok 133 + misc 710 ms ok 134 + async 595 ms ok 135 + dbsize 771 ms ok 136 + merge 2016 ms ok 137 + misc_functions 2013 ms ok 138 + sysviews 859 ms ok 139 + tsrf 765 ms ok 140 + tid 856 ms ok 141 + tidscan 635 ms ok 142 + tidrangescan 524 ms ok 143 + collate.utf8 794 ms ok 144 + collate.icu.utf8 696 ms ok 145 + incremental_sort 2002 ms ok 146 + create_role 1068 ms ok 147 + without_overlaps 2881 ms # parallel group (7 tests): amutils psql_crosstab collate.linux.utf8 collate.windows.win1252 rules psql stats_ext ok 148 + rules 1723 ms ok 149 + psql 1837 ms ok 150 + psql_crosstab 285 ms ok 151 + amutils 284 ms ok 152 + stats_ext 4776 ms ok 153 + collate.linux.utf8 421 ms ok 154 + collate.windows.win1252 867 ms not ok 155 - select_parallel 5850 ms ok 156 - write_parallel 890 ms ok 157 - vacuum_parallel 480 ms # parallel group (2 tests): subscription publication ok 158 + publication 1557 ms ok 159 + subscription 620 ms # parallel group (17 tests): dependency guc tsearch window equivclass tsdicts portals_p2 combocid advisory_lock indirect_toast select_views xmlmap foreign_data functional_deps bitmapops cluster foreign_key ok 160 + select_views 1881 ms ok 161 + portals_p2 1778 ms ok 162 + foreign_key 4417 ms ok 163 + cluster 2439 ms ok 164 + dependency 1296 ms ok 165 + guc 1295 ms ok 166 + bitmapops 2327 ms ok 167 + combocid 1770 ms ok 168 + tsearch 1573 ms ok 169 + tsdicts 1665 ms ok 170 + foreign_data 1911 ms ok 171 + window 1659 ms ok 172 + xmlmap 1865 ms ok 173 + functional_deps 1912 ms ok 174 + advisory_lock 1760 ms ok 175 + indirect_toast 1805 ms ok 176 + equivclass 1652 ms # parallel group (9 tests): jsonpath jsonpath_encoding sqljson_jsontable json_encoding jsonb_jsonpath sqljson sqljson_queryfuncs json jsonb ok 177 + json 842 ms ok 178 + jsonb 1273 ms ok 179 + json_encoding 628 ms ok 180 + jsonpath 378 ms ok 181 + jsonpath_encoding 521 ms ok 182 + jsonb_jsonpath 684 ms ok 183 + sqljson 761 ms ok 184 + sqljson_queryfuncs 770 ms ok 185 + sqljson_jsontable 541 ms # parallel group (18 tests): limit returning prepare plancache conversion xml largeobject copy2 sequence rowtypes with temp rangefuncs polymorphism domain truncate plpgsql alter_table ok 186 + plancache 828 ms ok 187 + limit 737 ms ok 188 + plpgsql 4172 ms ok 189 + copy2 2287 ms ok 190 + temp 2482 ms ok 191 + domain 2636 ms ok 192 + rangefuncs 2628 ms ok 193 + prepare 817 ms ok 194 + conversion 1236 ms ok 195 + truncate 2811 ms ok 196 + alter_table 5589 ms ok 197 + sequence 2275 ms ok 198 + polymorphism 2626 ms ok 199 + rowtypes 2277 ms ok 200 + returning 790 ms ok 201 + largeobject 2023 ms ok 202 + with 2401 ms ok 203 + xml 1307 ms # parallel group (15 tests): hash_part predicate reloptions compression partition_info partition_merge explain memoize partition_split indexing partition_join stats tuplesort partition_aggregate partition_prune ok 204 + partition_merge 2852 ms ok 205 + partition_split 3611 ms ok 206 + partition_join 4560 ms ok 207 + partition_prune 8043 ms ok 208 + reloptions 1558 ms ok 209 + hash_part 1497 ms ok 210 + indexing 3809 ms ok 211 + partition_aggregate 6222 ms ok 212 + partition_info 2771 ms ok 213 + tuplesort 6193 ms ok 214 + explain 2838 ms ok 215 + compression 2473 ms ok 216 + memoize 3018 ms ok 217 + stats 4935 ms ok 218 + predicate 1543 ms # parallel group (2 tests): oidjoins event_trigger ok 219 + oidjoins 772 ms ok 220 + event_trigger 817 ms ok 221 - event_trigger_login 428 ms ok 222 - fast_default 566 ms ok 223 - tablespace 1132 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-12 01:01:37.417329400 +0000 +++ C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out 2024-04-12 01:06:43.570754700 +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 === [01:07:18.255](111.901s) not ok 2 - regression tests pass [01:07:18.255](0.000s) # Failed test 'regression tests pass' # at C:/cirrus/src/test/recovery/t/027_stream_regress.pl line 95. [01:07:18.255](0.000s) # got: '256' # expected: '0' 1 1 1 1 2 1 9 1 5 5 1 5 5 3 4 3 4 4 1 32 1 1 1 6 4001 1 104 17 2 1 -1 1 1 -1 1006 -32768 41 1 2 32767 33 34 1 1 -2 9 46 1 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/1464BA40 on primary done # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/primary.dump --no-sync -p 59360 --no-unlogged-table-data [01:07:23.237](4.982s) ok 3 - dump primary server # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/standby.dump --no-sync -p 59361 [01:07:27.169](3.932s) 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 [01:07:27.259](0.090s) ok 5 - compare primary and standby dumps [01:07:27.858](0.599s) 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" [01:07:28.232](0.373s) 1..6 [01:07:28.240](0.008s) # Looks like you failed 1 test of 6.