# Checking port 53734 # Found port 53734 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=53734 host=/tmp/dCgJgPJm07 Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [23:50:10.132](0.039s) # 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 27378 (standby_1,) [23:50:10.530](0.398s) 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/dCgJgPJm07 -p 53734 --checkpoint fast --no-sync # Backup finished # Checking port 53735 # Found port 53735 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=53735 host=/tmp/dCgJgPJm07 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 27554 # using postmaster on /tmp/dCgJgPJm07, port 53734 ok 1 - test_setup 1019 ms # parallel group (20 tests): varchar pg_lsn name int4 text txid oid money int2 regproc char uuid float4 int8 float8 enum boolean bit rangetypes numeric ok 2 + boolean 477 ms ok 3 + char 226 ms ok 4 + name 173 ms ok 5 + varchar 127 ms ok 6 + text 181 ms ok 7 + int2 206 ms ok 8 + int4 175 ms ok 9 + int8 292 ms ok 10 + oid 190 ms ok 11 + float4 259 ms ok 12 + float8 297 ms ok 13 + bit 506 ms ok 14 + numeric 1953 ms ok 15 + txid 187 ms ok 16 + uuid 229 ms ok 17 + enum 382 ms ok 18 + money 203 ms ok 19 + rangetypes 1274 ms ok 20 + pg_lsn 145 ms ok 21 + regproc 221 ms # parallel group (20 tests): macaddr lseg path md5 circle time line timetz macaddr8 date numerology inet interval point timestamp timestamptz strings polygon box multirangetypes ok 22 + strings 720 ms ok 23 + md5 117 ms ok 24 + numerology 239 ms ok 25 + point 568 ms ok 26 + lseg 94 ms ok 27 + line 150 ms ok 28 + box 1421 ms ok 29 + path 100 ms ok 30 + polygon 1142 ms ok 31 + circle 123 ms ok 32 + date 233 ms ok 33 + time 141 ms ok 34 + timetz 218 ms ok 35 + timestamp 568 ms ok 36 + timestamptz 672 ms ok 37 + interval 546 ms ok 38 + inet 418 ms ok 39 + macaddr 81 ms ok 40 + macaddr8 224 ms ok 41 + multirangetypes 1490 ms # parallel group (12 tests): unicode comments misc_sanity xid tstypes expressions mvcc type_sanity geometry horology regex opr_sanity ok 42 + geometry 526 ms ok 43 + horology 576 ms ok 44 + tstypes 197 ms ok 45 + regex 974 ms ok 46 + type_sanity 440 ms ok 47 + opr_sanity 1180 ms ok 48 + misc_sanity 99 ms ok 49 + comments 83 ms ok 50 + expressions 269 ms ok 51 + unicode 39 ms ok 52 + xid 167 ms ok 53 + mvcc 286 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 379 ms ok 55 + copyselect 73 ms ok 56 + copydml 125 ms ok 57 + insert 1328 ms ok 58 + insert_conflict 563 ms # parallel group (7 tests): create_function_c create_operator create_misc create_procedure create_type create_schema create_table ok 59 + create_function_c 50 ms ok 60 + create_misc 187 ms ok 61 + create_operator 50 ms ok 62 + create_procedure 188 ms ok 63 + create_table 1354 ms ok 64 + create_type 203 ms ok 65 + create_schema 207 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 3284 ms ok 67 + create_index_spgist 2331 ms ok 68 + create_view 1227 ms ok 69 + index_including 573 ms ok 70 + index_including_gist 973 ms # parallel group (16 tests): errors create_cast roleattributes create_aggregate hash_func drop_if_exists typed_table create_function_sql create_am select infinite_recurse vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 257 ms ok 72 + create_function_sql 860 ms ok 73 + create_cast 185 ms ok 74 + constraints 2772 ms ok 75 + triggers 7110 ms ok 76 + select 928 ms ok 77 + inherit 4555 ms ok 78 + typed_table 693 ms ok 79 + vacuum 2146 ms ok 80 + drop_if_exists 500 ms ok 81 + updatable_views 3861 ms ok 82 + roleattributes 189 ms ok 83 + create_am 892 ms ok 84 + hash_func 264 ms ok 85 + errors 119 ms ok 86 + infinite_recurse 997 ms ok 87 - sanity_check 239 ms # parallel group (20 tests): delete select_having select_distinct_on select_implicit case select_into namespace prepared_xacts random transactions portals select_distinct union arrays subselect hash_index update join aggregates btree_index ok 88 + select_into 500 ms ok 89 + select_distinct 1432 ms ok 90 + select_distinct_on 227 ms ok 91 + select_implicit 288 ms ok 92 + select_having 206 ms ok 93 + subselect 1843 ms ok 94 + union 1517 ms ok 95 + case 315 ms ok 96 + join 4383 ms ok 97 + aggregates 4612 ms ok 98 + transactions 917 ms ok 99 + random 643 ms ok 100 + portals 944 ms ok 101 + arrays 1521 ms ok 102 + btree_index 6276 ms ok 103 + hash_index 2753 ms ok 104 + update 2994 ms ok 105 + delete 178 ms ok 106 + namespace 506 ms ok 107 + prepared_xacts 542 ms # parallel group (20 tests): init_privs drop_operator security_label password lock tablesample object_address collate replica_identity identity matview groupingsets spgist generated rowsecurity gin gist brin join_hash privileges ok 108 + brin 9515 ms ok 109 + gin 3983 ms ok 110 + gist 4076 ms ok 111 + spgist 3589 ms ok 112 + privileges 10239 ms ok 113 + init_privs 86 ms ok 114 + security_label 178 ms ok 115 + collate 1426 ms ok 116 + matview 2717 ms ok 117 + lock 453 ms ok 118 + replica_identity 1515 ms ok 119 + rowsecurity 3977 ms ok 120 + object_address 559 ms ok 121 + tablesample 544 ms ok 122 + groupingsets 3448 ms ok 123 + drop_operator 139 ms ok 124 + password 374 ms ok 125 + identity 2592 ms ok 126 + generated 3791 ms ok 127 + join_hash 9541 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 289 ms ok 129 + brin_multi 1026 ms # parallel group (18 tests): dbsize async collate.utf8 tid tsrf alter_operator tidscan create_role sysviews tidrangescan misc_functions alter_generic incremental_sort merge misc create_table_like collate.icu.utf8 without_overlaps ok 130 + create_table_like 1394 ms ok 131 + alter_generic 482 ms ok 132 + alter_operator 230 ms ok 133 + misc 1328 ms ok 134 + async 103 ms ok 135 + dbsize 83 ms ok 136 + merge 1177 ms ok 137 + misc_functions 449 ms ok 138 + sysviews 363 ms ok 139 + tsrf 222 ms ok 140 + tid 195 ms ok 141 + tidscan 246 ms ok 142 + tidrangescan 387 ms ok 143 + collate.utf8 118 ms ok 144 + collate.icu.utf8 1443 ms ok 145 + incremental_sort 833 ms ok 146 + create_role 299 ms ok 147 + without_overlaps 1683 ms # parallel group (7 tests): collate.linux.utf8 collate.windows.win1252 amutils psql_crosstab psql rules stats_ext ok 148 + rules 1292 ms ok 149 + psql 1187 ms ok 150 + psql_crosstab 101 ms ok 151 + amutils 63 ms ok 152 + stats_ext 2580 ms ok 153 + collate.linux.utf8 41 ms ok 154 + collate.windows.win1252 44 ms ok 155 - select_parallel 6706 ms ok 156 - write_parallel 233 ms ok 157 - vacuum_parallel 321 ms # parallel group (2 tests): subscription publication ok 158 + publication 2187 ms ok 159 + subscription 163 ms # parallel group (17 tests): portals_p2 advisory_lock combocid xmlmap functional_deps tsdicts equivclass guc dependency select_views indirect_toast bitmapops window cluster foreign_data tsearch foreign_key ok 160 + select_views 604 ms ok 161 + portals_p2 137 ms ok 162 + foreign_key 2914 ms ok 163 + cluster 1275 ms ok 164 + dependency 364 ms ok 165 + guc 327 ms ok 166 + bitmapops 1170 ms ok 167 + combocid 183 ms ok 168 + tsearch 2424 ms ok 169 + tsdicts 301 ms ok 170 + foreign_data 2262 ms ok 171 + window 1252 ms ok 172 + xmlmap 228 ms ok 173 + functional_deps 289 ms ok 174 + advisory_lock 166 ms ok 175 + indirect_toast 1098 ms ok 176 + equivclass 306 ms # parallel group (8 tests): jsonpath_encoding json_encoding jsonpath sqljson json sqljson_queryfuncs jsonb_jsonpath jsonb ok 177 + json 325 ms ok 178 + jsonb 638 ms ok 179 + json_encoding 85 ms ok 180 + jsonpath 122 ms ok 181 + jsonpath_encoding 55 ms ok 182 + jsonb_jsonpath 397 ms ok 183 + sqljson 198 ms ok 184 + sqljson_queryfuncs 330 ms # parallel group (18 tests): prepare returning plancache limit conversion temp sequence copy2 polymorphism rowtypes truncate largeobject with domain rangefuncs xml plpgsql alter_table ok 185 + plancache 466 ms ok 186 + limit 575 ms ok 187 + plpgsql 2857 ms ok 188 + copy2 873 ms ok 189 + temp 775 ms ok 190 + domain 1479 ms ok 191 + rangefuncs 1613 ms ok 192 + prepare 206 ms ok 193 + conversion 595 ms ok 194 + truncate 1086 ms not ok 195 + alter_table 3953 ms ok 196 + sequence 811 ms ok 197 + polymorphism 984 ms ok 198 + rowtypes 1063 ms ok 199 + returning 258 ms ok 200 + largeobject 1088 ms ok 201 + with 1219 ms ok 202 + xml 1970 ms # parallel group (13 tests): hash_part partition_info explain reloptions predicate compression memoize stats partition_aggregate tuplesort partition_join indexing partition_prune ok 203 + partition_join 2906 ms ok 204 + partition_prune 3626 ms ok 205 + reloptions 229 ms ok 206 + hash_part 65 ms ok 207 + indexing 3150 ms ok 208 + partition_aggregate 2321 ms ok 209 + partition_info 133 ms ok 210 + tuplesort 2542 ms ok 211 + explain 199 ms ok 212 + compression 727 ms ok 213 + memoize 1172 ms ok 214 + stats 1721 ms ok 215 + predicate 256 ms # parallel group (2 tests): oidjoins event_trigger ok 216 + oidjoins 717 ms ok 217 + event_trigger 845 ms ok 218 - event_trigger_login 47 ms ok 219 - fast_default 291 ms ok 220 - tablespace 680 ms 1..220 # 1 of 220 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-02 23:46:36.190432239 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/alter_table.out 2024-04-02 23:51:11.414195848 +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 +-------+------------+---------------+-------------+---------------------- + 37606 | | 0 | 37606 | pktable_pkey + 37603 | | 0 | 37603 | pktable + 37609 | | 0 | 37609 | fktable + 38132 | | 0 | 38137 | foo + 38141 | | 0 | 38141 | pg_toast_38132_index + 38140 | | 0 | 38140 | pg_toast_38132 + 38352 | | 0 | 38352 | old_oids + 38372 | | 0 | 38372 | pg_toast_38369 + 38373 | | 0 | 38373 | pg_toast_38369_index + 38369 | | 0 | 38369 | recur2 + 38364 | | 0 | 38364 | recur1 +(11 rows) -- Checks on creating and manipulation of user defined relations in -- pg_catalog. === EOF === [23:51:17.122](66.592s) not ok 2 - regression tests pass [23:51:17.123](0.000s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [23:51:17.123](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 1006 4001 1 2 41 -2 5 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/1481D958 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 53734 --no-unlogged-table-data [23:51:19.860](2.737s) 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 53735 [23:51:22.509](2.648s) 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 [23:51:22.544](0.035s) ok 5 - compare primary and standby dumps [23:51:22.730](0.186s) 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" [23:51:22.957](0.227s) 1..6 [23:51:22.959](0.002s) # Looks like you failed 1 test of 6.