# Checking port 53870 # Found port 53870 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=53870 host=/tmp/9dnhkbnXOT Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [00:52:32.996](0.036s) # 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 27461 (standby_1,) [00:52:33.389](0.392s) 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/9dnhkbnXOT -p 53870 --checkpoint fast --no-sync # Backup finished # Checking port 53871 # Found port 53871 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=53871 host=/tmp/9dnhkbnXOT 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 27579 # using postmaster on /tmp/9dnhkbnXOT, port 53870 ok 1 - test_setup 326 ms # parallel group (20 tests): oid varchar pg_lsn int2 name txid char uuid regproc text int4 money float4 int8 float8 boolean enum bit numeric rangetypes ok 2 + boolean 308 ms ok 3 + char 149 ms ok 4 + name 138 ms ok 5 + varchar 111 ms ok 6 + text 171 ms ok 7 + int2 126 ms ok 8 + int4 184 ms ok 9 + int8 244 ms ok 10 + oid 84 ms ok 11 + float4 195 ms ok 12 + float8 250 ms ok 13 + bit 399 ms ok 14 + numeric 1018 ms ok 15 + txid 146 ms ok 16 + uuid 156 ms ok 17 + enum 309 ms ok 18 + money 186 ms ok 19 + rangetypes 1100 ms ok 20 + pg_lsn 116 ms ok 21 + regproc 161 ms # parallel group (20 tests): lseg circle line md5 path time timetz macaddr macaddr8 numerology date inet point timestamp interval timestamptz strings polygon multirangetypes box ok 22 + strings 847 ms ok 23 + md5 98 ms ok 24 + numerology 176 ms ok 25 + point 445 ms ok 26 + lseg 96 ms ok 27 + line 96 ms ok 28 + box 1833 ms ok 29 + path 112 ms ok 30 + polygon 1500 ms ok 31 + circle 96 ms ok 32 + date 241 ms ok 33 + time 111 ms ok 34 + timetz 144 ms ok 35 + timestamp 570 ms ok 36 + timestamptz 744 ms ok 37 + interval 686 ms ok 38 + inet 283 ms ok 39 + macaddr 144 ms ok 40 + macaddr8 146 ms ok 41 + multirangetypes 1620 ms # parallel group (13 tests): unicode misc_sanity comments xid tstypes mvcc stats_export_import expressions type_sanity geometry horology regex opr_sanity ok 42 + geometry 492 ms ok 43 + horology 566 ms ok 44 + tstypes 262 ms ok 45 + regex 880 ms ok 46 + type_sanity 451 ms ok 47 + opr_sanity 1504 ms ok 48 + misc_sanity 63 ms ok 49 + comments 72 ms ok 50 + expressions 293 ms ok 51 + unicode 46 ms ok 52 + xid 141 ms ok 53 + mvcc 276 ms ok 54 + stats_export_import 286 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 55 + copy 320 ms ok 56 + copyselect 55 ms ok 57 + copydml 152 ms ok 58 + insert 1008 ms ok 59 + insert_conflict 480 ms # parallel group (7 tests): create_operator create_function_c create_schema create_procedure create_type create_misc create_table ok 60 + create_function_c 45 ms ok 61 + create_misc 173 ms ok 62 + create_operator 43 ms ok 63 + create_procedure 150 ms ok 64 + create_table 1120 ms ok 65 + create_type 150 ms ok 66 + create_schema 84 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 67 + create_index 3029 ms ok 68 + create_index_spgist 2724 ms ok 69 + create_view 1659 ms ok 70 + index_including 868 ms ok 71 + index_including_gist 960 ms # parallel group (16 tests): errors roleattributes create_cast hash_func create_aggregate drop_if_exists select create_function_sql typed_table create_am infinite_recurse vacuum constraints updatable_views inherit triggers ok 72 + create_aggregate 251 ms ok 73 + create_function_sql 536 ms ok 74 + create_cast 194 ms ok 75 + constraints 2027 ms ok 76 + triggers 5986 ms ok 77 + select 522 ms ok 78 + inherit 3195 ms ok 79 + typed_table 562 ms ok 80 + vacuum 1625 ms ok 81 + drop_if_exists 400 ms ok 82 + updatable_views 2651 ms ok 83 + roleattributes 138 ms ok 84 + create_am 648 ms ok 85 + hash_func 204 ms ok 86 + errors 62 ms ok 87 + infinite_recurse 875 ms ok 88 - sanity_check 246 ms # parallel group (20 tests): delete select_having select_distinct_on select_implicit case select_into namespace random prepared_xacts portals transactions select_distinct union arrays subselect hash_index update join aggregates btree_index ok 89 + select_into 265 ms ok 90 + select_distinct 802 ms ok 91 + select_distinct_on 159 ms ok 92 + select_implicit 202 ms ok 93 + select_having 133 ms ok 94 + subselect 1077 ms ok 95 + union 826 ms ok 96 + case 202 ms ok 97 + join 3869 ms ok 98 + aggregates 3947 ms ok 99 + transactions 585 ms ok 100 + random 336 ms ok 101 + portals 574 ms ok 102 + arrays 939 ms ok 103 + btree_index 5532 ms ok 104 + hash_index 1592 ms ok 105 + update 1707 ms ok 106 + delete 91 ms ok 107 + namespace 283 ms ok 108 + prepared_xacts 340 ms # parallel group (20 tests): init_privs drop_operator security_label password tablesample lock object_address replica_identity collate matview identity groupingsets spgist rowsecurity generated gin gist brin join_hash privileges ok 109 + brin 9623 ms ok 110 + gin 3238 ms ok 111 + gist 3577 ms ok 112 + spgist 2867 ms ok 113 + privileges 10560 ms ok 114 + init_privs 82 ms ok 115 + security_label 193 ms ok 116 + collate 1479 ms ok 117 + matview 2027 ms ok 118 + lock 451 ms ok 119 + replica_identity 1129 ms ok 120 + rowsecurity 3078 ms ok 121 + object_address 589 ms ok 122 + tablesample 399 ms ok 123 + groupingsets 2741 ms ok 124 + drop_operator 162 ms ok 125 + password 382 ms ok 126 + identity 2043 ms ok 127 + generated 3083 ms ok 128 + join_hash 9665 ms # parallel group (2 tests): brin_bloom brin_multi ok 129 + brin_bloom 182 ms ok 130 + brin_multi 1044 ms # parallel group (18 tests): async dbsize collate.utf8 tsrf tid alter_operator tidscan create_role misc_functions tidrangescan sysviews alter_generic incremental_sort create_table_like misc merge without_overlaps collate.icu.utf8 ok 131 + create_table_like 1670 ms ok 132 + alter_generic 665 ms ok 133 + alter_operator 296 ms ok 134 + misc 1716 ms ok 135 + async 80 ms ok 136 + dbsize 104 ms ok 137 + merge 1821 ms ok 138 + misc_functions 510 ms ok 139 + sysviews 532 ms ok 140 + tsrf 243 ms ok 141 + tid 245 ms ok 142 + tidscan 300 ms ok 143 + tidrangescan 523 ms ok 144 + collate.utf8 139 ms ok 145 + collate.icu.utf8 1955 ms ok 146 + incremental_sort 1278 ms ok 147 + create_role 367 ms ok 148 + without_overlaps 1856 ms # parallel group (7 tests): collate.linux.utf8 psql_crosstab collate.windows.win1252 amutils rules psql stats_ext ok 149 + rules 1051 ms ok 150 + psql 1187 ms ok 151 + psql_crosstab 67 ms ok 152 + amutils 75 ms ok 153 + stats_ext 2946 ms ok 154 + collate.linux.utf8 40 ms ok 155 + collate.windows.win1252 74 ms ok 156 - select_parallel 6493 ms ok 157 - write_parallel 231 ms ok 158 - vacuum_parallel 227 ms # parallel group (2 tests): subscription publication ok 159 + publication 2151 ms ok 160 + subscription 154 ms # parallel group (17 tests): advisory_lock portals_p2 combocid xmlmap tsdicts functional_deps guc dependency equivclass select_views cluster bitmapops indirect_toast window foreign_data tsearch foreign_key ok 161 + select_views 564 ms ok 162 + portals_p2 171 ms ok 163 + foreign_key 3149 ms ok 164 + cluster 1051 ms ok 165 + dependency 351 ms ok 166 + guc 347 ms ok 167 + bitmapops 1063 ms ok 168 + combocid 175 ms ok 169 + tsearch 2220 ms ok 170 + tsdicts 218 ms ok 171 + foreign_data 1881 ms ok 172 + window 1263 ms ok 173 + xmlmap 203 ms ok 174 + functional_deps 314 ms ok 175 + advisory_lock 148 ms ok 176 + indirect_toast 1230 ms ok 177 + equivclass 367 ms # parallel group (9 tests): json_encoding jsonpath_encoding jsonpath sqljson sqljson_jsontable json sqljson_queryfuncs jsonb_jsonpath jsonb ok 178 + json 325 ms ok 179 + jsonb 652 ms ok 180 + json_encoding 28 ms ok 181 + jsonpath 120 ms ok 182 + jsonpath_encoding 34 ms ok 183 + jsonb_jsonpath 364 ms ok 184 + sqljson 204 ms ok 185 + sqljson_queryfuncs 326 ms ok 186 + sqljson_jsontable 243 ms # parallel group (18 tests): prepare returning plancache limit conversion sequence temp copy2 polymorphism truncate rowtypes largeobject domain with rangefuncs xml plpgsql alter_table ok 187 + plancache 487 ms ok 188 + limit 528 ms ok 189 + plpgsql 3733 ms ok 190 + copy2 767 ms ok 191 + temp 680 ms ok 192 + domain 1340 ms ok 193 + rangefuncs 1455 ms ok 194 + prepare 191 ms ok 195 + conversion 550 ms ok 196 + truncate 1012 ms ok 197 + alter_table 4327 ms ok 198 + sequence 672 ms ok 199 + polymorphism 791 ms ok 200 + rowtypes 1084 ms ok 201 + returning 306 ms ok 202 + largeobject 1125 ms ok 203 + with 1347 ms ok 204 + xml 1822 ms # parallel group (15 tests): hash_part reloptions predicate partition_info explain compression partition_merge memoize partition_split stats partition_aggregate partition_join indexing tuplesort partition_prune ok 205 + partition_merge 1276 ms ok 206 + partition_split 1787 ms ok 207 + partition_join 3159 ms ok 208 + partition_prune 3739 ms ok 209 + reloptions 394 ms ok 210 + hash_part 222 ms ok 211 + indexing 3249 ms ok 212 + partition_aggregate 2475 ms ok 213 + partition_info 416 ms ok 214 + tuplesort 3305 ms ok 215 + explain 419 ms ok 216 + compression 942 ms ok 217 + memoize 1319 ms ok 218 + stats 2039 ms ok 219 + predicate 408 ms # parallel group (2 tests): oidjoins event_trigger ok 220 + oidjoins 606 ms ok 221 + event_trigger 681 ms ok 222 - event_trigger_login 100 ms ok 223 - fast_default 256 ms ok 224 - tablespace 722 ms 1..224 # All 224 tests passed. [00:53:37.457](64.069s) ok 2 - regression tests pass 1 1 1 2 1 1 1 9 5 5 1 3 4 3 4 4 1 32 1 1 1 6 104 2 1 5 1006 4001 1 2 41 5 17 -2 33 34 9 1 1 1 1 1 -1 1 1 -1 -32768 32767 1 1 46 Waiting for replication conn standby_1's replay_lsn to pass 0/14CDB9E0 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 53870 --no-unlogged-table-data ../src/bin/pg_dump/pg_dump_sort.c:204:31: runtime error: index 47 out of bounds for type 'int [47]' ==39945==Using libbacktrace symbolizer. #0 0x558cf9f488ba in DOTypeNameCompare ../src/bin/pg_dump/pg_dump_sort.c:204 #1 0x558cf9f7aa51 in pg_qsort ../src/include/lib/sort_template.h:354 #2 0x558cf9f4aea8 in sortDumpableObjectsByTypeName ../src/bin/pg_dump/pg_dump_sort.c:192 #3 0x558cf9f3f4db in main ../src/bin/pg_dump/pg_dump.c:993 #4 0x7fe91c5a8d09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #5 0x558cf9f01d29 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump+0x4dd29) Aborted (core dumped) pg_dumpall: error: pg_dump failed on database "regression", exiting [00:53:38.463](1.005s) not ok 3 - dump primary server [00:53:38.463](0.000s) # Failed test 'dump primary server' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 106. # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 53871 ../src/bin/pg_dump/pg_dump_sort.c:204:31: runtime error: index 47 out of bounds for type 'int [47]' ==40171==Using libbacktrace symbolizer. #0 0x5570cca0a8ba in DOTypeNameCompare ../src/bin/pg_dump/pg_dump_sort.c:204 #1 0x5570cca3ca51 in pg_qsort ../src/include/lib/sort_template.h:354 #2 0x5570cca0cea8 in sortDumpableObjectsByTypeName ../src/bin/pg_dump/pg_dump_sort.c:192 #3 0x5570cca014db in main ../src/bin/pg_dump/pg_dump.c:993 #4 0x7f6af082bd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #5 0x5570cc9c3d29 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump+0x4dd29) Aborted (core dumped) pg_dumpall: error: pg_dump failed on database "regression", exiting [00:53:39.283](0.820s) not ok 4 - dump standby server [00:53:39.283](0.000s) # Failed test 'dump standby server' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 113. # 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 [00:53:39.285](0.002s) ok 5 - compare primary and standby dumps [00:53:39.484](0.199s) 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" [00:53:39.627](0.143s) 1..6 [00:53:39.628](0.001s) # Looks like you failed 2 tests of 6.