# Checking port 63246 # Found port 63246 Name: primary Data directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_027_stream_regress_primary_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_027_stream_regress_primary_data/backup Archive directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_027_stream_regress_primary_data/archives Connection string: port=63246 host=/tmp/7QwmFtUING Log file: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/log/027_stream_regress_primary.log [11:38:58.197](0.013s) # initializing database system by copying initdb template # Running: cp -RPp /tmp/cirrus-ci-build/tmp_install/initdb-template /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_027_stream_regress_primary_data/pgdata # Running: /tmp/cirrus-ci-build/src/test/recovery/../../../src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_027_stream_regress_primary_data/pgdata ### Starting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_027_stream_regress_primary_data/pgdata -l /tmp/cirrus-ci-build/src/test/recovery/tmp_check/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 43844 (standby_1,) [11:38:58.401](0.203s) ok 1 - physical slot created on primary # Taking pg_basebackup my_backup from node "primary" # Running: pg_basebackup -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_027_stream_regress_primary_data/backup/my_backup -h /tmp/7QwmFtUING -p 63246 --checkpoint fast --no-sync # Backup finished # Checking port 63247 # Found port 63247 Name: standby_1 Data directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_027_stream_regress_standby_1_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_027_stream_regress_standby_1_data/backup Archive directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_027_stream_regress_standby_1_data/archives Connection string: port=63247 host=/tmp/7QwmFtUING Log file: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/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 /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_027_stream_regress_standby_1_data/pgdata -l /tmp/cirrus-ci-build/src/test/recovery/tmp_check/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 43919 # using postmaster on /tmp/7QwmFtUING, port 63246 ok 1 - test_setup 357 ms # parallel group (20 tests): pg_lsn name oid varchar txid char text int2 int4 money float4 regproc uuid int8 float8 enum boolean bit numeric rangetypes ok 2 + boolean 467 ms ok 3 + char 185 ms ok 4 + name 145 ms ok 5 + varchar 162 ms ok 6 + text 188 ms ok 7 + int2 190 ms ok 8 + int4 205 ms ok 9 + int8 263 ms ok 10 + oid 150 ms ok 11 + float4 222 ms ok 12 + float8 286 ms ok 13 + bit 572 ms ok 14 + numeric 873 ms ok 15 + txid 160 ms ok 16 + uuid 256 ms ok 17 + enum 377 ms ok 18 + money 217 ms ok 19 + rangetypes 1040 ms ok 20 + pg_lsn 128 ms ok 21 + regproc 229 ms # parallel group (20 tests): line lseg md5 path time circle macaddr macaddr8 timetz numerology inet date interval point strings timestamp timestamptz polygon multirangetypes box ok 22 + strings 522 ms ok 23 + md5 114 ms ok 24 + numerology 235 ms ok 25 + point 381 ms ok 26 + lseg 101 ms ok 27 + line 73 ms ok 28 + box 1252 ms ok 29 + path 125 ms ok 30 + polygon 971 ms ok 31 + circle 154 ms ok 32 + date 270 ms ok 33 + time 137 ms ok 34 + timetz 199 ms ok 35 + timestamp 528 ms ok 36 + timestamptz 633 ms ok 37 + interval 367 ms ok 38 + inet 249 ms ok 39 + macaddr 156 ms ok 40 + macaddr8 186 ms ok 41 + multirangetypes 1225 ms # parallel group (12 tests): unicode comments misc_sanity xid tstypes expressions mvcc geometry type_sanity horology regex opr_sanity ok 42 + geometry 291 ms ok 43 + horology 483 ms ok 44 + tstypes 181 ms ok 45 + regex 486 ms ok 46 + type_sanity 309 ms ok 47 + opr_sanity 711 ms ok 48 + misc_sanity 85 ms ok 49 + comments 65 ms ok 50 + expressions 178 ms ok 51 + unicode 61 ms ok 52 + xid 119 ms ok 53 + mvcc 245 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 54 + copy 228 ms ok 55 + copyselect 115 ms ok 56 + copydml 103 ms ok 57 + insert 639 ms ok 58 + insert_conflict 345 ms # parallel group (7 tests): create_function_c create_operator create_schema create_type create_misc create_procedure create_table ok 59 + create_function_c 31 ms ok 60 + create_misc 155 ms ok 61 + create_operator 80 ms ok 62 + create_procedure 165 ms ok 63 + create_table 679 ms ok 64 + create_type 123 ms ok 65 + create_schema 122 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 1935 ms ok 67 + create_index_spgist 1724 ms ok 68 + create_view 884 ms ok 69 + index_including 472 ms ok 70 + index_including_gist 559 ms # parallel group (16 tests): create_cast errors roleattributes create_aggregate hash_func drop_if_exists typed_table create_function_sql infinite_recurse create_am select vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 223 ms ok 72 + create_function_sql 543 ms ok 73 + create_cast 122 ms ok 74 + constraints 1419 ms ok 75 + triggers 2669 ms ok 76 + select 704 ms ok 77 + inherit 2438 ms ok 78 + typed_table 528 ms ok 79 + vacuum 1272 ms ok 80 + drop_if_exists 269 ms ok 81 + updatable_views 1956 ms ok 82 + roleattributes 161 ms ok 83 + create_am 651 ms ok 84 + hash_func 261 ms ok 85 + errors 117 ms ok 86 + infinite_recurse 567 ms ok 87 - sanity_check 176 ms # parallel group (20 tests): select_distinct_on select_having delete select_implicit case namespace random select_into prepared_xacts transactions portals select_distinct union arrays subselect hash_index update aggregates join btree_index ok 88 + select_into 468 ms ok 89 + select_distinct 819 ms ok 90 + select_distinct_on 182 ms ok 91 + select_implicit 272 ms ok 92 + select_having 225 ms ok 93 + subselect 1312 ms ok 94 + union 1062 ms ok 95 + case 355 ms ok 96 + join 2699 ms ok 97 + aggregates 2650 ms ok 98 + transactions 683 ms ok 99 + random 462 ms ok 100 + portals 735 ms ok 101 + arrays 1129 ms ok 102 + btree_index 3158 ms ok 103 + hash_index 1686 ms ok 104 + update 1800 ms ok 105 + delete 231 ms ok 106 + namespace 406 ms ok 107 + prepared_xacts 550 ms # parallel group (20 tests): init_privs drop_operator security_label password tablesample lock object_address replica_identity collate matview identity groupingsets rowsecurity generated spgist gist gin join_hash brin privileges ok 108 + brin 8204 ms ok 109 + gin 3347 ms ok 110 + gist 3031 ms ok 111 + spgist 2856 ms ok 112 + privileges 8644 ms ok 113 + init_privs 69 ms ok 114 + security_label 217 ms ok 115 + collate 1974 ms ok 116 + matview 2011 ms ok 117 + lock 428 ms ok 118 + replica_identity 954 ms ok 119 + rowsecurity 2746 ms ok 120 + object_address 515 ms ok 121 + tablesample 343 ms ok 122 + groupingsets 2716 ms ok 123 + drop_operator 171 ms ok 124 + password 291 ms ok 125 + identity 2035 ms ok 126 + generated 2795 ms ok 127 + join_hash 8194 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 146 ms ok 129 + brin_multi 928 ms # parallel group (18 tests): async dbsize collate.utf8 tsrf tid create_role alter_operator tidscan sysviews misc_functions alter_generic tidrangescan incremental_sort create_table_like merge without_overlaps misc collate.icu.utf8 ok 130 + create_table_like 1197 ms ok 131 + alter_generic 541 ms ok 132 + alter_operator 277 ms ok 133 + misc 1527 ms ok 134 + async 77 ms ok 135 + dbsize 83 ms ok 136 + merge 1213 ms ok 137 + misc_functions 437 ms ok 138 + sysviews 386 ms ok 139 + tsrf 239 ms ok 140 + tid 256 ms ok 141 + tidscan 296 ms ok 142 + tidrangescan 668 ms ok 143 + collate.utf8 133 ms ok 144 + collate.icu.utf8 1575 ms ok 145 + incremental_sort 902 ms ok 146 + create_role 270 ms ok 147 + without_overlaps 1383 ms # parallel group (7 tests): amutils collate.windows.win1252 psql_crosstab collate.linux.utf8 rules psql stats_ext ok 148 + rules 851 ms ok 149 + psql 975 ms ok 150 + psql_crosstab 96 ms ok 151 + amutils 43 ms ok 152 + stats_ext 2178 ms ok 153 + collate.linux.utf8 661 ms ok 154 + collate.windows.win1252 43 ms ok 155 - select_parallel 3398 ms ok 156 - write_parallel 167 ms ok 157 - vacuum_parallel 185 ms # parallel group (2 tests): subscription publication ok 158 + publication 2644 ms not ok 159 + subscription 88 ms # parallel group (17 tests): portals_p2 advisory_lock combocid xmlmap tsdicts functional_deps equivclass guc dependency select_views indirect_toast bitmapops window cluster foreign_data foreign_key tsearch ok 160 + select_views 700 ms ok 161 + portals_p2 145 ms ok 162 + foreign_key 2469 ms ok 163 + cluster 1243 ms ok 164 + dependency 452 ms ok 165 + guc 394 ms ok 166 + bitmapops 1079 ms ok 167 + combocid 218 ms ok 168 + tsearch 2507 ms ok 169 + tsdicts 329 ms ok 170 + foreign_data 1736 ms ok 171 + window 1124 ms ok 172 + xmlmap 264 ms ok 173 + functional_deps 335 ms ok 174 + advisory_lock 190 ms ok 175 + indirect_toast 1011 ms ok 176 + equivclass 352 ms # parallel group (9 tests): jsonpath_encoding json_encoding jsonpath sqljson sqljson_jsontable sqljson_queryfuncs json jsonb_jsonpath jsonb ok 177 + json 317 ms ok 178 + jsonb 551 ms ok 179 + json_encoding 52 ms ok 180 + jsonpath 116 ms ok 181 + jsonpath_encoding 39 ms ok 182 + jsonb_jsonpath 332 ms ok 183 + sqljson 177 ms ok 184 + sqljson_queryfuncs 273 ms ok 185 + sqljson_jsontable 183 ms # parallel group (18 tests): prepare returning plancache limit conversion sequence temp largeobject copy2 polymorphism rowtypes truncate domain with rangefuncs plpgsql alter_table xml ok 186 + plancache 511 ms ok 187 + limit 530 ms ok 188 + plpgsql 2506 ms ok 189 + copy2 1019 ms ok 190 + temp 845 ms ok 191 + domain 1374 ms ok 192 + rangefuncs 1536 ms ok 193 + prepare 225 ms ok 194 + conversion 649 ms ok 195 + truncate 1172 ms ok 196 + alter_table 3183 ms ok 197 + sequence 810 ms ok 198 + polymorphism 1029 ms ok 199 + rowtypes 1148 ms ok 200 + returning 353 ms ok 201 + largeobject 1014 ms ok 202 + with 1431 ms ok 203 + xml 3212 ms # parallel group (15 tests): hash_part reloptions predicate explain partition_info compression partition_merge memoize partition_split stats partition_aggregate partition_join indexing tuplesort partition_prune ok 204 + partition_merge 1343 ms ok 205 + partition_split 1828 ms ok 206 + partition_join 2698 ms ok 207 + partition_prune 3316 ms ok 208 + reloptions 267 ms ok 209 + hash_part 174 ms ok 210 + indexing 2763 ms ok 211 + partition_aggregate 2132 ms ok 212 + partition_info 420 ms ok 213 + tuplesort 2872 ms ok 214 + explain 331 ms ok 215 + compression 757 ms ok 216 + memoize 1750 ms ok 217 + stats 2061 ms ok 218 + predicate 320 ms # parallel group (2 tests): oidjoins event_trigger ok 219 + oidjoins 416 ms ok 220 + event_trigger 485 ms ok 221 - event_trigger_login 52 ms ok 222 - fast_default 281 ms ok 223 - tablespace 567 ms 1..223 # 1 of 223 tests failed. # The differences that caused some tests to fail can be viewed in the file "/tmp/cirrus-ci-build/src/test/recovery/tmp_check/regression.diffs". # A copy of the test summary that you see above is saved in the file "/tmp/cirrus-ci-build/src/test/recovery/tmp_check/regression.out". === dumping /tmp/cirrus-ci-build/src/test/recovery/tmp_check/regression.diffs === diff -U3 /tmp/cirrus-ci-build/src/test/regress/expected/subscription.out /tmp/cirrus-ci-build/src/test/recovery/tmp_check/results/subscription.out --- /tmp/cirrus-ci-build/src/test/regress/expected/subscription.out 2024-04-07 11:34:30.187095222 +0000 +++ /tmp/cirrus-ci-build/src/test/recovery/tmp_check/results/subscription.out 2024-04-07 11:39:28.782846595 +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 "/tmp/7QwmFtUING/.s.PGSQL.63246" 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:42.406](44.006s) not ok 2 - regression tests pass [11:39:42.407](0.000s) [11:39:42.407](0.000s) # Failed test 'regression tests pass' # at t/027_stream_regress.pl line 95. [11:39:42.407](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 3 4 3 4 4 1 32 1 1 1 6 104 2 1 5 1006 4001 1 2 41 5 17 33 34 -2 1 1 1 1 -1 1 1 -1 -32768 32767 9 1 46 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/14B93478 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/src/test/recovery/tmp_check/primary.dump --no-sync -p 63246 --no-unlogged-table-data [11:39:44.372](1.965s) ok 3 - dump primary server # Running: pg_dumpall -f /tmp/cirrus-ci-build/src/test/recovery/tmp_check/standby.dump --no-sync -p 63247 [11:39:46.296](1.924s) ok 4 - dump standby server # Running: diff /tmp/cirrus-ci-build/src/test/recovery/tmp_check/primary.dump /tmp/cirrus-ci-build/src/test/recovery/tmp_check/standby.dump [11:39:46.313](0.018s) ok 5 - compare primary and standby dumps [11:39:46.509](0.196s) ok 6 - check contents of pg_stat_statements on regression database ### Stopping node "standby_1" using mode fast # Running: pg_ctl -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/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 /tmp/cirrus-ci-build/src/test/recovery/tmp_check/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:39:46.717](0.208s) 1..6 [11:39:46.718](0.001s) # Looks like you failed 1 test of 6.