# Checking port 63994 # Found port 63994 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=63994 host=/tmp/3slfXmSG6M Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [11:30:23.393](0.052s) # 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 25371 (standby_1,) [11:30:24.001](0.609s) 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/3slfXmSG6M -p 63994 --checkpoint fast --no-sync # Backup finished # Checking port 63995 # Found port 63995 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=63995 host=/tmp/3slfXmSG6M 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 25468 # using postmaster on /tmp/3slfXmSG6M, port 63994 ok 1 - test_setup 541 ms # parallel group (20 tests): oid char varchar name pg_lsn int2 regproc txid text int4 money uuid float4 int8 float8 enum boolean bit rangetypes numeric ok 2 + boolean 344 ms ok 3 + char 119 ms ok 4 + name 134 ms ok 5 + varchar 127 ms ok 6 + text 166 ms ok 7 + int2 153 ms ok 8 + int4 169 ms ok 9 + int8 219 ms ok 10 + oid 88 ms ok 11 + float4 203 ms ok 12 + float8 258 ms ok 13 + bit 423 ms ok 14 + numeric 1446 ms ok 15 + txid 160 ms ok 16 + uuid 200 ms ok 17 + enum 294 ms ok 18 + money 169 ms ok 19 + rangetypes 891 ms ok 20 + pg_lsn 142 ms ok 21 + regproc 153 ms # parallel group (20 tests): lseg path line md5 time circle timetz macaddr numerology date macaddr8 inet point strings interval timestamp timestamptz polygon box multirangetypes ok 22 + strings 428 ms ok 23 + md5 101 ms ok 24 + numerology 200 ms ok 25 + point 347 ms ok 26 + lseg 78 ms ok 27 + line 92 ms ok 28 + box 1328 ms ok 29 + path 82 ms ok 30 + polygon 1229 ms ok 31 + circle 127 ms ok 32 + date 212 ms ok 33 + time 110 ms ok 34 + timetz 129 ms ok 35 + timestamp 554 ms ok 36 + timestamptz 585 ms ok 37 + interval 491 ms ok 38 + inet 222 ms ok 39 + macaddr 196 ms ok 40 + macaddr8 219 ms ok 41 + multirangetypes 1396 ms # parallel group (12 tests): comments misc_sanity unicode xid tstypes expressions mvcc type_sanity geometry horology regex opr_sanity ok 42 + geometry 497 ms ok 43 + horology 618 ms ok 44 + tstypes 188 ms ok 45 + regex 989 ms ok 46 + type_sanity 430 ms ok 47 + opr_sanity 1089 ms ok 48 + misc_sanity 81 ms ok 49 + comments 73 ms ok 50 + expressions 199 ms ok 51 + unicode 102 ms ok 52 + xid 151 ms ok 53 + mvcc 251 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 347 ms ok 55 + copyselect 99 ms ok 56 + copydml 110 ms ok 57 + insert 1098 ms ok 58 + insert_conflict 505 ms # parallel group (7 tests): create_function_c create_operator create_type create_misc create_schema create_procedure create_table ok 59 + create_function_c 46 ms ok 60 + create_misc 166 ms ok 61 + create_operator 70 ms ok 62 + create_procedure 209 ms ok 63 + create_table 1013 ms ok 64 + create_type 161 ms ok 65 + create_schema 182 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 3268 ms ok 67 + create_index_spgist 3027 ms ok 68 + create_view 1340 ms ok 69 + index_including 800 ms ok 70 + index_including_gist 840 ms # parallel group (16 tests): errors create_cast roleattributes create_aggregate hash_func drop_if_exists create_function_sql typed_table create_am select infinite_recurse vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 191 ms ok 72 + create_function_sql 401 ms ok 73 + create_cast 111 ms ok 74 + constraints 1581 ms ok 75 + triggers 6502 ms ok 76 + select 582 ms ok 77 + inherit 3151 ms ok 78 + typed_table 423 ms ok 79 + vacuum 1237 ms ok 80 + drop_if_exists 309 ms ok 81 + updatable_views 2166 ms ok 82 + roleattributes 167 ms ok 83 + create_am 476 ms ok 84 + hash_func 221 ms ok 85 + errors 108 ms ok 86 + infinite_recurse 785 ms ok 87 - sanity_check 274 ms # parallel group (20 tests): delete select_distinct_on select_having case namespace select_implicit random prepared_xacts select_into transactions portals select_distinct union arrays subselect hash_index update aggregates join btree_index ok 88 + select_into 282 ms ok 89 + select_distinct 800 ms ok 90 + select_distinct_on 107 ms ok 91 + select_implicit 189 ms ok 92 + select_having 125 ms ok 93 + subselect 1075 ms ok 94 + union 826 ms ok 95 + case 147 ms ok 96 + join 3576 ms ok 97 + aggregates 3267 ms ok 98 + transactions 476 ms ok 99 + random 231 ms ok 100 + portals 543 ms ok 101 + arrays 921 ms ok 102 + btree_index 5831 ms ok 103 + hash_index 1720 ms ok 104 + update 2229 ms ok 105 + delete 70 ms ok 106 + namespace 146 ms ok 107 + prepared_xacts 245 ms # parallel group (20 tests): init_privs drop_operator security_label lock password tablesample object_address replica_identity collate matview identity groupingsets generated spgist brin rowsecurity gist gin join_hash privileges ok 108 + brin 2826 ms ok 109 + gin 3100 ms ok 110 + gist 3086 ms ok 111 + spgist 2764 ms ok 112 + privileges 8872 ms ok 113 + init_privs 54 ms ok 114 + security_label 136 ms ok 115 + collate 1232 ms ok 116 + matview 1667 ms ok 117 + lock 346 ms ok 118 + replica_identity 1101 ms ok 119 + rowsecurity 2915 ms ok 120 + object_address 558 ms ok 121 + tablesample 386 ms ok 122 + groupingsets 2459 ms ok 123 + drop_operator 98 ms ok 124 + password 378 ms ok 125 + identity 1817 ms ok 126 + generated 2747 ms ok 127 + join_hash 8288 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 271 ms ok 129 + brin_multi 940 ms # parallel group (17 tests): async dbsize tid tsrf alter_operator tidscan create_role misc_functions sysviews tidrangescan alter_generic without_overlaps incremental_sort create_table_like merge misc collate.icu.utf8 ok 130 + create_table_like 1033 ms ok 131 + alter_generic 460 ms ok 132 + alter_operator 226 ms ok 133 + misc 1221 ms ok 134 + async 48 ms ok 135 + dbsize 84 ms ok 136 + merge 1047 ms ok 137 + misc_functions 360 ms ok 138 + sysviews 432 ms ok 139 + tsrf 196 ms ok 140 + tid 149 ms ok 141 + tidscan 265 ms ok 142 + tidrangescan 443 ms ok 143 + collate.icu.utf8 1245 ms ok 144 + incremental_sort 784 ms ok 145 + create_role 269 ms ok 146 + without_overlaps 594 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab rules psql stats_ext ok 147 + rules 985 ms ok 148 + psql 1168 ms ok 149 + psql_crosstab 119 ms ok 150 + amutils 56 ms ok 151 + stats_ext 3095 ms ok 152 + collate.linux.utf8 37 ms ok 153 + collate.windows.win1252 34 ms ok 154 - select_parallel 5769 ms ok 155 - write_parallel 224 ms ok 156 - vacuum_parallel 292 ms # parallel group (2 tests): subscription publication ok 157 + publication 2049 ms ok 158 + subscription 123 ms # parallel group (17 tests): portals_p2 advisory_lock combocid xmlmap tsdicts functional_deps equivclass dependency guc select_views bitmapops window cluster indirect_toast foreign_data tsearch foreign_key ok 159 + select_views 605 ms ok 160 + portals_p2 104 ms ok 161 + foreign_key 2676 ms ok 162 + cluster 1164 ms ok 163 + dependency 317 ms ok 164 + guc 332 ms ok 165 + bitmapops 1108 ms ok 166 + combocid 170 ms ok 167 + tsearch 2212 ms ok 168 + tsdicts 251 ms ok 169 + foreign_data 1914 ms ok 170 + window 1131 ms ok 171 + xmlmap 172 ms ok 172 + functional_deps 282 ms ok 173 + advisory_lock 112 ms ok 174 + indirect_toast 1375 ms ok 175 + equivclass 277 ms # parallel group (7 tests): json_encoding jsonpath_encoding jsonpath sqljson json jsonb_jsonpath jsonb ok 176 + json 324 ms ok 177 + jsonb 671 ms ok 178 + json_encoding 35 ms ok 179 + jsonpath 83 ms ok 180 + jsonpath_encoding 58 ms ok 181 + jsonb_jsonpath 367 ms ok 182 + sqljson 110 ms # parallel group (18 tests): prepare returning plancache limit conversion temp sequence copy2 polymorphism truncate rowtypes domain largeobject with rangefuncs xml plpgsql alter_table ok 183 + plancache 307 ms ok 184 + limit 384 ms ok 185 + plpgsql 2821 ms ok 186 + copy2 647 ms ok 187 + temp 498 ms ok 188 + domain 1054 ms ok 189 + rangefuncs 1165 ms ok 190 + prepare 175 ms ok 191 + conversion 443 ms ok 192 + truncate 882 ms not ok 193 + alter_table 3420 ms ok 194 + sequence 603 ms ok 195 + polymorphism 794 ms ok 196 + rowtypes 1006 ms ok 197 + returning 282 ms ok 198 + largeobject 1059 ms ok 199 + with 1150 ms ok 200 + xml 1693 ms # parallel group (13 tests): hash_part reloptions predicate explain partition_info compression memoize stats partition_aggregate indexing partition_join tuplesort partition_prune ok 201 + partition_join 2550 ms ok 202 + partition_prune 3115 ms ok 203 + reloptions 324 ms ok 204 + hash_part 262 ms ok 205 + indexing 2483 ms ok 206 + partition_aggregate 2059 ms ok 207 + partition_info 480 ms ok 208 + tuplesort 2656 ms ok 209 + explain 453 ms ok 210 + compression 833 ms ok 211 + memoize 1080 ms ok 212 + stats 1841 ms ok 213 + predicate 326 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 473 ms ok 215 + event_trigger 540 ms ok 216 - event_trigger_login 72 ms ok 217 - fast_default 381 ms ok 218 - tablespace 728 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/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-13 11:27:33.559735778 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/alter_table.out 2024-03-13 11:31:18.347432576 +0000 @@ -3476,9 +3476,29 @@ 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 +-------+------------+---------------+-------------+---------------------- + 37021 | | 0 | 37021 | users_id_seq + 37027 | | 0 | 37027 | pg_toast_37022 + 37028 | | 0 | 37028 | pg_toast_37022_index + 37022 | | 0 | 37022 | users + 37280 | | 0 | 37280 | foo + 37507 | | 0 | 37507 | forc_test + 37815 | | 0 | 37815 | pg_toast_37812 + 37816 | | 0 | 37816 | pg_toast_37812_index + 37812 | | 0 | 37812 | rtype + 36742 | | 0 | 36742 | pktable_pkey + 36737 | | 0 | 36737 | pktable + 36747 | | 0 | 36747 | fktable + 37225 | | 0 | 37231 | foo + 37235 | | 0 | 37235 | pg_toast_37225_index + 37234 | | 0 | 37234 | pg_toast_37225 + 37443 | | 0 | 37443 | old_oids + 37461 | | 0 | 37461 | pg_toast_37458 + 37462 | | 0 | 37462 | pg_toast_37458_index + 37458 | | 0 | 37458 | recur2 + 37452 | | 0 | 37452 | recur1 +(20 rows) -- Checks on creating and manipulation of user defined relations in -- pg_catalog. === EOF === [11:31:23.323](59.321s) not ok 2 - regression tests pass [11:31:23.323](0.000s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [11:31:23.323](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 1 -1 -32768 32767 46 Waiting for replication conn standby_1's replay_lsn to pass 0/148278F8 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 63994 --no-unlogged-table-data [11:31:26.067](2.744s) 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 63995 [11:31:29.212](3.145s) 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:31:29.278](0.066s) ok 5 - compare primary and standby dumps [11:31:29.435](0.157s) 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:31:29.597](0.161s) 1..6 [11:31:29.599](0.002s) # Looks like you failed 1 test of 6.