# Checking port 54266 # Found port 54266 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=54266 host=/tmp/FYJ6AsMiDL Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [12:46:35.289](0.048s) # 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 26632 (standby_1,) [12:46:35.594](0.305s) 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/FYJ6AsMiDL -p 54266 --checkpoint fast --no-sync # Backup finished # Checking port 54267 # Found port 54267 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=54267 host=/tmp/FYJ6AsMiDL 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 26789 # using postmaster on /tmp/FYJ6AsMiDL, port 54266 ok 1 - test_setup 674 ms # parallel group (20 tests): oid varchar txid char int4 pg_lsn int2 text money name regproc float4 uuid int8 float8 enum bit boolean rangetypes numeric ok 2 + boolean 477 ms ok 3 + char 124 ms ok 4 + name 181 ms ok 5 + varchar 93 ms ok 6 + text 152 ms ok 7 + int2 147 ms ok 8 + int4 127 ms ok 9 + int8 245 ms ok 10 + oid 92 ms ok 11 + float4 186 ms ok 12 + float8 270 ms ok 13 + bit 429 ms ok 14 + numeric 1415 ms ok 15 + txid 110 ms ok 16 + uuid 219 ms ok 17 + enum 352 ms ok 18 + money 161 ms ok 19 + rangetypes 1271 ms ok 20 + pg_lsn 141 ms ok 21 + regproc 179 ms # parallel group (20 tests): lseg circle line path md5 timetz time macaddr macaddr8 numerology inet date point interval strings timestamp timestamptz polygon multirangetypes box ok 22 + strings 504 ms ok 23 + md5 91 ms ok 24 + numerology 270 ms ok 25 + point 368 ms ok 26 + lseg 66 ms ok 27 + line 85 ms ok 28 + box 1149 ms ok 29 + path 88 ms ok 30 + polygon 862 ms ok 31 + circle 72 ms ok 32 + date 311 ms ok 33 + time 141 ms ok 34 + timetz 128 ms ok 35 + timestamp 548 ms ok 36 + timestamptz 632 ms ok 37 + interval 490 ms ok 38 + inet 271 ms ok 39 + macaddr 144 ms ok 40 + macaddr8 215 ms ok 41 + multirangetypes 1069 ms # parallel group (12 tests): comments unicode misc_sanity xid tstypes expressions mvcc type_sanity geometry horology regex opr_sanity ok 42 + geometry 400 ms ok 43 + horology 488 ms ok 44 + tstypes 211 ms ok 45 + regex 719 ms ok 46 + type_sanity 345 ms ok 47 + opr_sanity 1079 ms ok 48 + misc_sanity 128 ms ok 49 + comments 40 ms ok 50 + expressions 222 ms ok 51 + unicode 85 ms ok 52 + xid 133 ms ok 53 + mvcc 260 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 255 ms ok 55 + copyselect 84 ms ok 56 + copydml 170 ms ok 57 + insert 1348 ms ok 58 + insert_conflict 436 ms # parallel group (7 tests): create_function_c create_operator create_misc create_schema create_type create_procedure create_table ok 59 + create_function_c 75 ms ok 60 + create_misc 179 ms ok 61 + create_operator 129 ms ok 62 + create_procedure 242 ms ok 63 + create_table 1344 ms ok 64 + create_type 221 ms ok 65 + create_schema 203 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 2801 ms ok 67 + create_index_spgist 2626 ms ok 68 + create_view 1294 ms ok 69 + index_including 751 ms ok 70 + index_including_gist 853 ms # parallel group (16 tests): errors create_cast roleattributes create_aggregate drop_if_exists hash_func typed_table select create_function_sql create_am infinite_recurse vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 213 ms ok 72 + create_function_sql 485 ms ok 73 + create_cast 113 ms ok 74 + constraints 1567 ms ok 75 + triggers 5752 ms ok 76 + select 442 ms ok 77 + inherit 3459 ms ok 78 + typed_table 437 ms ok 79 + vacuum 1196 ms ok 80 + drop_if_exists 260 ms ok 81 + updatable_views 2537 ms ok 82 + roleattributes 169 ms ok 83 + create_am 505 ms ok 84 + hash_func 259 ms ok 85 + errors 80 ms ok 86 + infinite_recurse 672 ms ok 87 - sanity_check 592 ms # parallel group (20 tests): select_distinct_on delete select_having random select_implicit case select_into namespace prepared_xacts transactions portals select_distinct union arrays subselect hash_index update join aggregates btree_index ok 88 + select_into 343 ms ok 89 + select_distinct 946 ms ok 90 + select_distinct_on 132 ms ok 91 + select_implicit 251 ms ok 92 + select_having 161 ms ok 93 + subselect 1477 ms ok 94 + union 1098 ms ok 95 + case 253 ms ok 96 + join 3266 ms ok 97 + aggregates 3543 ms ok 98 + transactions 726 ms ok 99 + random 229 ms ok 100 + portals 877 ms ok 101 + arrays 1260 ms ok 102 + btree_index 5206 ms ok 103 + hash_index 2152 ms ok 104 + update 2156 ms ok 105 + delete 157 ms ok 106 + namespace 400 ms ok 107 + prepared_xacts 440 ms # parallel group (20 tests): init_privs drop_operator security_label password tablesample lock object_address replica_identity collate matview identity groupingsets spgist generated rowsecurity gist gin join_hash brin privileges ok 108 + brin 9226 ms ok 109 + gin 4263 ms ok 110 + gist 4056 ms ok 111 + spgist 3606 ms ok 112 + privileges 9783 ms ok 113 + init_privs 92 ms ok 114 + security_label 328 ms ok 115 + collate 1535 ms ok 116 + matview 2357 ms ok 117 + lock 571 ms ok 118 + replica_identity 1388 ms ok 119 + rowsecurity 3918 ms ok 120 + object_address 681 ms ok 121 + tablesample 457 ms ok 122 + groupingsets 3119 ms ok 123 + drop_operator 141 ms ok 124 + password 427 ms ok 125 + identity 2420 ms ok 126 + generated 3716 ms ok 127 + join_hash 9206 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 180 ms ok 129 + brin_multi 930 ms # parallel group (17 tests): async dbsize alter_operator tid tsrf tidscan create_role sysviews tidrangescan alter_generic misc_functions without_overlaps incremental_sort create_table_like misc merge collate.icu.utf8 ok 130 + create_table_like 890 ms ok 131 + alter_generic 419 ms ok 132 + alter_operator 127 ms ok 133 + misc 1039 ms ok 134 + async 56 ms ok 135 + dbsize 120 ms ok 136 + merge 1081 ms ok 137 + misc_functions 430 ms ok 138 + sysviews 353 ms ok 139 + tsrf 206 ms ok 140 + tid 196 ms ok 141 + tidscan 220 ms ok 142 + tidrangescan 363 ms ok 143 + collate.icu.utf8 1241 ms ok 144 + incremental_sort 870 ms ok 145 + create_role 276 ms ok 146 + without_overlaps 615 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 psql_crosstab amutils rules psql stats_ext ok 147 + rules 1265 ms ok 148 + psql 1307 ms ok 149 + psql_crosstab 50 ms ok 150 + amutils 83 ms ok 151 + stats_ext 2670 ms ok 152 + collate.linux.utf8 40 ms ok 153 + collate.windows.win1252 30 ms ok 154 - select_parallel 6184 ms ok 155 - write_parallel 225 ms ok 156 - vacuum_parallel 276 ms # parallel group (2 tests): subscription publication ok 157 + publication 2181 ms ok 158 + subscription 138 ms # parallel group (17 tests): portals_p2 advisory_lock combocid xmlmap equivclass tsdicts functional_deps guc dependency select_views bitmapops window cluster indirect_toast foreign_data tsearch foreign_key ok 159 + select_views 542 ms ok 160 + portals_p2 121 ms ok 161 + foreign_key 3128 ms ok 162 + cluster 1243 ms ok 163 + dependency 337 ms ok 164 + guc 336 ms ok 165 + bitmapops 1116 ms ok 166 + combocid 189 ms ok 167 + tsearch 2442 ms ok 168 + tsdicts 241 ms ok 169 + foreign_data 2013 ms ok 170 + window 1189 ms ok 171 + xmlmap 222 ms ok 172 + functional_deps 250 ms ok 173 + advisory_lock 143 ms ok 174 + indirect_toast 1259 ms ok 175 + equivclass 236 ms # parallel group (7 tests): json_encoding jsonpath_encoding jsonpath sqljson jsonb_jsonpath json jsonb ok 176 + json 319 ms ok 177 + jsonb 530 ms ok 178 + json_encoding 32 ms ok 179 + jsonpath 81 ms ok 180 + jsonpath_encoding 81 ms ok 181 + jsonb_jsonpath 298 ms ok 182 + sqljson 175 ms # parallel group (18 tests): prepare returning plancache limit conversion temp sequence copy2 polymorphism rowtypes truncate largeobject with domain rangefuncs xml alter_table plpgsql ok 183 + plancache 448 ms ok 184 + limit 512 ms ok 185 + plpgsql 3715 ms ok 186 + copy2 769 ms ok 187 + temp 654 ms ok 188 + domain 1210 ms ok 189 + rangefuncs 1268 ms ok 190 + prepare 148 ms ok 191 + conversion 532 ms ok 192 + truncate 1023 ms not ok 193 + alter_table 3585 ms ok 194 + sequence 695 ms ok 195 + polymorphism 894 ms ok 196 + rowtypes 1006 ms ok 197 + returning 274 ms ok 198 + largeobject 1073 ms ok 199 + with 1175 ms ok 200 + xml 1651 ms # parallel group (13 tests): hash_part reloptions predicate explain partition_info compression memoize stats partition_aggregate partition_join indexing tuplesort partition_prune ok 201 + partition_join 2590 ms ok 202 + partition_prune 3057 ms ok 203 + reloptions 167 ms ok 204 + hash_part 146 ms ok 205 + indexing 2710 ms ok 206 + partition_aggregate 2273 ms ok 207 + partition_info 324 ms ok 208 + tuplesort 2798 ms ok 209 + explain 322 ms ok 210 + compression 726 ms ok 211 + memoize 1054 ms ok 212 + stats 1820 ms ok 213 + predicate 271 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 596 ms ok 215 + event_trigger 652 ms ok 216 - event_trigger_login 170 ms ok 217 - fast_default 203 ms ok 218 - tablespace 790 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-19 12:43:23.342827424 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/alter_table.out 2024-03-19 12:47:30.658638993 +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 +-------+------------+---------------+-------------+---------------------- + 37111 | | 0 | 37111 | users_id_seq + 37122 | | 0 | 37122 | pg_toast_37112 + 37123 | | 0 | 37123 | pg_toast_37112_index + 37112 | | 0 | 37112 | users + 37500 | | 0 | 37500 | foo + 37939 | | 0 | 37939 | forc_test + 36827 | | 0 | 36827 | pktable_pkey + 36824 | | 0 | 36824 | pktable + 36833 | | 0 | 36833 | fktable + 37317 | | 0 | 37322 | foo + 37326 | | 0 | 37326 | pg_toast_37317_index + 37325 | | 0 | 37325 | pg_toast_37317 + 37536 | | 0 | 37536 | old_oids + 37553 | | 0 | 37553 | pg_toast_37550 + 37554 | | 0 | 37554 | pg_toast_37550_index + 37550 | | 0 | 37550 | recur2 + 37545 | | 0 | 37545 | recur1 +(17 rows) -- Checks on creating and manipulation of user defined relations in -- pg_catalog. === EOF === [12:47:35.906](60.312s) not ok 2 - regression tests pass [12:47:35.906](0.000s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [12:47:35.907](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 4001 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/14653FC8 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 54266 --no-unlogged-table-data [12:47:38.767](2.861s) 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 54267 [12:47:41.951](3.184s) 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 [12:47:41.988](0.036s) ok 5 - compare primary and standby dumps [12:47:42.315](0.328s) 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" [12:47:42.544](0.229s) 1..6 [12:47:42.546](0.001s) # Looks like you failed 1 test of 6.