# Checking port 64473 # Found port 64473 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=64473 host=C:/Windows/TEMP/a4vGUZAyDh Log file: C:\cirrus\build/testrun/recovery/027_stream_regress\log/027_stream_regress_primary.log [06:22:49.066](0.043s) # 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 4920 (standby_1,) [06:22:50.243](1.177s) 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/a4vGUZAyDh -p 64473 --checkpoint fast --no-sync # Backup finished # Checking port 64474 # Found port 64474 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=64474 host=C:/Windows/TEMP/a4vGUZAyDh 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 8164 # using postmaster on C:/Windows/TEMP/a4vGUZAyDh, port 64473 ok 1 - test_setup 808 ms # parallel group (20 tests): int4 text int2 name boolean char uuid money varchar oid txid pg_lsn float8 regproc float4 int8 enum bit rangetypes numeric ok 2 + boolean 803 ms ok 3 + char 802 ms ok 4 + name 797 ms ok 5 + varchar 799 ms ok 6 + text 660 ms ok 7 + int2 691 ms ok 8 + int4 604 ms ok 9 + int8 1516 ms ok 10 + oid 855 ms ok 11 + float4 1510 ms ok 12 + float8 1493 ms ok 13 + bit 1510 ms ok 14 + numeric 1798 ms ok 15 + txid 1488 ms ok 16 + uuid 783 ms ok 17 + enum 1504 ms ok 18 + money 780 ms ok 19 + rangetypes 1560 ms ok 20 + pg_lsn 1478 ms ok 21 + regproc 1476 ms # parallel group (20 tests): lseg md5 circle path date line macaddr time numerology point timetz polygon macaddr8 inet box strings timestamp interval timestamptz multirangetypes ok 22 + strings 1164 ms ok 23 + md5 801 ms ok 24 + numerology 969 ms ok 25 + point 968 ms ok 26 + lseg 796 ms ok 27 + line 863 ms ok 28 + box 1155 ms ok 29 + path 821 ms ok 30 + polygon 1049 ms ok 31 + circle 818 ms ok 32 + date 855 ms ok 33 + time 854 ms ok 34 + timetz 989 ms ok 35 + timestamp 1146 ms ok 36 + timestamptz 1287 ms ok 37 + interval 1285 ms ok 38 + inet 1072 ms ok 39 + macaddr 845 ms ok 40 + macaddr8 1068 ms ok 41 + multirangetypes 1371 ms # parallel group (12 tests): misc_sanity horology geometry unicode expressions comments xid opr_sanity regex type_sanity tstypes mvcc ok 42 + geometry 1454 ms ok 43 + horology 1424 ms ok 44 + tstypes 1516 ms ok 45 + regex 1510 ms ok 46 + type_sanity 1513 ms ok 47 + opr_sanity 1507 ms ok 48 + misc_sanity 1417 ms ok 49 + comments 1502 ms ok 50 + expressions 1500 ms ok 51 + unicode 1499 ms ok 52 + xid 1500 ms ok 53 + mvcc 1510 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 830 ms ok 55 + copyselect 574 ms ok 56 + copydml 795 ms ok 57 + insert 1592 ms ok 58 + insert_conflict 845 ms # parallel group (7 tests): create_function_c create_misc create_schema create_operator create_type create_procedure create_table ok 59 + create_function_c 403 ms ok 60 + create_misc 509 ms ok 61 + create_operator 756 ms ok 62 + create_procedure 1430 ms ok 63 + create_table 1909 ms ok 64 + create_type 797 ms ok 65 + create_schema 666 ms # parallel group (5 tests): create_view index_including_gist create_index_spgist index_including create_index ok 66 + create_index 2646 ms ok 67 + create_index_spgist 1572 ms ok 68 + create_view 1282 ms ok 69 + index_including 1605 ms ok 70 + index_including_gist 1322 ms # parallel group (16 tests): create_cast errors hash_func infinite_recurse create_function_sql create_aggregate select drop_if_exists typed_table roleattributes create_am constraints updatable_views vacuum inherit triggers ok 71 + create_aggregate 653 ms ok 72 + create_function_sql 652 ms ok 73 + create_cast 612 ms ok 74 + constraints 2641 ms ok 75 + triggers 4508 ms ok 76 + select 646 ms ok 77 + inherit 3665 ms ok 78 + typed_table 860 ms ok 79 + vacuum 3171 ms ok 80 + drop_if_exists 848 ms ok 81 + updatable_views 2986 ms ok 82 + roleattributes 1116 ms ok 83 + create_am 1360 ms ok 84 + hash_func 627 ms ok 85 + errors 593 ms ok 86 + infinite_recurse 624 ms ok 87 - sanity_check 1545 ms # parallel group (20 tests): select_into select_implicit random portals case select_having select_distinct_on delete namespace prepared_xacts transactions union select_distinct subselect arrays hash_index update join aggregates btree_index ok 88 + select_into 1128 ms ok 89 + select_distinct 2913 ms ok 90 + select_distinct_on 1570 ms ok 91 + select_implicit 1310 ms ok 92 + select_having 1567 ms ok 93 + subselect 3351 ms ok 94 + union 2854 ms ok 95 + case 1528 ms ok 96 + join 5040 ms ok 97 + aggregates 5154 ms ok 98 + transactions 2847 ms ok 99 + random 1298 ms ok 100 + portals 1520 ms ok 101 + arrays 3340 ms ok 102 + btree_index 6543 ms ok 103 + hash_index 3801 ms ok 104 + update 3886 ms ok 105 + delete 1547 ms ok 106 + namespace 1546 ms ok 107 + prepared_xacts 1744 ms # parallel group (20 tests): object_address lock init_privs security_label password tablesample drop_operator gin matview groupingsets collate replica_identity rowsecurity generated spgist identity gist join_hash brin privileges ok 108 + brin 11030 ms ok 109 + gin 1793 ms ok 110 + gist 5100 ms ok 111 + spgist 3956 ms ok 112 + privileges 12699 ms ok 113 + init_privs 1735 ms ok 114 + security_label 1733 ms ok 115 + collate 3261 ms ok 116 + matview 3259 ms ok 117 + lock 1729 ms ok 118 + replica_identity 3264 ms ok 119 + rowsecurity 3377 ms ok 120 + object_address 1713 ms ok 121 + tablesample 1722 ms ok 122 + groupingsets 3249 ms ok 123 + drop_operator 1724 ms ok 124 + password 1718 ms ok 125 + identity 3967 ms ok 126 + generated 3717 ms ok 127 + join_hash 10992 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 321 ms ok 129 + brin_multi 2040 ms # parallel group (18 tests): alter_operator tidrangescan alter_generic tsrf tid sysviews collate.icu.utf8 collate.utf8 misc_functions async dbsize tidscan misc create_role create_table_like incremental_sort merge without_overlaps ok 130 + create_table_like 1794 ms ok 131 + alter_generic 1231 ms ok 132 + alter_operator 1160 ms ok 133 + misc 1702 ms ok 134 + async 1556 ms ok 135 + dbsize 1554 ms ok 136 + merge 2035 ms ok 137 + misc_functions 1550 ms ok 138 + sysviews 1381 ms ok 139 + tsrf 1216 ms ok 140 + tid 1292 ms ok 141 + tidscan 1687 ms ok 142 + tidrangescan 1211 ms ok 143 + collate.utf8 1372 ms ok 144 + collate.icu.utf8 1371 ms ok 145 + incremental_sort 1866 ms ok 146 + create_role 1763 ms ok 147 + without_overlaps 2317 ms # parallel group (7 tests): collate.linux.utf8 amutils psql_crosstab collate.windows.win1252 psql rules stats_ext ok 148 + rules 1783 ms ok 149 + psql 1474 ms ok 150 + psql_crosstab 556 ms ok 151 + amutils 307 ms ok 152 + stats_ext 5040 ms ok 153 + collate.linux.utf8 290 ms ok 154 + collate.windows.win1252 684 ms ok 155 - select_parallel 5765 ms ok 156 - write_parallel 936 ms ok 157 - vacuum_parallel 525 ms # parallel group (2 tests): subscription publication ok 158 + publication 1148 ms not ok 159 + subscription 400 ms # parallel group (17 tests): portals_p2 combocid xmlmap tsdicts select_views functional_deps advisory_lock dependency guc equivclass window cluster indirect_toast tsearch bitmapops foreign_data foreign_key ok 160 + select_views 1179 ms ok 161 + portals_p2 629 ms ok 162 + foreign_key 4561 ms ok 163 + cluster 2028 ms ok 164 + dependency 1361 ms ok 165 + guc 1360 ms ok 166 + bitmapops 2264 ms ok 167 + combocid 941 ms ok 168 + tsearch 2147 ms ok 169 + tsdicts 1087 ms ok 170 + foreign_data 2349 ms ok 171 + window 1910 ms ok 172 + xmlmap 1082 ms ok 173 + functional_deps 1233 ms ok 174 + advisory_lock 1232 ms ok 175 + indirect_toast 2069 ms ok 176 + equivclass 1691 ms # parallel group (9 tests): json_encoding jsonpath jsonpath_encoding sqljson_jsontable jsonb_jsonpath sqljson sqljson_queryfuncs json jsonb ok 177 + json 998 ms ok 178 + jsonb 1471 ms ok 179 + json_encoding 438 ms ok 180 + jsonpath 436 ms ok 181 + jsonpath_encoding 454 ms ok 182 + jsonb_jsonpath 699 ms ok 183 + sqljson 888 ms ok 184 + sqljson_queryfuncs 961 ms ok 185 + sqljson_jsontable 462 ms # parallel group (18 tests): conversion returning limit with plancache rowtypes largeobject xml prepare polymorphism rangefuncs copy2 sequence truncate temp domain plpgsql alter_table ok 186 + plancache 1533 ms ok 187 + limit 1531 ms ok 188 + plpgsql 4467 ms ok 189 + copy2 2605 ms ok 190 + temp 2662 ms ok 191 + domain 3209 ms ok 192 + rangefuncs 2590 ms ok 193 + prepare 2581 ms ok 194 + conversion 1516 ms ok 195 + truncate 2624 ms ok 196 + alter_table 6269 ms ok 197 + sequence 2593 ms ok 198 + polymorphism 2580 ms ok 199 + rowtypes 1513 ms ok 200 + returning 1507 ms ok 201 + largeobject 1549 ms ok 202 + with 1508 ms ok 203 + xml 1546 ms # parallel group (15 tests): hash_part partition_info reloptions predicate compression partition_merge explain partition_split memoize indexing stats partition_join partition_aggregate tuplesort partition_prune ok 204 + partition_merge 2226 ms ok 205 + partition_split 2569 ms ok 206 + partition_join 5024 ms ok 207 + partition_prune 7362 ms ok 208 + reloptions 1375 ms ok 209 + hash_part 1042 ms ok 210 + indexing 4331 ms ok 211 + partition_aggregate 5299 ms ok 212 + partition_info 1367 ms ok 213 + tuplesort 5811 ms ok 214 + explain 2460 ms ok 215 + compression 2128 ms ok 216 + memoize 2550 ms ok 217 + stats 4835 ms ok 218 + predicate 1359 ms # parallel group (2 tests): oidjoins event_trigger ok 219 + oidjoins 1354 ms ok 220 + event_trigger 1391 ms ok 221 - event_trigger_login 398 ms ok 222 - fast_default 781 ms ok 223 - tablespace 1031 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-11 06:18:42.434103800 +0000 +++ C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/subscription.out 2024-04-11 06:24:05.207656500 +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/a4vGUZAyDh/.s.PGSQL.64473" 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 === [06:24:37.989](107.746s) not ok 2 - regression tests pass [06:24:37.989](0.000s) # Failed test 'regression tests pass' # at C:/cirrus/src/test/recovery/t/027_stream_regress.pl line 95. [06:24:37.989](0.000s) # got: '256' # expected: '0' 1 1 1 1 1 2 1 9 5 5 4001 3 4 3 4 4 1 32 1 1 1 6 104 2 1 41 5 1006 1 2 1 46 5 17 33 34 1 1 1 1 -1 1 1 -1 -32768 32767 -2 9 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/1479E5E8 on primary done # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/primary.dump --no-sync -p 64473 --no-unlogged-table-data [06:24:41.959](3.969s) ok 3 - dump primary server # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/standby.dump --no-sync -p 64474 [06:24:46.094](4.135s) 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 [06:24:46.389](0.295s) ok 5 - compare primary and standby dumps [06:24:46.970](0.581s) 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" [06:24:47.448](0.478s) 1..6 [06:24:47.454](0.007s) # Looks like you failed 1 test of 6.