# Checking port 59247 # Found port 59247 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=59247 host=C:/Windows/TEMP/bPJztKPzIl Log file: C:\cirrus\build/testrun/recovery/027_stream_regress\log/027_stream_regress_primary.log [08:19:49.596](0.089s) # 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 4636 (standby_1,) [08:19:50.790](1.194s) 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/bPJztKPzIl -p 59247 --checkpoint fast --no-sync # Backup finished # Checking port 59248 # Found port 59248 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=59248 host=C:/Windows/TEMP/bPJztKPzIl 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 3964 # using postmaster on C:/Windows/TEMP/bPJztKPzIl, port 59247 ok 1 - test_setup 762 ms # parallel group (20 tests): char varchar oid name money pg_lsn boolean txid bit float4 float8 int8 regproc uuid int4 int2 text enum numeric rangetypes ok 2 + boolean 633 ms ok 3 + char 501 ms ok 4 + name 605 ms ok 5 + varchar 542 ms ok 6 + text 983 ms ok 7 + int2 940 ms ok 8 + int4 792 ms ok 9 + int8 723 ms ok 10 + oid 534 ms ok 11 + float4 699 ms ok 12 + float8 697 ms ok 13 + bit 615 ms ok 14 + numeric 1514 ms ok 15 + txid 612 ms ok 16 + uuid 711 ms ok 17 + enum 973 ms ok 18 + money 582 ms ok 19 + rangetypes 1759 ms ok 20 + pg_lsn 598 ms ok 21 + regproc 703 ms # parallel group (20 tests): inet circle macaddr8 lseg path date time interval md5 numerology timetz macaddr timestamp box line polygon timestamptz point strings multirangetypes ok 22 + strings 1474 ms ok 23 + md5 1110 ms ok 24 + numerology 1108 ms ok 25 + point 1360 ms ok 26 + lseg 1025 ms ok 27 + line 1246 ms ok 28 + box 1200 ms ok 29 + path 1043 ms ok 30 + polygon 1243 ms ok 31 + circle 965 ms ok 32 + date 1039 ms ok 33 + time 1038 ms ok 34 + timetz 1094 ms ok 35 + timestamp 1190 ms ok 36 + timestamptz 1245 ms ok 37 + interval 1089 ms ok 38 + inet 954 ms ok 39 + macaddr 1149 ms ok 40 + macaddr8 951 ms ok 41 + multirangetypes 1487 ms # parallel group (12 tests): mvcc tstypes type_sanity geometry horology unicode misc_sanity comments xid regex expressions opr_sanity ok 42 + geometry 825 ms ok 43 + horology 823 ms ok 44 + tstypes 759 ms ok 45 + regex 943 ms ok 46 + type_sanity 784 ms ok 47 + opr_sanity 1058 ms ok 48 + misc_sanity 858 ms ok 49 + comments 856 ms ok 50 + expressions 1035 ms ok 51 + unicode 811 ms ok 52 + xid 852 ms ok 53 + mvcc 746 ms # parallel group (5 tests): copydml copy copyselect insert_conflict insert ok 54 + copy 658 ms ok 55 + copyselect 667 ms ok 56 + copydml 650 ms ok 57 + insert 1744 ms ok 58 + insert_conflict 1557 ms # parallel group (7 tests): create_operator create_function_c create_misc create_procedure create_type create_schema create_table ok 59 + create_function_c 595 ms ok 60 + create_misc 593 ms ok 61 + create_operator 577 ms ok 62 + create_procedure 590 ms ok 63 + create_table 1308 ms ok 64 + create_type 616 ms ok 65 + create_schema 631 ms # parallel group (5 tests): create_view index_including create_index_spgist index_including_gist create_index ok 66 + create_index 3110 ms ok 67 + create_index_spgist 2031 ms ok 68 + create_view 1993 ms ok 69 + index_including 2026 ms ok 70 + index_including_gist 2164 ms # parallel group (16 tests): errors create_cast roleattributes infinite_recurse drop_if_exists select hash_func create_aggregate typed_table create_am create_function_sql constraints updatable_views vacuum inherit triggers ok 71 + create_aggregate 2479 ms ok 72 + create_function_sql 2857 ms ok 73 + create_cast 2005 ms ok 74 + constraints 3031 ms ok 75 + triggers 5846 ms ok 76 + select 2231 ms ok 77 + inherit 4585 ms ok 78 + typed_table 2766 ms ok 79 + vacuum 4238 ms ok 80 + drop_if_exists 2225 ms ok 81 + updatable_views 4235 ms ok 82 + roleattributes 1993 ms ok 83 + create_am 2841 ms ok 84 + hash_func 2219 ms ok 85 + errors 1988 ms ok 86 + infinite_recurse 2081 ms ok 87 - sanity_check 629 ms # parallel group (20 tests): select_distinct_on select_into union case delete arrays random select_having namespace select_distinct prepared_xacts select_implicit portals transactions subselect update hash_index join aggregates btree_index ok 88 + select_into 946 ms ok 89 + select_distinct 1558 ms ok 90 + select_distinct_on 942 ms ok 91 + select_implicit 2777 ms ok 92 + select_having 1469 ms ok 93 + subselect 3232 ms ok 94 + union 1001 ms ok 95 + case 1093 ms ok 96 + join 4209 ms ok 97 + aggregates 5330 ms ok 98 + transactions 2977 ms ok 99 + random 1335 ms ok 100 + portals 2875 ms ok 101 + arrays 1153 ms ok 102 + btree_index 5954 ms ok 103 + hash_index 4036 ms ok 104 + update 3853 ms ok 105 + delete 1096 ms ok 106 + namespace 1494 ms ok 107 + prepared_xacts 2689 ms # parallel group (20 tests): init_privs drop_operator replica_identity collate lock matview tablesample gin password object_address security_label spgist groupingsets identity rowsecurity generated gist join_hash brin privileges ok 108 + brin 11685 ms ok 109 + gin 3305 ms ok 110 + gist 5280 ms ok 111 + spgist 3887 ms ok 112 + privileges 13369 ms ok 113 + init_privs 1445 ms ok 114 + security_label 3324 ms ok 115 + collate 2258 ms ok 116 + matview 2339 ms ok 117 + lock 2289 ms ok 118 + replica_identity 2223 ms ok 119 + rowsecurity 4511 ms ok 120 + object_address 3283 ms ok 121 + tablesample 2304 ms ok 122 + groupingsets 3865 ms ok 123 + drop_operator 2002 ms ok 124 + password 3276 ms ok 125 + identity 4372 ms ok 126 + generated 4529 ms ok 127 + join_hash 11622 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 495 ms ok 129 + brin_multi 2275 ms # parallel group (18 tests): dbsize async collate.icu.utf8 tid misc_functions tsrf tidscan tidrangescan alter_generic collate.utf8 alter_operator sysviews misc create_role incremental_sort create_table_like merge without_overlaps ok 130 + create_table_like 1684 ms ok 131 + alter_generic 995 ms ok 132 + alter_operator 1181 ms ok 133 + misc 1223 ms ok 134 + async 894 ms ok 135 + dbsize 868 ms ok 136 + merge 1788 ms ok 137 + misc_functions 971 ms ok 138 + sysviews 1215 ms ok 139 + tsrf 968 ms ok 140 + tid 966 ms ok 141 + tidscan 964 ms ok 142 + tidrangescan 974 ms ok 143 + collate.utf8 976 ms ok 144 + collate.icu.utf8 932 ms ok 145 + incremental_sort 1475 ms ok 146 + create_role 1204 ms ok 147 + without_overlaps 2309 ms # parallel group (7 tests): collate.linux.utf8 amutils psql_crosstab collate.windows.win1252 rules psql stats_ext ok 148 + rules 1413 ms ok 149 + psql 1526 ms ok 150 + psql_crosstab 358 ms ok 151 + amutils 265 ms ok 152 + stats_ext 4472 ms ok 153 + collate.linux.utf8 217 ms ok 154 + collate.windows.win1252 731 ms ok 155 - select_parallel 6698 ms ok 156 - write_parallel 869 ms ok 157 - vacuum_parallel 600 ms # parallel group (2 tests): subscription publication ok 158 + publication 1341 ms not ok 159 + subscription 514 ms # parallel group (17 tests): combocid guc dependency advisory_lock tsdicts xmlmap functional_deps portals_p2 window tsearch select_views equivclass cluster bitmapops indirect_toast foreign_data foreign_key ok 160 + select_views 1955 ms ok 161 + portals_p2 1715 ms ok 162 + foreign_key 4561 ms ok 163 + cluster 2156 ms ok 164 + dependency 1420 ms ok 165 + guc 1418 ms ok 166 + bitmapops 2210 ms ok 167 + combocid 1307 ms ok 168 + tsearch 1911 ms ok 169 + tsdicts 1412 ms ok 170 + foreign_data 3407 ms ok 171 + window 1906 ms ok 172 + xmlmap 1590 ms ok 173 + functional_deps 1696 ms ok 174 + advisory_lock 1404 ms ok 175 + indirect_toast 3267 ms ok 176 + equivclass 2094 ms # parallel group (9 tests): jsonpath_encoding jsonpath json_encoding sqljson_jsontable sqljson jsonb_jsonpath json sqljson_queryfuncs jsonb ok 177 + json 771 ms ok 178 + jsonb 1143 ms ok 179 + json_encoding 567 ms ok 180 + jsonpath 565 ms ok 181 + jsonpath_encoding 509 ms ok 182 + jsonb_jsonpath 683 ms ok 183 + sqljson 625 ms ok 184 + sqljson_queryfuncs 765 ms ok 185 + sqljson_jsontable 615 ms # parallel group (18 tests): prepare xml plancache rowtypes sequence conversion returning largeobject temp copy2 limit domain truncate rangefuncs polymorphism with plpgsql alter_table ok 186 + plancache 1081 ms ok 187 + limit 2238 ms ok 188 + plpgsql 3850 ms ok 189 + copy2 2149 ms ok 190 + temp 2018 ms ok 191 + domain 2323 ms ok 192 + rangefuncs 2391 ms ok 193 + prepare 908 ms ok 194 + conversion 1779 ms ok 195 + truncate 2317 ms ok 196 + alter_table 5961 ms ok 197 + sequence 1774 ms ok 198 + polymorphism 2403 ms ok 199 + rowtypes 1741 ms ok 200 + returning 1862 ms ok 201 + largeobject 1920 ms ok 202 + with 2397 ms ok 203 + xml 1049 ms # parallel group (15 tests): predicate reloptions hash_part partition_info compression explain memoize partition_merge partition_split indexing partition_join stats tuplesort partition_aggregate partition_prune ok 204 + partition_merge 2327 ms ok 205 + partition_split 3190 ms ok 206 + partition_join 4439 ms ok 207 + partition_prune 7545 ms ok 208 + reloptions 1202 ms ok 209 + hash_part 1377 ms ok 210 + indexing 4152 ms ok 211 + partition_aggregate 6082 ms ok 212 + partition_info 1675 ms ok 213 + tuplesort 6051 ms ok 214 + explain 2306 ms ok 215 + compression 1741 ms ok 216 + memoize 2303 ms ok 217 + stats 5768 ms ok 218 + predicate 1020 ms # parallel group (2 tests): oidjoins event_trigger ok 219 + oidjoins 711 ms ok 220 + event_trigger 822 ms ok 221 - event_trigger_login 230 ms ok 222 - fast_default 630 ms ok 223 - tablespace 1212 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 08:15:45.067940100 +0000 +++ C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/subscription.out 2024-04-09 08:21:10.674249800 +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/bPJztKPzIl/.s.PGSQL.59247" 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 === [08:21:43.258](112.468s) not ok 2 - regression tests pass [08:21:43.258](0.000s) # Failed test 'regression tests pass' # at C:/cirrus/src/test/recovery/t/027_stream_regress.pl line 95. [08:21:43.258](0.000s) # got: '256' # expected: '0' -32768 1 1 1 1 2 1 9 1 17 5 5 32767 1 2 3 4 3 4 4 1 32 1 1 1 4001 6 104 2 1 1 41 5 1006 33 34 5 1 1 1 1 -1 1 1 -1 -2 46 9 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/146D8878 on primary done # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/primary.dump --no-sync -p 59247 --no-unlogged-table-data [08:21:48.302](5.044s) ok 3 - dump primary server # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/standby.dump --no-sync -p 59248 [08:21:52.932](4.630s) 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 [08:21:53.086](0.154s) ok 5 - compare primary and standby dumps [08:21:53.621](0.535s) 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" [08:21:54.046](0.424s) 1..6 [08:21:54.060](0.014s) # Looks like you failed 1 test of 6.