# Checking port 58277 # Found port 58277 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=58277 host=/tmp/5TAOYQSbTX Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [16:35:45.679](0.019s) # 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 11006 (standby_1,) [16:35:45.886](0.207s) 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/5TAOYQSbTX -p 58277 --checkpoint fast --no-sync # Backup finished # Checking port 58278 # Found port 58278 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=58278 host=/tmp/5TAOYQSbTX 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 11071 # using postmaster on /tmp/5TAOYQSbTX, port 58277 ok 1 - test_setup 457 ms # parallel group (20 tests): txid varchar char pg_lsn text oid name int4 int2 regproc uuid money float4 boolean int8 float8 bit enum rangetypes numeric ok 2 + boolean 299 ms ok 3 + char 122 ms ok 4 + name 176 ms ok 5 + varchar 119 ms ok 6 + text 165 ms ok 7 + int2 238 ms ok 8 + int4 235 ms ok 9 + int8 354 ms ok 10 + oid 173 ms ok 11 + float4 297 ms ok 12 + float8 407 ms ok 13 + bit 429 ms ok 14 + numeric 1262 ms ok 15 + txid 115 ms ok 16 + uuid 241 ms ok 17 + enum 456 ms ok 18 + money 259 ms ok 19 + rangetypes 986 ms ok 20 + pg_lsn 154 ms ok 21 + regproc 239 ms # parallel group (20 tests): md5 lseg path circle time point line numerology macaddr timetz macaddr8 date inet polygon box timestamp strings interval timestamptz multirangetypes ok 22 + strings 694 ms ok 23 + md5 62 ms ok 24 + numerology 202 ms ok 25 + point 172 ms ok 26 + lseg 87 ms ok 27 + line 174 ms ok 28 + box 524 ms ok 29 + path 89 ms ok 30 + polygon 462 ms ok 31 + circle 95 ms ok 32 + date 370 ms ok 33 + time 143 ms ok 34 + timetz 210 ms ok 35 + timestamp 595 ms ok 36 + timestamptz 719 ms ok 37 + interval 711 ms ok 38 + inet 408 ms ok 39 + macaddr 202 ms ok 40 + macaddr8 239 ms ok 41 + multirangetypes 856 ms # parallel group (12 tests): comments unicode misc_sanity mvcc xid expressions type_sanity regex tstypes geometry horology opr_sanity ok 42 + geometry 354 ms ok 43 + horology 401 ms ok 44 + tstypes 351 ms ok 45 + regex 332 ms ok 46 + type_sanity 300 ms ok 47 + opr_sanity 514 ms ok 48 + misc_sanity 70 ms ok 49 + comments 28 ms ok 50 + expressions 239 ms ok 51 + unicode 61 ms ok 52 + xid 170 ms ok 53 + mvcc 127 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 191 ms ok 55 + copyselect 100 ms ok 56 + copydml 118 ms ok 57 + insert 1962 ms ok 58 + insert_conflict 490 ms # parallel group (7 tests): create_function_c create_operator create_schema create_misc create_type create_procedure create_table ok 59 + create_function_c 55 ms ok 60 + create_misc 215 ms ok 61 + create_operator 94 ms ok 62 + create_procedure 230 ms ok 63 + create_table 1094 ms ok 64 + create_type 219 ms ok 65 + create_schema 136 ms # parallel group (5 tests): index_including index_including_gist create_index_spgist create_view create_index ok 66 + create_index 3468 ms ok 67 + create_index_spgist 1472 ms ok 68 + create_view 2334 ms ok 69 + index_including 949 ms ok 70 + index_including_gist 984 ms # parallel group (16 tests): hash_func create_cast errors infinite_recurse roleattributes create_aggregate select typed_table drop_if_exists create_am create_function_sql vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 447 ms ok 72 + create_function_sql 1100 ms ok 73 + create_cast 244 ms ok 74 + constraints 3375 ms ok 75 + triggers 7013 ms ok 76 + select 466 ms ok 77 + inherit 6435 ms ok 78 + typed_table 476 ms ok 79 + vacuum 2034 ms ok 80 + drop_if_exists 663 ms ok 81 + updatable_views 5964 ms ok 82 + roleattributes 425 ms ok 83 + create_am 687 ms ok 84 + hash_func 157 ms ok 85 + errors 254 ms ok 86 + infinite_recurse 408 ms ok 87 - sanity_check 147 ms # parallel group (20 tests): select_distinct_on delete select_implicit select_having random case namespace prepared_xacts select_distinct select_into union portals transactions subselect arrays hash_index update aggregates btree_index join ok 88 + select_into 545 ms ok 89 + select_distinct 481 ms ok 90 + select_distinct_on 84 ms ok 91 + select_implicit 225 ms ok 92 + select_having 228 ms ok 93 + subselect 1127 ms ok 94 + union 701 ms ok 95 + case 342 ms ok 96 + join 4238 ms ok 97 + aggregates 3392 ms ok 98 + transactions 1051 ms ok 99 + random 303 ms ok 100 + portals 780 ms ok 101 + arrays 1324 ms ok 102 + btree_index 3760 ms ok 103 + hash_index 1638 ms ok 104 + update 2287 ms ok 105 + delete 91 ms ok 106 + namespace 455 ms ok 107 + prepared_xacts 473 ms # parallel group (20 tests): init_privs drop_operator security_label password tablesample object_address lock collate replica_identity groupingsets identity gin spgist gist matview rowsecurity join_hash brin generated privileges ok 108 + brin 3907 ms ok 109 + gin 2811 ms ok 110 + gist 3286 ms ok 111 + spgist 3219 ms ok 112 + privileges 5487 ms ok 113 + init_privs 73 ms ok 114 + security_label 287 ms ok 115 + collate 1634 ms ok 116 + matview 3624 ms ok 117 + lock 1396 ms ok 118 + replica_identity 1866 ms ok 119 + rowsecurity 3826 ms ok 120 + object_address 1388 ms ok 121 + tablesample 700 ms ok 122 + groupingsets 2286 ms ok 123 + drop_operator 193 ms ok 124 + password 596 ms ok 125 + identity 2305 ms ok 126 + generated 4984 ms ok 127 + join_hash 3853 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 497 ms ok 129 + brin_multi 1188 ms # parallel group (18 tests): async dbsize collate.utf8 sysviews tidrangescan tidscan tsrf tid alter_operator misc misc_functions incremental_sort create_role alter_generic collate.icu.utf8 create_table_like merge without_overlaps ok 130 + create_table_like 1709 ms ok 131 + alter_generic 1205 ms ok 132 + alter_operator 395 ms ok 133 + misc 482 ms ok 134 + async 65 ms ok 135 + dbsize 96 ms ok 136 + merge 1837 ms ok 137 + misc_functions 510 ms ok 138 + sysviews 243 ms ok 139 + tsrf 306 ms ok 140 + tid 385 ms ok 141 + tidscan 270 ms ok 142 + tidrangescan 255 ms ok 143 + collate.utf8 172 ms ok 144 + collate.icu.utf8 1586 ms ok 145 + incremental_sort 564 ms ok 146 + create_role 575 ms ok 147 + without_overlaps 2477 ms # parallel group (7 tests): collate.linux.utf8 collate.windows.win1252 psql_crosstab amutils psql rules stats_ext ok 148 + rules 2267 ms ok 149 + psql 1663 ms ok 150 + psql_crosstab 76 ms ok 151 + amutils 96 ms ok 152 + stats_ext 3283 ms ok 153 + collate.linux.utf8 14 ms ok 154 + collate.windows.win1252 19 ms ok 155 - select_parallel 1614 ms ok 156 - write_parallel 221 ms ok 157 - vacuum_parallel 103 ms # parallel group (2 tests): subscription publication ok 158 + publication 1247 ms ok 159 + subscription 81 ms # parallel group (17 tests): advisory_lock portals_p2 combocid xmlmap guc tsdicts select_views equivclass functional_deps dependency indirect_toast bitmapops window tsearch cluster foreign_data foreign_key ok 160 + select_views 405 ms ok 161 + portals_p2 222 ms ok 162 + foreign_key 5596 ms ok 163 + cluster 1713 ms ok 164 + dependency 517 ms ok 165 + guc 377 ms ok 166 + bitmapops 819 ms ok 167 + combocid 299 ms ok 168 + tsearch 1312 ms ok 169 + tsdicts 389 ms ok 170 + foreign_data 2699 ms ok 171 + window 1047 ms ok 172 + xmlmap 309 ms ok 173 + functional_deps 446 ms ok 174 + advisory_lock 166 ms ok 175 + indirect_toast 553 ms ok 176 + equivclass 436 ms # parallel group (9 tests): json_encoding jsonpath_encoding jsonpath sqljson sqljson_jsontable json jsonb_jsonpath sqljson_queryfuncs jsonb ok 177 + json 288 ms ok 178 + jsonb 583 ms ok 179 + json_encoding 56 ms ok 180 + jsonpath 135 ms ok 181 + jsonpath_encoding 66 ms ok 182 + jsonb_jsonpath 343 ms ok 183 + sqljson 194 ms ok 184 + sqljson_queryfuncs 366 ms ok 185 + sqljson_jsontable 205 ms # parallel group (18 tests): prepare returning conversion limit plancache temp copy2 largeobject sequence rowtypes with xml truncate polymorphism rangefuncs domain plpgsql alter_table ok 186 + plancache 507 ms ok 187 + limit 486 ms ok 188 + plpgsql 2791 ms ok 189 + copy2 981 ms ok 190 + temp 915 ms ok 191 + domain 1420 ms ok 192 + rangefuncs 1384 ms ok 193 + prepare 201 ms ok 194 + conversion 469 ms ok 195 + truncate 1184 ms not ok 196 + alter_table 6402 ms ok 197 + sequence 1053 ms ok 198 + polymorphism 1213 ms ok 199 + rowtypes 1067 ms ok 200 + returning 380 ms ok 201 + largeobject 988 ms ok 202 + with 1099 ms ok 203 + xml 1149 ms # parallel group (15 tests): hash_part predicate reloptions explain partition_info memoize compression partition_merge partition_aggregate tuplesort stats partition_split partition_prune partition_join indexing ok 204 + partition_merge 1715 ms ok 205 + partition_split 2627 ms ok 206 + partition_join 4457 ms ok 207 + partition_prune 4010 ms ok 208 + reloptions 301 ms ok 209 + hash_part 253 ms ok 210 + indexing 4673 ms ok 211 + partition_aggregate 1831 ms ok 212 + partition_info 469 ms ok 213 + tuplesort 1850 ms ok 214 + explain 350 ms ok 215 + compression 1014 ms ok 216 + memoize 595 ms ok 217 + stats 2020 ms ok 218 + predicate 277 ms # parallel group (2 tests): oidjoins event_trigger ok 219 + oidjoins 367 ms ok 220 + event_trigger 504 ms ok 221 - event_trigger_login 31 ms ok 222 - fast_default 478 ms ok 223 - tablespace 954 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-04-25 16:34:40.518274000 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/alter_table.out 2024-04-25 16:36:36.395555000 +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 +-------+------------+---------------+-------------+---------------------- + 37820 | | 0 | 37820 | pktable_pkey + 37817 | | 0 | 37817 | pktable + 37822 | | 0 | 37822 | fktable + 38366 | | 0 | 38372 | foo + 38376 | | 0 | 38376 | pg_toast_38366_index + 38375 | | 0 | 38375 | pg_toast_38366 + 38603 | | 0 | 38603 | old_oids + 38620 | | 0 | 38620 | pg_toast_38617 + 38621 | | 0 | 38621 | pg_toast_38617_index + 38617 | | 0 | 38617 | recur2 + 38612 | | 0 | 38612 | recur1 +(11 rows) -- Checks on creating and manipulation of user defined relations in -- pg_catalog. === EOF === [16:36:43.137](57.251s) not ok 2 - regression tests pass [16:36:43.138](0.001s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [16:36:43.138](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 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 1 41 5 17 33 34 -2 1 1 1 1 -1 1 1 -1 -32768 32767 46 9 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/148E6808 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 58277 --no-unlogged-table-data [16:36:45.014](1.876s) 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 58278 [16:36:46.518](1.504s) 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 [16:36:46.529](0.010s) ok 5 - compare primary and standby dumps [16:36:46.669](0.140s) 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" [16:36:46.879](0.210s) 1..6 [16:36:46.882](0.003s) # Looks like you failed 1 test of 6.