# Checking port 50499 # Found port 50499 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=50499 host=/tmp/ne3rRBi8H0 Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [06:25:56.387](0.018s) # 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 11069 (standby_1,) [06:25:56.605](0.218s) 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/ne3rRBi8H0 -p 50499 --checkpoint fast --no-sync # Backup finished # Checking port 50500 # Found port 50500 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=50500 host=/tmp/ne3rRBi8H0 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 11229 # using postmaster on /tmp/ne3rRBi8H0, port 50499 ok 1 - test_setup 444 ms # parallel group (20 tests): pg_lsn char varchar txid oid int2 money name regproc text uuid boolean float4 float8 int4 bit int8 enum rangetypes numeric ok 2 + boolean 400 ms ok 3 + char 170 ms ok 4 + name 317 ms ok 5 + varchar 201 ms ok 6 + text 338 ms ok 7 + int2 309 ms ok 8 + int4 441 ms ok 9 + int8 473 ms ok 10 + oid 307 ms ok 11 + float4 434 ms ok 12 + float8 439 ms ok 13 + bit 461 ms ok 14 + numeric 1458 ms ok 15 + txid 270 ms ok 16 + uuid 338 ms ok 17 + enum 532 ms ok 18 + money 314 ms ok 19 + rangetypes 1115 ms ok 20 + pg_lsn 150 ms ok 21 + regproc 320 ms # parallel group (20 tests): md5 path circle lseg time point macaddr numerology line macaddr8 inet timetz date interval polygon box timestamp timestamptz strings multirangetypes ok 22 + strings 732 ms ok 23 + md5 63 ms ok 24 + numerology 210 ms ok 25 + point 150 ms ok 26 + lseg 92 ms ok 27 + line 210 ms ok 28 + box 616 ms ok 29 + path 64 ms ok 30 + polygon 457 ms ok 31 + circle 78 ms ok 32 + date 344 ms ok 33 + time 126 ms ok 34 + timetz 312 ms ok 35 + timestamp 624 ms ok 36 + timestamptz 703 ms ok 37 + interval 451 ms ok 38 + inet 291 ms ok 39 + macaddr 185 ms ok 40 + macaddr8 262 ms ok 41 + multirangetypes 1759 ms # parallel group (12 tests): comments misc_sanity unicode mvcc xid expressions type_sanity tstypes geometry regex horology opr_sanity ok 42 + geometry 429 ms ok 43 + horology 540 ms ok 44 + tstypes 388 ms ok 45 + regex 514 ms ok 46 + type_sanity 322 ms ok 47 + opr_sanity 683 ms ok 48 + misc_sanity 56 ms ok 49 + comments 47 ms ok 50 + expressions 303 ms ok 51 + unicode 124 ms ok 52 + xid 285 ms ok 53 + mvcc 166 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 280 ms ok 55 + copyselect 97 ms ok 56 + copydml 146 ms ok 57 + insert 1428 ms ok 58 + insert_conflict 542 ms # parallel group (7 tests): create_function_c create_operator create_schema create_type create_procedure create_misc create_table ok 59 + create_function_c 22 ms ok 60 + create_misc 467 ms ok 61 + create_operator 234 ms ok 62 + create_procedure 458 ms ok 63 + create_table 2012 ms ok 64 + create_type 309 ms ok 65 + create_schema 242 ms # parallel group (5 tests): index_including_gist index_including create_index_spgist create_view create_index ok 66 + create_index 3784 ms ok 67 + create_index_spgist 1895 ms ok 68 + create_view 2699 ms ok 69 + index_including 860 ms ok 70 + index_including_gist 848 ms # parallel group (16 tests): hash_func create_cast infinite_recurse roleattributes errors create_aggregate select typed_table drop_if_exists create_function_sql create_am vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 458 ms ok 72 + create_function_sql 806 ms ok 73 + create_cast 230 ms ok 74 + constraints 3209 ms ok 75 + triggers 7611 ms ok 76 + select 458 ms ok 77 + inherit 5582 ms ok 78 + typed_table 485 ms ok 79 + vacuum 1931 ms ok 80 + drop_if_exists 778 ms ok 81 + updatable_views 5424 ms ok 82 + roleattributes 396 ms ok 83 + create_am 986 ms ok 84 + hash_func 161 ms ok 85 + errors 411 ms ok 86 + infinite_recurse 340 ms ok 87 - sanity_check 320 ms # parallel group (20 tests): select_distinct_on random select_having delete select_implicit case namespace prepared_xacts select_distinct select_into union portals transactions subselect arrays hash_index update aggregates join btree_index ok 88 + select_into 723 ms ok 89 + select_distinct 661 ms ok 90 + select_distinct_on 66 ms ok 91 + select_implicit 332 ms ok 92 + select_having 221 ms ok 93 + subselect 1476 ms ok 94 + union 1000 ms ok 95 + case 465 ms ok 96 + join 4025 ms ok 97 + aggregates 2470 ms ok 98 + transactions 1310 ms ok 99 + random 181 ms ok 100 + portals 1062 ms ok 101 + arrays 1558 ms ok 102 + btree_index 4559 ms ok 103 + hash_index 1928 ms ok 104 + update 2324 ms ok 105 + delete 285 ms ok 106 + namespace 581 ms ok 107 + prepared_xacts 652 ms # parallel group (20 tests): init_privs drop_operator security_label password tablesample lock object_address replica_identity groupingsets collate matview spgist gin gist identity join_hash brin generated privileges rowsecurity ok 108 + brin 4052 ms ok 109 + gin 3052 ms ok 110 + gist 3134 ms ok 111 + spgist 2331 ms ok 112 + privileges 4905 ms ok 113 + init_privs 99 ms ok 114 + security_label 388 ms ok 115 + collate 1984 ms ok 116 + matview 2187 ms ok 117 + lock 1117 ms ok 118 + replica_identity 1699 ms ok 119 + rowsecurity 5486 ms ok 120 + object_address 1224 ms ok 121 + tablesample 908 ms ok 122 + groupingsets 1959 ms ok 123 + drop_operator 301 ms ok 124 + password 441 ms ok 125 + identity 3586 ms ok 126 + generated 4538 ms ok 127 + join_hash 3944 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 234 ms ok 129 + brin_multi 1076 ms # parallel group (18 tests): async dbsize sysviews tidscan collate.utf8 tidrangescan tsrf alter_operator tid misc_functions misc incremental_sort create_role alter_generic collate.icu.utf8 create_table_like merge without_overlaps ok 130 + create_table_like 1941 ms ok 131 + alter_generic 1173 ms ok 132 + alter_operator 425 ms ok 133 + misc 593 ms ok 134 + async 75 ms ok 135 + dbsize 89 ms ok 136 + merge 2282 ms ok 137 + misc_functions 562 ms ok 138 + sysviews 207 ms ok 139 + tsrf 404 ms ok 140 + tid 470 ms ok 141 + tidscan 246 ms ok 142 + tidrangescan 381 ms ok 143 + collate.utf8 283 ms ok 144 + collate.icu.utf8 1845 ms ok 145 + incremental_sort 735 ms ok 146 + create_role 855 ms ok 147 + without_overlaps 2895 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab psql rules stats_ext ok 148 + rules 1798 ms ok 149 + psql 1719 ms ok 150 + psql_crosstab 109 ms ok 151 + amutils 82 ms ok 152 + stats_ext 3391 ms ok 153 + collate.linux.utf8 22 ms ok 154 + collate.windows.win1252 22 ms ok 155 - select_parallel 1578 ms ok 156 - write_parallel 127 ms ok 157 - vacuum_parallel 107 ms # parallel group (2 tests): subscription publication ok 158 + publication 1127 ms ok 159 + subscription 109 ms # parallel group (17 tests): advisory_lock portals_p2 xmlmap combocid tsdicts equivclass select_views functional_deps indirect_toast dependency guc bitmapops window cluster tsearch foreign_data foreign_key ok 160 + select_views 654 ms ok 161 + portals_p2 215 ms ok 162 + foreign_key 6045 ms ok 163 + cluster 1562 ms ok 164 + dependency 743 ms ok 165 + guc 755 ms ok 166 + bitmapops 901 ms ok 167 + combocid 495 ms ok 168 + tsearch 1667 ms ok 169 + tsdicts 578 ms ok 170 + foreign_data 3348 ms ok 171 + window 1511 ms ok 172 + xmlmap 441 ms ok 173 + functional_deps 662 ms ok 174 + advisory_lock 185 ms ok 175 + indirect_toast 714 ms ok 176 + equivclass 591 ms # parallel group (8 tests): jsonpath_encoding json_encoding jsonpath sqljson sqljson_queryfuncs json jsonb_jsonpath jsonb ok 177 + json 278 ms ok 178 + jsonb 537 ms ok 179 + json_encoding 40 ms ok 180 + jsonpath 103 ms ok 181 + jsonpath_encoding 27 ms ok 182 + jsonb_jsonpath 340 ms ok 183 + sqljson 193 ms ok 184 + sqljson_queryfuncs 269 ms # parallel group (18 tests): prepare returning conversion limit plancache temp rowtypes copy2 largeobject xml with sequence truncate polymorphism rangefuncs domain plpgsql alter_table ok 185 + plancache 546 ms ok 186 + limit 505 ms ok 187 + plpgsql 3438 ms ok 188 + copy2 1114 ms ok 189 + temp 1054 ms ok 190 + domain 1775 ms ok 191 + rangefuncs 1497 ms ok 192 + prepare 150 ms ok 193 + conversion 442 ms ok 194 + truncate 1358 ms not ok 195 + alter_table 7374 ms ok 196 + sequence 1260 ms ok 197 + polymorphism 1380 ms ok 198 + rowtypes 1056 ms ok 199 + returning 342 ms ok 200 + largeobject 1161 ms ok 201 + with 1252 ms ok 202 + xml 1201 ms # parallel group (13 tests): predicate hash_part reloptions explain partition_info memoize compression partition_aggregate tuplesort stats partition_join partition_prune indexing ok 203 + partition_join 3349 ms ok 204 + partition_prune 3436 ms ok 205 + reloptions 294 ms ok 206 + hash_part 224 ms ok 207 + indexing 3741 ms ok 208 + partition_aggregate 1641 ms ok 209 + partition_info 475 ms ok 210 + tuplesort 1806 ms ok 211 + explain 341 ms ok 212 + compression 1276 ms ok 213 + memoize 783 ms ok 214 + stats 2053 ms ok 215 + predicate 97 ms # parallel group (2 tests): oidjoins event_trigger ok 216 + oidjoins 536 ms ok 217 + event_trigger 590 ms ok 218 - event_trigger_login 59 ms ok 219 - fast_default 483 ms ok 220 - tablespace 748 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-27 06:24:48.977293000 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/alter_table.out 2024-03-27 06:26:52.160922000 +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 +-------+------------+---------------+-------------+---------------------- + 38144 | | 0 | 38149 | foo + 38153 | | 0 | 38153 | pg_toast_38144_index + 38152 | | 0 | 38152 | pg_toast_38144 + 37566 | | 0 | 37566 | pktable_pkey + 37562 | | 0 | 37562 | pktable + 37568 | | 0 | 37568 | fktable + 38432 | | 0 | 38432 | recur2 + 38427 | | 0 | 38427 | recur1 + 38418 | | 0 | 38418 | old_oids + 38435 | | 0 | 38435 | pg_toast_38432 + 38436 | | 0 | 38436 | pg_toast_38432_index +(11 rows) -- Checks on creating and manipulation of user defined relations in -- pg_catalog. === EOF === [06:26:57.876](61.271s) not ok 2 - regression tests pass [06:26:57.877](0.001s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [06:26:57.878](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 4001 3 4 3 4 4 1 32 41 1 1 1 6 104 2 1 5 1006 1 2 5 17 1 -2 33 34 1 1 1 1 1 -1 1 1 -1 -32768 32767 9 1 46 Waiting for replication conn standby_1's replay_lsn to pass 0/142DA410 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 50499 --no-unlogged-table-data [06:27:00.162](2.284s) 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 50500 [06:27:01.860](1.699s) 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 [06:27:01.874](0.014s) ok 5 - compare primary and standby dumps [06:27:02.041](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" [06:27:02.254](0.212s) 1..6 [06:27:02.255](0.002s) # Looks like you failed 1 test of 6.