# Checking port 54566 # Found port 54566 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=54566 host=/tmp/3X205OzGq8 Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [13:36:04.688](0.024s) # 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 21305 (standby_1,) [13:36:04.942](0.254s) 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/3X205OzGq8 -p 54566 --checkpoint fast --no-sync # Backup finished # Checking port 54567 # Found port 54567 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=54567 host=/tmp/3X205OzGq8 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 21449 # using postmaster on /tmp/3X205OzGq8, port 54566 ok 1 - test_setup 391 ms # parallel group (20 tests): char pg_lsn txid oid varchar name int2 text regproc int4 uuid money float4 int8 float8 enum bit boolean rangetypes numeric ok 2 + boolean 463 ms ok 3 + char 91 ms ok 4 + name 160 ms ok 5 + varchar 152 ms ok 6 + text 172 ms ok 7 + int2 162 ms ok 8 + int4 193 ms ok 9 + int8 248 ms ok 10 + oid 144 ms ok 11 + float4 218 ms ok 12 + float8 267 ms ok 13 + bit 422 ms ok 14 + numeric 1488 ms ok 15 + txid 137 ms ok 16 + uuid 203 ms ok 17 + enum 303 ms ok 18 + money 209 ms ok 19 + rangetypes 1414 ms ok 20 + pg_lsn 124 ms ok 21 + regproc 178 ms # parallel group (20 tests): md5 line circle path lseg timetz time macaddr8 macaddr numerology inet date interval point timestamp strings timestamptz box polygon multirangetypes ok 22 + strings 588 ms ok 23 + md5 77 ms ok 24 + numerology 206 ms ok 25 + point 472 ms ok 26 + lseg 115 ms ok 27 + line 88 ms ok 28 + box 1131 ms ok 29 + path 113 ms ok 30 + polygon 1147 ms ok 31 + circle 103 ms ok 32 + date 300 ms ok 33 + time 136 ms ok 34 + timetz 126 ms ok 35 + timestamp 519 ms ok 36 + timestamptz 608 ms ok 37 + interval 429 ms ok 38 + inet 243 ms ok 39 + macaddr 194 ms ok 40 + macaddr8 142 ms ok 41 + multirangetypes 1266 ms # parallel group (12 tests): comments unicode misc_sanity xid expressions tstypes mvcc geometry type_sanity horology regex opr_sanity ok 42 + geometry 371 ms ok 43 + horology 543 ms ok 44 + tstypes 227 ms ok 45 + regex 879 ms ok 46 + type_sanity 442 ms ok 47 + opr_sanity 1122 ms ok 48 + misc_sanity 89 ms ok 49 + comments 44 ms ok 50 + expressions 214 ms ok 51 + unicode 72 ms ok 52 + xid 131 ms ok 53 + mvcc 296 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 338 ms ok 55 + copyselect 105 ms ok 56 + copydml 163 ms ok 57 + insert 1346 ms ok 58 + insert_conflict 451 ms # parallel group (7 tests): create_function_c create_operator create_type create_schema create_misc create_procedure create_table ok 59 + create_function_c 69 ms ok 60 + create_misc 146 ms ok 61 + create_operator 94 ms ok 62 + create_procedure 195 ms ok 63 + create_table 1108 ms ok 64 + create_type 134 ms ok 65 + create_schema 144 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 2687 ms ok 67 + create_index_spgist 1951 ms ok 68 + create_view 1028 ms ok 69 + index_including 537 ms ok 70 + index_including_gist 815 ms # parallel group (16 tests): errors create_cast roleattributes create_aggregate hash_func drop_if_exists typed_table create_am create_function_sql select infinite_recurse vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 244 ms ok 72 + create_function_sql 668 ms ok 73 + create_cast 136 ms ok 74 + constraints 1902 ms ok 75 + triggers 7181 ms ok 76 + select 752 ms ok 77 + inherit 4101 ms ok 78 + typed_table 423 ms ok 79 + vacuum 1671 ms ok 80 + drop_if_exists 372 ms ok 81 + updatable_views 3280 ms ok 82 + roleattributes 203 ms ok 83 + create_am 551 ms ok 84 + hash_func 246 ms ok 85 + errors 123 ms ok 86 + infinite_recurse 940 ms ok 87 - sanity_check 369 ms # parallel group (20 tests): select_distinct_on select_having delete random select_implicit case namespace prepared_xacts select_into transactions portals union select_distinct arrays subselect hash_index update aggregates join btree_index ok 88 + select_into 361 ms ok 89 + select_distinct 928 ms ok 90 + select_distinct_on 110 ms ok 91 + select_implicit 202 ms ok 92 + select_having 121 ms ok 93 + subselect 1305 ms ok 94 + union 861 ms ok 95 + case 280 ms ok 96 + join 3405 ms ok 97 + aggregates 3274 ms ok 98 + transactions 609 ms ok 99 + random 176 ms ok 100 + portals 671 ms ok 101 + arrays 1014 ms ok 102 + btree_index 5685 ms ok 103 + hash_index 2110 ms ok 104 + update 2153 ms ok 105 + delete 145 ms ok 106 + namespace 278 ms ok 107 + prepared_xacts 346 ms # parallel group (20 tests): init_privs drop_operator security_label password tablesample lock object_address replica_identity collate matview identity spgist groupingsets generated rowsecurity gist gin brin join_hash privileges ok 108 + brin 7607 ms ok 109 + gin 3824 ms ok 110 + gist 3686 ms ok 111 + spgist 2960 ms ok 112 + privileges 8292 ms ok 113 + init_privs 75 ms ok 114 + security_label 363 ms ok 115 + collate 1613 ms ok 116 + matview 2125 ms ok 117 + lock 530 ms ok 118 + replica_identity 1320 ms ok 119 + rowsecurity 3362 ms ok 120 + object_address 766 ms ok 121 + tablesample 526 ms ok 122 + groupingsets 3227 ms ok 123 + drop_operator 225 ms ok 124 + password 364 ms ok 125 + identity 2207 ms ok 126 + generated 3315 ms ok 127 + join_hash 7628 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 188 ms ok 129 + brin_multi 866 ms # parallel group (18 tests): dbsize async collate.utf8 tid alter_operator tsrf tidscan create_role tidrangescan alter_generic misc_functions sysviews without_overlaps incremental_sort misc create_table_like merge collate.icu.utf8 ok 130 + create_table_like 963 ms ok 131 + alter_generic 412 ms ok 132 + alter_operator 207 ms ok 133 + misc 944 ms ok 134 + async 75 ms ok 135 + dbsize 67 ms ok 136 + merge 1137 ms ok 137 + misc_functions 417 ms ok 138 + sysviews 422 ms ok 139 + tsrf 209 ms ok 140 + tid 185 ms ok 141 + tidscan 260 ms ok 142 + tidrangescan 361 ms ok 143 + collate.utf8 120 ms ok 144 + collate.icu.utf8 1273 ms ok 145 + incremental_sort 856 ms ok 146 + create_role 284 ms ok 147 + without_overlaps 498 ms # parallel group (7 tests): collate.linux.utf8 amutils psql_crosstab collate.windows.win1252 rules psql stats_ext ok 148 + rules 830 ms ok 149 + psql 1194 ms ok 150 + psql_crosstab 37 ms ok 151 + amutils 27 ms ok 152 + stats_ext 2699 ms ok 153 + collate.linux.utf8 20 ms ok 154 + collate.windows.win1252 42 ms ok 155 - select_parallel 6074 ms ok 156 - write_parallel 243 ms ok 157 - vacuum_parallel 198 ms # parallel group (2 tests): subscription publication ok 158 + publication 1885 ms ok 159 + subscription 101 ms # parallel group (17 tests): portals_p2 advisory_lock combocid xmlmap tsdicts guc functional_deps equivclass dependency select_views indirect_toast bitmapops window cluster tsearch foreign_data foreign_key ok 160 + select_views 465 ms ok 161 + portals_p2 88 ms ok 162 + foreign_key 2815 ms ok 163 + cluster 1064 ms ok 164 + dependency 322 ms ok 165 + guc 260 ms ok 166 + bitmapops 995 ms ok 167 + combocid 123 ms ok 168 + tsearch 1892 ms ok 169 + tsdicts 233 ms ok 170 + foreign_data 2023 ms ok 171 + window 1014 ms ok 172 + xmlmap 206 ms ok 173 + functional_deps 275 ms ok 174 + advisory_lock 106 ms ok 175 + indirect_toast 993 ms ok 176 + equivclass 300 ms # parallel group (8 tests): jsonpath_encoding json_encoding jsonpath sqljson sqljson_queryfuncs json jsonb_jsonpath jsonb ok 177 + json 330 ms ok 178 + jsonb 572 ms ok 179 + json_encoding 57 ms ok 180 + jsonpath 120 ms ok 181 + jsonpath_encoding 48 ms ok 182 + jsonb_jsonpath 467 ms ok 183 + sqljson 162 ms ok 184 + sqljson_queryfuncs 288 ms # parallel group (18 tests): prepare returning conversion plancache limit temp sequence copy2 polymorphism rowtypes truncate largeobject with domain rangefuncs xml plpgsql alter_table ok 185 + plancache 506 ms ok 186 + limit 566 ms ok 187 + plpgsql 2566 ms ok 188 + copy2 755 ms ok 189 + temp 637 ms ok 190 + domain 1357 ms ok 191 + rangefuncs 1403 ms ok 192 + prepare 185 ms ok 193 + conversion 490 ms ok 194 + truncate 922 ms not ok 195 + alter_table 3875 ms ok 196 + sequence 715 ms ok 197 + polymorphism 779 ms ok 198 + rowtypes 910 ms ok 199 + returning 254 ms ok 200 + largeobject 1054 ms ok 201 + with 1195 ms ok 202 + xml 1930 ms # parallel group (13 tests): hash_part reloptions explain partition_info predicate compression memoize stats partition_aggregate partition_join tuplesort indexing partition_prune ok 203 + partition_join 2513 ms ok 204 + partition_prune 3066 ms ok 205 + reloptions 139 ms ok 206 + hash_part 118 ms ok 207 + indexing 2770 ms ok 208 + partition_aggregate 2353 ms ok 209 + partition_info 270 ms ok 210 + tuplesort 2584 ms ok 211 + explain 252 ms ok 212 + compression 700 ms ok 213 + memoize 914 ms ok 214 + stats 1929 ms ok 215 + predicate 280 ms # parallel group (2 tests): oidjoins event_trigger ok 216 + oidjoins 546 ms ok 217 + event_trigger 604 ms ok 218 - event_trigger_login 84 ms ok 219 - fast_default 308 ms ok 220 - tablespace 840 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-21 13:34:09.438008336 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/alter_table.out 2024-03-21 13:36:59.762016962 +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 +-------+------------+---------------+-------------+---------------------- + 36929 | | 0 | 36929 | pktable_pkey + 36926 | | 0 | 36926 | pktable + 36931 | | 0 | 36931 | fktable + 37455 | | 0 | 37460 | foo + 37464 | | 0 | 37464 | pg_toast_37455_index + 37463 | | 0 | 37463 | pg_toast_37455 + 37707 | | 0 | 37707 | old_oids + 37726 | | 0 | 37726 | pg_toast_37723 + 37727 | | 0 | 37727 | pg_toast_37723_index + 37723 | | 0 | 37723 | recur2 + 37718 | | 0 | 37718 | recur1 +(11 rows) -- Checks on creating and manipulation of user defined relations in -- pg_catalog. === EOF === [13:37:04.991](60.049s) not ok 2 - regression tests pass [13:37:04.993](0.002s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [13:37:04.993](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 4001 3 4 3 4 4 1 32 1 1 1 6 104 2 1 5 1006 1 2 41 5 -2 17 1 1 9 33 34 1 1 1 1 1 -1 1 1 -1 -32768 32767 46 Waiting for replication conn standby_1's replay_lsn to pass 0/1456E9F0 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 54566 --no-unlogged-table-data [13:37:07.760](2.767s) 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 54567 [13:37:10.407](2.646s) 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 [13:37:10.495](0.088s) ok 5 - compare primary and standby dumps [13:37:10.763](0.268s) 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" [13:37:10.970](0.207s) 1..6 [13:37:10.971](0.001s) # Looks like you failed 1 test of 6.