# Checking port 60623 # Found port 60623 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=60623 host=/tmp/4OsMCJqKEO Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [18:46:30.597](0.065s) # 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 25950 (standby_1,) [18:46:31.037](0.440s) 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/4OsMCJqKEO -p 60623 --checkpoint fast --no-sync # Backup finished # Checking port 60624 # Found port 60624 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=60624 host=/tmp/4OsMCJqKEO 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 26076 # using postmaster on /tmp/4OsMCJqKEO, port 60623 ok 1 - test_setup 787 ms # parallel group (20 tests): varchar text oid uuid pg_lsn char regproc int2 txid money name float4 int4 float8 int8 enum boolean bit rangetypes numeric ok 2 + boolean 519 ms ok 3 + char 156 ms ok 4 + name 197 ms ok 5 + varchar 95 ms ok 6 + text 112 ms ok 7 + int2 162 ms ok 8 + int4 228 ms ok 9 + int8 241 ms ok 10 + oid 119 ms ok 11 + float4 216 ms ok 12 + float8 236 ms ok 13 + bit 531 ms ok 14 + numeric 1650 ms ok 15 + txid 163 ms ok 16 + uuid 142 ms ok 17 + enum 325 ms ok 18 + money 180 ms ok 19 + rangetypes 1353 ms ok 20 + pg_lsn 153 ms ok 21 + regproc 158 ms # parallel group (20 tests): circle lseg path timetz macaddr time md5 line macaddr8 date numerology inet point interval timestamp timestamptz strings polygon box multirangetypes ok 22 + strings 670 ms ok 23 + md5 178 ms ok 24 + numerology 266 ms ok 25 + point 351 ms ok 26 + lseg 119 ms ok 27 + line 179 ms ok 28 + box 1198 ms ok 29 + path 119 ms ok 30 + polygon 1096 ms ok 31 + circle 97 ms ok 32 + date 249 ms ok 33 + time 172 ms ok 34 + timetz 152 ms ok 35 + timestamp 561 ms ok 36 + timestamptz 643 ms ok 37 + interval 519 ms ok 38 + inet 312 ms ok 39 + macaddr 168 ms ok 40 + macaddr8 210 ms ok 41 + multirangetypes 1230 ms # parallel group (12 tests): unicode comments misc_sanity tstypes xid expressions mvcc geometry type_sanity horology regex opr_sanity ok 42 + geometry 352 ms ok 43 + horology 467 ms ok 44 + tstypes 126 ms ok 45 + regex 731 ms ok 46 + type_sanity 352 ms ok 47 + opr_sanity 958 ms ok 48 + misc_sanity 70 ms ok 49 + comments 58 ms ok 50 + expressions 188 ms ok 51 + unicode 53 ms ok 52 + xid 154 ms ok 53 + mvcc 199 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 356 ms ok 55 + copyselect 70 ms ok 56 + copydml 108 ms ok 57 + insert 1412 ms ok 58 + insert_conflict 543 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 28 ms ok 60 + create_misc 211 ms ok 61 + create_operator 123 ms ok 62 + create_procedure 249 ms ok 63 + create_table 1355 ms ok 64 + create_type 184 ms ok 65 + create_schema 214 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 2650 ms ok 67 + create_index_spgist 2439 ms ok 68 + create_view 1202 ms ok 69 + index_including 577 ms ok 70 + index_including_gist 1002 ms # parallel group (16 tests): errors create_cast roleattributes create_aggregate drop_if_exists hash_func create_am typed_table create_function_sql select infinite_recurse vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 220 ms ok 72 + create_function_sql 511 ms ok 73 + create_cast 128 ms ok 74 + constraints 1700 ms ok 75 + triggers 4985 ms ok 76 + select 548 ms ok 77 + inherit 3563 ms ok 78 + typed_table 496 ms ok 79 + vacuum 1428 ms ok 80 + drop_if_exists 232 ms ok 81 + updatable_views 2180 ms ok 82 + roleattributes 194 ms ok 83 + create_am 460 ms ok 84 + hash_func 269 ms ok 85 + errors 103 ms ok 86 + infinite_recurse 707 ms ok 87 - sanity_check 377 ms # parallel group (20 tests): select_distinct_on select_having random delete namespace case select_implicit select_into prepared_xacts transactions portals union select_distinct arrays subselect hash_index update aggregates join btree_index ok 88 + select_into 288 ms ok 89 + select_distinct 855 ms ok 90 + select_distinct_on 67 ms ok 91 + select_implicit 240 ms ok 92 + select_having 99 ms ok 93 + subselect 1277 ms ok 94 + union 674 ms ok 95 + case 192 ms ok 96 + join 3851 ms ok 97 + aggregates 3615 ms ok 98 + transactions 556 ms ok 99 + random 144 ms ok 100 + portals 567 ms ok 101 + arrays 1043 ms ok 102 + btree_index 5730 ms ok 103 + hash_index 2244 ms ok 104 + update 2493 ms ok 105 + delete 170 ms ok 106 + namespace 189 ms ok 107 + prepared_xacts 316 ms # parallel group (20 tests): init_privs drop_operator security_label tablesample password lock object_address replica_identity collate identity matview spgist groupingsets generated gist rowsecurity gin brin join_hash privileges ok 108 + brin 10482 ms ok 109 + gin 4542 ms ok 110 + gist 3995 ms ok 111 + spgist 3505 ms ok 112 + privileges 11342 ms ok 113 + init_privs 91 ms ok 114 + security_label 257 ms ok 115 + collate 1259 ms ok 116 + matview 2375 ms ok 117 + lock 606 ms ok 118 + replica_identity 1248 ms ok 119 + rowsecurity 4059 ms ok 120 + object_address 673 ms ok 121 + tablesample 399 ms ok 122 + groupingsets 3673 ms ok 123 + drop_operator 185 ms ok 124 + password 573 ms ok 125 + identity 2358 ms ok 126 + generated 3815 ms ok 127 + join_hash 10533 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 294 ms ok 129 + brin_multi 1069 ms # parallel group (17 tests): dbsize async tsrf alter_operator tid tidscan create_role sysviews misc_functions alter_generic tidrangescan without_overlaps incremental_sort merge create_table_like misc collate.icu.utf8 ok 130 + create_table_like 1161 ms ok 131 + alter_generic 438 ms ok 132 + alter_operator 224 ms ok 133 + misc 1205 ms ok 134 + async 108 ms ok 135 + dbsize 107 ms ok 136 + merge 877 ms ok 137 + misc_functions 429 ms ok 138 + sysviews 396 ms ok 139 + tsrf 194 ms ok 140 + tid 234 ms ok 141 + tidscan 244 ms ok 142 + tidrangescan 441 ms ok 143 + collate.icu.utf8 1347 ms ok 144 + incremental_sort 873 ms ok 145 + create_role 326 ms ok 146 + without_overlaps 583 ms # parallel group (7 tests): collate.linux.utf8 collate.windows.win1252 amutils psql_crosstab rules psql stats_ext ok 147 + rules 1033 ms ok 148 + psql 1100 ms ok 149 + psql_crosstab 95 ms ok 150 + amutils 63 ms ok 151 + stats_ext 2547 ms ok 152 + collate.linux.utf8 44 ms ok 153 + collate.windows.win1252 44 ms ok 154 - select_parallel 6390 ms ok 155 - write_parallel 238 ms ok 156 - vacuum_parallel 224 ms # parallel group (2 tests): subscription publication ok 157 + publication 1616 ms ok 158 + subscription 98 ms # parallel group (17 tests): portals_p2 advisory_lock combocid functional_deps xmlmap tsdicts equivclass guc dependency select_views bitmapops window cluster indirect_toast foreign_data tsearch foreign_key ok 159 + select_views 590 ms ok 160 + portals_p2 110 ms ok 161 + foreign_key 3233 ms ok 162 + cluster 1195 ms ok 163 + dependency 344 ms ok 164 + guc 341 ms ok 165 + bitmapops 1090 ms ok 166 + combocid 221 ms ok 167 + tsearch 2471 ms ok 168 + tsdicts 287 ms ok 169 + foreign_data 2226 ms ok 170 + window 1107 ms ok 171 + xmlmap 242 ms ok 172 + functional_deps 234 ms ok 173 + advisory_lock 142 ms ok 174 + indirect_toast 1276 ms ok 175 + equivclass 315 ms # parallel group (7 tests): jsonpath_encoding json_encoding jsonpath sqljson jsonb_jsonpath json jsonb ok 176 + json 349 ms ok 177 + jsonb 662 ms ok 178 + json_encoding 59 ms ok 179 + jsonpath 141 ms ok 180 + jsonpath_encoding 42 ms ok 181 + jsonb_jsonpath 339 ms ok 182 + sqljson 177 ms # parallel group (18 tests): prepare returning plancache conversion limit sequence copy2 temp truncate largeobject polymorphism rowtypes with rangefuncs domain xml plpgsql alter_table ok 183 + plancache 501 ms ok 184 + limit 558 ms ok 185 + plpgsql 4105 ms ok 186 + copy2 768 ms ok 187 + temp 808 ms ok 188 + domain 1504 ms ok 189 + rangefuncs 1470 ms ok 190 + prepare 203 ms ok 191 + conversion 512 ms ok 192 + truncate 997 ms not ok 193 + alter_table 4294 ms ok 194 + sequence 755 ms ok 195 + polymorphism 1082 ms ok 196 + rowtypes 1086 ms ok 197 + returning 308 ms ok 198 + largeobject 1078 ms ok 199 + with 1268 ms ok 200 + xml 2423 ms # parallel group (13 tests): reloptions hash_part explain predicate partition_info compression memoize stats partition_aggregate tuplesort partition_join partition_prune indexing ok 201 + partition_join 3033 ms ok 202 + partition_prune 3447 ms ok 203 + reloptions 110 ms ok 204 + hash_part 149 ms ok 205 + indexing 3477 ms ok 206 + partition_aggregate 2370 ms ok 207 + partition_info 310 ms ok 208 + tuplesort 2580 ms ok 209 + explain 227 ms ok 210 + compression 784 ms ok 211 + memoize 990 ms ok 212 + stats 1760 ms ok 213 + predicate 244 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 566 ms ok 215 + event_trigger 657 ms ok 216 - event_trigger_login 56 ms ok 217 - fast_default 277 ms ok 218 - tablespace 657 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-02-29 18:43:22.253718966 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/alter_table.out 2024-02-29 18:47:27.677577115 +0000 @@ -3476,9 +3476,26 @@ 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 +-------+------------+---------------+-------------+---------------------- + 36945 | | 0 | 36945 | users_id_seq + 36951 | | 0 | 36951 | pg_toast_36946 + 36952 | | 0 | 36952 | pg_toast_36946_index + 36946 | | 0 | 36946 | users + 37162 | | 0 | 37162 | foo + 36481 | | 0 | 36481 | pktable_pkey + 36478 | | 0 | 36478 | pktable + 36483 | | 0 | 36483 | fktable + 37128 | | 0 | 37135 | foo + 37139 | | 0 | 37139 | pg_toast_37128_index + 37138 | | 0 | 37138 | pg_toast_37128 + 37388 | | 0 | 37388 | forc_test + 37350 | | 0 | 37350 | old_oids + 37374 | | 0 | 37374 | pg_toast_37371 + 37375 | | 0 | 37375 | pg_toast_37371_index + 37371 | | 0 | 37371 | recur2 + 37365 | | 0 | 37365 | recur1 +(17 rows) -- Checks on creating and manipulation of user defined relations in -- pg_catalog. === EOF === [18:47:32.946](61.909s) not ok 2 - regression tests pass [18:47:32.946](0.000s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [18:47:32.946](0.000s) # got: '256' # expected: '0' 1 1 1 1 2 1 1 9 5 5 5 3 4 3 4 4 1 4001 32 1 1 1 6 104 2 1 1006 1 2 41 5 -2 17 9 1 33 34 1 1 1 1 -1 1 1 -1 -32768 32767 46 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/145ABE10 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 60623 --no-unlogged-table-data [18:47:35.669](2.723s) 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 60624 [18:47:38.310](2.641s) 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 [18:47:38.343](0.033s) ok 5 - compare primary and standby dumps [18:47:38.625](0.282s) 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" [18:47:38.847](0.221s) 1..6 [18:47:38.848](0.001s) # Looks like you failed 1 test of 6.