# Checking port 57350 # Found port 57350 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=57350 host=/tmp/WiK8O9A87M Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [06:17:04.710](0.012s) # 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 14062 (standby_1,) [06:17:05.149](0.439s) 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/WiK8O9A87M -p 57350 --checkpoint fast --no-sync # Backup finished # Checking port 57351 # Found port 57351 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=57351 host=/tmp/WiK8O9A87M 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 14096 # using postmaster on /tmp/WiK8O9A87M, port 57350 ok 1 - test_setup 375 ms # parallel group (20 tests): varchar oid char pg_lsn name txid text money int2 uuid int4 boolean float8 regproc bit float4 int8 enum rangetypes numeric ok 2 + boolean 159 ms ok 3 + char 96 ms ok 4 + name 98 ms ok 5 + varchar 85 ms ok 6 + text 132 ms ok 7 + int2 137 ms ok 8 + int4 147 ms ok 9 + int8 214 ms ok 10 + oid 87 ms ok 11 + float4 185 ms ok 12 + float8 166 ms ok 13 + bit 174 ms ok 14 + numeric 648 ms ok 15 + txid 103 ms ok 16 + uuid 137 ms ok 17 + enum 380 ms ok 18 + money 134 ms ok 19 + rangetypes 599 ms ok 20 + pg_lsn 95 ms ok 21 + regproc 168 ms # parallel group (20 tests): circle line md5 point path lseg date time timetz macaddr8 macaddr numerology timestamp inet interval timestamptz polygon box strings multirangetypes ok 22 + strings 1547 ms ok 23 + md5 113 ms ok 24 + numerology 1062 ms ok 25 + point 236 ms ok 26 + lseg 277 ms ok 27 + line 112 ms ok 28 + box 1511 ms ok 29 + path 263 ms ok 30 + polygon 1492 ms ok 31 + circle 77 ms ok 32 + date 288 ms ok 33 + time 694 ms ok 34 + timetz 736 ms ok 35 + timestamp 1120 ms ok 36 + timestamptz 1431 ms ok 37 + interval 1263 ms ok 38 + inet 1126 ms ok 39 + macaddr 901 ms ok 40 + macaddr8 759 ms ok 41 + multirangetypes 1774 ms # parallel group (12 tests): comments misc_sanity unicode regex tstypes mvcc geometry type_sanity expressions xid horology opr_sanity ok 42 + geometry 406 ms ok 43 + horology 444 ms ok 44 + tstypes 339 ms ok 45 + regex 259 ms ok 46 + type_sanity 423 ms ok 47 + opr_sanity 720 ms ok 48 + misc_sanity 96 ms ok 49 + comments 28 ms ok 50 + expressions 434 ms ok 51 + unicode 101 ms ok 52 + xid 436 ms ok 53 + mvcc 363 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 54 + copy 267 ms ok 55 + copyselect 221 ms ok 56 + copydml 210 ms ok 57 + insert 1170 ms ok 58 + insert_conflict 776 ms # parallel group (7 tests): create_function_c create_operator create_schema create_procedure create_misc create_type create_table ok 59 + create_function_c 46 ms ok 60 + create_misc 102 ms ok 61 + create_operator 81 ms ok 62 + create_procedure 102 ms ok 63 + create_table 742 ms ok 64 + create_type 123 ms ok 65 + create_schema 102 ms # parallel group (5 tests): index_including_gist index_including create_view create_index_spgist create_index ok 66 + create_index 1634 ms ok 67 + create_index_spgist 1160 ms ok 68 + create_view 939 ms ok 69 + index_including 661 ms ok 70 + index_including_gist 442 ms # parallel group (16 tests): errors create_cast roleattributes infinite_recurse hash_func select create_aggregate drop_if_exists typed_table create_function_sql create_am vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 427 ms ok 72 + create_function_sql 1017 ms ok 73 + create_cast 194 ms ok 74 + constraints 2101 ms ok 75 + triggers 4087 ms ok 76 + select 413 ms ok 77 + inherit 3753 ms ok 78 + typed_table 743 ms ok 79 + vacuum 1277 ms ok 80 + drop_if_exists 442 ms ok 81 + updatable_views 3040 ms ok 82 + roleattributes 255 ms ok 83 + create_am 1028 ms ok 84 + hash_func 325 ms ok 85 + errors 122 ms ok 86 + infinite_recurse 307 ms ok 87 - sanity_check 1888 ms # parallel group (20 tests): select_distinct_on select_having select_implicit random delete namespace case prepared_xacts select_into select_distinct union transactions portals subselect arrays hash_index update aggregates join btree_index ok 88 + select_into 568 ms ok 89 + select_distinct 615 ms ok 90 + select_distinct_on 63 ms ok 91 + select_implicit 371 ms ok 92 + select_having 365 ms ok 93 + subselect 1768 ms ok 94 + union 904 ms ok 95 + case 517 ms ok 96 + join 3259 ms ok 97 + aggregates 2900 ms ok 98 + transactions 1495 ms ok 99 + random 374 ms ok 100 + portals 1617 ms ok 101 + arrays 1817 ms ok 102 + btree_index 3769 ms ok 103 + hash_index 2764 ms ok 104 + update 2899 ms ok 105 + delete 397 ms ok 106 + namespace 515 ms ok 107 + prepared_xacts 553 ms # parallel group (20 tests): init_privs drop_operator security_label password tablesample lock object_address groupingsets collate replica_identity spgist gin gist matview identity generated rowsecurity join_hash brin privileges ok 108 + brin 2417 ms ok 109 + gin 1583 ms ok 110 + gist 1671 ms ok 111 + spgist 1451 ms ok 112 + privileges 2670 ms ok 113 + init_privs 55 ms ok 114 + security_label 221 ms ok 115 + collate 1144 ms ok 116 + matview 1844 ms ok 117 + lock 804 ms ok 118 + replica_identity 1200 ms ok 119 + rowsecurity 2391 ms ok 120 + object_address 1034 ms ok 121 + tablesample 475 ms ok 122 + groupingsets 1101 ms ok 123 + drop_operator 140 ms ok 124 + password 396 ms ok 125 + identity 1880 ms ok 126 + generated 2334 ms ok 127 + join_hash 2406 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 121 ms ok 129 + brin_multi 609 ms # parallel group (17 tests): async dbsize sysviews tidrangescan tidscan tid tsrf alter_operator misc_functions misc incremental_sort create_role without_overlaps alter_generic merge collate.icu.utf8 create_table_like ok 130 + create_table_like 692 ms ok 131 + alter_generic 427 ms ok 132 + alter_operator 222 ms ok 133 + misc 284 ms ok 134 + async 34 ms ok 135 + dbsize 116 ms ok 136 + merge 622 ms ok 137 + misc_functions 264 ms ok 138 + sysviews 119 ms ok 139 + tsrf 221 ms ok 140 + tid 214 ms ok 141 + tidscan 181 ms ok 142 + tidrangescan 148 ms ok 143 + collate.icu.utf8 656 ms ok 144 + incremental_sort 311 ms ok 145 + create_role 315 ms ok 146 + without_overlaps 404 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab rules psql stats_ext ok 147 + rules 866 ms ok 148 + psql 923 ms ok 149 + psql_crosstab 50 ms ok 150 + amutils 29 ms ok 151 + stats_ext 1583 ms ok 152 + collate.linux.utf8 19 ms ok 153 + collate.windows.win1252 14 ms ok 154 - select_parallel 760 ms ok 155 - write_parallel 213 ms ok 156 - vacuum_parallel 81 ms # parallel group (2 tests): subscription publication ok 157 + publication 639 ms ok 158 + subscription 62 ms # parallel group (17 tests): portals_p2 advisory_lock xmlmap combocid tsdicts equivclass select_views functional_deps dependency guc indirect_toast bitmapops tsearch window cluster foreign_data foreign_key ok 159 + select_views 371 ms ok 160 + portals_p2 127 ms ok 161 + foreign_key 3660 ms ok 162 + cluster 949 ms ok 163 + dependency 406 ms ok 164 + guc 519 ms ok 165 + bitmapops 657 ms ok 166 + combocid 202 ms ok 167 + tsearch 840 ms ok 168 + tsdicts 273 ms ok 169 + foreign_data 1593 ms ok 170 + window 843 ms ok 171 + xmlmap 196 ms ok 172 + functional_deps 370 ms ok 173 + advisory_lock 128 ms ok 174 + indirect_toast 545 ms ok 175 + equivclass 363 ms # parallel group (7 tests): jsonpath_encoding json_encoding jsonpath sqljson json jsonb_jsonpath jsonb ok 176 + json 173 ms ok 177 + jsonb 372 ms ok 178 + json_encoding 33 ms ok 179 + jsonpath 71 ms ok 180 + jsonpath_encoding 27 ms ok 181 + jsonb_jsonpath 200 ms ok 182 + sqljson 114 ms # parallel group (18 tests): prepare returning conversion limit plancache temp rowtypes sequence truncate with largeobject copy2 xml polymorphism rangefuncs domain plpgsql alter_table ok 183 + plancache 563 ms ok 184 + limit 339 ms ok 185 + plpgsql 1727 ms ok 186 + copy2 1080 ms ok 187 + temp 716 ms ok 188 + domain 1178 ms ok 189 + rangefuncs 1128 ms ok 190 + prepare 122 ms ok 191 + conversion 330 ms ok 192 + truncate 943 ms not ok 193 + alter_table 3477 ms ok 194 + sequence 930 ms ok 195 + polymorphism 1117 ms ok 196 + rowtypes 837 ms ok 197 + returning 284 ms ok 198 + largeobject 1049 ms ok 199 + with 1011 ms ok 200 + xml 1116 ms # parallel group (13 tests): predicate hash_part explain reloptions partition_info memoize compression partition_aggregate tuplesort stats partition_prune partition_join indexing ok 201 + partition_join 1736 ms ok 202 + partition_prune 1639 ms ok 203 + reloptions 231 ms ok 204 + hash_part 114 ms ok 205 + indexing 1907 ms ok 206 + partition_aggregate 815 ms ok 207 + partition_info 300 ms ok 208 + tuplesort 979 ms ok 209 + explain 153 ms ok 210 + compression 633 ms ok 211 + memoize 444 ms ok 212 + stats 1231 ms ok 213 + predicate 74 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 281 ms ok 215 + event_trigger 327 ms ok 216 - event_trigger_login 27 ms ok 217 - fast_default 256 ms ok 218 - tablespace 605 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-11 06:14:32.132339000 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/alter_table.out 2024-03-11 06:17:38.022317000 +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 +-------+------------+---------------+-------------+---------------------- + 36766 | | 0 | 36766 | pktable_pkey + 36760 | | 0 | 36760 | pktable + 36769 | | 0 | 36769 | fktable + 37303 | | 0 | 37314 | foo + 37318 | | 0 | 37318 | pg_toast_37303_index + 37317 | | 0 | 37317 | pg_toast_37303 + 37604 | | 0 | 37604 | old_oids + 37621 | | 0 | 37621 | pg_toast_37618 + 37622 | | 0 | 37622 | pg_toast_37618_index + 37618 | | 0 | 37618 | recur2 + 37613 | | 0 | 37613 | recur1 +(11 rows) -- Checks on creating and manipulation of user defined relations in -- pg_catalog. === EOF === [06:17:41.187](36.039s) not ok 2 - regression tests pass [06:17:41.188](0.000s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [06:17:41.188](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 5 9 5 3 4001 4 3 4 4 1 32 1 1 1 41 6 104 2 1 5 1006 1 2 5 17 1 -2 33 34 1 1 1 1 1 -1 1 1 -1 -32768 32767 9 46 1 Waiting for replication conn standby_1's replay_lsn to pass 0/14100958 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 57350 --no-unlogged-table-data [06:17:42.933](1.745s) 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 57351 [06:17:44.093](1.160s) 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:17:44.106](0.013s) ok 5 - compare primary and standby dumps [06:17:44.219](0.113s) 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:17:44.429](0.210s) 1..6 [06:17:44.430](0.001s) # Looks like you failed 1 test of 6.