# Checking port 64227 # Found port 64227 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=64227 host=/tmp/8Tka5MpFOC Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [10:39:36.305](0.042s) # 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 27742 (standby_1,) [10:39:36.625](0.320s) 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/8Tka5MpFOC -p 64227 --checkpoint fast --no-sync # Backup finished # Checking port 64228 # Found port 64228 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=64228 host=/tmp/8Tka5MpFOC 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 27824 # using postmaster on /tmp/8Tka5MpFOC, port 64227 ok 1 - test_setup 520 ms # parallel group (20 tests): name pg_lsn oid txid regproc int4 char varchar int2 text uuid money float4 int8 float8 enum boolean bit rangetypes numeric ok 2 + boolean 417 ms ok 3 + char 153 ms ok 4 + name 110 ms ok 5 + varchar 154 ms ok 6 + text 164 ms ok 7 + int2 163 ms ok 8 + int4 149 ms ok 9 + int8 251 ms ok 10 + oid 122 ms ok 11 + float4 200 ms ok 12 + float8 266 ms ok 13 + bit 464 ms ok 14 + numeric 1865 ms ok 15 + txid 128 ms ok 16 + uuid 175 ms ok 17 + enum 270 ms ok 18 + money 188 ms ok 19 + rangetypes 1693 ms ok 20 + pg_lsn 110 ms ok 21 + regproc 146 ms # parallel group (20 tests): circle lseg time md5 line path macaddr timetz macaddr8 numerology date inet point interval timestamp strings timestamptz polygon multirangetypes box ok 22 + strings 778 ms ok 23 + md5 150 ms ok 24 + numerology 263 ms ok 25 + point 463 ms ok 26 + lseg 143 ms ok 27 + line 154 ms ok 28 + box 1607 ms ok 29 + path 175 ms ok 30 + polygon 1300 ms ok 31 + circle 125 ms ok 32 + date 280 ms ok 33 + time 147 ms ok 34 + timetz 245 ms ok 35 + timestamp 657 ms ok 36 + timestamptz 808 ms ok 37 + interval 606 ms ok 38 + inet 349 ms ok 39 + macaddr 198 ms ok 40 + macaddr8 256 ms ok 41 + multirangetypes 1577 ms # parallel group (13 tests): misc_sanity unicode comments xid expressions tstypes stats_export_import mvcc horology type_sanity geometry regex opr_sanity ok 42 + geometry 550 ms ok 43 + horology 444 ms ok 44 + tstypes 289 ms ok 45 + regex 913 ms ok 46 + type_sanity 531 ms ok 47 + opr_sanity 942 ms ok 48 + misc_sanity 76 ms ok 49 + comments 83 ms ok 50 + expressions 270 ms ok 51 + unicode 78 ms ok 52 + xid 187 ms ok 53 + mvcc 353 ms ok 54 + stats_export_import 322 ms # parallel group (5 tests): copyselect copydml insert_conflict copy insert ok 55 + copy 366 ms ok 56 + copyselect 38 ms ok 57 + copydml 80 ms ok 58 + insert 986 ms ok 59 + insert_conflict 294 ms # parallel group (7 tests): create_function_c create_operator create_type create_procedure create_schema create_misc create_table ok 60 + create_function_c 72 ms ok 61 + create_misc 217 ms ok 62 + create_operator 135 ms ok 63 + create_procedure 143 ms ok 64 + create_table 976 ms ok 65 + create_type 142 ms ok 66 + create_schema 186 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 67 + create_index 3182 ms ok 68 + create_index_spgist 2713 ms ok 69 + create_view 1512 ms ok 70 + index_including 622 ms ok 71 + index_including_gist 1011 ms # parallel group (16 tests): errors create_cast roleattributes hash_func create_aggregate drop_if_exists typed_table create_function_sql select create_am infinite_recurse vacuum constraints updatable_views inherit triggers ok 72 + create_aggregate 231 ms ok 73 + create_function_sql 652 ms ok 74 + create_cast 149 ms ok 75 + constraints 2281 ms ok 76 + triggers 6548 ms ok 77 + select 705 ms ok 78 + inherit 3979 ms ok 79 + typed_table 640 ms ok 80 + vacuum 1405 ms ok 81 + drop_if_exists 280 ms ok 82 + updatable_views 2787 ms ok 83 + roleattributes 199 ms ok 84 + create_am 777 ms ok 85 + hash_func 221 ms ok 86 + errors 92 ms ok 87 + infinite_recurse 791 ms ok 88 - sanity_check 225 ms # parallel group (20 tests): select_distinct_on select_having delete case select_implicit namespace prepared_xacts select_into random transactions portals union select_distinct arrays subselect hash_index update join aggregates btree_index ok 89 + select_into 486 ms ok 90 + select_distinct 1316 ms ok 91 + select_distinct_on 110 ms ok 92 + select_implicit 212 ms ok 93 + select_having 127 ms ok 94 + subselect 1836 ms ok 95 + union 1221 ms ok 96 + case 182 ms ok 97 + join 3856 ms ok 98 + aggregates 4357 ms ok 99 + transactions 725 ms ok 100 + random 487 ms ok 101 + portals 870 ms ok 102 + arrays 1462 ms ok 103 + btree_index 5881 ms ok 104 + hash_index 2504 ms ok 105 + update 2566 ms ok 106 + delete 135 ms ok 107 + namespace 331 ms ok 108 + prepared_xacts 443 ms # parallel group (20 tests): init_privs security_label drop_operator password tablesample lock object_address replica_identity collate matview identity groupingsets spgist generated rowsecurity gist gin brin join_hash privileges ok 109 + brin 9648 ms ok 110 + gin 4223 ms ok 111 + gist 3971 ms ok 112 + spgist 3483 ms ok 113 + privileges 10664 ms ok 114 + init_privs 77 ms ok 115 + security_label 230 ms ok 116 + collate 1602 ms ok 117 + matview 2176 ms ok 118 + lock 556 ms ok 119 + replica_identity 1417 ms ok 120 + rowsecurity 3818 ms ok 121 + object_address 588 ms ok 122 + tablesample 545 ms ok 123 + groupingsets 3370 ms ok 124 + drop_operator 231 ms ok 125 + password 506 ms ok 126 + identity 2426 ms ok 127 + generated 3755 ms ok 128 + join_hash 9653 ms # parallel group (2 tests): brin_bloom brin_multi ok 129 + brin_bloom 219 ms ok 130 + brin_multi 1309 ms # parallel group (18 tests): dbsize collate.utf8 async tid tsrf alter_operator misc_functions tidscan create_role tidrangescan sysviews alter_generic incremental_sort misc create_table_like merge collate.icu.utf8 without_overlaps ok 131 + create_table_like 1345 ms ok 132 + alter_generic 538 ms ok 133 + alter_operator 231 ms ok 134 + misc 1324 ms ok 135 + async 97 ms ok 136 + dbsize 77 ms ok 137 + merge 1383 ms ok 138 + misc_functions 248 ms ok 139 + sysviews 450 ms ok 140 + tsrf 203 ms ok 141 + tid 149 ms ok 142 + tidscan 282 ms ok 143 + tidrangescan 436 ms ok 144 + collate.utf8 93 ms ok 145 + collate.icu.utf8 1527 ms ok 146 + incremental_sort 1020 ms ok 147 + create_role 287 ms ok 148 + without_overlaps 1546 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab psql rules stats_ext ok 149 + rules 1276 ms ok 150 + psql 1260 ms ok 151 + psql_crosstab 80 ms ok 152 + amutils 63 ms ok 153 + stats_ext 2638 ms ok 154 + collate.linux.utf8 57 ms ok 155 + collate.windows.win1252 25 ms ok 156 - select_parallel 6356 ms ok 157 - write_parallel 237 ms ok 158 - vacuum_parallel 202 ms # parallel group (2 tests): subscription publication ok 159 + publication 2190 ms ok 160 + subscription 168 ms # parallel group (17 tests): portals_p2 advisory_lock combocid xmlmap tsdicts functional_deps equivclass guc dependency select_views window bitmapops cluster indirect_toast tsearch foreign_data foreign_key ok 161 + select_views 521 ms ok 162 + portals_p2 82 ms ok 163 + foreign_key 3038 ms ok 164 + cluster 1189 ms ok 165 + dependency 347 ms ok 166 + guc 314 ms ok 167 + bitmapops 1065 ms ok 168 + combocid 197 ms ok 169 + tsearch 2163 ms ok 170 + tsdicts 276 ms ok 171 + foreign_data 2270 ms ok 172 + window 942 ms ok 173 + xmlmap 219 ms ok 174 + functional_deps 278 ms ok 175 + advisory_lock 101 ms ok 176 + indirect_toast 1308 ms ok 177 + equivclass 299 ms # parallel group (9 tests): jsonpath_encoding json_encoding jsonpath sqljson_jsontable sqljson sqljson_queryfuncs json jsonb_jsonpath jsonb ok 178 + json 319 ms ok 179 + jsonb 683 ms ok 180 + json_encoding 64 ms ok 181 + jsonpath 99 ms ok 182 + jsonpath_encoding 47 ms ok 183 + jsonb_jsonpath 362 ms ok 184 + sqljson 217 ms ok 185 + sqljson_queryfuncs 258 ms ok 186 + sqljson_jsontable 204 ms # parallel group (18 tests): prepare returning limit conversion plancache temp polymorphism sequence copy2 rowtypes truncate largeobject with domain rangefuncs xml plpgsql alter_table ok 187 + plancache 441 ms ok 188 + limit 400 ms ok 189 + plpgsql 3688 ms ok 190 + copy2 855 ms ok 191 + temp 617 ms ok 192 + domain 1405 ms ok 193 + rangefuncs 1436 ms ok 194 + prepare 196 ms ok 195 + conversion 413 ms ok 196 + truncate 1029 ms ok 197 + alter_table 3876 ms ok 198 + sequence 817 ms ok 199 + polymorphism 736 ms ok 200 + rowtypes 917 ms ok 201 + returning 244 ms ok 202 + largeobject 1134 ms ok 203 + with 1295 ms ok 204 + xml 1861 ms # parallel group (15 tests): hash_part reloptions explain predicate partition_info compression partition_merge memoize partition_split stats partition_aggregate tuplesort partition_join indexing partition_prune ok 205 + partition_merge 1287 ms ok 206 + partition_split 1776 ms ok 207 + partition_join 2993 ms ok 208 + partition_prune 3615 ms ok 209 + reloptions 267 ms ok 210 + hash_part 197 ms ok 211 + indexing 3281 ms ok 212 + partition_aggregate 2472 ms ok 213 + partition_info 371 ms ok 214 + tuplesort 2696 ms ok 215 + explain 302 ms ok 216 + compression 822 ms ok 217 + memoize 1426 ms ok 218 + stats 1927 ms ok 219 + predicate 331 ms # parallel group (2 tests): oidjoins event_trigger ok 220 + oidjoins 654 ms ok 221 + event_trigger 739 ms ok 222 - event_trigger_login 79 ms ok 223 - fast_default 380 ms ok 224 - tablespace 854 ms 1..224 # All 224 tests passed. [10:40:41.527](64.903s) ok 2 - regression tests pass 1 1 1 2 1 1 1 5 9 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 46 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/14BAF7D8 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 64227 --no-unlogged-table-data ../src/bin/pg_dump/pg_dump_sort.c:205:23: runtime error: index 47 out of bounds for type 'int [47]' ==40274==Using libbacktrace symbolizer. #0 0x56540641d847 in DOTypeNameCompare ../src/bin/pg_dump/pg_dump_sort.c:205 #1 0x56540644f0a1 in pg_qsort_med3 ../src/include/lib/sort_template.h:267 #2 0x56540644f5a8 in pg_qsort ../src/include/lib/sort_template.h:345 #3 0x56540641fded in sortDumpableObjectsByTypeName ../src/bin/pg_dump/pg_dump_sort.c:192 #4 0x565406414420 in main ../src/bin/pg_dump/pg_dump.c:993 #5 0x7fdc31ec4d09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #6 0x5654063d6d29 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 [10:40:42.480](0.953s) not ok 3 - dump primary server [10:40:42.480](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 64228 ../src/bin/pg_dump/pg_dump_sort.c:205:23: runtime error: index 47 out of bounds for type 'int [47]' ==40506==Using libbacktrace symbolizer. #0 0x555bfe157847 in DOTypeNameCompare ../src/bin/pg_dump/pg_dump_sort.c:205 #1 0x555bfe1890a1 in pg_qsort_med3 ../src/include/lib/sort_template.h:267 #2 0x555bfe1895a8 in pg_qsort ../src/include/lib/sort_template.h:345 #3 0x555bfe159ded in sortDumpableObjectsByTypeName ../src/bin/pg_dump/pg_dump_sort.c:192 #4 0x555bfe14e420 in main ../src/bin/pg_dump/pg_dump.c:993 #5 0x7fa43a438d09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #6 0x555bfe110d29 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 [10:40:43.253](0.773s) not ok 4 - dump standby server [10:40:43.253](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 [10:40:43.264](0.010s) ok 5 - compare primary and standby dumps [10:40:43.479](0.216s) 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" [10:40:43.710](0.231s) 1..6 [10:40:43.712](0.001s) # Looks like you failed 2 tests of 6.