# Checking port 56196 # Found port 56196 Name: primary Data directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata Backup directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/backup Archive directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/archives Connection string: port=56196 host=/var/folders/xc/tpssff9959345bnqq4c6tlww0000gn/T/1qBkX1GIp7 Log file: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [07:09:37.791](0.033s) # initializing database system by copying initdb template # Running: cp -RPp /Users/admin/pgsql/build/tmp_install/initdb-template /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata # Running: /Users/admin/pgsql/build/src/test/regress/pg_regress --config-auth /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata ### Starting node "primary" # Running: pg_ctl -w -D /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata -l /Users/admin/pgsql/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 11521 (standby_1,) [07:09:38.360](0.569s) ok 1 - physical slot created on primary # Taking pg_basebackup my_backup from node "primary" # Running: pg_basebackup -D /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/backup/my_backup -h /var/folders/xc/tpssff9959345bnqq4c6tlww0000gn/T/1qBkX1GIp7 -p 56196 --checkpoint fast --no-sync # Backup finished # Checking port 56197 # Found port 56197 Name: standby_1 Data directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/pgdata Backup directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/backup Archive directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/archives Connection string: port=56197 host=/var/folders/xc/tpssff9959345bnqq4c6tlww0000gn/T/1qBkX1GIp7 Log file: /Users/admin/pgsql/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 /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/pgdata -l /Users/admin/pgsql/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 11631 # using postmaster on /var/folders/xc/tpssff9959345bnqq4c6tlww0000gn/T/1qBkX1GIp7, port 56196 ok 1 - test_setup 1780 ms # parallel group (20 tests): varchar name char oid txid pg_lsn boolean regproc text uuid int2 money float4 int4 bit float8 int8 enum rangetypes numeric ok 2 + boolean 1042 ms ok 3 + char 355 ms ok 4 + name 322 ms ok 5 + varchar 259 ms ok 6 + text 1207 ms ok 7 + int2 1278 ms ok 8 + int4 1584 ms ok 9 + int8 1955 ms ok 10 + oid 404 ms ok 11 + float4 1372 ms ok 12 + float8 1889 ms ok 13 + bit 1667 ms ok 14 + numeric 3099 ms ok 15 + txid 599 ms ok 16 + uuid 1194 ms ok 17 + enum 1940 ms ok 18 + money 1238 ms ok 19 + rangetypes 2609 ms ok 20 + pg_lsn 965 ms ok 21 + regproc 984 ms # parallel group (20 tests): md5 lseg path line time circle timetz macaddr point macaddr8 numerology date polygon timestamp inet box interval timestamptz strings multirangetypes ok 22 + strings 3946 ms ok 23 + md5 82 ms ok 24 + numerology 1685 ms ok 25 + point 1255 ms ok 26 + lseg 81 ms ok 27 + line 93 ms ok 28 + box 3707 ms ok 29 + path 87 ms ok 30 + polygon 3049 ms ok 31 + circle 1120 ms ok 32 + date 1737 ms ok 33 + time 1104 ms ok 34 + timetz 1172 ms ok 35 + timestamp 3072 ms ok 36 + timestamptz 3864 ms ok 37 + interval 3859 ms ok 38 + inet 3075 ms ok 39 + macaddr 1190 ms ok 40 + macaddr8 1368 ms ok 41 + multirangetypes 4093 ms # parallel group (12 tests): comments misc_sanity unicode expressions xid tstypes horology mvcc type_sanity geometry regex opr_sanity ok 42 + geometry 263 ms ok 43 + horology 234 ms ok 44 + tstypes 215 ms ok 45 + regex 505 ms ok 46 + type_sanity 248 ms ok 47 + opr_sanity 948 ms ok 48 + misc_sanity 120 ms ok 49 + comments 46 ms ok 50 + expressions 177 ms ok 51 + unicode 105 ms ok 52 + xid 184 ms ok 53 + mvcc 212 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 725 ms ok 55 + copyselect 608 ms ok 56 + copydml 626 ms ok 57 + insert 8476 ms ok 58 + insert_conflict 1983 ms # parallel group (7 tests): create_function_c create_schema create_operator create_procedure create_type create_misc create_table ok 59 + create_function_c 145 ms ok 60 + create_misc 2440 ms ok 61 + create_operator 2117 ms ok 62 + create_procedure 2313 ms ok 63 + create_table 4903 ms ok 64 + create_type 2319 ms ok 65 + create_schema 1919 ms # parallel group (5 tests): index_including_gist index_including create_index_spgist create_view create_index ok 66 + create_index 8943 ms ok 67 + create_index_spgist 2499 ms ok 68 + create_view 5684 ms ok 69 + index_including 1881 ms ok 70 + index_including_gist 1726 ms # parallel group (16 tests): errors create_cast infinite_recurse hash_func typed_table create_aggregate select roleattributes drop_if_exists create_am create_function_sql vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 1470 ms ok 72 + create_function_sql 2333 ms ok 73 + create_cast 339 ms ok 74 + constraints 6228 ms ok 75 + triggers 8416 ms ok 76 + select 1491 ms ok 77 + inherit 7695 ms ok 78 + typed_table 1436 ms ok 79 + vacuum 3306 ms ok 80 + drop_if_exists 1770 ms ok 81 + updatable_views 7663 ms ok 82 + roleattributes 1673 ms ok 83 + create_am 2297 ms ok 84 + hash_func 1414 ms ok 85 + errors 291 ms ok 86 + infinite_recurse 396 ms ok 87 - sanity_check 1108 ms # parallel group (20 tests): select_distinct_on delete select_having namespace select_implicit random prepared_xacts case select_into select_distinct hash_index transactions union btree_index portals subselect update arrays aggregates join ok 88 + select_into 2362 ms ok 89 + select_distinct 2533 ms ok 90 + select_distinct_on 645 ms ok 91 + select_implicit 1779 ms ok 92 + select_having 1316 ms ok 93 + subselect 5549 ms ok 94 + union 3437 ms ok 95 + case 2327 ms ok 96 + join 7309 ms ok 97 + aggregates 7233 ms ok 98 + transactions 3156 ms ok 99 + random 1978 ms ok 100 + portals 5480 ms ok 101 + arrays 5631 ms ok 102 + btree_index 3436 ms ok 103 + hash_index 3020 ms ok 104 + update 5604 ms ok 105 + delete 1201 ms ok 106 + namespace 1708 ms ok 107 + prepared_xacts 1957 ms # parallel group (20 tests): init_privs drop_operator tablesample security_label password object_address lock replica_identity spgist groupingsets collate gin gist matview identity generated join_hash brin rowsecurity privileges ok 108 + brin 8622 ms ok 109 + gin 3167 ms ok 110 + gist 3318 ms ok 111 + spgist 2762 ms ok 112 + privileges 12344 ms ok 113 + init_privs 533 ms ok 114 + security_label 1573 ms ok 115 + collate 2809 ms ok 116 + matview 4102 ms ok 117 + lock 2454 ms ok 118 + replica_identity 2462 ms ok 119 + rowsecurity 10573 ms ok 120 + object_address 2438 ms ok 121 + tablesample 668 ms ok 122 + groupingsets 2734 ms ok 123 + drop_operator 585 ms ok 124 + password 2194 ms ok 125 + identity 4295 ms ok 126 + generated 5380 ms ok 127 + join_hash 8560 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 577 ms ok 129 + brin_multi 1246 ms # parallel group (18 tests): async dbsize collate.utf8 sysviews tid tidrangescan tidscan alter_operator incremental_sort misc tsrf misc_functions create_role create_table_like alter_generic without_overlaps merge collate.icu.utf8 ok 130 + create_table_like 8683 ms ok 131 + alter_generic 9013 ms ok 132 + alter_operator 2020 ms ok 133 + misc 2065 ms ok 134 + async 267 ms ok 135 + dbsize 319 ms ok 136 + merge 9240 ms ok 137 + misc_functions 3833 ms ok 138 + sysviews 1285 ms ok 139 + tsrf 2139 ms ok 140 + tid 1737 ms ok 141 + tidscan 1773 ms ok 142 + tidrangescan 1746 ms ok 143 + collate.utf8 1048 ms ok 144 + collate.icu.utf8 9662 ms ok 145 + incremental_sort 2004 ms ok 146 + create_role 5008 ms ok 147 + without_overlaps 9105 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab psql rules stats_ext ok 148 + rules 3878 ms ok 149 + psql 3141 ms ok 150 + psql_crosstab 169 ms ok 151 + amutils 131 ms ok 152 + stats_ext 6260 ms ok 153 + collate.linux.utf8 68 ms ok 154 + collate.windows.win1252 67 ms ok 155 - select_parallel 3100 ms ok 156 - write_parallel 299 ms ok 157 - vacuum_parallel 720 ms # parallel group (2 tests): subscription publication ok 158 + publication 3412 ms ok 159 + subscription 534 ms # parallel group (17 tests): bitmapops advisory_lock combocid functional_deps xmlmap select_views indirect_toast portals_p2 tsdicts dependency equivclass guc tsearch cluster window foreign_data foreign_key ok 160 + select_views 1596 ms ok 161 + portals_p2 1631 ms ok 162 + foreign_key 7012 ms ok 163 + cluster 2687 ms ok 164 + dependency 2133 ms ok 165 + guc 2334 ms ok 166 + bitmapops 893 ms ok 167 + combocid 1553 ms ok 168 + tsearch 2425 ms ok 169 + tsdicts 1632 ms ok 170 + foreign_data 4792 ms ok 171 + window 4042 ms ok 172 + xmlmap 1545 ms ok 173 + functional_deps 1540 ms ok 174 + advisory_lock 900 ms ok 175 + indirect_toast 1569 ms ok 176 + equivclass 2157 ms # parallel group (8 tests): jsonpath jsonpath_encoding json_encoding jsonb_jsonpath sqljson sqljson_queryfuncs json jsonb ok 177 + json 4589 ms ok 178 + jsonb 4953 ms ok 179 + json_encoding 913 ms ok 180 + jsonpath 801 ms ok 181 + jsonpath_encoding 828 ms ok 182 + jsonb_jsonpath 2244 ms ok 183 + sqljson 3500 ms ok 184 + sqljson_queryfuncs 3784 ms # parallel group (18 tests): plancache prepare copy2 limit conversion temp returning largeobject truncate xml sequence with rowtypes rangefuncs polymorphism domain plpgsql alter_table ok 185 + plancache 200 ms ok 186 + limit 432 ms ok 187 + plpgsql 10433 ms ok 188 + copy2 304 ms ok 189 + temp 588 ms ok 190 + domain 7327 ms ok 191 + rangefuncs 6712 ms ok 192 + prepare 271 ms ok 193 + conversion 447 ms ok 194 + truncate 2531 ms not ok 195 + alter_table 23867 ms ok 196 + sequence 3026 ms ok 197 + polymorphism 6715 ms ok 198 + rowtypes 3815 ms ok 199 + returning 1053 ms ok 200 + largeobject 1848 ms ok 201 + with 3604 ms ok 202 + xml 2654 ms # parallel group (13 tests): predicate hash_part explain reloptions partition_info memoize compression tuplesort partition_aggregate stats indexing partition_join partition_prune ok 203 + partition_join 5553 ms ok 204 + partition_prune 5559 ms ok 205 + reloptions 174 ms ok 206 + hash_part 142 ms ok 207 + indexing 5333 ms ok 208 + partition_aggregate 3558 ms ok 209 + partition_info 555 ms ok 210 + tuplesort 3092 ms ok 211 + explain 163 ms ok 212 + compression 2662 ms ok 213 + memoize 745 ms ok 214 + stats 5053 ms ok 215 + predicate 106 ms # parallel group (2 tests): oidjoins event_trigger ok 216 + oidjoins 2084 ms ok 217 + event_trigger 5012 ms ok 218 - event_trigger_login 59 ms ok 219 - fast_default 2195 ms ok 220 - tablespace 7730 ms 1..220 # 1 of 220 tests failed. # The differences that caused some tests to fail can be viewed in the file "/Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/regression.diffs". # A copy of the test summary that you see above is saved in the file "/Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/regression.out". === dumping /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/regression.diffs === diff -U3 /Users/admin/pgsql/src/test/regress/expected/alter_table.out /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/alter_table.out --- /Users/admin/pgsql/src/test/regress/expected/alter_table.out 2024-03-29 07:08:07 +++ /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/alter_table.out 2024-03-29 07:11:45 @@ -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 +-------+------------+---------------+-------------+---------------------- + 37465 | | 0 | 37465 | pktable_pkey + 37462 | | 0 | 37462 | pktable + 37467 | | 0 | 37467 | fktable + 38125 | | 0 | 38139 | foo + 38143 | | 0 | 38143 | pg_toast_38125_index + 38142 | | 0 | 38142 | pg_toast_38125 + 38392 | | 0 | 38392 | old_oids + 38418 | | 0 | 38418 | pg_toast_38415 + 38419 | | 0 | 38419 | pg_toast_38415_index + 38415 | | 0 | 38415 | recur2 + 38408 | | 0 | 38408 | recur1 +(11 rows) -- Checks on creating and manipulation of user defined relations in -- pg_catalog. === EOF === [07:12:12.556](154.196s) not ok 2 - regression tests pass [07:12:12.557](0.000s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/test/recovery/t/027_stream_regress.pl line 95. [07:12:12.557](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 4001 3 4 3 4 4 1 32 1 1 1 41 6 104 2 1 5 1006 1 2 5 17 46 33 34 -2 1 1 1 1 -1 1 1 -1 -32768 32767 9 1 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/15287710 on primary done # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 56196 --no-unlogged-table-data [07:12:50.746](38.189s) ok 3 - dump primary server # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 56197 [07:13:04.747](14.001s) ok 4 - dump standby server # Running: diff /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump [07:13:04.848](0.101s) ok 5 - compare primary and standby dumps [07:13:05.766](0.918s) ok 6 - check contents of pg_stat_statements on regression database ### Stopping node "standby_1" using mode fast # Running: pg_ctl -D /Users/admin/pgsql/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 /Users/admin/pgsql/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" [07:13:06.421](0.655s) 1..6 [07:13:06.423](0.001s) # Looks like you failed 1 test of 6.