# Checking port 57461 # Found port 57461 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=57461 host=C:/Windows/TEMP/ADSgxMlGPg Log file: C:\cirrus\build/testrun/recovery/027_stream_regress\log/027_stream_regress_primary.log [11:39:01.945](0.095s) # 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 2600 (standby_1,) [11:39:03.316](1.371s) 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/ADSgxMlGPg -p 57461 --checkpoint fast --no-sync # Backup finished # Checking port 57462 # Found port 57462 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=57462 host=C:/Windows/TEMP/ADSgxMlGPg 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 5288 # using postmaster on C:/Windows/TEMP/ADSgxMlGPg, port 57461 ok 1 - test_setup 734 ms # parallel group (20 tests): varchar char int2 text boolean int8 oid enum name bit int4 regproc float8 uuid txid pg_lsn money float4 rangetypes numeric ok 2 + boolean 557 ms ok 3 + char 445 ms ok 4 + name 740 ms ok 5 + varchar 442 ms ok 6 + text 551 ms ok 7 + int2 524 ms ok 8 + int4 763 ms ok 9 + int8 546 ms ok 10 + oid 545 ms ok 11 + float4 987 ms ok 12 + float8 802 ms ok 13 + bit 731 ms ok 14 + numeric 1890 ms ok 15 + txid 796 ms ok 16 + uuid 794 ms ok 17 + enum 627 ms ok 18 + money 825 ms ok 19 + rangetypes 1882 ms ok 20 + pg_lsn 809 ms ok 21 + regproc 784 ms # parallel group (20 tests): md5 point numerology lseg line strings date macaddr8 time path circle inet interval macaddr box polygon timestamptz timetz timestamp multirangetypes ok 22 + strings 859 ms ok 23 + md5 462 ms ok 24 + numerology 683 ms ok 25 + point 681 ms ok 26 + lseg 775 ms ok 27 + line 774 ms ok 28 + box 1486 ms ok 29 + path 1257 ms ok 30 + polygon 1495 ms ok 31 + circle 1395 ms ok 32 + date 1049 ms ok 33 + time 1251 ms ok 34 + timetz 1494 ms ok 35 + timestamp 1499 ms ok 36 + timestamptz 1487 ms ok 37 + interval 1473 ms ok 38 + inet 1448 ms ok 39 + macaddr 1470 ms ok 40 + macaddr8 1156 ms ok 41 + multirangetypes 1683 ms # parallel group (12 tests): misc_sanity comments tstypes horology mvcc regex unicode type_sanity expressions xid geometry opr_sanity ok 42 + geometry 1243 ms ok 43 + horology 859 ms ok 44 + tstypes 844 ms ok 45 + regex 982 ms ok 46 + type_sanity 997 ms ok 47 + opr_sanity 1555 ms ok 48 + misc_sanity 775 ms ok 49 + comments 774 ms ok 50 + expressions 991 ms ok 51 + unicode 978 ms ok 52 + xid 988 ms ok 53 + mvcc 970 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 723 ms ok 55 + copyselect 324 ms ok 56 + copydml 602 ms ok 57 + insert 1781 ms ok 58 + insert_conflict 1100 ms # parallel group (7 tests): create_function_c create_operator create_type create_schema create_misc create_procedure create_table ok 59 + create_function_c 355 ms ok 60 + create_misc 490 ms ok 61 + create_operator 356 ms ok 62 + create_procedure 487 ms ok 63 + create_table 1701 ms ok 64 + create_type 385 ms ok 65 + create_schema 466 ms # parallel group (5 tests): index_including_gist create_view index_including create_index_spgist create_index ok 66 + create_index 3692 ms ok 67 + create_index_spgist 1729 ms ok 68 + create_view 1535 ms ok 69 + index_including 1552 ms ok 70 + index_including_gist 1471 ms # parallel group (16 tests): create_cast create_aggregate create_function_sql hash_func errors select drop_if_exists infinite_recurse typed_table roleattributes create_am constraints vacuum updatable_views inherit triggers ok 71 + create_aggregate 705 ms ok 72 + create_function_sql 762 ms ok 73 + create_cast 665 ms ok 74 + constraints 2006 ms ok 75 + triggers 4831 ms ok 76 + select 982 ms ok 77 + inherit 3472 ms ok 78 + typed_table 997 ms ok 79 + vacuum 2868 ms ok 80 + drop_if_exists 993 ms ok 81 + updatable_views 3070 ms ok 82 + roleattributes 1225 ms ok 83 + create_am 1599 ms ok 84 + hash_func 776 ms ok 85 + errors 775 ms ok 86 + infinite_recurse 985 ms ok 87 - sanity_check 897 ms # parallel group (20 tests): random select_implicit arrays case delete select_distinct_on select_having prepared_xacts select_into union namespace portals subselect transactions select_distinct hash_index update aggregates join btree_index ok 88 + select_into 2902 ms ok 89 + select_distinct 3329 ms ok 90 + select_distinct_on 2748 ms ok 91 + select_implicit 1973 ms ok 92 + select_having 2745 ms ok 93 + subselect 3050 ms ok 94 + union 2917 ms ok 95 + case 2484 ms ok 96 + join 5017 ms ok 97 + aggregates 5015 ms ok 98 + transactions 3043 ms ok 99 + random 1464 ms ok 100 + portals 3038 ms ok 101 + arrays 1958 ms ok 102 + btree_index 7500 ms ok 103 + hash_index 3912 ms ok 104 + update 4277 ms ok 105 + delete 2595 ms ok 106 + namespace 3029 ms ok 107 + prepared_xacts 2873 ms # parallel group (20 tests): lock init_privs security_label drop_operator password collate tablesample object_address gin replica_identity groupingsets matview identity generated spgist gist rowsecurity join_hash brin privileges ok 108 + brin 8858 ms ok 109 + gin 3051 ms ok 110 + gist 4715 ms ok 111 + spgist 4050 ms ok 112 + privileges 10364 ms ok 113 + init_privs 1899 ms ok 114 + security_label 2275 ms ok 115 + collate 2342 ms ok 116 + matview 3135 ms ok 117 + lock 1741 ms ok 118 + replica_identity 3035 ms ok 119 + rowsecurity 5447 ms ok 120 + object_address 3032 ms ok 121 + tablesample 2337 ms ok 122 + groupingsets 3033 ms ok 123 + drop_operator 2261 ms ok 124 + password 2259 ms ok 125 + identity 3761 ms ok 126 + generated 3759 ms ok 127 + join_hash 8817 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 291 ms ok 129 + brin_multi 1777 ms # parallel group (18 tests): collate.utf8 async dbsize sysviews tidscan misc tid alter_generic alter_operator tsrf collate.icu.utf8 tidrangescan create_role create_table_like incremental_sort misc_functions merge without_overlaps ok 130 + create_table_like 1352 ms ok 131 + alter_generic 1167 ms ok 132 + alter_operator 1165 ms ok 133 + misc 1159 ms ok 134 + async 1043 ms ok 135 + dbsize 1141 ms ok 136 + merge 1743 ms ok 137 + misc_functions 1604 ms ok 138 + sysviews 1148 ms ok 139 + tsrf 1154 ms ok 140 + tid 1152 ms ok 141 + tidscan 1146 ms ok 142 + tidrangescan 1213 ms ok 143 + collate.utf8 1028 ms ok 144 + collate.icu.utf8 1147 ms ok 145 + incremental_sort 1328 ms ok 146 + create_role 1215 ms ok 147 + without_overlaps 1947 ms # parallel group (7 tests): amutils psql_crosstab collate.linux.utf8 collate.windows.win1252 psql rules stats_ext ok 148 + rules 1748 ms ok 149 + psql 1528 ms ok 150 + psql_crosstab 396 ms ok 151 + amutils 374 ms ok 152 + stats_ext 5599 ms ok 153 + collate.linux.utf8 550 ms ok 154 + collate.windows.win1252 1026 ms ok 155 - select_parallel 7725 ms ok 156 - write_parallel 837 ms ok 157 - vacuum_parallel 522 ms # parallel group (2 tests): subscription publication ok 158 + publication 1292 ms not ok 159 + subscription 443 ms # parallel group (17 tests): dependency advisory_lock select_views equivclass combocid xmlmap functional_deps guc portals_p2 tsdicts indirect_toast cluster bitmapops window tsearch foreign_data foreign_key ok 160 + select_views 1218 ms ok 161 + portals_p2 1656 ms ok 162 + foreign_key 4545 ms ok 163 + cluster 1968 ms ok 164 + dependency 1088 ms ok 165 + guc 1650 ms ok 166 + bitmapops 2210 ms ok 167 + combocid 1208 ms ok 168 + tsearch 2238 ms ok 169 + tsdicts 1879 ms ok 170 + foreign_data 2655 ms ok 171 + window 2203 ms ok 172 + xmlmap 1201 ms ok 173 + functional_deps 1393 ms ok 174 + advisory_lock 1068 ms ok 175 + indirect_toast 1866 ms ok 176 + equivclass 1190 ms # parallel group (9 tests): json_encoding sqljson_jsontable jsonpath_encoding sqljson jsonpath json sqljson_queryfuncs jsonb_jsonpath jsonb ok 177 + json 857 ms ok 178 + jsonb 1232 ms ok 179 + json_encoding 495 ms ok 180 + jsonpath 691 ms ok 181 + jsonpath_encoding 493 ms ok 182 + jsonb_jsonpath 994 ms ok 183 + sqljson 601 ms ok 184 + sqljson_queryfuncs 932 ms ok 185 + sqljson_jsontable 485 ms # parallel group (18 tests): returning xml conversion largeobject with plancache prepare rowtypes limit sequence domain copy2 truncate temp polymorphism rangefuncs plpgsql alter_table ok 186 + plancache 1261 ms ok 187 + limit 2147 ms ok 188 + plpgsql 4824 ms ok 189 + copy2 2186 ms ok 190 + temp 3023 ms ok 191 + domain 2183 ms ok 192 + rangefuncs 3207 ms ok 193 + prepare 1654 ms ok 194 + conversion 1218 ms ok 195 + truncate 3015 ms ok 196 + alter_table 5746 ms ok 197 + sequence 2173 ms ok 198 + polymorphism 3058 ms ok 199 + rowtypes 2126 ms ok 200 + returning 1157 ms ok 201 + largeobject 1237 ms ok 202 + with 1236 ms ok 203 + xml 1153 ms # parallel group (13 tests): predicate partition_info compression hash_part explain memoize reloptions partition_join stats indexing partition_aggregate tuplesort partition_prune ok 204 + partition_join 3284 ms ok 205 + partition_prune 6954 ms ok 206 + reloptions 2613 ms ok 207 + hash_part 1654 ms ok 208 + indexing 3782 ms ok 209 + partition_aggregate 5028 ms ok 210 + partition_info 1099 ms ok 211 + tuplesort 5628 ms ok 212 + explain 2549 ms ok 213 + compression 1095 ms ok 214 + memoize 2600 ms ok 215 + stats 3772 ms ok 216 + predicate 449 ms # parallel group (2 tests): oidjoins event_trigger ok 217 + oidjoins 778 ms ok 218 + event_trigger 815 ms ok 219 - event_trigger_login 237 ms ok 220 - fast_default 573 ms ok 221 - tablespace 1761 ms 1..221 # 1 of 221 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-05 11:34:54.492368000 +0000 +++ C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/subscription.out 2024-04-05 11:40:32.097344300 +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/ADSgxMlGPg/.s.PGSQL.57461" 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 === [11:41:04.008](120.691s) not ok 2 - regression tests pass [11:41:04.008](0.000s) # Failed test 'regression tests pass' # at C:/cirrus/src/test/recovery/t/027_stream_regress.pl line 95. [11:41:04.008](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 5 1006 1 2 41 5 17 33 34 -2 1 1 1 1 -1 1 1 -1 -32768 32767 1 9 1 46 1 Waiting for replication conn standby_1's replay_lsn to pass 0/144C4910 on primary done # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/primary.dump --no-sync -p 57461 --no-unlogged-table-data [11:41:09.112](5.104s) ok 3 - dump primary server # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/standby.dump --no-sync -p 57462 [11:41:12.635](3.523s) 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 [11:41:12.740](0.105s) ok 5 - compare primary and standby dumps [11:41:13.323](0.583s) 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" [11:41:14.763](1.440s) 1..6 [11:41:14.799](0.036s) # Looks like you failed 1 test of 6.