# Checking port 52313 # Found port 52313 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=52313 host=C:/Windows/TEMP/kBiI39s5jV Log file: C:\cirrus\build/testrun/recovery/027_stream_regress\log/027_stream_regress_primary.log [12:38:39.006](0.085s) # 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 8152 (standby_1,) [12:38:40.531](1.526s) 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/kBiI39s5jV -p 52313 --checkpoint fast --no-sync # Backup finished # Checking port 52314 # Found port 52314 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=52314 host=C:/Windows/TEMP/kBiI39s5jV 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 5024 # using postmaster on C:/Windows/TEMP/kBiI39s5jV, port 52313 ok 1 - test_setup 664 ms # parallel group (20 tests): int4 name int2 uuid varchar money oid int8 txid enum boolean bit float4 pg_lsn float8 regproc char text numeric rangetypes ok 2 + boolean 919 ms ok 3 + char 1081 ms ok 4 + name 713 ms ok 5 + varchar 825 ms ok 6 + text 1329 ms ok 7 + int2 707 ms ok 8 + int4 520 ms ok 9 + int8 865 ms ok 10 + oid 850 ms ok 11 + float4 925 ms ok 12 + float8 924 ms ok 13 + bit 920 ms ok 14 + numeric 1971 ms ok 15 + txid 843 ms ok 16 + uuid 679 ms ok 17 + enum 880 ms ok 18 + money 791 ms ok 19 + rangetypes 2145 ms ok 20 + pg_lsn 911 ms ok 21 + regproc 944 ms # parallel group (20 tests): point macaddr path circle time lseg date md5 inet line macaddr8 numerology timetz box timestamp interval polygon timestamptz strings multirangetypes ok 22 + strings 1469 ms ok 23 + md5 1128 ms ok 24 + numerology 1210 ms ok 25 + point 627 ms ok 26 + lseg 1052 ms ok 27 + line 1123 ms ok 28 + box 1395 ms ok 29 + path 991 ms ok 30 + polygon 1401 ms ok 31 + circle 988 ms ok 32 + date 1042 ms ok 33 + time 985 ms ok 34 + timetz 1195 ms ok 35 + timestamp 1385 ms ok 36 + timestamptz 1448 ms ok 37 + interval 1390 ms ok 38 + inet 1106 ms ok 39 + macaddr 939 ms ok 40 + macaddr8 1117 ms ok 41 + multirangetypes 1759 ms # parallel group (12 tests): misc_sanity geometry mvcc expressions tstypes comments regex unicode xid type_sanity opr_sanity horology ok 42 + geometry 921 ms ok 43 + horology 1138 ms ok 44 + tstypes 922 ms ok 45 + regex 921 ms ok 46 + type_sanity 1011 ms ok 47 + opr_sanity 1131 ms ok 48 + misc_sanity 795 ms ok 49 + comments 914 ms ok 50 + expressions 912 ms ok 51 + unicode 912 ms ok 52 + xid 1001 ms ok 53 + mvcc 903 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 54 + copy 752 ms ok 55 + copyselect 452 ms ok 56 + copydml 354 ms ok 57 + insert 1676 ms ok 58 + insert_conflict 1286 ms # parallel group (7 tests): create_operator create_misc create_procedure create_type create_function_c create_schema create_table ok 59 + create_function_c 806 ms ok 60 + create_misc 790 ms ok 61 + create_operator 629 ms ok 62 + create_procedure 787 ms ok 63 + create_table 1505 ms ok 64 + create_type 797 ms ok 65 + create_schema 796 ms # parallel group (5 tests): index_including create_view index_including_gist create_index_spgist create_index ok 66 + create_index 2950 ms ok 67 + create_index_spgist 1771 ms ok 68 + create_view 1551 ms ok 69 + index_including 1430 ms ok 70 + index_including_gist 1582 ms # parallel group (16 tests): create_cast hash_func create_function_sql typed_table roleattributes select create_am errors infinite_recurse create_aggregate drop_if_exists constraints vacuum updatable_views inherit triggers ok 71 + create_aggregate 1341 ms ok 72 + create_function_sql 1032 ms ok 73 + create_cast 800 ms ok 74 + constraints 2362 ms ok 75 + triggers 4377 ms ok 76 + select 1126 ms ok 77 + inherit 3884 ms ok 78 + typed_table 1023 ms ok 79 + vacuum 2828 ms ok 80 + drop_if_exists 1453 ms ok 81 + updatable_views 2853 ms ok 82 + roleattributes 1041 ms ok 83 + create_am 1116 ms ok 84 + hash_func 1015 ms ok 85 + errors 1183 ms ok 86 + infinite_recurse 1182 ms ok 87 - sanity_check 825 ms # parallel group (20 tests): select_having namespace delete case prepared_xacts select_distinct_on select_implicit random select_into select_distinct union arrays transactions portals subselect hash_index update join aggregates btree_index ok 88 + select_into 1895 ms ok 89 + select_distinct 2347 ms ok 90 + select_distinct_on 1576 ms ok 91 + select_implicit 1575 ms ok 92 + select_having 627 ms ok 93 + subselect 2380 ms ok 94 + union 2340 ms ok 95 + case 1465 ms ok 96 + join 4394 ms ok 97 + aggregates 5092 ms ok 98 + transactions 2336 ms ok 99 + random 1852 ms ok 100 + portals 2333 ms ok 101 + arrays 2331 ms ok 102 + btree_index 6736 ms ok 103 + hash_index 3417 ms ok 104 + update 3439 ms ok 105 + delete 1450 ms ok 106 + namespace 674 ms ok 107 + prepared_xacts 1551 ms # parallel group (20 tests): password security_label drop_operator replica_identity init_privs tablesample collate object_address lock groupingsets spgist identity matview gin rowsecurity generated gist join_hash brin privileges ok 108 + brin 12293 ms ok 109 + gin 3982 ms ok 110 + gist 5233 ms ok 111 + spgist 3294 ms ok 112 + privileges 13819 ms ok 113 + init_privs 3151 ms ok 114 + security_label 1595 ms ok 115 + collate 3278 ms ok 116 + matview 3965 ms ok 117 + lock 3278 ms ok 118 + replica_identity 2125 ms ok 119 + rowsecurity 4052 ms ok 120 + object_address 3272 ms ok 121 + tablesample 3266 ms ok 122 + groupingsets 3270 ms ok 123 + drop_operator 1578 ms ok 124 + password 1577 ms ok 125 + identity 3307 ms ok 126 + generated 4185 ms ok 127 + join_hash 12208 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 463 ms ok 129 + brin_multi 1924 ms # parallel group (17 tests): tid create_role alter_generic sysviews dbsize async tidrangescan without_overlaps alter_operator misc_functions misc collate.icu.utf8 tidscan tsrf create_table_like incremental_sort merge ok 130 + create_table_like 1351 ms ok 131 + alter_generic 723 ms ok 132 + alter_operator 1167 ms ok 133 + misc 1172 ms ok 134 + async 1033 ms ok 135 + dbsize 884 ms not ok 136 + merge 2044 ms ok 137 + misc_functions 1167 ms ok 138 + sysviews 754 ms ok 139 + tsrf 1338 ms ok 140 + tid 612 ms ok 141 + tidscan 1267 ms ok 142 + tidrangescan 1022 ms ok 143 + collate.icu.utf8 1165 ms ok 144 + incremental_sort 1347 ms ok 145 + create_role 701 ms ok 146 + without_overlaps 1083 ms # parallel group (7 tests): amutils collate.linux.utf8 psql_crosstab collate.windows.win1252 rules psql stats_ext ok 147 + rules 1406 ms ok 148 + psql 1410 ms ok 149 + psql_crosstab 373 ms ok 150 + amutils 297 ms ok 151 + stats_ext 4448 ms ok 152 + collate.linux.utf8 368 ms ok 153 + collate.windows.win1252 649 ms ok 154 - select_parallel 7736 ms ok 155 - write_parallel 1086 ms ok 156 - vacuum_parallel 501 ms # parallel group (2 tests): subscription publication ok 157 + publication 1599 ms ok 158 + subscription 417 ms # parallel group (17 tests): equivclass combocid portals_p2 advisory_lock xmlmap window guc dependency tsearch select_views tsdicts functional_deps cluster indirect_toast bitmapops foreign_data foreign_key ok 159 + select_views 1863 ms ok 160 + portals_p2 973 ms ok 161 + foreign_key 4711 ms ok 162 + cluster 2577 ms ok 163 + dependency 1768 ms ok 164 + guc 1767 ms ok 165 + bitmapops 2736 ms ok 166 + combocid 843 ms ok 167 + tsearch 1762 ms ok 168 + tsdicts 2042 ms ok 169 + foreign_data 2821 ms ok 170 + window 1607 ms ok 171 + xmlmap 1096 ms ok 172 + functional_deps 2141 ms ok 173 + advisory_lock 953 ms ok 174 + indirect_toast 2722 ms ok 175 + equivclass 829 ms # parallel group (7 tests): json_encoding jsonpath jsonpath_encoding sqljson json jsonb_jsonpath jsonb ok 176 + json 737 ms ok 177 + jsonb 1270 ms ok 178 + json_encoding 368 ms ok 179 + jsonpath 366 ms ok 180 + jsonpath_encoding 419 ms ok 181 + jsonb_jsonpath 758 ms ok 182 + sqljson 699 ms # parallel group (18 tests): conversion plancache prepare truncate with sequence limit returning rowtypes polymorphism xml copy2 temp rangefuncs largeobject domain plpgsql alter_table ok 183 + plancache 1344 ms ok 184 + limit 2015 ms ok 185 + plpgsql 3594 ms ok 186 + copy2 2240 ms ok 187 + temp 2239 ms ok 188 + domain 2436 ms ok 189 + rangefuncs 2291 ms ok 190 + prepare 1521 ms ok 191 + conversion 1331 ms ok 192 + truncate 1519 ms ok 193 + alter_table 5970 ms ok 194 + sequence 1998 ms ok 195 + polymorphism 2223 ms ok 196 + rowtypes 2068 ms ok 197 + returning 2065 ms ok 198 + largeobject 2327 ms ok 199 + with 1803 ms ok 200 + xml 2215 ms # parallel group (13 tests): predicate partition_info compression explain memoize reloptions hash_part indexing partition_join partition_aggregate stats tuplesort partition_prune ok 201 + partition_join 3623 ms ok 202 + partition_prune 6092 ms ok 203 + reloptions 1872 ms ok 204 + hash_part 1984 ms ok 205 + indexing 3546 ms ok 206 + partition_aggregate 4379 ms ok 207 + partition_info 1112 ms ok 208 + tuplesort 4848 ms not ok 209 + explain 1742 ms ok 210 + compression 1449 ms ok 211 + memoize 1776 ms ok 212 + stats 4464 ms ok 213 + predicate 788 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 807 ms ok 215 + event_trigger 891 ms ok 216 - event_trigger_login 1023 ms ok 217 - fast_default 790 ms ok 218 - tablespace 1208 ms 1..218 # 2 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/merge.out C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/merge.out --- C:/cirrus/src/test/regress/expected/merge.out 2024-03-19 12:34:46.925783000 +0000 +++ C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/merge.out 2024-03-19 12:39:44.869517200 +0000 @@ -1675,8 +1675,10 @@ QUERY PLAN ------------------------------------------------------------------------------------- Merge on public.tgt t + JIT: true -> Hash Join Output: t.ctid, s.a, s.b, s.c, s.d, s.ctid + JIT: true Hash Cond: (t.a = s.a) Join Filter: (t.b < (SubPlan 1)) -> Seq Scan on public.tgt t @@ -1706,7 +1708,7 @@ -> Seq Scan on public.ref r_1 Output: r_1.ab, r_1.cd Filter: ((r_1.ab = (s.a + s.b)) AND (r_1.cd = (s.c - s.d))) -(32 rows) +(34 rows) DROP TABLE src, tgt, ref; -- Subqueries diff -w -U3 C:/cirrus/src/test/regress/expected/explain.out C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/explain.out --- C:/cirrus/src/test/regress/expected/explain.out 2024-03-19 12:34:46.872557200 +0000 +++ C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/explain.out 2024-03-19 12:40:22.362194800 +0000 @@ -333,15 +333,15 @@ -- MEMORY option select explain_filter('explain (memory) select * from int8_tbl i8'); explain_filter ---------------------------------------------------------- - Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N) +----------------------------------------------------------------- + Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N loops=N) Memory: used=N bytes allocated=N bytes (2 rows) select explain_filter('explain (memory, analyze) select * from int8_tbl i8'); explain_filter ------------------------------------------------------------------------------------------------ - Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N) (actual time=N.N..N.N rows=N loops=N) +------------------------------------------------------------------------------------------------------- + Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N loops=N) (actual time=N.N..N.N rows=N loops=N) Memory: used=N bytes allocated=N bytes Planning Time: N.N ms Execution Time: N.N ms @@ -360,6 +360,7 @@ Total Cost: N.N + Plan Rows: N + Plan Width: N + + Plan Calls: N + Planning: + Memory Used: N + Memory Allocated: N + @@ -381,6 +382,7 @@ "Total Cost": N.N, + "Plan Rows": N, + "Plan Width": N, + + "Plan Calls": N, + "Actual Startup Time": N.N, + "Actual Total Time": N.N, + "Actual Rows": N, + @@ -401,8 +403,8 @@ prepare int8_query as select * from int8_tbl i8; select explain_filter('explain (memory) execute int8_query'); explain_filter ---------------------------------------------------------- - Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N) +----------------------------------------------------------------- + Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N loops=N) Memory: used=N bytes allocated=N bytes (2 rows) === EOF === [12:40:34.059](113.528s) not ok 2 - regression tests pass [12:40:34.075](0.016s) # Failed test 'regression tests pass' # at C:/cirrus/src/test/recovery/t/027_stream_regress.pl line 95. [12:40:34.075](0.000s) # got: '256' # expected: '0' 1 1 1 1 1 2 1 9 5 5 3 4 3 4 4 1 32 1 1 1 6 104 4001 2 1 5 1006 1 2 41 9 1 5 17 33 34 1 1 1 1 -1 1 1 -1 -32768 32767 46 -2 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/142B7158 on primary done # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/primary.dump --no-sync -p 52313 --no-unlogged-table-data [12:40:38.666](4.591s) ok 3 - dump primary server # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/standby.dump --no-sync -p 52314 [12:40:42.658](3.992s) 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 [12:40:42.734](0.077s) ok 5 - compare primary and standby dumps [12:40:43.221](0.487s) 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" [12:40:43.573](0.352s) 1..6 [12:40:43.601](0.027s) # Looks like you failed 1 test of 6.