# Checking port 57108 # Found port 57108 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=57108 host=/tmp/Zq84Uxjpsl Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [06:47:17.796](0.034s) # 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 19627 (standby_1,) [06:47:18.156](0.360s) 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/Zq84Uxjpsl -p 57108 --checkpoint fast --no-sync # Backup finished # Checking port 57109 # Found port 57109 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=57109 host=/tmp/Zq84Uxjpsl 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 19718 # using postmaster on /tmp/Zq84Uxjpsl, port 57108 ok 1 - test_setup 310 ms # parallel group (20 tests): pg_lsn int2 name char text oid varchar regproc txid uuid int4 money float4 int8 float8 enum boolean bit rangetypes numeric ok 2 + boolean 628 ms ok 3 + char 195 ms ok 4 + name 189 ms ok 5 + varchar 216 ms ok 6 + text 194 ms ok 7 + int2 179 ms ok 8 + int4 264 ms ok 9 + int8 345 ms ok 10 + oid 196 ms ok 11 + float4 292 ms ok 12 + float8 381 ms ok 13 + bit 689 ms ok 14 + numeric 1753 ms ok 15 + txid 230 ms ok 16 + uuid 252 ms ok 17 + enum 491 ms ok 18 + money 282 ms ok 19 + rangetypes 1621 ms ok 20 + pg_lsn 139 ms ok 21 + regproc 219 ms # parallel group (20 tests): path line md5 circle time lseg macaddr timetz numerology macaddr8 date inet point interval timestamp strings timestamptz polygon multirangetypes box ok 22 + strings 675 ms ok 23 + md5 115 ms ok 24 + numerology 214 ms ok 25 + point 431 ms ok 26 + lseg 137 ms ok 27 + line 96 ms ok 28 + box 1720 ms ok 29 + path 86 ms ok 30 + polygon 1251 ms ok 31 + circle 131 ms ok 32 + date 299 ms ok 33 + time 131 ms ok 34 + timetz 202 ms ok 35 + timestamp 576 ms ok 36 + timestamptz 753 ms ok 37 + interval 566 ms ok 38 + inet 300 ms ok 39 + macaddr 194 ms ok 40 + macaddr8 245 ms ok 41 + multirangetypes 1538 ms # parallel group (12 tests): comments unicode misc_sanity xid tstypes expressions mvcc type_sanity geometry horology regex opr_sanity ok 42 + geometry 472 ms ok 43 + horology 535 ms ok 44 + tstypes 234 ms ok 45 + regex 669 ms ok 46 + type_sanity 387 ms ok 47 + opr_sanity 990 ms ok 48 + misc_sanity 74 ms ok 49 + comments 53 ms ok 50 + expressions 241 ms ok 51 + unicode 67 ms ok 52 + xid 167 ms ok 53 + mvcc 252 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 305 ms ok 55 + copyselect 86 ms ok 56 + copydml 147 ms ok 57 + insert 979 ms ok 58 + insert_conflict 340 ms # parallel group (7 tests): create_function_c create_operator create_schema create_type create_misc create_procedure create_table ok 59 + create_function_c 73 ms ok 60 + create_misc 291 ms ok 61 + create_operator 86 ms ok 62 + create_procedure 320 ms ok 63 + create_table 1269 ms ok 64 + create_type 244 ms ok 65 + create_schema 225 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 3026 ms ok 67 + create_index_spgist 2411 ms ok 68 + create_view 1517 ms ok 69 + index_including 838 ms ok 70 + index_including_gist 901 ms # parallel group (16 tests): errors create_cast create_aggregate roleattributes hash_func drop_if_exists typed_table select create_function_sql create_am infinite_recurse vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 194 ms ok 72 + create_function_sql 645 ms ok 73 + create_cast 161 ms ok 74 + constraints 1920 ms ok 75 + triggers 6372 ms ok 76 + select 592 ms ok 77 + inherit 3738 ms ok 78 + typed_table 544 ms ok 79 + vacuum 1268 ms ok 80 + drop_if_exists 425 ms ok 81 + updatable_views 3087 ms ok 82 + roleattributes 196 ms ok 83 + create_am 654 ms ok 84 + hash_func 308 ms ok 85 + errors 124 ms ok 86 + infinite_recurse 676 ms ok 87 - sanity_check 330 ms # parallel group (20 tests): select_distinct_on delete select_having namespace select_implicit case select_into prepared_xacts random transactions portals union select_distinct arrays subselect update hash_index aggregates join btree_index ok 88 + select_into 339 ms ok 89 + select_distinct 951 ms ok 90 + select_distinct_on 111 ms ok 91 + select_implicit 230 ms ok 92 + select_having 181 ms ok 93 + subselect 1067 ms ok 94 + union 853 ms ok 95 + case 266 ms ok 96 + join 4242 ms ok 97 + aggregates 3781 ms ok 98 + transactions 506 ms ok 99 + random 394 ms ok 100 + portals 562 ms ok 101 + arrays 1017 ms ok 102 + btree_index 5721 ms ok 103 + hash_index 2094 ms ok 104 + update 2081 ms ok 105 + delete 125 ms ok 106 + namespace 226 ms ok 107 + prepared_xacts 372 ms # parallel group (20 tests): init_privs drop_operator security_label password lock tablesample object_address replica_identity collate matview identity groupingsets spgist generated rowsecurity gist gin brin join_hash privileges ok 108 + brin 11308 ms ok 109 + gin 4095 ms ok 110 + gist 3974 ms ok 111 + spgist 2762 ms ok 112 + privileges 12442 ms ok 113 + init_privs 75 ms ok 114 + security_label 159 ms ok 115 + collate 1317 ms ok 116 + matview 1804 ms ok 117 + lock 462 ms ok 118 + replica_identity 913 ms ok 119 + rowsecurity 3254 ms ok 120 + object_address 486 ms ok 121 + tablesample 467 ms ok 122 + groupingsets 2690 ms ok 123 + drop_operator 144 ms ok 124 + password 378 ms ok 125 + identity 2109 ms ok 126 + generated 2905 ms ok 127 + join_hash 11354 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 261 ms ok 129 + brin_multi 1017 ms # parallel group (18 tests): async dbsize collate.utf8 tid alter_operator tsrf tidscan create_role tidrangescan sysviews misc_functions alter_generic incremental_sort create_table_like misc merge collate.icu.utf8 without_overlaps ok 130 + create_table_like 1163 ms ok 131 + alter_generic 478 ms ok 132 + alter_operator 225 ms ok 133 + misc 1222 ms ok 134 + async 58 ms ok 135 + dbsize 81 ms ok 136 + merge 1284 ms ok 137 + misc_functions 433 ms ok 138 + sysviews 421 ms ok 139 + tsrf 231 ms ok 140 + tid 187 ms ok 141 + tidscan 273 ms ok 142 + tidrangescan 400 ms ok 143 + collate.utf8 123 ms ok 144 + collate.icu.utf8 1418 ms ok 145 + incremental_sort 970 ms ok 146 + create_role 331 ms ok 147 + without_overlaps 1618 ms # parallel group (7 tests): collate.linux.utf8 amutils collate.windows.win1252 psql_crosstab psql rules stats_ext ok 148 + rules 1376 ms ok 149 + psql 801 ms ok 150 + psql_crosstab 75 ms ok 151 + amutils 33 ms ok 152 + stats_ext 2583 ms ok 153 + collate.linux.utf8 21 ms ok 154 + collate.windows.win1252 43 ms ok 155 - select_parallel 6957 ms ok 156 - write_parallel 251 ms ok 157 - vacuum_parallel 259 ms # parallel group (2 tests): subscription publication ok 158 + publication 2168 ms ok 159 + subscription 87 ms # parallel group (17 tests): portals_p2 combocid advisory_lock xmlmap tsdicts guc equivclass functional_deps dependency select_views bitmapops indirect_toast window cluster tsearch foreign_data foreign_key ok 160 + select_views 567 ms ok 161 + portals_p2 86 ms ok 162 + foreign_key 2815 ms ok 163 + cluster 1212 ms ok 164 + dependency 350 ms ok 165 + guc 281 ms ok 166 + bitmapops 1021 ms ok 167 + combocid 127 ms ok 168 + tsearch 1829 ms ok 169 + tsdicts 277 ms ok 170 + foreign_data 2370 ms ok 171 + window 1179 ms ok 172 + xmlmap 190 ms ok 173 + functional_deps 307 ms ok 174 + advisory_lock 173 ms ok 175 + indirect_toast 1062 ms ok 176 + equivclass 281 ms # parallel group (9 tests): jsonpath_encoding json_encoding jsonpath sqljson sqljson_jsontable sqljson_queryfuncs jsonb_jsonpath json jsonb ok 177 + json 389 ms ok 178 + jsonb 867 ms ok 179 + json_encoding 61 ms ok 180 + jsonpath 128 ms ok 181 + jsonpath_encoding 57 ms ok 182 + jsonb_jsonpath 349 ms ok 183 + sqljson 180 ms ok 184 + sqljson_queryfuncs 347 ms ok 185 + sqljson_jsontable 257 ms # parallel group (18 tests): prepare returning limit conversion plancache temp sequence copy2 with rowtypes truncate polymorphism largeobject domain rangefuncs xml plpgsql alter_table ok 186 + plancache 575 ms ok 187 + limit 488 ms ok 188 + plpgsql 3896 ms ok 189 + copy2 945 ms ok 190 + temp 596 ms ok 191 + domain 1610 ms ok 192 + rangefuncs 1679 ms ok 193 + prepare 207 ms ok 194 + conversion 513 ms ok 195 + truncate 1231 ms not ok 196 + alter_table 4670 ms ok 197 + sequence 905 ms ok 198 + polymorphism 1268 ms ok 199 + rowtypes 1219 ms ok 200 + returning 351 ms ok 201 + largeobject 1304 ms ok 202 + with 1087 ms ok 203 + xml 2010 ms # parallel group (15 tests): hash_part reloptions predicate partition_info explain compression memoize partition_merge partition_split stats partition_aggregate tuplesort partition_join indexing partition_prune ok 204 + partition_merge 1864 ms ok 205 + partition_split 2476 ms ok 206 + partition_join 3648 ms ok 207 + partition_prune 4395 ms ok 208 + reloptions 310 ms ok 209 + hash_part 257 ms ok 210 + indexing 4103 ms ok 211 + partition_aggregate 3257 ms ok 212 + partition_info 498 ms ok 213 + tuplesort 3488 ms ok 214 + explain 510 ms ok 215 + compression 1404 ms ok 216 + memoize 1721 ms ok 217 + stats 2568 ms ok 218 + predicate 491 ms # parallel group (2 tests): oidjoins event_trigger ok 219 + oidjoins 661 ms ok 220 + event_trigger 773 ms ok 221 - event_trigger_login 105 ms ok 222 - fast_default 265 ms ok 223 - tablespace 663 ms 1..223 # 1 of 223 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-05-03 06:45:41.361178110 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/alter_table.out 2024-05-03 06:48:19.045133102 +0000 @@ -3476,9 +3476,29 @@ 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 +-------+------------+---------------+-------------+---------------------- + 37975 | | 0 | 37975 | users_id_seq + 37985 | | 0 | 37985 | pg_toast_37979 + 37986 | | 0 | 37986 | pg_toast_37979_index + 37979 | | 0 | 37979 | users + 38316 | | 0 | 38316 | foo + 38522 | | 0 | 38522 | forc_test + 38940 | | 0 | 38940 | pg_toast_38937 + 38941 | | 0 | 38941 | pg_toast_38937_index + 38937 | | 0 | 38937 | rtype + 37673 | | 0 | 37673 | pktable_pkey + 37670 | | 0 | 37670 | pktable + 37678 | | 0 | 37678 | fktable + 38256 | | 0 | 38261 | foo + 38265 | | 0 | 38265 | pg_toast_38256_index + 38264 | | 0 | 38264 | pg_toast_38256 + 38474 | | 0 | 38474 | old_oids + 38492 | | 0 | 38492 | pg_toast_38489 + 38493 | | 0 | 38493 | pg_toast_38489_index + 38489 | | 0 | 38489 | recur2 + 38484 | | 0 | 38484 | recur1 +(20 rows) -- Checks on creating and manipulation of user defined relations in -- pg_catalog. === EOF === [06:48:25.580](67.424s) not ok 2 - regression tests pass [06:48:25.580](0.000s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [06:48:25.580](0.000s) # got: '256' # expected: '0' 1 1 1 1 2 1 1 9 5 1 5 3 4 3 4 4 1 32 1 1 1 6 104 2 1 5 4001 1006 1 2 41 5 17 -2 33 34 9 1 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/14B10390 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 57108 --no-unlogged-table-data [06:48:28.669](3.089s) 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 57109 [06:48:31.767](3.098s) 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:48:31.821](0.054s) ok 5 - compare primary and standby dumps [06:48:32.200](0.378s) 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:48:32.422](0.223s) 1..6 [06:48:32.424](0.001s) # Looks like you failed 1 test of 6.