# Checking port 52272 # Found port 52272 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=52272 host=/tmp/GfXm8zcgui Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [14:08:03.029](0.015s) # 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 12043 (standby_1,) [14:08:03.286](0.257s) 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/GfXm8zcgui -p 52272 --checkpoint fast --no-sync # Backup finished # Checking port 52273 # Found port 52273 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=52273 host=/tmp/GfXm8zcgui 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 12174 # using postmaster on /tmp/GfXm8zcgui, port 52272 ok 1 - test_setup 496 ms # parallel group (20 tests): pg_lsn oid int4 text name txid int2 char uuid varchar boolean money regproc float4 enum float8 bit int8 rangetypes numeric ok 2 + boolean 250 ms ok 3 + char 229 ms ok 4 + name 212 ms ok 5 + varchar 241 ms ok 6 + text 206 ms ok 7 + int2 223 ms ok 8 + int4 205 ms ok 9 + int8 462 ms ok 10 + oid 191 ms ok 11 + float4 353 ms ok 12 + float8 381 ms ok 13 + bit 442 ms ok 14 + numeric 1513 ms ok 15 + txid 217 ms ok 16 + uuid 239 ms ok 17 + enum 359 ms ok 18 + money 255 ms ok 19 + rangetypes 1076 ms ok 20 + pg_lsn 142 ms ok 21 + regproc 327 ms # parallel group (20 tests): md5 lseg path line time point circle macaddr timetz numerology macaddr8 inet date interval polygon timestamp box timestamptz strings multirangetypes ok 22 + strings 695 ms ok 23 + md5 68 ms ok 24 + numerology 208 ms ok 25 + point 141 ms ok 26 + lseg 98 ms ok 27 + line 130 ms ok 28 + box 626 ms ok 29 + path 115 ms ok 30 + polygon 535 ms ok 31 + circle 141 ms ok 32 + date 291 ms ok 33 + time 131 ms ok 34 + timetz 176 ms ok 35 + timestamp 581 ms ok 36 + timestamptz 674 ms ok 37 + interval 505 ms ok 38 + inet 259 ms ok 39 + macaddr 174 ms ok 40 + macaddr8 230 ms ok 41 + multirangetypes 1941 ms # parallel group (12 tests): comments misc_sanity unicode mvcc xid type_sanity expressions tstypes geometry regex horology opr_sanity ok 42 + geometry 518 ms ok 43 + horology 695 ms ok 44 + tstypes 459 ms ok 45 + regex 561 ms ok 46 + type_sanity 341 ms ok 47 + opr_sanity 719 ms ok 48 + misc_sanity 64 ms ok 49 + comments 46 ms ok 50 + expressions 448 ms ok 51 + unicode 75 ms ok 52 + xid 316 ms ok 53 + mvcc 149 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 304 ms ok 55 + copyselect 153 ms ok 56 + copydml 191 ms ok 57 + insert 1933 ms ok 58 + insert_conflict 923 ms # parallel group (7 tests): create_function_c create_operator create_schema create_procedure create_misc create_type create_table ok 59 + create_function_c 34 ms ok 60 + create_misc 196 ms ok 61 + create_operator 126 ms ok 62 + create_procedure 191 ms ok 63 + create_table 1116 ms ok 64 + create_type 204 ms ok 65 + create_schema 187 ms # parallel group (5 tests): index_including_gist index_including create_index_spgist create_view create_index ok 66 + create_index 5693 ms ok 67 + create_index_spgist 973 ms ok 68 + create_view 1430 ms ok 69 + index_including 638 ms ok 70 + index_including_gist 603 ms # parallel group (16 tests): create_cast hash_func roleattributes select errors infinite_recurse create_aggregate drop_if_exists create_function_sql vacuum typed_table create_am constraints updatable_views inherit triggers ok 71 + create_aggregate 447 ms ok 72 + create_function_sql 672 ms ok 73 + create_cast 103 ms ok 74 + constraints 1663 ms ok 75 + triggers 5983 ms ok 76 + select 351 ms ok 77 + inherit 3640 ms ok 78 + typed_table 872 ms ok 79 + vacuum 847 ms ok 80 + drop_if_exists 517 ms ok 81 + updatable_views 2791 ms ok 82 + roleattributes 326 ms ok 83 + create_am 931 ms ok 84 + hash_func 297 ms ok 85 + errors 398 ms ok 86 + infinite_recurse 432 ms ok 87 - sanity_check 782 ms # parallel group (20 tests): select_distinct_on random delete select_having select_implicit namespace case select_distinct select_into prepared_xacts portals union transactions subselect arrays hash_index update aggregates join btree_index ok 88 + select_into 746 ms ok 89 + select_distinct 693 ms ok 90 + select_distinct_on 115 ms ok 91 + select_implicit 421 ms ok 92 + select_having 415 ms ok 93 + subselect 1887 ms ok 94 + union 1262 ms ok 95 + case 610 ms ok 96 + join 3559 ms ok 97 + aggregates 3287 ms ok 98 + transactions 1734 ms ok 99 + random 189 ms ok 100 + portals 1253 ms ok 101 + arrays 1952 ms ok 102 + btree_index 3708 ms ok 103 + hash_index 2195 ms ok 104 + update 2869 ms ok 105 + delete 200 ms ok 106 + namespace 593 ms ok 107 + prepared_xacts 836 ms # parallel group (20 tests): init_privs drop_operator security_label tablesample password lock object_address groupingsets collate replica_identity spgist identity gin gist matview generated brin join_hash rowsecurity privileges ok 108 + brin 5225 ms ok 109 + gin 3285 ms ok 110 + gist 3463 ms ok 111 + spgist 2808 ms ok 112 + privileges 6106 ms ok 113 + init_privs 87 ms ok 114 + security_label 480 ms ok 115 + collate 2080 ms ok 116 + matview 3548 ms ok 117 + lock 1118 ms ok 118 + replica_identity 2189 ms ok 119 + rowsecurity 5784 ms ok 120 + object_address 1762 ms ok 121 + tablesample 644 ms ok 122 + groupingsets 1919 ms ok 123 + drop_operator 240 ms ok 124 + password 683 ms ok 125 + identity 3224 ms ok 126 + generated 4950 ms ok 127 + join_hash 5294 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 314 ms ok 129 + brin_multi 979 ms # parallel group (17 tests): async dbsize tidrangescan sysviews tidscan tid misc_functions alter_operator tsrf misc incremental_sort create_role without_overlaps alter_generic merge collate.icu.utf8 create_table_like ok 130 + create_table_like 1859 ms ok 131 + alter_generic 1036 ms ok 132 + alter_operator 471 ms ok 133 + misc 682 ms ok 134 + async 153 ms ok 135 + dbsize 208 ms ok 136 + merge 1596 ms ok 137 + misc_functions 467 ms ok 138 + sysviews 239 ms ok 139 + tsrf 508 ms ok 140 + tid 379 ms ok 141 + tidscan 282 ms ok 142 + tidrangescan 215 ms ok 143 + collate.icu.utf8 1710 ms ok 144 + incremental_sort 688 ms ok 145 + create_role 779 ms ok 146 + without_overlaps 976 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 psql_crosstab amutils psql rules stats_ext ok 147 + rules 2202 ms ok 148 + psql 2131 ms ok 149 + psql_crosstab 60 ms ok 150 + amutils 103 ms ok 151 + stats_ext 3510 ms ok 152 + collate.linux.utf8 36 ms ok 153 + collate.windows.win1252 32 ms ok 154 - select_parallel 1563 ms ok 155 - write_parallel 164 ms ok 156 - vacuum_parallel 137 ms # parallel group (2 tests): subscription publication ok 157 + publication 1145 ms ok 158 + subscription 114 ms # parallel group (17 tests): advisory_lock xmlmap portals_p2 combocid tsdicts functional_deps indirect_toast equivclass guc select_views dependency bitmapops window tsearch cluster foreign_data foreign_key ok 159 + select_views 718 ms ok 160 + portals_p2 253 ms ok 161 + foreign_key 5428 ms ok 162 + cluster 1891 ms ok 163 + dependency 1080 ms ok 164 + guc 678 ms ok 165 + bitmapops 1111 ms ok 166 + combocid 327 ms ok 167 + tsearch 1819 ms ok 168 + tsdicts 398 ms ok 169 + foreign_data 3060 ms ok 170 + window 1266 ms ok 171 + xmlmap 227 ms ok 172 + functional_deps 586 ms ok 173 + advisory_lock 221 ms ok 174 + indirect_toast 642 ms ok 175 + equivclass 675 ms # parallel group (7 tests): jsonpath_encoding json_encoding jsonpath sqljson json jsonb_jsonpath jsonb ok 176 + json 268 ms ok 177 + jsonb 511 ms ok 178 + json_encoding 44 ms ok 179 + jsonpath 117 ms ok 180 + jsonpath_encoding 28 ms ok 181 + jsonb_jsonpath 373 ms ok 182 + sqljson 205 ms # parallel group (18 tests): prepare returning conversion limit plancache temp with sequence copy2 largeobject truncate rowtypes rangefuncs xml polymorphism domain plpgsql alter_table ok 183 + plancache 587 ms ok 184 + limit 477 ms ok 185 + plpgsql 4300 ms ok 186 + copy2 1241 ms ok 187 + temp 832 ms ok 188 + domain 1843 ms ok 189 + rangefuncs 1476 ms ok 190 + prepare 158 ms ok 191 + conversion 433 ms ok 192 + truncate 1361 ms not ok 193 + alter_table 7606 ms ok 194 + sequence 1205 ms ok 195 + polymorphism 1491 ms ok 196 + rowtypes 1386 ms ok 197 + returning 335 ms ok 198 + largeobject 1277 ms ok 199 + with 1049 ms ok 200 + xml 1484 ms # parallel group (13 tests): predicate hash_part reloptions explain partition_info memoize compression tuplesort partition_aggregate stats partition_prune partition_join indexing ok 201 + partition_join 3213 ms ok 202 + partition_prune 2936 ms ok 203 + reloptions 238 ms ok 204 + hash_part 116 ms ok 205 + indexing 3418 ms ok 206 + partition_aggregate 1655 ms ok 207 + partition_info 434 ms ok 208 + tuplesort 1567 ms ok 209 + explain 373 ms ok 210 + compression 972 ms ok 211 + memoize 565 ms ok 212 + stats 1772 ms ok 213 + predicate 86 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 498 ms ok 215 + event_trigger 543 ms ok 216 - event_trigger_login 61 ms ok 217 - fast_default 418 ms ok 218 - tablespace 847 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-15 14:06:28.550786000 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/alter_table.out 2024-03-15 14:08:57.560874000 +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 +-------+------------+---------------+-------------+---------------------- + 36878 | | 0 | 36878 | pktable_pkey + 36875 | | 0 | 36875 | pktable + 36880 | | 0 | 36880 | fktable + 37393 | | 0 | 37402 | foo + 37406 | | 0 | 37406 | pg_toast_37393_index + 37405 | | 0 | 37405 | pg_toast_37393 + 37649 | | 0 | 37649 | old_oids + 37666 | | 0 | 37666 | pg_toast_37663 + 37667 | | 0 | 37667 | pg_toast_37663_index + 37663 | | 0 | 37663 | recur2 + 37658 | | 0 | 37658 | recur1 +(11 rows) -- Checks on creating and manipulation of user defined relations in -- pg_catalog. === EOF === [14:09:02.992](59.706s) not ok 2 - regression tests pass [14:09:02.993](0.001s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [14:09:02.993](0.000s) # got: '256' # expected: '0' 1 1 1 1 2 1 1 9 5 5 3 4 3 4001 4 4 1 32 1 1 1 6 104 2 1 41 5 1006 1 2 1 5 17 -2 1 33 34 9 1 1 1 1 1 -1 1 1 -1 -32768 32767 46 Waiting for replication conn standby_1's replay_lsn to pass 0/1430C760 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 52272 --no-unlogged-table-data [14:09:04.759](1.765s) 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 52273 [14:09:06.987](2.228s) 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 [14:09:07.001](0.014s) ok 5 - compare primary and standby dumps [14:09:07.163](0.162s) 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" [14:09:07.373](0.210s) 1..6 [14:09:07.377](0.004s) # Looks like you failed 1 test of 6.