# Checking port 49817 # Found port 49817 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=49817 host=/tmp/FKaU_K1WPw Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [19:40:22.314](0.015s) # 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 26737 (standby_1,) [19:40:22.570](0.256s) 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/FKaU_K1WPw -p 49817 --checkpoint fast --no-sync # Backup finished # Checking port 49818 # Found port 49818 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=49818 host=/tmp/FKaU_K1WPw 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 26888 # using postmaster on /tmp/FKaU_K1WPw, port 49817 ok 1 - test_setup 670 ms # parallel group (20 tests): pg_lsn char varchar oid name text int4 uuid txid float4 int2 regproc money int8 float8 enum boolean bit rangetypes numeric ok 2 + boolean 348 ms ok 3 + char 108 ms ok 4 + name 150 ms ok 5 + varchar 114 ms ok 6 + text 152 ms ok 7 + int2 164 ms ok 8 + int4 151 ms ok 9 + int8 239 ms ok 10 + oid 128 ms ok 11 + float4 161 ms ok 12 + float8 243 ms ok 13 + bit 384 ms ok 14 + numeric 1251 ms ok 15 + txid 157 ms ok 16 + uuid 156 ms ok 17 + enum 299 ms ok 18 + money 206 ms ok 19 + rangetypes 1151 ms ok 20 + pg_lsn 71 ms ok 21 + regproc 166 ms # parallel group (20 tests): md5 circle lseg time path timetz line macaddr macaddr8 numerology date inet interval point timestamp strings timestamptz polygon box multirangetypes ok 22 + strings 671 ms ok 23 + md5 81 ms ok 24 + numerology 227 ms ok 25 + point 398 ms ok 26 + lseg 101 ms ok 27 + line 179 ms ok 28 + box 1224 ms ok 29 + path 119 ms ok 30 + polygon 1032 ms ok 31 + circle 92 ms ok 32 + date 235 ms ok 33 + time 115 ms ok 34 + timetz 132 ms ok 35 + timestamp 551 ms ok 36 + timestamptz 716 ms ok 37 + interval 321 ms ok 38 + inet 285 ms ok 39 + macaddr 181 ms ok 40 + macaddr8 190 ms ok 41 + multirangetypes 1242 ms # parallel group (12 tests): comments unicode misc_sanity expressions xid tstypes mvcc horology type_sanity geometry regex opr_sanity ok 42 + geometry 488 ms ok 43 + horology 425 ms ok 44 + tstypes 184 ms ok 45 + regex 641 ms ok 46 + type_sanity 467 ms ok 47 + opr_sanity 835 ms ok 48 + misc_sanity 80 ms ok 49 + comments 44 ms ok 50 + expressions 162 ms ok 51 + unicode 55 ms ok 52 + xid 171 ms ok 53 + mvcc 254 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 345 ms ok 55 + copyselect 84 ms ok 56 + copydml 93 ms ok 57 + insert 1176 ms ok 58 + insert_conflict 529 ms # parallel group (7 tests): create_function_c create_operator create_type create_schema create_procedure create_misc create_table ok 59 + create_function_c 56 ms ok 60 + create_misc 268 ms ok 61 + create_operator 167 ms ok 62 + create_procedure 220 ms ok 63 + create_table 1337 ms ok 64 + create_type 203 ms ok 65 + create_schema 217 ms # parallel group (5 tests): index_including_gist index_including create_view create_index_spgist create_index ok 66 + create_index 2483 ms ok 67 + create_index_spgist 2366 ms ok 68 + create_view 1065 ms ok 69 + index_including 803 ms ok 70 + index_including_gist 789 ms # parallel group (16 tests): create_cast errors roleattributes hash_func create_aggregate drop_if_exists create_am typed_table select create_function_sql infinite_recurse constraints vacuum updatable_views inherit triggers ok 71 + create_aggregate 257 ms ok 72 + create_function_sql 566 ms ok 73 + create_cast 85 ms ok 74 + constraints 1513 ms ok 75 + triggers 5401 ms ok 76 + select 476 ms ok 77 + inherit 3938 ms ok 78 + typed_table 429 ms ok 79 + vacuum 1539 ms ok 80 + drop_if_exists 266 ms ok 81 + updatable_views 2339 ms ok 82 + roleattributes 205 ms ok 83 + create_am 399 ms ok 84 + hash_func 215 ms ok 85 + errors 91 ms ok 86 + infinite_recurse 783 ms ok 87 - sanity_check 409 ms # parallel group (20 tests): select_distinct_on select_having delete namespace random select_implicit case select_into prepared_xacts transactions union portals select_distinct arrays subselect update hash_index aggregates join btree_index ok 88 + select_into 335 ms ok 89 + select_distinct 937 ms ok 90 + select_distinct_on 211 ms ok 91 + select_implicit 297 ms ok 92 + select_having 222 ms ok 93 + subselect 1644 ms ok 94 + union 746 ms ok 95 + case 323 ms ok 96 + join 5053 ms ok 97 + aggregates 4716 ms ok 98 + transactions 719 ms ok 99 + random 287 ms ok 100 + portals 753 ms ok 101 + arrays 1263 ms ok 102 + btree_index 5479 ms ok 103 + hash_index 3060 ms ok 104 + update 2952 ms ok 105 + delete 231 ms ok 106 + namespace 238 ms ok 107 + prepared_xacts 429 ms # parallel group (20 tests): init_privs drop_operator security_label password lock tablesample object_address replica_identity collate matview identity spgist groupingsets generated gist rowsecurity gin brin join_hash privileges ok 108 + brin 10939 ms ok 109 + gin 4472 ms ok 110 + gist 3897 ms ok 111 + spgist 3267 ms ok 112 + privileges 11703 ms ok 113 + init_privs 128 ms ok 114 + security_label 310 ms ok 115 + collate 1270 ms ok 116 + matview 2265 ms ok 117 + lock 401 ms ok 118 + replica_identity 1181 ms ok 119 + rowsecurity 4126 ms ok 120 + object_address 499 ms ok 121 + tablesample 463 ms ok 122 + groupingsets 3628 ms ok 123 + drop_operator 178 ms ok 124 + password 339 ms ok 125 + identity 2436 ms ok 126 + generated 3724 ms ok 127 + join_hash 10985 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 153 ms ok 129 + brin_multi 955 ms # parallel group (17 tests): async dbsize tid alter_operator tsrf create_role tidscan sysviews misc_functions tidrangescan alter_generic without_overlaps incremental_sort create_table_like collate.icu.utf8 merge misc ok 130 + create_table_like 1047 ms ok 131 + alter_generic 499 ms ok 132 + alter_operator 198 ms ok 133 + misc 1228 ms ok 134 + async 65 ms ok 135 + dbsize 70 ms ok 136 + merge 1190 ms ok 137 + misc_functions 345 ms ok 138 + sysviews 308 ms ok 139 + tsrf 204 ms ok 140 + tid 163 ms ok 141 + tidscan 245 ms ok 142 + tidrangescan 350 ms ok 143 + collate.icu.utf8 1156 ms ok 144 + incremental_sort 827 ms ok 145 + create_role 207 ms ok 146 + without_overlaps 685 ms # parallel group (7 tests): collate.linux.utf8 collate.windows.win1252 amutils psql_crosstab rules psql stats_ext ok 147 + rules 840 ms ok 148 + psql 1382 ms ok 149 + psql_crosstab 94 ms ok 150 + amutils 83 ms ok 151 + stats_ext 3111 ms ok 152 + collate.linux.utf8 27 ms ok 153 + collate.windows.win1252 51 ms ok 154 - select_parallel 6286 ms ok 155 - write_parallel 231 ms ok 156 - vacuum_parallel 318 ms # parallel group (2 tests): subscription publication ok 157 + publication 2335 ms ok 158 + subscription 103 ms # parallel group (17 tests): advisory_lock combocid portals_p2 xmlmap guc tsdicts functional_deps equivclass dependency select_views cluster bitmapops indirect_toast window tsearch foreign_data foreign_key ok 159 + select_views 589 ms ok 160 + portals_p2 126 ms ok 161 + foreign_key 2820 ms ok 162 + cluster 982 ms ok 163 + dependency 360 ms ok 164 + guc 265 ms ok 165 + bitmapops 1075 ms ok 166 + combocid 115 ms ok 167 + tsearch 1903 ms ok 168 + tsdicts 271 ms ok 169 + foreign_data 2170 ms ok 170 + window 1180 ms ok 171 + xmlmap 199 ms ok 172 + functional_deps 326 ms ok 173 + advisory_lock 96 ms ok 174 + indirect_toast 1153 ms ok 175 + equivclass 354 ms # parallel group (7 tests): jsonpath_encoding json_encoding jsonpath sqljson jsonb_jsonpath json jsonb ok 176 + json 332 ms ok 177 + jsonb 665 ms ok 178 + json_encoding 42 ms ok 179 + jsonpath 115 ms ok 180 + jsonpath_encoding 32 ms ok 181 + jsonb_jsonpath 281 ms ok 182 + sqljson 185 ms # parallel group (18 tests): prepare returning conversion plancache limit copy2 temp rowtypes truncate sequence largeobject polymorphism rangefuncs domain with xml plpgsql alter_table ok 183 + plancache 517 ms ok 184 + limit 526 ms ok 185 + plpgsql 3092 ms ok 186 + copy2 642 ms ok 187 + temp 730 ms ok 188 + domain 1364 ms ok 189 + rangefuncs 1176 ms ok 190 + prepare 156 ms ok 191 + conversion 385 ms ok 192 + truncate 930 ms not ok 193 + alter_table 3702 ms ok 194 + sequence 934 ms ok 195 + polymorphism 960 ms ok 196 + rowtypes 918 ms ok 197 + returning 326 ms ok 198 + largeobject 938 ms ok 199 + with 1401 ms ok 200 + xml 2012 ms # parallel group (13 tests): hash_part predicate reloptions partition_info explain compression memoize stats partition_aggregate tuplesort partition_join indexing partition_prune ok 201 + partition_join 2904 ms ok 202 + partition_prune 3281 ms ok 203 + reloptions 270 ms ok 204 + hash_part 102 ms ok 205 + indexing 3038 ms ok 206 + partition_aggregate 2585 ms ok 207 + partition_info 320 ms ok 208 + tuplesort 2822 ms ok 209 + explain 333 ms ok 210 + compression 716 ms ok 211 + memoize 917 ms ok 212 + stats 1777 ms ok 213 + predicate 151 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 602 ms ok 215 + event_trigger 730 ms ok 216 - event_trigger_login 92 ms ok 217 - fast_default 273 ms ok 218 - tablespace 716 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-02 19:37:09.820804124 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/alter_table.out 2024-03-02 19:41:18.784658853 +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 +-------+------------+---------------+-------------+---------------------- + 36936 | | 0 | 36936 | users_id_seq + 36944 | | 0 | 36944 | pg_toast_36937 + 36945 | | 0 | 36945 | pg_toast_36937_index + 36937 | | 0 | 36937 | users + 37197 | | 0 | 37197 | foo + 37409 | | 0 | 37409 | forc_test + 37717 | | 0 | 37717 | pg_toast_37714 + 37718 | | 0 | 37718 | pg_toast_37714_index + 37714 | | 0 | 37714 | rtype + 36402 | | 0 | 36402 | pktable_pkey + 36399 | | 0 | 36399 | pktable + 36404 | | 0 | 36404 | fktable + 37116 | | 0 | 37127 | foo + 37131 | | 0 | 37131 | pg_toast_37116_index + 37130 | | 0 | 37130 | pg_toast_37116 + 37340 | | 0 | 37340 | old_oids + 37357 | | 0 | 37357 | pg_toast_37354 + 37358 | | 0 | 37358 | pg_toast_37354_index + 37354 | | 0 | 37354 | recur2 + 37349 | | 0 | 37349 | recur1 +(20 rows) -- Checks on creating and manipulation of user defined relations in -- pg_catalog. === EOF === [19:41:24.196](61.626s) not ok 2 - regression tests pass [19:41:24.196](0.000s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [19:41:24.196](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 3 4 3 4 4 1 4001 32 1 1 1 6 104 2 1 5 1006 1 2 41 5 17 -2 33 34 9 1 1 1 1 -1 1 1 -1 -32768 32767 1 46 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/146F02F8 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 49817 --no-unlogged-table-data [19:41:26.453](2.257s) 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 49818 [19:41:29.108](2.655s) 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 [19:41:29.148](0.040s) ok 5 - compare primary and standby dumps [19:41:29.346](0.197s) 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" [19:41:29.575](0.229s) 1..6 [19:41:29.576](0.001s) # Looks like you failed 1 test of 6.