# Checking port 56934 # Found port 56934 Name: primary Data directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/archives Connection string: port=56934 host=/tmp/0UWonLHQCT Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [05:39:17.892](0.021s) # initializing database system by copying initdb template # Running: cp -RPp /tmp/cirrus-ci-build/build/tmp_install/initdb-template /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata # Running: /tmp/cirrus-ci-build/build/src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata ### Starting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata -l /tmp/cirrus-ci-build/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 11160 (standby_1,) [05:39:18.123](0.231s) ok 1 - physical slot created on primary # Taking pg_basebackup my_backup from node "primary" # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/backup/my_backup -h /tmp/0UWonLHQCT -p 56934 --checkpoint fast --no-sync # Backup finished # Checking port 56935 # Found port 56935 Name: standby_1 Data directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/archives Connection string: port=56935 host=/tmp/0UWonLHQCT Log file: /tmp/cirrus-ci-build/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 /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/pgdata -l /tmp/cirrus-ci-build/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 11215 # using postmaster on /tmp/0UWonLHQCT, port 56934 ok 1 - test_setup 441 ms # parallel group (20 tests): varchar char pg_lsn oid txid name text uuid int4 regproc float4 money int2 boolean float8 int8 bit enum rangetypes numeric ok 2 + boolean 397 ms ok 3 + char 169 ms ok 4 + name 271 ms ok 5 + varchar 149 ms ok 6 + text 290 ms ok 7 + int2 361 ms ok 8 + int4 304 ms ok 9 + int8 492 ms ok 10 + oid 236 ms ok 11 + float4 356 ms ok 12 + float8 475 ms ok 13 + bit 521 ms ok 14 + numeric 2082 ms ok 15 + txid 255 ms ok 16 + uuid 296 ms ok 17 + enum 559 ms ok 18 + money 356 ms ok 19 + rangetypes 1641 ms ok 20 + pg_lsn 193 ms ok 21 + regproc 325 ms # parallel group (20 tests): md5 lseg line point circle path time macaddr timetz numerology macaddr8 inet date polygon box interval timestamp timestamptz strings multirangetypes ok 22 + strings 707 ms ok 23 + md5 89 ms ok 24 + numerology 331 ms ok 25 + point 152 ms ok 26 + lseg 111 ms ok 27 + line 134 ms ok 28 + box 561 ms ok 29 + path 204 ms ok 30 + polygon 498 ms ok 31 + circle 202 ms ok 32 + date 462 ms ok 33 + time 216 ms ok 34 + timetz 263 ms ok 35 + timestamp 615 ms ok 36 + timestamptz 641 ms ok 37 + interval 594 ms ok 38 + inet 450 ms ok 39 + macaddr 225 ms ok 40 + macaddr8 332 ms ok 41 + multirangetypes 810 ms # parallel group (12 tests): comments misc_sanity unicode mvcc expressions xid tstypes type_sanity regex horology geometry opr_sanity ok 42 + geometry 385 ms ok 43 + horology 345 ms ok 44 + tstypes 219 ms ok 45 + regex 317 ms ok 46 + type_sanity 317 ms ok 47 + opr_sanity 480 ms ok 48 + misc_sanity 51 ms ok 49 + comments 27 ms ok 50 + expressions 188 ms ok 51 + unicode 52 ms ok 52 + xid 190 ms ok 53 + mvcc 124 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 294 ms ok 55 + copyselect 172 ms ok 56 + copydml 197 ms ok 57 + insert 2394 ms ok 58 + insert_conflict 1074 ms # parallel group (7 tests): create_function_c create_schema create_operator create_procedure create_type create_misc create_table ok 59 + create_function_c 31 ms ok 60 + create_misc 336 ms ok 61 + create_operator 216 ms ok 62 + create_procedure 256 ms ok 63 + create_table 1905 ms ok 64 + create_type 290 ms ok 65 + create_schema 192 ms # parallel group (5 tests): index_including_gist index_including create_index_spgist create_view create_index ok 66 + create_index 2667 ms ok 67 + create_index_spgist 1461 ms ok 68 + create_view 1789 ms ok 69 + index_including 946 ms ok 70 + index_including_gist 907 ms # parallel group (16 tests): create_cast hash_func infinite_recurse errors select create_aggregate typed_table roleattributes create_am create_function_sql drop_if_exists vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 525 ms ok 72 + create_function_sql 884 ms ok 73 + create_cast 254 ms ok 74 + constraints 3481 ms ok 75 + triggers 8748 ms ok 76 + select 515 ms ok 77 + inherit 7985 ms ok 78 + typed_table 578 ms ok 79 + vacuum 1535 ms ok 80 + drop_if_exists 893 ms ok 81 + updatable_views 7293 ms ok 82 + roleattributes 598 ms ok 83 + create_am 877 ms ok 84 + hash_func 273 ms ok 85 + errors 466 ms ok 86 + infinite_recurse 396 ms ok 87 - sanity_check 196 ms # parallel group (20 tests): select_distinct_on delete select_having select_implicit random namespace case prepared_xacts select_into select_distinct union portals transactions arrays subselect hash_index update aggregates join btree_index ok 88 + select_into 548 ms ok 89 + select_distinct 574 ms ok 90 + select_distinct_on 78 ms ok 91 + select_implicit 266 ms ok 92 + select_having 254 ms ok 93 + subselect 1303 ms ok 94 + union 899 ms ok 95 + case 434 ms ok 96 + join 3836 ms ok 97 + aggregates 3098 ms ok 98 + transactions 1154 ms ok 99 + random 287 ms ok 100 + portals 970 ms ok 101 + arrays 1272 ms ok 102 + btree_index 3962 ms ok 103 + hash_index 2029 ms ok 104 + update 2942 ms ok 105 + delete 201 ms ok 106 + namespace 388 ms ok 107 + prepared_xacts 431 ms # parallel group (20 tests): init_privs drop_operator security_label tablesample password lock object_address groupingsets collate replica_identity matview identity generated spgist gin gist rowsecurity brin join_hash privileges ok 108 + brin 5526 ms ok 109 + gin 3829 ms ok 110 + gist 4010 ms ok 111 + spgist 3645 ms ok 112 + privileges 6299 ms ok 113 + init_privs 44 ms ok 114 + security_label 382 ms ok 115 + collate 2389 ms ok 116 + matview 3003 ms ok 117 + lock 1395 ms ok 118 + replica_identity 2666 ms ok 119 + rowsecurity 4936 ms ok 120 + object_address 1472 ms ok 121 + tablesample 504 ms ok 122 + groupingsets 2245 ms ok 123 + drop_operator 145 ms ok 124 + password 548 ms ok 125 + identity 3076 ms ok 126 + generated 3478 ms ok 127 + join_hash 5536 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 480 ms ok 129 + brin_multi 947 ms # parallel group (18 tests): async dbsize tidrangescan collate.utf8 tidscan sysviews tid tsrf alter_operator misc misc_functions incremental_sort create_role alter_generic create_table_like collate.icu.utf8 merge without_overlaps ok 130 + create_table_like 2462 ms ok 131 + alter_generic 1480 ms ok 132 + alter_operator 675 ms ok 133 + misc 745 ms ok 134 + async 147 ms ok 135 + dbsize 221 ms ok 136 + merge 2747 ms ok 137 + misc_functions 784 ms ok 138 + sysviews 349 ms ok 139 + tsrf 552 ms ok 140 + tid 547 ms ok 141 + tidscan 328 ms ok 142 + tidrangescan 272 ms ok 143 + collate.utf8 300 ms ok 144 + collate.icu.utf8 2586 ms ok 145 + incremental_sort 874 ms ok 146 + create_role 971 ms ok 147 + without_overlaps 3047 ms # parallel group (7 tests): collate.linux.utf8 amutils collate.windows.win1252 psql_crosstab psql rules stats_ext ok 148 + rules 2630 ms ok 149 + psql 2334 ms ok 150 + psql_crosstab 128 ms ok 151 + amutils 36 ms ok 152 + stats_ext 3994 ms ok 153 + collate.linux.utf8 20 ms ok 154 + collate.windows.win1252 37 ms ok 155 - select_parallel 1519 ms ok 156 - write_parallel 153 ms ok 157 - vacuum_parallel 128 ms # parallel group (2 tests): subscription publication ok 158 + publication 1514 ms not ok 159 + subscription 220 ms # parallel group (17 tests): portals_p2 advisory_lock xmlmap combocid functional_deps indirect_toast select_views tsdicts dependency guc equivclass bitmapops tsearch window cluster foreign_data foreign_key ok 160 + select_views 650 ms ok 161 + portals_p2 200 ms ok 162 + foreign_key 6216 ms ok 163 + cluster 1878 ms ok 164 + dependency 723 ms ok 165 + guc 799 ms ok 166 + bitmapops 956 ms ok 167 + combocid 321 ms ok 168 + tsearch 1389 ms ok 169 + tsdicts 657 ms ok 170 + foreign_data 3666 ms ok 171 + window 1396 ms ok 172 + xmlmap 319 ms ok 173 + functional_deps 560 ms ok 174 + advisory_lock 205 ms ok 175 + indirect_toast 593 ms ok 176 + equivclass 848 ms # parallel group (8 tests): jsonpath_encoding json_encoding jsonpath sqljson sqljson_queryfuncs json jsonb_jsonpath jsonb ok 177 + json 351 ms ok 178 + jsonb 662 ms ok 179 + json_encoding 55 ms ok 180 + jsonpath 97 ms ok 181 + jsonpath_encoding 30 ms ok 182 + jsonb_jsonpath 410 ms ok 183 + sqljson 201 ms ok 184 + sqljson_queryfuncs 307 ms # parallel group (18 tests): prepare returning conversion limit plancache temp rowtypes xml sequence copy2 largeobject with truncate polymorphism rangefuncs domain plpgsql alter_table ok 185 + plancache 667 ms ok 186 + limit 538 ms ok 187 + plpgsql 3792 ms ok 188 + copy2 1482 ms ok 189 + temp 1156 ms ok 190 + domain 1957 ms ok 191 + rangefuncs 1815 ms ok 192 + prepare 195 ms ok 193 + conversion 515 ms ok 194 + truncate 1590 ms ok 195 + alter_table 6665 ms ok 196 + sequence 1379 ms ok 197 + polymorphism 1633 ms ok 198 + rowtypes 1181 ms ok 199 + returning 395 ms ok 200 + largeobject 1498 ms ok 201 + with 1510 ms ok 202 + xml 1347 ms # parallel group (13 tests): predicate hash_part reloptions explain partition_info memoize compression partition_aggregate tuplesort stats partition_prune partition_join indexing ok 203 + partition_join 4016 ms ok 204 + partition_prune 3615 ms ok 205 + reloptions 314 ms ok 206 + hash_part 277 ms ok 207 + indexing 4235 ms ok 208 + partition_aggregate 1490 ms ok 209 + partition_info 463 ms ok 210 + tuplesort 1836 ms ok 211 + explain 413 ms ok 212 + compression 1042 ms ok 213 + memoize 646 ms ok 214 + stats 1845 ms ok 215 + predicate 80 ms # parallel group (2 tests): oidjoins event_trigger ok 216 + oidjoins 397 ms ok 217 + event_trigger 475 ms ok 218 - event_trigger_login 44 ms ok 219 - fast_default 482 ms ok 220 - tablespace 837 ms 1..220 # 1 of 220 tests failed. # The differences that caused some tests to fail can be viewed in the file "/tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/regression.diffs". # A copy of the test summary that you see above is saved in the file "/tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/regression.out". === dumping /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/regression.diffs === diff -U3 /tmp/cirrus-ci-build/src/test/regress/expected/subscription.out /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/subscription.out --- /tmp/cirrus-ci-build/src/test/regress/expected/subscription.out 2024-04-04 05:38:06.836312000 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/subscription.out 2024-04-04 05:39:59.510102000 +0000 @@ -381,14 +381,13 @@ --fail - alter of two_phase option not supported. ALTER SUBSCRIPTION regress_testsub SET (two_phase = false); -ERROR: unrecognized subscription parameter: "two_phase" -- but can alter streaming when two_phase enabled ALTER SUBSCRIPTION regress_testsub SET (streaming = true); \dRs+ List of subscriptions Name | Owner | Enabled | Publication | Binary | Streaming | Two-phase commit | Disable on error | Origin | Password required | Run as owner? | Failover | Synchronous commit | Conninfo | Skip LSN -----------------+---------------------------+---------+-------------+--------+-----------+------------------+------------------+--------+-------------------+---------------+----------+--------------------+-----------------------------+---------- - regress_testsub | regress_subscription_user | f | {testpub} | f | on | p | f | any | t | f | f | off | dbname=regress_doesnotexist | 0/0 + regress_testsub | regress_subscription_user | f | {testpub} | f | on | d | f | any | t | f | f | off | dbname=regress_doesnotexist | 0/0 (1 row) ALTER SUBSCRIPTION regress_testsub SET (slot_name = NONE); === EOF === [05:40:20.622](62.499s) not ok 2 - regression tests pass [05:40:20.623](0.001s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [05:40:20.623](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 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 -2 33 34 1 1 1 1 1 1 -1 1 1 -1 -32768 32767 9 1 46 Waiting for replication conn standby_1's replay_lsn to pass 0/142B78F0 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 56934 --no-unlogged-table-data [05:40:22.902](2.279s) ok 3 - dump primary server # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 56935 [05:40:24.646](1.744s) ok 4 - dump standby server # Running: diff /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/standby.dump [05:40:24.665](0.019s) ok 5 - compare primary and standby dumps [05:40:24.799](0.135s) 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/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 /tmp/cirrus-ci-build/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" [05:40:25.009](0.209s) 1..6 [05:40:25.010](0.001s) # Looks like you failed 1 test of 6.