# Checking port 49462 # Found port 49462 Name: primary Data directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata Backup directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/backup Archive directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/archives Connection string: port=49462 host=/var/folders/xc/tpssff9959345bnqq4c6tlww0000gn/T/WjctSnFnPu Log file: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [11:36:23.470](0.021s) # initializing database system by copying initdb template # Running: cp -RPp /Users/admin/pgsql/build/tmp_install/initdb-template /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata # Running: /Users/admin/pgsql/build/src/test/regress/pg_regress --config-auth /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata ### Starting node "primary" # Running: pg_ctl -w -D /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata -l /Users/admin/pgsql/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 16122 (standby_1,) [11:36:24.468](0.998s) ok 1 - physical slot created on primary # Taking pg_basebackup my_backup from node "primary" # Running: pg_basebackup -D /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/backup/my_backup -h /var/folders/xc/tpssff9959345bnqq4c6tlww0000gn/T/WjctSnFnPu -p 49462 --checkpoint fast --no-sync # Backup finished # Checking port 49463 # Found port 49463 Name: standby_1 Data directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/pgdata Backup directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/backup Archive directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/archives Connection string: port=49463 host=/var/folders/xc/tpssff9959345bnqq4c6tlww0000gn/T/WjctSnFnPu Log file: /Users/admin/pgsql/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 /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/pgdata -l /Users/admin/pgsql/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 16237 # using postmaster on /var/folders/xc/tpssff9959345bnqq4c6tlww0000gn/T/WjctSnFnPu, port 49462 ok 1 - test_setup 1993 ms # parallel group (20 tests): varchar char oid name regproc txid pg_lsn uuid text money int2 int4 float4 boolean bit float8 int8 enum rangetypes numeric ok 2 + boolean 2172 ms ok 3 + char 152 ms ok 4 + name 686 ms ok 5 + varchar 129 ms ok 6 + text 1719 ms ok 7 + int2 1746 ms ok 8 + int4 1907 ms ok 9 + int8 2272 ms ok 10 + oid 142 ms ok 11 + float4 2120 ms ok 12 + float8 2240 ms ok 13 + bit 2210 ms ok 14 + numeric 3313 ms ok 15 + txid 809 ms ok 16 + uuid 1495 ms ok 17 + enum 2589 ms ok 18 + money 1697 ms ok 19 + rangetypes 3244 ms ok 20 + pg_lsn 856 ms ok 21 + regproc 790 ms # parallel group (20 tests): lseg md5 line path circle time timetz macaddr point numerology macaddr8 polygon inet date timestamp box timestamptz interval strings multirangetypes ok 22 + strings 4008 ms ok 23 + md5 123 ms ok 24 + numerology 521 ms ok 25 + point 514 ms ok 26 + lseg 118 ms ok 27 + line 121 ms ok 28 + box 965 ms ok 29 + path 119 ms ok 30 + polygon 584 ms ok 31 + circle 168 ms ok 32 + date 601 ms ok 33 + time 457 ms ok 34 + timetz 467 ms ok 35 + timestamp 784 ms ok 36 + timestamptz 3373 ms ok 37 + interval 3671 ms ok 38 + inet 580 ms ok 39 + macaddr 467 ms ok 40 + macaddr8 483 ms ok 41 + multirangetypes 4505 ms # parallel group (12 tests): comments misc_sanity unicode mvcc xid regex type_sanity expressions tstypes horology geometry opr_sanity ok 42 + geometry 1358 ms ok 43 + horology 1311 ms ok 44 + tstypes 1155 ms ok 45 + regex 998 ms ok 46 + type_sanity 1086 ms ok 47 + opr_sanity 1381 ms ok 48 + misc_sanity 371 ms ok 49 + comments 40 ms ok 50 + expressions 1124 ms ok 51 + unicode 649 ms ok 52 + xid 762 ms ok 53 + mvcc 650 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 2107 ms ok 55 + copyselect 907 ms ok 56 + copydml 921 ms ok 57 + insert 7954 ms ok 58 + insert_conflict 5287 ms # parallel group (7 tests): create_function_c create_schema create_operator create_type create_procedure create_misc create_table ok 59 + create_function_c 110 ms ok 60 + create_misc 1252 ms ok 61 + create_operator 1194 ms ok 62 + create_procedure 1248 ms ok 63 + create_table 1917 ms ok 64 + create_type 1220 ms ok 65 + create_schema 1097 ms # parallel group (5 tests): index_including_gist index_including create_index_spgist create_view create_index ok 66 + create_index 9597 ms ok 67 + create_index_spgist 4876 ms ok 68 + create_view 7346 ms ok 69 + index_including 3933 ms ok 70 + index_including_gist 3133 ms # parallel group (16 tests): infinite_recurse errors create_cast hash_func create_aggregate roleattributes typed_table select drop_if_exists create_am create_function_sql vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 250 ms ok 72 + create_function_sql 880 ms ok 73 + create_cast 214 ms ok 74 + constraints 1664 ms ok 75 + triggers 6706 ms ok 76 + select 751 ms ok 77 + inherit 4466 ms ok 78 + typed_table 706 ms ok 79 + vacuum 1531 ms ok 80 + drop_if_exists 838 ms ok 81 + updatable_views 3177 ms ok 82 + roleattributes 674 ms ok 83 + create_am 832 ms ok 84 + hash_func 212 ms ok 85 + errors 157 ms ok 86 + infinite_recurse 136 ms ok 87 - sanity_check 1767 ms # parallel group (20 tests): select_having delete select_distinct_on select_implicit prepared_xacts select_into case random namespace union transactions select_distinct portals hash_index btree_index arrays subselect update aggregates join ok 88 + select_into 244 ms ok 89 + select_distinct 1542 ms ok 90 + select_distinct_on 177 ms ok 91 + select_implicit 210 ms ok 92 + select_having 133 ms ok 93 + subselect 3312 ms ok 94 + union 428 ms ok 95 + case 242 ms ok 96 + join 6342 ms ok 97 + aggregates 4925 ms ok 98 + transactions 456 ms ok 99 + random 258 ms ok 100 + portals 1526 ms ok 101 + arrays 3201 ms ok 102 + btree_index 3184 ms ok 103 + hash_index 2751 ms ok 104 + update 3399 ms ok 105 + delete 74 ms ok 106 + namespace 235 ms ok 107 + prepared_xacts 156 ms # parallel group (20 tests): init_privs drop_operator security_label password tablesample lock object_address spgist replica_identity gin collate gist groupingsets matview identity generated join_hash brin rowsecurity privileges ok 108 + brin 9305 ms ok 109 + gin 2692 ms ok 110 + gist 3423 ms ok 111 + spgist 2317 ms ok 112 + privileges 12807 ms ok 113 + init_privs 215 ms ok 114 + security_label 1419 ms ok 115 + collate 3350 ms ok 116 + matview 5085 ms ok 117 + lock 2247 ms ok 118 + replica_identity 2311 ms ok 119 + rowsecurity 12271 ms ok 120 + object_address 2268 ms ok 121 + tablesample 1851 ms ok 122 + groupingsets 3714 ms ok 123 + drop_operator 886 ms ok 124 + password 1828 ms ok 125 + identity 5436 ms ok 126 + generated 8004 ms ok 127 + join_hash 9231 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 1066 ms ok 129 + brin_multi 2437 ms # parallel group (18 tests): async dbsize collate.utf8 sysviews tid tidrangescan tidscan alter_operator tsrf misc incremental_sort create_role misc_functions create_table_like alter_generic without_overlaps merge collate.icu.utf8 ok 130 + create_table_like 2449 ms ok 131 + alter_generic 3176 ms ok 132 + alter_operator 1357 ms ok 133 + misc 1399 ms ok 134 + async 685 ms ok 135 + dbsize 750 ms ok 136 + merge 8206 ms ok 137 + misc_functions 1973 ms ok 138 + sysviews 1250 ms ok 139 + tsrf 1378 ms ok 140 + tid 1286 ms ok 141 + tidscan 1317 ms ok 142 + tidrangescan 1300 ms ok 143 + collate.utf8 759 ms ok 144 + collate.icu.utf8 9699 ms ok 145 + incremental_sort 1796 ms ok 146 + create_role 1923 ms ok 147 + without_overlaps 6312 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab psql rules stats_ext ok 148 + rules 4159 ms ok 149 + psql 2734 ms ok 150 + psql_crosstab 160 ms ok 151 + amutils 70 ms ok 152 + stats_ext 10171 ms ok 153 + collate.linux.utf8 50 ms ok 154 + collate.windows.win1252 48 ms ok 155 - select_parallel 5532 ms ok 156 - write_parallel 1170 ms ok 157 - vacuum_parallel 376 ms # parallel group (2 tests): subscription publication ok 158 + publication 2961 ms not ok 159 + subscription 192 ms # parallel group (17 tests): bitmapops advisory_lock combocid indirect_toast functional_deps xmlmap portals_p2 tsdicts select_views dependency equivclass guc tsearch cluster window foreign_data foreign_key ok 160 + select_views 1430 ms ok 161 + portals_p2 1388 ms ok 162 + foreign_key 11022 ms ok 163 + cluster 3390 ms ok 164 + dependency 1434 ms ok 165 + guc 1503 ms ok 166 + bitmapops 1076 ms ok 167 + combocid 1117 ms ok 168 + tsearch 2585 ms ok 169 + tsdicts 1410 ms ok 170 + foreign_data 9283 ms ok 171 + window 7726 ms ok 172 + xmlmap 1325 ms ok 173 + functional_deps 1325 ms ok 174 + advisory_lock 1085 ms ok 175 + indirect_toast 1299 ms ok 176 + equivclass 1465 ms # parallel group (9 tests): jsonpath_encoding jsonpath json_encoding jsonb_jsonpath sqljson_jsontable sqljson sqljson_queryfuncs json jsonb ok 177 + json 2494 ms ok 178 + jsonb 3095 ms ok 179 + json_encoding 290 ms ok 180 + jsonpath 219 ms ok 181 + jsonpath_encoding 146 ms ok 182 + jsonb_jsonpath 949 ms ok 183 + sqljson 1942 ms ok 184 + sqljson_queryfuncs 2442 ms ok 185 + sqljson_jsontable 981 ms # parallel group (18 tests): prepare returning limit conversion plancache largeobject temp sequence xml truncate copy2 rowtypes with polymorphism domain rangefuncs plpgsql alter_table ok 186 + plancache 1777 ms ok 187 + limit 1701 ms ok 188 + plpgsql 19646 ms ok 189 + copy2 5143 ms ok 190 + temp 3268 ms ok 191 + domain 10811 ms ok 192 + rangefuncs 11317 ms ok 193 + prepare 793 ms ok 194 + conversion 1718 ms ok 195 + truncate 5042 ms ok 196 + alter_table 32247 ms ok 197 + sequence 3398 ms ok 198 + polymorphism 9576 ms ok 199 + rowtypes 6594 ms ok 200 + returning 1643 ms ok 201 + largeobject 1761 ms ok 202 + with 6890 ms ok 203 + xml 3803 ms # parallel group (13 tests): hash_part predicate explain reloptions partition_info memoize compression tuplesort partition_aggregate stats indexing partition_join partition_prune ok 204 + partition_join 11270 ms ok 205 + partition_prune 11970 ms ok 206 + reloptions 1016 ms ok 207 + hash_part 754 ms ok 208 + indexing 6737 ms ok 209 + partition_aggregate 3624 ms ok 210 + partition_info 1101 ms ok 211 + tuplesort 3474 ms ok 212 + explain 822 ms ok 213 + compression 1818 ms ok 214 + memoize 1144 ms ok 215 + stats 4396 ms ok 216 + predicate 736 ms # parallel group (2 tests): oidjoins event_trigger ok 217 + oidjoins 2453 ms ok 218 + event_trigger 6021 ms ok 219 - event_trigger_login 59 ms ok 220 - fast_default 4052 ms ok 221 - tablespace 5899 ms 1..221 # 1 of 221 tests failed. # The differences that caused some tests to fail can be viewed in the file "/Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/regression.diffs". # A copy of the test summary that you see above is saved in the file "/Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/regression.out". === dumping /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/regression.diffs === diff -U3 /Users/admin/pgsql/src/test/regress/expected/subscription.out /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/subscription.out --- /Users/admin/pgsql/src/test/regress/expected/subscription.out 2024-04-05 11:34:23 +++ /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/subscription.out 2024-04-05 11:37:56 @@ -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 "/var/folders/xc/tpssff9959345bnqq4c6tlww0000gn/T/WjctSnFnPu/.s.PGSQL.49462" 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:39:17.803](173.335s) not ok 2 - regression tests pass [11:39:17.804](0.000s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/test/recovery/t/027_stream_regress.pl line 95. [11:39:17.804](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 5 9 5 1 1 4001 3 4 3 41 4 4 1 32 1 1 1 6 104 2 1 5 1006 1 2 5 17 -2 33 34 46 9 1 1 1 1 1 -1 1 1 -1 -32768 32767 Waiting for replication conn standby_1's replay_lsn to pass 0/1523CBE0 on primary done # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 49462 --no-unlogged-table-data [11:39:56.272](38.469s) ok 3 - dump primary server # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 49463 [11:40:11.695](15.422s) ok 4 - dump standby server # Running: diff /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump [11:40:12.038](0.343s) ok 5 - compare primary and standby dumps [11:40:14.040](2.002s) ok 6 - check contents of pg_stat_statements on regression database ### Stopping node "standby_1" using mode fast # Running: pg_ctl -D /Users/admin/pgsql/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 /Users/admin/pgsql/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:40:14.604](0.564s) 1..6 [11:40:14.678](0.074s) # Looks like you failed 1 test of 6.