# Checking port 59588 # Found port 59588 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=59588 host=C:/Windows/TEMP/0lKInpCbVq Log file: C:\cirrus\build/testrun/recovery/027_stream_regress\log/027_stream_regress_primary.log [02:35:16.050](0.062s) # 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 6492 (standby_1,) [02:35:17.817](1.767s) 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/0lKInpCbVq -p 59588 --checkpoint fast --no-sync # Backup finished # Checking port 59589 # Found port 59589 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=59589 host=C:/Windows/TEMP/0lKInpCbVq 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 7232 # using postmaster on C:/Windows/TEMP/0lKInpCbVq, port 59588 ok 1 - test_setup 729 ms # parallel group (20 tests): varchar int4 int2 float8 boolean bit txid name char pg_lsn regproc money oid float4 text uuid int8 enum rangetypes numeric ok 2 + boolean 723 ms ok 3 + char 873 ms ok 4 + name 872 ms ok 5 + varchar 557 ms ok 6 + text 980 ms ok 7 + int2 658 ms ok 8 + int4 594 ms ok 9 + int8 1149 ms ok 10 + oid 974 ms ok 11 + float4 972 ms ok 12 + float8 708 ms ok 13 + bit 763 ms ok 14 + numeric 1841 ms ok 15 + txid 784 ms ok 16 + uuid 1083 ms ok 17 + enum 1275 ms ok 18 + money 907 ms ok 19 + rangetypes 1831 ms ok 20 + pg_lsn 866 ms ok 21 + regproc 869 ms # parallel group (20 tests): macaddr numerology point strings time line timetz circle md5 date path macaddr8 lseg interval inet box polygon multirangetypes timestamp timestamptz ok 22 + strings 1140 ms ok 23 + md5 1293 ms ok 24 + numerology 969 ms ok 25 + point 1135 ms ok 26 + lseg 1433 ms ok 27 + line 1264 ms ok 28 + box 1498 ms ok 29 + path 1427 ms ok 30 + polygon 1510 ms ok 31 + circle 1279 ms ok 32 + date 1278 ms ok 33 + time 1228 ms ok 34 + timetz 1253 ms ok 35 + timestamp 1613 ms ok 36 + timestamptz 1707 ms ok 37 + interval 1452 ms ok 38 + inet 1481 ms ok 39 + macaddr 944 ms ok 40 + macaddr8 1410 ms ok 41 + multirangetypes 1493 ms # parallel group (12 tests): type_sanity unicode geometry comments tstypes horology misc_sanity xid expressions regex opr_sanity mvcc ok 42 + geometry 816 ms ok 43 + horology 930 ms ok 44 + tstypes 928 ms ok 45 + regex 960 ms ok 46 + type_sanity 780 ms ok 47 + opr_sanity 979 ms ok 48 + misc_sanity 940 ms ok 49 + comments 896 ms ok 50 + expressions 951 ms ok 51 + unicode 800 ms ok 52 + xid 944 ms ok 53 + mvcc 1208 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 835 ms ok 55 + copyselect 544 ms ok 56 + copydml 653 ms ok 57 + insert 1558 ms ok 58 + insert_conflict 879 ms # parallel group (7 tests): create_type create_procedure create_schema create_function_c create_misc create_operator create_table ok 59 + create_function_c 658 ms ok 60 + create_misc 668 ms ok 61 + create_operator 666 ms ok 62 + create_procedure 395 ms ok 63 + create_table 1488 ms ok 64 + create_type 391 ms ok 65 + create_schema 519 ms # parallel group (5 tests): create_view index_including index_including_gist create_index_spgist create_index ok 66 + create_index 3311 ms ok 67 + create_index_spgist 2232 ms ok 68 + create_view 1902 ms ok 69 + index_including 1901 ms ok 70 + index_including_gist 2217 ms # parallel group (16 tests): roleattributes create_aggregate create_function_sql errors infinite_recurse hash_func select create_cast create_am typed_table drop_if_exists constraints inherit vacuum updatable_views triggers ok 71 + create_aggregate 450 ms ok 72 + create_function_sql 1170 ms ok 73 + create_cast 1506 ms ok 74 + constraints 2777 ms ok 75 + triggers 5330 ms ok 76 + select 1285 ms ok 77 + inherit 3715 ms ok 78 + typed_table 1712 ms ok 79 + vacuum 3897 ms ok 80 + drop_if_exists 2137 ms ok 81 + updatable_views 4012 ms ok 82 + roleattributes 421 ms ok 83 + create_am 1493 ms ok 84 + hash_func 1266 ms ok 85 + errors 1140 ms ok 86 + infinite_recurse 1260 ms ok 87 - sanity_check 858 ms # parallel group (20 tests): select_having select_distinct_on random namespace select_implicit select_into transactions prepared_xacts case union delete arrays portals subselect select_distinct hash_index update join aggregates btree_index ok 88 + select_into 2106 ms ok 89 + select_distinct 3307 ms ok 90 + select_distinct_on 770 ms ok 91 + select_implicit 2097 ms ok 92 + select_having 767 ms ok 93 + subselect 3299 ms ok 94 + union 2651 ms ok 95 + case 2650 ms ok 96 + join 4936 ms ok 97 + aggregates 5754 ms ok 98 + transactions 2091 ms ok 99 + random 758 ms ok 100 + portals 3097 ms ok 101 + arrays 2813 ms ok 102 + btree_index 7533 ms ok 103 + hash_index 4383 ms ok 104 + update 4525 ms ok 105 + delete 2693 ms ok 106 + namespace 2075 ms ok 107 + prepared_xacts 2539 ms # parallel group (20 tests): init_privs security_label collate password tablesample groupingsets drop_operator gin replica_identity lock object_address generated spgist matview identity rowsecurity gist join_hash brin privileges ok 108 + brin 11757 ms ok 109 + gin 3558 ms ok 110 + gist 5508 ms ok 111 + spgist 4493 ms ok 112 + privileges 13627 ms ok 113 + init_privs 2392 ms ok 114 + security_label 2390 ms ok 115 + collate 2389 ms ok 116 + matview 4634 ms ok 117 + lock 3966 ms ok 118 + replica_identity 3819 ms ok 119 + rowsecurity 5472 ms ok 120 + object_address 4019 ms ok 121 + tablesample 2891 ms ok 122 + groupingsets 3411 ms ok 123 + drop_operator 3427 ms ok 124 + password 2374 ms ok 125 + identity 5293 ms ok 126 + generated 4350 ms ok 127 + join_hash 11708 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 585 ms ok 129 + brin_multi 2095 ms # parallel group (18 tests): async collate.icu.utf8 alter_generic alter_operator collate.utf8 dbsize tidscan sysviews tsrf tid tidrangescan create_role create_table_like misc misc_functions incremental_sort merge without_overlaps ok 130 + create_table_like 1985 ms ok 131 + alter_generic 779 ms ok 132 + alter_operator 778 ms ok 133 + misc 1983 ms ok 134 + async 703 ms ok 135 + dbsize 775 ms ok 136 + merge 2659 ms ok 137 + misc_functions 2139 ms ok 138 + sysviews 1302 ms ok 139 + tsrf 1301 ms ok 140 + tid 1301 ms ok 141 + tidscan 1297 ms ok 142 + tidrangescan 1298 ms ok 143 + collate.utf8 763 ms ok 144 + collate.icu.utf8 759 ms ok 145 + incremental_sort 2135 ms ok 146 + create_role 1292 ms ok 147 + without_overlaps 2867 ms # parallel group (7 tests): amutils collate.linux.utf8 psql_crosstab collate.windows.win1252 rules psql stats_ext ok 148 + rules 1427 ms ok 149 + psql 1617 ms ok 150 + psql_crosstab 588 ms ok 151 + amutils 393 ms ok 152 + stats_ext 5186 ms ok 153 + collate.linux.utf8 464 ms ok 154 + collate.windows.win1252 902 ms ok 155 - select_parallel 8683 ms ok 156 - write_parallel 1048 ms ok 157 - vacuum_parallel 468 ms # parallel group (2 tests): subscription publication ok 158 + publication 1275 ms not ok 159 + subscription 494 ms # parallel group (17 tests): combocid equivclass tsdicts functional_deps xmlmap select_views advisory_lock portals_p2 indirect_toast guc cluster dependency tsearch window bitmapops foreign_data foreign_key ok 160 + select_views 2717 ms ok 161 + portals_p2 2894 ms ok 162 + foreign_key 5467 ms ok 163 + cluster 3142 ms ok 164 + dependency 3140 ms ok 165 + guc 3139 ms ok 166 + bitmapops 3765 ms ok 167 + combocid 2292 ms ok 168 + tsearch 3135 ms ok 169 + tsdicts 2309 ms ok 170 + foreign_data 3784 ms ok 171 + window 3610 ms ok 172 + xmlmap 2697 ms ok 173 + functional_deps 2410 ms ok 174 + advisory_lock 2788 ms ok 175 + indirect_toast 2867 ms ok 176 + equivclass 2293 ms # parallel group (9 tests): json_encoding jsonpath_encoding sqljson_jsontable jsonpath jsonb_jsonpath json sqljson sqljson_queryfuncs jsonb ok 177 + json 1384 ms ok 178 + jsonb 1903 ms ok 179 + json_encoding 952 ms ok 180 + jsonpath 1172 ms ok 181 + jsonpath_encoding 1076 ms ok 182 + jsonb_jsonpath 1170 ms ok 183 + sqljson 1487 ms ok 184 + sqljson_queryfuncs 1512 ms ok 185 + sqljson_jsontable 1160 ms # parallel group (18 tests): plancache prepare limit sequence conversion returning temp with xml truncate largeobject polymorphism rowtypes domain copy2 rangefuncs plpgsql alter_table ok 186 + plancache 1077 ms ok 187 + limit 1386 ms ok 188 + plpgsql 3998 ms ok 189 + copy2 2593 ms ok 190 + temp 1795 ms ok 191 + domain 2588 ms ok 192 + rangefuncs 2723 ms ok 193 + prepare 1373 ms ok 194 + conversion 1564 ms ok 195 + truncate 2556 ms ok 196 + alter_table 5691 ms ok 197 + sequence 1558 ms ok 198 + polymorphism 2577 ms ok 199 + rowtypes 2575 ms ok 200 + returning 1777 ms ok 201 + largeobject 2547 ms ok 202 + with 2259 ms ok 203 + xml 2538 ms # parallel group (15 tests): predicate partition_info partition_merge reloptions hash_part explain memoize partition_split compression indexing partition_join stats tuplesort partition_aggregate partition_prune ok 204 + partition_merge 2029 ms ok 205 + partition_split 2308 ms ok 206 + partition_join 4241 ms ok 207 + partition_prune 7612 ms ok 208 + reloptions 2113 ms ok 209 + hash_part 2134 ms ok 210 + indexing 3817 ms ok 211 + partition_aggregate 5260 ms ok 212 + partition_info 1752 ms ok 213 + tuplesort 5137 ms ok 214 + explain 2125 ms ok 215 + compression 2290 ms ok 216 + memoize 2125 ms ok 217 + stats 4573 ms ok 218 + predicate 1162 ms # parallel group (2 tests): oidjoins event_trigger ok 219 + oidjoins 1387 ms ok 220 + event_trigger 1430 ms ok 221 - event_trigger_login 229 ms ok 222 - fast_default 536 ms ok 223 - tablespace 1124 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/subscription.out C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/subscription.out --- C:/cirrus/src/test/regress/expected/subscription.out 2024-04-09 02:31:05.312489300 +0000 +++ C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/subscription.out 2024-04-09 02:36:47.124131800 +0000 @@ -381,7 +381,7 @@ --fail - alter of two_phase option not supported. ALTER SUBSCRIPTION regress_testsub SET (two_phase = false); -ERROR: unrecognized subscription parameter: "two_phase" +ERROR: could not connect to the publisher: connection to server on socket "C:/Windows/TEMP/0lKInpCbVq/.s.PGSQL.59588" failed: FATAL: database "regress_doesnotexist" does not exist -- but can alter streaming when two_phase enabled ALTER SUBSCRIPTION regress_testsub SET (streaming = true); \dRs+ === EOF === [02:37:21.335](123.518s) not ok 2 - regression tests pass [02:37:21.335](0.000s) # Failed test 'regression tests pass' # at C:/cirrus/src/test/recovery/t/027_stream_regress.pl line 95. [02:37:21.336](0.001s) # got: '256' # expected: '0' 1 1 1 1 2 1 1 9 5 5 3 4001 4 3 4 4 1 32 41 1 1 1 6 104 2 1 5 1006 1 2 5 17 -2 33 34 9 1 1 1 1 1 1 -1 1 1 -1 -32768 32767 1 46 Waiting for replication conn standby_1's replay_lsn to pass 0/14A1BF78 on primary done # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/primary.dump --no-sync -p 59588 --no-unlogged-table-data [02:37:26.244](4.908s) ok 3 - dump primary server # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/standby.dump --no-sync -p 59589 [02:37:30.906](4.662s) 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 [02:37:31.066](0.160s) ok 5 - compare primary and standby dumps [02:37:31.767](0.701s) 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" [02:37:32.219](0.451s) 1..6 [02:37:32.226](0.008s) # Looks like you failed 1 test of 6.