# Checking port 54113 # Found port 54113 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=54113 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/6UoIlfPCnP Log file: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [19:04:10.615](0.011s) # 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 14575 (standby_1,) [19:04:11.736](1.121s) 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/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/6UoIlfPCnP -p 54113 --checkpoint fast --no-sync # Backup finished # Checking port 54114 # Found port 54114 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=54114 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/6UoIlfPCnP 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 14646 # using postmaster on /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/6UoIlfPCnP, port 54113 ok 1 - test_setup 2768 ms # parallel group (20 tests): oid varchar name pg_lsn char txid regproc uuid text int2 money float4 int4 boolean bit float8 int8 enum rangetypes numeric ok 2 + boolean 1103 ms ok 3 + char 609 ms ok 4 + name 584 ms ok 5 + varchar 579 ms ok 6 + text 1035 ms ok 7 + int2 1041 ms ok 8 + int4 1090 ms ok 9 + int8 1876 ms ok 10 + oid 524 ms ok 11 + float4 1060 ms ok 12 + float8 1603 ms ok 13 + bit 1540 ms ok 14 + numeric 4342 ms ok 15 + txid 590 ms ok 16 + uuid 680 ms ok 17 + enum 1871 ms ok 18 + money 1026 ms ok 19 + rangetypes 3141 ms ok 20 + pg_lsn 552 ms ok 21 + regproc 579 ms # parallel group (20 tests): md5 circle lseg path line time timetz macaddr numerology point macaddr8 polygon date inet timestamp interval box timestamptz strings multirangetypes ok 22 + strings 1711 ms ok 23 + md5 572 ms ok 24 + numerology 1005 ms ok 25 + point 1013 ms ok 26 + lseg 614 ms ok 27 + line 643 ms ok 28 + box 1476 ms ok 29 + path 609 ms ok 30 + polygon 1132 ms ok 31 + circle 600 ms ok 32 + date 1160 ms ok 33 + time 666 ms ok 34 + timetz 909 ms ok 35 + timestamp 1327 ms ok 36 + timestamptz 1633 ms ok 37 + interval 1424 ms ok 38 + inet 1268 ms ok 39 + macaddr 948 ms ok 40 + macaddr8 1005 ms ok 41 + multirangetypes 2837 ms # parallel group (12 tests): comments mvcc unicode misc_sanity regex xid tstypes type_sanity expressions horology opr_sanity geometry ok 42 + geometry 3274 ms ok 43 + horology 2855 ms ok 44 + tstypes 2569 ms ok 45 + regex 738 ms ok 46 + type_sanity 2584 ms ok 47 + opr_sanity 3270 ms ok 48 + misc_sanity 727 ms ok 49 + comments 38 ms ok 50 + expressions 2594 ms ok 51 + unicode 601 ms ok 52 + xid 1963 ms ok 53 + mvcc 562 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 3464 ms ok 55 + copyselect 1455 ms ok 56 + copydml 1475 ms ok 57 + insert 8559 ms ok 58 + insert_conflict 7863 ms # parallel group (7 tests): create_function_c create_schema create_operator create_type create_procedure create_misc create_table ok 59 + create_function_c 30 ms ok 60 + create_misc 820 ms ok 61 + create_operator 113 ms ok 62 + create_procedure 454 ms ok 63 + create_table 2143 ms ok 64 + create_type 172 ms ok 65 + create_schema 81 ms # parallel group (5 tests): index_including_gist index_including create_index_spgist create_view create_index ok 66 + create_index 4223 ms ok 67 + create_index_spgist 1818 ms ok 68 + create_view 2448 ms ok 69 + index_including 1638 ms ok 70 + index_including_gist 1429 ms # parallel group (16 tests): create_cast infinite_recurse errors create_aggregate hash_func typed_table select roleattributes create_am create_function_sql drop_if_exists vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 620 ms ok 72 + create_function_sql 1012 ms ok 73 + create_cast 123 ms ok 74 + constraints 2040 ms ok 75 + triggers 5016 ms ok 76 + select 730 ms ok 77 + inherit 3963 ms ok 78 + typed_table 685 ms ok 79 + vacuum 1680 ms ok 80 + drop_if_exists 1002 ms ok 81 + updatable_views 3502 ms ok 82 + roleattributes 753 ms ok 83 + create_am 860 ms ok 84 + hash_func 618 ms ok 85 + errors 515 ms ok 86 + infinite_recurse 173 ms ok 87 - sanity_check 2268 ms # parallel group (20 tests): select_distinct_on select_having delete namespace random select_implicit prepared_xacts case select_into select_distinct union transactions hash_index portals subselect btree_index arrays update aggregates join ok 88 + select_into 1824 ms ok 89 + select_distinct 1828 ms ok 90 + select_distinct_on 89 ms ok 91 + select_implicit 1033 ms ok 92 + select_having 135 ms ok 93 + subselect 3701 ms ok 94 + union 2316 ms ok 95 + case 1665 ms ok 96 + join 6105 ms ok 97 + aggregates 4932 ms ok 98 + transactions 2453 ms ok 99 + random 252 ms ok 100 + portals 3200 ms ok 101 + arrays 3839 ms ok 102 + btree_index 3753 ms ok 103 + hash_index 2509 ms ok 104 + update 3881 ms ok 105 + delete 167 ms ok 106 + namespace 222 ms ok 107 + prepared_xacts 1534 ms # parallel group (20 tests): init_privs drop_operator security_label tablesample password spgist object_address replica_identity lock gin collate gist groupingsets matview identity generated join_hash brin rowsecurity privileges ok 108 + brin 7841 ms ok 109 + gin 2105 ms ok 110 + gist 2633 ms ok 111 + spgist 1606 ms ok 112 + privileges 11050 ms ok 113 + init_privs 107 ms ok 114 + security_label 1000 ms ok 115 + collate 2584 ms ok 116 + matview 2754 ms ok 117 + lock 1944 ms ok 118 + replica_identity 1851 ms ok 119 + rowsecurity 10451 ms ok 120 + object_address 1804 ms ok 121 + tablesample 1504 ms ok 122 + groupingsets 2677 ms ok 123 + drop_operator 134 ms ok 124 + password 1526 ms ok 125 + identity 3019 ms ok 126 + generated 6842 ms ok 127 + join_hash 7789 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 271 ms ok 129 + brin_multi 1504 ms # parallel group (17 tests): async dbsize tidrangescan tidscan alter_operator tid sysviews tsrf incremental_sort misc_functions misc create_role without_overlaps create_table_like alter_generic merge collate.icu.utf8 ok 130 + create_table_like 1280 ms ok 131 + alter_generic 1283 ms ok 132 + alter_operator 289 ms ok 133 + misc 1039 ms ok 134 + async 105 ms ok 135 + dbsize 121 ms ok 136 + merge 1837 ms ok 137 + misc_functions 1026 ms ok 138 + sysviews 646 ms ok 139 + tsrf 971 ms ok 140 + tid 271 ms ok 141 + tidscan 252 ms ok 142 + tidrangescan 243 ms ok 143 + collate.icu.utf8 2105 ms ok 144 + incremental_sort 962 ms ok 145 + create_role 1015 ms ok 146 + without_overlaps 1020 ms # parallel group (7 tests): collate.linux.utf8 collate.windows.win1252 amutils psql_crosstab psql stats_ext rules ok 147 + rules 7185 ms ok 148 + psql 5896 ms ok 149 + psql_crosstab 310 ms ok 150 + amutils 64 ms ok 151 + stats_ext 7158 ms ok 152 + collate.linux.utf8 48 ms ok 153 + collate.windows.win1252 50 ms ok 154 - select_parallel 2352 ms ok 155 - write_parallel 120 ms ok 156 - vacuum_parallel 706 ms # parallel group (2 tests): subscription publication ok 157 + publication 2838 ms ok 158 + subscription 719 ms # parallel group (17 tests): bitmapops indirect_toast advisory_lock combocid xmlmap functional_deps portals_p2 tsdicts select_views dependency equivclass guc cluster tsearch window foreign_data foreign_key ok 159 + select_views 2495 ms ok 160 + portals_p2 2458 ms ok 161 + foreign_key 14914 ms ok 162 + cluster 7158 ms ok 163 + dependency 2534 ms ok 164 + guc 2757 ms ok 165 + bitmapops 2132 ms ok 166 + combocid 2347 ms ok 167 + tsearch 7628 ms ok 168 + tsdicts 2453 ms ok 169 + foreign_data 11553 ms ok 170 + window 9737 ms ok 171 + xmlmap 2415 ms ok 172 + functional_deps 2426 ms ok 173 + advisory_lock 2170 ms ok 174 + indirect_toast 2144 ms ok 175 + equivclass 2609 ms # parallel group (7 tests): jsonpath_encoding jsonpath json_encoding jsonb_jsonpath sqljson json jsonb ok 176 + json 1295 ms ok 177 + jsonb 2688 ms ok 178 + json_encoding 337 ms ok 179 + jsonpath 221 ms ok 180 + jsonpath_encoding 203 ms ok 181 + jsonb_jsonpath 862 ms ok 182 + sqljson 1074 ms # parallel group (18 tests): prepare conversion returning limit plancache largeobject temp truncate copy2 sequence rowtypes with domain rangefuncs polymorphism xml plpgsql alter_table ok 183 + plancache 2373 ms ok 184 + limit 2266 ms ok 185 + plpgsql 7625 ms ok 186 + copy2 3557 ms ok 187 + temp 2861 ms ok 188 + domain 4031 ms ok 189 + rangefuncs 4039 ms ok 190 + prepare 306 ms ok 191 + conversion 2059 ms ok 192 + truncate 3500 ms ok 193 + alter_table 21201 ms ok 194 + sequence 3586 ms ok 195 + polymorphism 4029 ms ok 196 + rowtypes 3786 ms ok 197 + returning 2182 ms ok 198 + largeobject 2398 ms ok 199 + with 3830 ms ok 200 + xml 5320 ms # parallel group (13 tests): predicate hash_part explain reloptions partition_info memoize compression partition_aggregate tuplesort stats indexing partition_join partition_prune ok 201 + partition_join 11826 ms ok 202 + partition_prune 12785 ms ok 203 + reloptions 1270 ms ok 204 + hash_part 183 ms ok 205 + indexing 11771 ms ok 206 + partition_aggregate 3937 ms ok 207 + partition_info 1636 ms ok 208 + tuplesort 4491 ms not ok 209 + explain 377 ms ok 210 + compression 3170 ms ok 211 + memoize 1623 ms ok 212 + stats 7775 ms ok 213 + predicate 136 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 188 ms ok 215 + event_trigger 3009 ms ok 216 - event_trigger_login 340 ms ok 217 - fast_default 5656 ms ok 218 - tablespace 8446 ms 1..218 # 1 of 218 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/explain.out /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/explain.out --- /Users/admin/pgsql/src/test/regress/expected/explain.out 2024-02-25 19:02:20 +++ /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/explain.out 2024-02-25 19:06:04 @@ -332,16 +332,16 @@ CONTEXT: PL/pgSQL function explain_filter(text) line 5 at FOR over EXECUTE statement -- MEMORY option select explain_filter('explain (memory) select * from int8_tbl i8'); - explain_filter ---------------------------------------------------------- - Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N) + explain_filter +----------------------------------------------------------------- + Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N loops=N) Memory: used=N bytes allocated=N bytes (2 rows) select explain_filter('explain (memory, analyze) select * from int8_tbl i8'); - explain_filter ------------------------------------------------------------------------------------------------ - Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N) (actual time=N.N..N.N rows=N loops=N) + explain_filter +------------------------------------------------------------------------------------------------------- + Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N loops=N) (actual time=N.N..N.N rows=N loops=N) Memory: used=N bytes allocated=N bytes Planning Time: N.N ms Execution Time: N.N ms @@ -360,6 +360,7 @@ Total Cost: N.N + Plan Rows: N + Plan Width: N + + Plan Calls: N + Planning: + Memory Used: N + Memory Allocated: N + @@ -381,6 +382,7 @@ "Total Cost": N.N, + "Plan Rows": N, + "Plan Width": N, + + "Plan Calls": N, + "Actual Startup Time": N.N, + "Actual Total Time": N.N, + "Actual Rows": N, + @@ -400,9 +402,9 @@ prepare int8_query as select * from int8_tbl i8; select explain_filter('explain (memory) execute int8_query'); - explain_filter ---------------------------------------------------------- - Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N) + explain_filter +----------------------------------------------------------------- + Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N loops=N) Memory: used=N bytes allocated=N bytes (2 rows) === EOF === [19:06:35.956](144.219s) not ok 2 - regression tests pass [19:06:35.956](0.000s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/test/recovery/t/027_stream_regress.pl line 95. [19:06:35.956](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 4001 41 3 4 3 4 4 1 32 1 1 1 6 104 2 1 5 1006 1 2 5 -2 17 46 33 34 9 1 1 1 1 1 -1 1 1 -1 -32768 32767 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/14379818 on primary done # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 54113 --no-unlogged-table-data [19:07:09.167](33.211s) ok 3 - dump primary server # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 54114 [19:07:25.072](15.905s) 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 [19:07:25.172](0.100s) ok 5 - compare primary and standby dumps [19:07:25.804](0.632s) 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" [19:07:26.251](0.447s) 1..6 [19:07:26.252](0.001s) # Looks like you failed 1 test of 6.