# Checking port 53534 # Found port 53534 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=53534 host=/tmp/gTtG9nykcf Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [11:05:51.296](0.027s) # 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 21355 (standby_1,) [11:05:51.582](0.285s) 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/gTtG9nykcf -p 53534 --checkpoint fast --no-sync # Backup finished # Checking port 53535 # Found port 53535 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=53535 host=/tmp/gTtG9nykcf 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 21492 # using postmaster on /tmp/gTtG9nykcf, port 53534 ok 1 - test_setup 430 ms # parallel group (20 tests): char money txid oid pg_lsn varchar text name int2 int4 float4 regproc uuid float8 int8 boolean enum bit rangetypes numeric ok 2 + boolean 310 ms ok 3 + char 77 ms ok 4 + name 143 ms ok 5 + varchar 127 ms ok 6 + text 138 ms ok 7 + int2 143 ms ok 8 + int4 147 ms ok 9 + int8 270 ms ok 10 + oid 110 ms ok 11 + float4 151 ms ok 12 + float8 245 ms ok 13 + bit 394 ms ok 14 + numeric 1492 ms ok 15 + txid 108 ms ok 16 + uuid 173 ms ok 17 + enum 366 ms ok 18 + money 94 ms ok 19 + rangetypes 1174 ms ok 20 + pg_lsn 122 ms ok 21 + regproc 155 ms # parallel group (20 tests): macaddr md5 circle lseg line timetz time numerology path date macaddr8 inet point interval timestamp strings timestamptz polygon multirangetypes box ok 22 + strings 500 ms ok 23 + md5 73 ms ok 24 + numerology 192 ms ok 25 + point 363 ms ok 26 + lseg 153 ms ok 27 + line 177 ms ok 28 + box 1372 ms ok 29 + path 194 ms ok 30 + polygon 1061 ms ok 31 + circle 88 ms ok 32 + date 205 ms ok 33 + time 184 ms ok 34 + timetz 182 ms ok 35 + timestamp 475 ms ok 36 + timestamptz 629 ms ok 37 + interval 466 ms ok 38 + inet 288 ms ok 39 + macaddr 52 ms ok 40 + macaddr8 213 ms ok 41 + multirangetypes 1203 ms # parallel group (12 tests): unicode comments misc_sanity xid expressions tstypes mvcc type_sanity geometry horology regex opr_sanity ok 42 + geometry 482 ms ok 43 + horology 578 ms ok 44 + tstypes 186 ms ok 45 + regex 727 ms ok 46 + type_sanity 466 ms ok 47 + opr_sanity 1104 ms ok 48 + misc_sanity 75 ms ok 49 + comments 54 ms ok 50 + expressions 164 ms ok 51 + unicode 40 ms ok 52 + xid 160 ms ok 53 + mvcc 275 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 291 ms ok 55 + copyselect 92 ms ok 56 + copydml 112 ms ok 57 + insert 915 ms ok 58 + insert_conflict 468 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 33 ms ok 60 + create_misc 155 ms ok 61 + create_operator 67 ms ok 62 + create_procedure 185 ms ok 63 + create_table 1126 ms ok 64 + create_type 148 ms ok 65 + create_schema 144 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 2727 ms ok 67 + create_index_spgist 2479 ms ok 68 + create_view 991 ms ok 69 + index_including 587 ms ok 70 + index_including_gist 914 ms # parallel group (16 tests): create_cast errors roleattributes hash_func create_aggregate drop_if_exists typed_table select create_function_sql create_am infinite_recurse constraints vacuum updatable_views inherit triggers ok 71 + create_aggregate 206 ms ok 72 + create_function_sql 493 ms ok 73 + create_cast 72 ms ok 74 + constraints 1340 ms ok 75 + triggers 5441 ms ok 76 + select 481 ms ok 77 + inherit 3326 ms ok 78 + typed_table 445 ms ok 79 + vacuum 1360 ms ok 80 + drop_if_exists 280 ms ok 81 + updatable_views 2008 ms ok 82 + roleattributes 140 ms ok 83 + create_am 503 ms ok 84 + hash_func 182 ms ok 85 + errors 110 ms ok 86 + infinite_recurse 643 ms ok 87 - sanity_check 178 ms # parallel group (20 tests): select_having select_distinct_on select_implicit namespace delete case random select_into prepared_xacts transactions portals union arrays select_distinct subselect hash_index update aggregates join btree_index ok 88 + select_into 237 ms ok 89 + select_distinct 825 ms ok 90 + select_distinct_on 112 ms ok 91 + select_implicit 163 ms ok 92 + select_having 109 ms ok 93 + subselect 944 ms ok 94 + union 762 ms ok 95 + case 197 ms ok 96 + join 3699 ms ok 97 + aggregates 3619 ms ok 98 + transactions 462 ms ok 99 + random 199 ms ok 100 + portals 649 ms ok 101 + arrays 769 ms ok 102 + btree_index 5553 ms ok 103 + hash_index 1624 ms ok 104 + update 1649 ms ok 105 + delete 179 ms ok 106 + namespace 177 ms ok 107 + prepared_xacts 277 ms # parallel group (20 tests): init_privs drop_operator security_label password lock object_address tablesample replica_identity collate matview identity groupingsets generated spgist rowsecurity brin gist gin join_hash privileges ok 108 + brin 2848 ms ok 109 + gin 3086 ms ok 110 + gist 2921 ms ok 111 + spgist 2609 ms ok 112 + privileges 8612 ms ok 113 + init_privs 59 ms ok 114 + security_label 329 ms ok 115 + collate 1192 ms ok 116 + matview 1782 ms ok 117 + lock 395 ms ok 118 + replica_identity 819 ms ok 119 + rowsecurity 2737 ms ok 120 + object_address 493 ms ok 121 + tablesample 570 ms ok 122 + groupingsets 2361 ms ok 123 + drop_operator 279 ms ok 124 + password 342 ms ok 125 + identity 1815 ms ok 126 + generated 2505 ms ok 127 + join_hash 8110 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 179 ms ok 129 + brin_multi 1038 ms # parallel group (17 tests): dbsize async tsrf tid tidscan alter_operator create_role tidrangescan sysviews misc_functions alter_generic without_overlaps incremental_sort create_table_like merge misc collate.icu.utf8 ok 130 + create_table_like 879 ms ok 131 + alter_generic 413 ms ok 132 + alter_operator 224 ms ok 133 + misc 1093 ms ok 134 + async 69 ms ok 135 + dbsize 59 ms ok 136 + merge 905 ms ok 137 + misc_functions 371 ms not ok 138 + sysviews 361 ms ok 139 + tsrf 155 ms ok 140 + tid 166 ms ok 141 + tidscan 208 ms ok 142 + tidrangescan 355 ms ok 143 + collate.icu.utf8 1178 ms ok 144 + incremental_sort 812 ms ok 145 + create_role 244 ms ok 146 + without_overlaps 538 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab rules psql stats_ext ok 147 + rules 977 ms ok 148 + psql 1120 ms ok 149 + psql_crosstab 82 ms ok 150 + amutils 58 ms ok 151 + stats_ext 2687 ms ok 152 + collate.linux.utf8 36 ms ok 153 + collate.windows.win1252 32 ms ok 154 - select_parallel 5449 ms ok 155 - write_parallel 257 ms ok 156 - vacuum_parallel 264 ms # parallel group (2 tests): subscription publication ok 157 + publication 1943 ms ok 158 + subscription 143 ms # parallel group (17 tests): portals_p2 advisory_lock combocid xmlmap tsdicts functional_deps guc equivclass dependency select_views window bitmapops cluster indirect_toast foreign_data tsearch foreign_key ok 159 + select_views 568 ms ok 160 + portals_p2 127 ms ok 161 + foreign_key 2709 ms ok 162 + cluster 1073 ms ok 163 + dependency 292 ms ok 164 + guc 246 ms ok 165 + bitmapops 1044 ms ok 166 + combocid 156 ms ok 167 + tsearch 2116 ms ok 168 + tsdicts 215 ms ok 169 + foreign_data 1694 ms ok 170 + window 1043 ms ok 171 + xmlmap 157 ms ok 172 + functional_deps 215 ms ok 173 + advisory_lock 149 ms ok 174 + indirect_toast 1176 ms ok 175 + equivclass 269 ms # parallel group (7 tests): jsonpath_encoding json_encoding jsonpath sqljson json jsonb_jsonpath jsonb ok 176 + json 250 ms ok 177 + jsonb 533 ms ok 178 + json_encoding 45 ms ok 179 + jsonpath 101 ms ok 180 + jsonpath_encoding 41 ms ok 181 + jsonb_jsonpath 276 ms ok 182 + sqljson 140 ms # parallel group (18 tests): prepare returning plancache conversion limit temp sequence rowtypes copy2 polymorphism truncate largeobject domain with rangefuncs xml plpgsql alter_table ok 183 + plancache 406 ms ok 184 + limit 460 ms ok 185 + plpgsql 2649 ms ok 186 + copy2 727 ms ok 187 + temp 543 ms ok 188 + domain 1048 ms ok 189 + rangefuncs 1329 ms ok 190 + prepare 124 ms ok 191 + conversion 432 ms ok 192 + truncate 864 ms ok 193 + alter_table 3513 ms ok 194 + sequence 651 ms ok 195 + polymorphism 761 ms ok 196 + rowtypes 691 ms ok 197 + returning 227 ms ok 198 + largeobject 876 ms ok 199 + with 1213 ms ok 200 + xml 1785 ms # parallel group (13 tests): reloptions hash_part partition_info explain predicate compression memoize stats partition_aggregate tuplesort partition_join indexing partition_prune ok 201 + partition_join 2608 ms ok 202 + partition_prune 2863 ms ok 203 + reloptions 112 ms ok 204 + hash_part 134 ms ok 205 + indexing 2680 ms ok 206 + partition_aggregate 2166 ms ok 207 + partition_info 249 ms ok 208 + tuplesort 2236 ms ok 209 + explain 252 ms ok 210 + compression 643 ms ok 211 + memoize 825 ms ok 212 + stats 1534 ms ok 213 + predicate 262 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 548 ms ok 215 + event_trigger 625 ms ok 216 - event_trigger_login 61 ms ok 217 - fast_default 172 ms ok 218 - tablespace 528 ms 1..218 # 1 of 218 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/sysviews.out /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/sysviews.out --- /tmp/cirrus-ci-build/src/test/regress/expected/sysviews.out 2024-02-18 11:04:00.202523590 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/sysviews.out 2024-02-18 11:06:24.450500709 +0000 @@ -111,6 +111,7 @@ select name, setting from pg_settings where name like 'enable%'; name | setting --------------------------------+--------- + enable_alter_system | on enable_async_append | on enable_bitmapscan | on enable_gathermerge | on @@ -134,7 +135,7 @@ enable_seqscan | on enable_sort | on enable_tidscan | on -(23 rows) +(24 rows) -- There are always wait event descriptions for various types. select type, count(*) > 0 as ok FROM pg_wait_events === EOF === [11:06:47.902](56.320s) not ok 2 - regression tests pass [11:06:47.902](0.000s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [11:06:47.902](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 3 4 3 4 4 1 5 32 1 1 1 6 104 2 1 1006 4001 1 2 41 -2 5 17 9 1 33 34 1 1 1 1 -1 1 1 -1 -32768 32767 46 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/147B8B60 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 53534 --no-unlogged-table-data [11:06:50.606](2.704s) 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 53535 [11:06:53.250](2.644s) 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 [11:06:53.294](0.043s) ok 5 - compare primary and standby dumps [11:06:53.459](0.166s) 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" [11:06:53.700](0.241s) 1..6 [11:06:53.702](0.001s) # Looks like you failed 1 test of 6.