# Checking port 50668 # Found port 50668 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=50668 host=/tmp/fi161JYeEe Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [12:20:40.770](0.013s) # 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 19721 (standby_1,) [12:20:41.119](0.349s) 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/fi161JYeEe -p 50668 --checkpoint fast --no-sync # Backup finished # Checking port 50669 # Found port 50669 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=50669 host=/tmp/fi161JYeEe 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 19872 # using postmaster on /tmp/fi161JYeEe, port 50668 ok 1 - test_setup 485 ms # parallel group (20 tests): oid txid varchar int2 pg_lsn char name text regproc int4 uuid float4 money int8 float8 bit enum boolean numeric rangetypes ok 2 + boolean 494 ms ok 3 + char 153 ms ok 4 + name 160 ms ok 5 + varchar 143 ms ok 6 + text 161 ms ok 7 + int2 144 ms ok 8 + int4 174 ms ok 9 + int8 232 ms ok 10 + oid 114 ms ok 11 + float4 198 ms ok 12 + float8 298 ms ok 13 + bit 320 ms ok 14 + numeric 1449 ms ok 15 + txid 139 ms ok 16 + uuid 194 ms ok 17 + enum 327 ms ok 18 + money 204 ms ok 19 + rangetypes 1516 ms ok 20 + pg_lsn 149 ms ok 21 + regproc 164 ms # parallel group (20 tests): md5 lseg path line circle time timetz macaddr macaddr8 numerology inet date point interval strings timestamp timestamptz multirangetypes polygon box ok 22 + strings 524 ms ok 23 + md5 49 ms ok 24 + numerology 227 ms ok 25 + point 429 ms ok 26 + lseg 100 ms ok 27 + line 102 ms ok 28 + box 1358 ms ok 29 + path 100 ms ok 30 + polygon 1198 ms ok 31 + circle 104 ms ok 32 + date 291 ms ok 33 + time 111 ms ok 34 + timetz 119 ms ok 35 + timestamp 526 ms ok 36 + timestamptz 709 ms ok 37 + interval 473 ms ok 38 + inet 277 ms ok 39 + macaddr 137 ms ok 40 + macaddr8 212 ms ok 41 + multirangetypes 1016 ms # parallel group (12 tests): comments unicode misc_sanity xid tstypes expressions mvcc type_sanity horology geometry regex opr_sanity ok 42 + geometry 587 ms ok 43 + horology 502 ms ok 44 + tstypes 214 ms ok 45 + regex 716 ms ok 46 + type_sanity 364 ms ok 47 + opr_sanity 1414 ms ok 48 + misc_sanity 83 ms ok 49 + comments 42 ms ok 50 + expressions 262 ms ok 51 + unicode 71 ms ok 52 + xid 175 ms ok 53 + mvcc 319 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 54 + copy 332 ms ok 55 + copyselect 98 ms ok 56 + copydml 89 ms ok 57 + insert 1001 ms ok 58 + insert_conflict 403 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 37 ms ok 60 + create_misc 147 ms ok 61 + create_operator 58 ms ok 62 + create_procedure 154 ms ok 63 + create_table 1288 ms ok 64 + create_type 124 ms ok 65 + create_schema 123 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 3027 ms ok 67 + create_index_spgist 2214 ms ok 68 + create_view 934 ms ok 69 + index_including 680 ms ok 70 + index_including_gist 773 ms # parallel group (16 tests): errors create_cast roleattributes hash_func create_aggregate drop_if_exists typed_table create_function_sql create_am select infinite_recurse vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 214 ms ok 72 + create_function_sql 497 ms ok 73 + create_cast 118 ms ok 74 + constraints 1476 ms ok 75 + triggers 6464 ms ok 76 + select 569 ms ok 77 + inherit 3778 ms ok 78 + typed_table 456 ms ok 79 + vacuum 1105 ms ok 80 + drop_if_exists 292 ms ok 81 + updatable_views 3026 ms ok 82 + roleattributes 121 ms ok 83 + create_am 553 ms ok 84 + hash_func 167 ms ok 85 + errors 103 ms ok 86 + infinite_recurse 713 ms ok 87 - sanity_check 487 ms # parallel group (20 tests): select_distinct_on random delete case select_having select_implicit namespace select_into prepared_xacts portals transactions union select_distinct arrays subselect hash_index update join aggregates btree_index ok 88 + select_into 424 ms ok 89 + select_distinct 1243 ms ok 90 + select_distinct_on 148 ms ok 91 + select_implicit 305 ms ok 92 + select_having 301 ms ok 93 + subselect 1676 ms ok 94 + union 1206 ms ok 95 + case 276 ms ok 96 + join 3905 ms ok 97 + aggregates 4470 ms ok 98 + transactions 900 ms ok 99 + random 266 ms ok 100 + portals 808 ms ok 101 + arrays 1381 ms ok 102 + btree_index 6060 ms ok 103 + hash_index 2310 ms ok 104 + update 2355 ms ok 105 + delete 268 ms ok 106 + namespace 392 ms ok 107 + prepared_xacts 498 ms # parallel group (20 tests): init_privs security_label drop_operator lock password tablesample object_address replica_identity collate matview identity groupingsets rowsecurity spgist generated gist gin brin join_hash privileges ok 108 + brin 8005 ms ok 109 + gin 3798 ms ok 110 + gist 3656 ms ok 111 + spgist 3378 ms ok 112 + privileges 8565 ms ok 113 + init_privs 106 ms ok 114 + security_label 189 ms ok 115 + collate 1429 ms ok 116 + matview 2120 ms ok 117 + lock 320 ms ok 118 + replica_identity 1261 ms ok 119 + rowsecurity 3263 ms ok 120 + object_address 621 ms ok 121 + tablesample 550 ms ok 122 + groupingsets 3113 ms ok 123 + drop_operator 209 ms ok 124 + password 391 ms ok 125 + identity 2222 ms ok 126 + generated 3388 ms ok 127 + join_hash 8034 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 202 ms ok 129 + brin_multi 945 ms # parallel group (18 tests): async dbsize collate.utf8 alter_operator tid create_role tidscan tsrf sysviews tidrangescan misc_functions alter_generic without_overlaps merge incremental_sort misc create_table_like collate.icu.utf8 ok 130 + create_table_like 1047 ms ok 131 + alter_generic 578 ms ok 132 + alter_operator 180 ms ok 133 + misc 1034 ms ok 134 + async 62 ms ok 135 + dbsize 71 ms ok 136 + merge 781 ms ok 137 + misc_functions 445 ms ok 138 + sysviews 412 ms ok 139 + tsrf 245 ms ok 140 + tid 192 ms ok 141 + tidscan 240 ms ok 142 + tidrangescan 439 ms ok 143 + collate.utf8 107 ms ok 144 + collate.icu.utf8 1257 ms ok 145 + incremental_sort 913 ms ok 146 + create_role 206 ms ok 147 + without_overlaps 717 ms # parallel group (7 tests): collate.linux.utf8 collate.windows.win1252 amutils psql_crosstab rules psql stats_ext ok 148 + rules 909 ms ok 149 + psql 1355 ms ok 150 + psql_crosstab 87 ms ok 151 + amutils 68 ms ok 152 + stats_ext 2282 ms ok 153 + collate.linux.utf8 30 ms ok 154 + collate.windows.win1252 45 ms ok 155 - select_parallel 6250 ms ok 156 - write_parallel 242 ms ok 157 - vacuum_parallel 217 ms # parallel group (2 tests): subscription publication ok 158 + publication 2019 ms ok 159 + subscription 148 ms # parallel group (17 tests): advisory_lock portals_p2 xmlmap functional_deps combocid tsdicts guc equivclass dependency select_views window cluster bitmapops indirect_toast foreign_data tsearch foreign_key ok 160 + select_views 501 ms ok 161 + portals_p2 141 ms ok 162 + foreign_key 2863 ms ok 163 + cluster 1100 ms ok 164 + dependency 345 ms ok 165 + guc 302 ms ok 166 + bitmapops 1129 ms ok 167 + combocid 225 ms ok 168 + tsearch 1987 ms ok 169 + tsdicts 231 ms ok 170 + foreign_data 1636 ms ok 171 + window 1010 ms ok 172 + xmlmap 207 ms ok 173 + functional_deps 218 ms ok 174 + advisory_lock 118 ms ok 175 + indirect_toast 1251 ms ok 176 + equivclass 317 ms # parallel group (8 tests): jsonpath_encoding json_encoding jsonpath sqljson jsonb_jsonpath sqljson_queryfuncs json jsonb ok 177 + json 378 ms ok 178 + jsonb 638 ms ok 179 + json_encoding 56 ms ok 180 + jsonpath 108 ms ok 181 + jsonpath_encoding 47 ms ok 182 + jsonb_jsonpath 277 ms ok 183 + sqljson 126 ms ok 184 + sqljson_queryfuncs 323 ms # parallel group (18 tests): prepare returning conversion plancache limit temp sequence copy2 truncate polymorphism largeobject rowtypes with rangefuncs domain xml plpgsql alter_table ok 185 + plancache 416 ms ok 186 + limit 423 ms ok 187 + plpgsql 2621 ms ok 188 + copy2 701 ms ok 189 + temp 541 ms ok 190 + domain 1164 ms ok 191 + rangefuncs 1121 ms ok 192 + prepare 156 ms ok 193 + conversion 400 ms ok 194 + truncate 852 ms not ok 195 + alter_table 3408 ms ok 196 + sequence 659 ms ok 197 + polymorphism 858 ms ok 198 + rowtypes 955 ms ok 199 + returning 264 ms ok 200 + largeobject 917 ms ok 201 + with 1082 ms ok 202 + xml 1796 ms # parallel group (13 tests): hash_part explain reloptions partition_info predicate compression memoize stats partition_aggregate indexing tuplesort partition_join partition_prune ok 203 + partition_join 2942 ms ok 204 + partition_prune 3185 ms ok 205 + reloptions 150 ms ok 206 + hash_part 65 ms ok 207 + indexing 2912 ms ok 208 + partition_aggregate 2114 ms ok 209 + partition_info 241 ms ok 210 + tuplesort 2925 ms ok 211 + explain 143 ms ok 212 + compression 779 ms ok 213 + memoize 1133 ms ok 214 + stats 1609 ms ok 215 + predicate 279 ms # parallel group (2 tests): oidjoins event_trigger ok 216 + oidjoins 531 ms ok 217 + event_trigger 664 ms ok 218 - event_trigger_login 34 ms ok 219 - fast_default 275 ms ok 220 - tablespace 488 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/alter_table.out /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/alter_table.out --- /tmp/cirrus-ci-build/src/test/regress/expected/alter_table.out 2024-03-23 12:19:04.935077741 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/alter_table.out 2024-03-23 12:21:35.734926553 +0000 @@ -3476,9 +3476,20 @@ WHERE relkind IN ('r', 'i', 'S', 't', 'm') AND mapped_oid IS DISTINCT FROM oid; SELECT m.* FROM filenode_mapping m LEFT JOIN pg_class c ON c.oid = m.oid WHERE c.oid IS NOT NULL OR m.mapped_oid IS NOT NULL; - oid | mapped_oid | reltablespace | relfilenode | relname ------+------------+---------------+-------------+--------- -(0 rows) + oid | mapped_oid | reltablespace | relfilenode | relname +-------+------------+---------------+-------------+---------------------- + 36937 | | 0 | 36937 | pktable_pkey + 36933 | | 0 | 36933 | pktable + 36939 | | 0 | 36939 | fktable + 37428 | | 0 | 37434 | foo + 37438 | | 0 | 37438 | pg_toast_37428_index + 37437 | | 0 | 37437 | pg_toast_37428 + 37657 | | 0 | 37657 | old_oids + 37677 | | 0 | 37677 | pg_toast_37674 + 37678 | | 0 | 37678 | pg_toast_37674_index + 37674 | | 0 | 37674 | recur2 + 37668 | | 0 | 37668 | recur1 +(11 rows) -- Checks on creating and manipulation of user defined relations in -- pg_catalog. === EOF === [12:21:40.594](59.475s) not ok 2 - regression tests pass [12:21:40.595](0.000s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [12:21:40.595](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 1 2 4001 41 5 17 -2 33 34 9 1 1 1 1 -1 1 1 -1 -32768 32767 1 46 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/14769070 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 50668 --no-unlogged-table-data [12:21:43.829](3.234s) 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 50669 [12:21:46.973](3.144s) 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 [12:21:47.025](0.052s) ok 5 - compare primary and standby dumps [12:21:47.192](0.167s) 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" [12:21:47.342](0.150s) 1..6 [12:21:47.344](0.003s) # Looks like you failed 1 test of 6.