# Checking port 64873 # Found port 64873 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=64873 host=/tmp/ocUk626hRC Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [09:20:34.656](0.035s) # 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 21433 (standby_1,) [09:20:34.992](0.336s) 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/ocUk626hRC -p 64873 --checkpoint fast --no-sync # Backup finished # Checking port 64874 # Found port 64874 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=64874 host=/tmp/ocUk626hRC 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 21593 # using postmaster on /tmp/ocUk626hRC, port 64873 ok 1 - test_setup 706 ms # parallel group (20 tests): varchar char oid name text regproc int2 txid int4 money pg_lsn uuid float4 float8 int8 enum bit boolean numeric rangetypes ok 2 + boolean 557 ms ok 3 + char 128 ms ok 4 + name 147 ms ok 5 + varchar 123 ms ok 6 + text 151 ms ok 7 + int2 168 ms ok 8 + int4 183 ms ok 9 + int8 263 ms ok 10 + oid 128 ms ok 11 + float4 221 ms ok 12 + float8 238 ms ok 13 + bit 463 ms ok 14 + numeric 1168 ms ok 15 + txid 171 ms ok 16 + uuid 197 ms ok 17 + enum 341 ms ok 18 + money 184 ms ok 19 + rangetypes 1559 ms ok 20 + pg_lsn 190 ms ok 21 + regproc 157 ms # parallel group (20 tests): path line md5 lseg circle macaddr time timetz inet numerology macaddr8 date point timestamp interval strings timestamptz polygon multirangetypes box ok 22 + strings 600 ms ok 23 + md5 95 ms ok 24 + numerology 206 ms ok 25 + point 402 ms ok 26 + lseg 95 ms ok 27 + line 82 ms ok 28 + box 1399 ms ok 29 + path 59 ms ok 30 + polygon 1027 ms ok 31 + circle 131 ms ok 32 + date 298 ms ok 33 + time 156 ms ok 34 + timetz 173 ms ok 35 + timestamp 525 ms ok 36 + timestamptz 643 ms ok 37 + interval 545 ms ok 38 + inet 178 ms ok 39 + macaddr 150 ms ok 40 + macaddr8 251 ms ok 41 + multirangetypes 1254 ms # parallel group (12 tests): comments unicode misc_sanity xid tstypes expressions mvcc geometry type_sanity horology regex opr_sanity ok 42 + geometry 335 ms ok 43 + horology 521 ms ok 44 + tstypes 213 ms ok 45 + regex 881 ms ok 46 + type_sanity 387 ms ok 47 + opr_sanity 1022 ms ok 48 + misc_sanity 110 ms ok 49 + comments 43 ms ok 50 + expressions 217 ms ok 51 + unicode 75 ms ok 52 + xid 141 ms ok 53 + mvcc 238 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 54 + copy 320 ms ok 55 + copyselect 89 ms ok 56 + copydml 86 ms ok 57 + insert 1041 ms ok 58 + insert_conflict 534 ms # parallel group (7 tests): create_function_c create_operator create_misc create_schema create_type create_procedure create_table ok 59 + create_function_c 64 ms ok 60 + create_misc 205 ms ok 61 + create_operator 98 ms ok 62 + create_procedure 218 ms ok 63 + create_table 1412 ms ok 64 + create_type 214 ms ok 65 + create_schema 208 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 3369 ms ok 67 + create_index_spgist 2762 ms ok 68 + create_view 1566 ms ok 69 + index_including 860 ms ok 70 + index_including_gist 932 ms # parallel group (16 tests): create_cast errors roleattributes create_aggregate hash_func drop_if_exists typed_table create_function_sql select create_am infinite_recurse vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 197 ms ok 72 + create_function_sql 627 ms ok 73 + create_cast 87 ms ok 74 + constraints 1940 ms ok 75 + triggers 6000 ms ok 76 + select 668 ms ok 77 + inherit 3178 ms ok 78 + typed_table 390 ms ok 79 + vacuum 1407 ms ok 80 + drop_if_exists 315 ms ok 81 + updatable_views 2800 ms ok 82 + roleattributes 165 ms ok 83 + create_am 669 ms ok 84 + hash_func 210 ms ok 85 + errors 111 ms ok 86 + infinite_recurse 758 ms ok 87 - sanity_check 211 ms # parallel group (20 tests): select_distinct_on delete select_having random select_implicit case select_into namespace prepared_xacts transactions portals union select_distinct arrays subselect hash_index update join aggregates btree_index ok 88 + select_into 286 ms ok 89 + select_distinct 842 ms ok 90 + select_distinct_on 125 ms ok 91 + select_implicit 221 ms ok 92 + select_having 152 ms ok 93 + subselect 1043 ms ok 94 + union 752 ms ok 95 + case 223 ms ok 96 + join 4666 ms ok 97 + aggregates 4803 ms ok 98 + transactions 482 ms ok 99 + random 176 ms ok 100 + portals 582 ms ok 101 + arrays 888 ms ok 102 + btree_index 5691 ms ok 103 + hash_index 2024 ms ok 104 + update 2073 ms ok 105 + delete 133 ms ok 106 + namespace 285 ms ok 107 + prepared_xacts 353 ms # parallel group (20 tests): init_privs drop_operator security_label password lock tablesample object_address replica_identity collate matview identity groupingsets spgist generated rowsecurity gist gin brin join_hash privileges ok 108 + brin 10701 ms ok 109 + gin 4496 ms ok 110 + gist 3131 ms ok 111 + spgist 2776 ms ok 112 + privileges 11527 ms ok 113 + init_privs 105 ms ok 114 + security_label 216 ms ok 115 + collate 1373 ms ok 116 + matview 1798 ms ok 117 + lock 449 ms ok 118 + replica_identity 1032 ms ok 119 + rowsecurity 2986 ms ok 120 + object_address 573 ms ok 121 + tablesample 536 ms ok 122 + groupingsets 2735 ms ok 123 + drop_operator 178 ms ok 124 + password 295 ms ok 125 + identity 1922 ms ok 126 + generated 2906 ms ok 127 + join_hash 10753 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 312 ms ok 129 + brin_multi 1123 ms # parallel group (17 tests): async dbsize tid tsrf alter_operator tidscan create_role sysviews misc_functions tidrangescan alter_generic without_overlaps incremental_sort misc merge create_table_like collate.icu.utf8 ok 130 + create_table_like 1065 ms ok 131 + alter_generic 446 ms ok 132 + alter_operator 193 ms ok 133 + misc 977 ms ok 134 + async 52 ms ok 135 + dbsize 75 ms ok 136 + merge 1034 ms ok 137 + misc_functions 389 ms not ok 138 + sysviews 330 ms ok 139 + tsrf 187 ms ok 140 + tid 166 ms ok 141 + tidscan 255 ms ok 142 + tidrangescan 432 ms ok 143 + collate.icu.utf8 1260 ms ok 144 + incremental_sort 958 ms ok 145 + create_role 259 ms ok 146 + without_overlaps 695 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab psql rules stats_ext ok 147 + rules 1091 ms ok 148 + psql 1046 ms ok 149 + psql_crosstab 120 ms ok 150 + amutils 84 ms ok 151 + stats_ext 3045 ms ok 152 + collate.linux.utf8 41 ms ok 153 + collate.windows.win1252 32 ms ok 154 - select_parallel 6412 ms ok 155 - write_parallel 212 ms ok 156 - vacuum_parallel 172 ms # parallel group (2 tests): subscription publication ok 157 + publication 2050 ms ok 158 + subscription 129 ms # parallel group (17 tests): portals_p2 combocid advisory_lock xmlmap functional_deps tsdicts equivclass dependency guc select_views window indirect_toast bitmapops cluster foreign_data tsearch foreign_key ok 159 + select_views 469 ms ok 160 + portals_p2 128 ms ok 161 + foreign_key 3002 ms ok 162 + cluster 1171 ms ok 163 + dependency 391 ms ok 164 + guc 419 ms ok 165 + bitmapops 1148 ms ok 166 + combocid 157 ms ok 167 + tsearch 2352 ms ok 168 + tsdicts 335 ms ok 169 + foreign_data 2048 ms ok 170 + window 985 ms ok 171 + xmlmap 213 ms ok 172 + functional_deps 323 ms ok 173 + advisory_lock 166 ms ok 174 + indirect_toast 1086 ms ok 175 + equivclass 370 ms # parallel group (7 tests): json_encoding jsonpath_encoding jsonpath sqljson json jsonb_jsonpath jsonb ok 176 + json 287 ms ok 177 + jsonb 669 ms ok 178 + json_encoding 33 ms ok 179 + jsonpath 111 ms ok 180 + jsonpath_encoding 47 ms ok 181 + jsonb_jsonpath 331 ms ok 182 + sqljson 174 ms # parallel group (18 tests): prepare returning plancache limit conversion temp copy2 polymorphism sequence rowtypes truncate largeobject domain rangefuncs with xml plpgsql alter_table ok 183 + plancache 465 ms ok 184 + limit 544 ms ok 185 + plpgsql 3721 ms ok 186 + copy2 758 ms ok 187 + temp 674 ms ok 188 + domain 1163 ms ok 189 + rangefuncs 1290 ms ok 190 + prepare 220 ms ok 191 + conversion 568 ms ok 192 + truncate 954 ms ok 193 + alter_table 3851 ms ok 194 + sequence 880 ms ok 195 + polymorphism 825 ms ok 196 + rowtypes 947 ms ok 197 + returning 291 ms ok 198 + largeobject 1016 ms ok 199 + with 1374 ms ok 200 + xml 1947 ms # parallel group (13 tests): hash_part reloptions explain predicate partition_info compression memoize stats partition_aggregate tuplesort partition_join indexing partition_prune ok 201 + partition_join 3510 ms ok 202 + partition_prune 3933 ms ok 203 + reloptions 179 ms ok 204 + hash_part 93 ms ok 205 + indexing 3644 ms ok 206 + partition_aggregate 2991 ms ok 207 + partition_info 256 ms ok 208 + tuplesort 3113 ms ok 209 + explain 208 ms ok 210 + compression 786 ms ok 211 + memoize 993 ms ok 212 + stats 2181 ms ok 213 + predicate 230 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 586 ms ok 215 + event_trigger 680 ms ok 216 - event_trigger_login 49 ms ok 217 - fast_default 296 ms ok 218 - tablespace 761 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-03-09 09:18:13.798418724 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/sysviews.out 2024-03-09 09:21:12.422352022 +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 === [09:21:39.778](64.786s) not ok 2 - regression tests pass [09:21:39.779](0.000s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [09:21:39.779](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 -2 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/14760F58 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 64873 --no-unlogged-table-data [09:21:42.558](2.780s) 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 64874 [09:21:45.710](3.152s) 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 [09:21:45.792](0.081s) ok 5 - compare primary and standby dumps [09:21:46.172](0.380s) 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" [09:21:46.333](0.161s) 1..6 [09:21:46.334](0.001s) # Looks like you failed 1 test of 6.