# Checking port 49635 # Found port 49635 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=49635 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/trM2wWu_Nk Log file: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [08:04:11.509](0.686s) # 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 14642 (standby_1,) [08:04:12.186](0.677s) 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/trM2wWu_Nk -p 49635 --checkpoint fast --no-sync # Backup finished # Checking port 49636 # Found port 49636 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=49636 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/trM2wWu_Nk 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 14716 # using postmaster on /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/trM2wWu_Nk, port 49635 ok 1 - test_setup 2276 ms # parallel group (20 tests): varchar oid pg_lsn name txid regproc char uuid text float4 int2 money boolean int4 float8 bit int8 enum rangetypes numeric ok 2 + boolean 2586 ms ok 3 + char 2098 ms ok 4 + name 1954 ms ok 5 + varchar 1374 ms ok 6 + text 2362 ms ok 7 + int2 2367 ms ok 8 + int4 2837 ms ok 9 + int8 3106 ms ok 10 + oid 1630 ms ok 11 + float4 2354 ms ok 12 + float8 3014 ms ok 13 + bit 3026 ms ok 14 + numeric 4188 ms ok 15 + txid 1949 ms ok 16 + uuid 2121 ms ok 17 + enum 3283 ms ok 18 + money 2340 ms ok 19 + rangetypes 3816 ms ok 20 + pg_lsn 1893 ms ok 21 + regproc 1935 ms # parallel group (20 tests): md5 line path lseg circle time macaddr timetz numerology macaddr8 point date polygon timestamp inet box interval timestamptz strings multirangetypes ok 22 + strings 5213 ms ok 23 + md5 192 ms ok 24 + numerology 908 ms ok 25 + point 925 ms ok 26 + lseg 219 ms ok 27 + line 206 ms ok 28 + box 1688 ms ok 29 + path 206 ms ok 30 + polygon 1258 ms ok 31 + circle 542 ms ok 32 + date 1132 ms ok 33 + time 664 ms ok 34 + timetz 859 ms ok 35 + timestamp 1503 ms ok 36 + timestamptz 3462 ms ok 37 + interval 2634 ms ok 38 + inet 1508 ms ok 39 + macaddr 817 ms ok 40 + macaddr8 842 ms ok 41 + multirangetypes 9441 ms # parallel group (12 tests): comments regex misc_sanity unicode mvcc xid tstypes type_sanity expressions horology geometry opr_sanity ok 42 + geometry 3922 ms ok 43 + horology 2467 ms ok 44 + tstypes 1977 ms ok 45 + regex 734 ms ok 46 + type_sanity 2012 ms ok 47 + opr_sanity 4518 ms ok 48 + misc_sanity 754 ms ok 49 + comments 106 ms ok 50 + expressions 2010 ms ok 51 + unicode 773 ms ok 52 + xid 1605 ms ok 53 + mvcc 1435 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 2578 ms ok 55 + copyselect 1870 ms ok 56 + copydml 1887 ms ok 57 + insert 5098 ms ok 58 + insert_conflict 3825 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 131 ms ok 60 + create_misc 1387 ms ok 61 + create_operator 833 ms ok 62 + create_procedure 1374 ms ok 63 + create_table 3343 ms ok 64 + create_type 1371 ms ok 65 + create_schema 682 ms # parallel group (5 tests): index_including_gist index_including create_index_spgist create_view create_index ok 66 + create_index 3232 ms ok 67 + create_index_spgist 2099 ms ok 68 + create_view 2383 ms ok 69 + index_including 1763 ms ok 70 + index_including_gist 1532 ms # parallel group (16 tests): infinite_recurse errors create_cast hash_func typed_table create_aggregate roleattributes select create_am create_function_sql drop_if_exists vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 695 ms ok 72 + create_function_sql 1508 ms ok 73 + create_cast 414 ms ok 74 + constraints 2161 ms ok 75 + triggers 10946 ms ok 76 + select 942 ms ok 77 + inherit 5749 ms ok 78 + typed_table 603 ms ok 79 + vacuum 2096 ms ok 80 + drop_if_exists 1519 ms ok 81 + updatable_views 5546 ms ok 82 + roleattributes 909 ms ok 83 + create_am 1156 ms ok 84 + hash_func 438 ms ok 85 + errors 218 ms ok 86 + infinite_recurse 190 ms ok 87 - sanity_check 4471 ms # parallel group (20 tests): delete random select_distinct_on select_having namespace select_implicit prepared_xacts case select_distinct select_into union transactions portals subselect arrays hash_index btree_index update aggregates join ok 88 + select_into 6976 ms ok 89 + select_distinct 6683 ms ok 90 + select_distinct_on 1250 ms ok 91 + select_implicit 4095 ms ok 92 + select_having 1364 ms ok 93 + subselect 9405 ms ok 94 + union 7593 ms ok 95 + case 6255 ms ok 96 + join 13189 ms ok 97 + aggregates 12797 ms ok 98 + transactions 7623 ms ok 99 + random 1198 ms ok 100 + portals 7831 ms ok 101 + arrays 9350 ms ok 102 + btree_index 11506 ms ok 103 + hash_index 9904 ms ok 104 + update 12148 ms ok 105 + delete 1036 ms ok 106 + namespace 1506 ms ok 107 + prepared_xacts 5980 ms # parallel group (20 tests): init_privs drop_operator security_label tablesample password gin object_address replica_identity lock spgist brin collate groupingsets gist matview identity generated join_hash rowsecurity privileges ok 108 + brin 4633 ms ok 109 + gin 3559 ms ok 110 + gist 10103 ms ok 111 + spgist 3714 ms ok 112 + privileges 25267 ms ok 113 + init_privs 450 ms ok 114 + security_label 1050 ms ok 115 + collate 5334 ms ok 116 + matview 13248 ms ok 117 + lock 3629 ms ok 118 + replica_identity 3591 ms ok 119 + rowsecurity 23544 ms ok 120 + object_address 3585 ms ok 121 + tablesample 1113 ms ok 122 + groupingsets 5433 ms ok 123 + drop_operator 610 ms ok 124 + password 1998 ms ok 125 + identity 13711 ms ok 126 + generated 15120 ms ok 127 + join_hash 17440 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 398 ms ok 129 + brin_multi 1640 ms # parallel group (17 tests): async dbsize tidscan tid tidrangescan alter_operator misc tsrf incremental_sort without_overlaps sysviews create_role misc_functions alter_generic create_table_like merge collate.icu.utf8 ok 130 + create_table_like 3922 ms ok 131 + alter_generic 3813 ms ok 132 + alter_operator 1771 ms ok 133 + misc 1778 ms ok 134 + async 624 ms ok 135 + dbsize 823 ms ok 136 + merge 4278 ms ok 137 + misc_functions 2918 ms ok 138 + sysviews 2198 ms ok 139 + tsrf 1804 ms ok 140 + tid 1453 ms ok 141 + tidscan 1421 ms ok 142 + tidrangescan 1493 ms ok 143 + collate.icu.utf8 5205 ms ok 144 + incremental_sort 2079 ms ok 145 + create_role 2374 ms ok 146 + without_overlaps 2129 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab psql rules stats_ext ok 147 + rules 6646 ms ok 148 + psql 6029 ms ok 149 + psql_crosstab 94 ms ok 150 + amutils 60 ms ok 151 + stats_ext 11219 ms ok 152 + collate.linux.utf8 46 ms ok 153 + collate.windows.win1252 42 ms ok 154 - select_parallel 10064 ms ok 155 - write_parallel 500 ms ok 156 - vacuum_parallel 670 ms # parallel group (2 tests): subscription publication ok 157 + publication 4624 ms ok 158 + subscription 1543 ms # parallel group (17 tests): combocid advisory_lock bitmapops xmlmap indirect_toast functional_deps dependency portals_p2 tsdicts select_views guc equivclass tsearch cluster window foreign_data foreign_key ok 159 + select_views 1645 ms ok 160 + portals_p2 1543 ms ok 161 + foreign_key 10554 ms ok 162 + cluster 5846 ms ok 163 + dependency 1520 ms ok 164 + guc 1778 ms ok 165 + bitmapops 1290 ms ok 166 + combocid 292 ms ok 167 + tsearch 5289 ms ok 168 + tsdicts 1571 ms ok 169 + foreign_data 8969 ms ok 170 + window 6283 ms ok 171 + xmlmap 1334 ms ok 172 + functional_deps 1415 ms ok 173 + advisory_lock 514 ms ok 174 + indirect_toast 1400 ms ok 175 + equivclass 1860 ms # parallel group (7 tests): jsonpath_encoding json_encoding jsonpath sqljson jsonb_jsonpath json jsonb ok 176 + json 2048 ms ok 177 + jsonb 3576 ms ok 178 + json_encoding 1394 ms ok 179 + jsonpath 1454 ms ok 180 + jsonpath_encoding 1384 ms ok 181 + jsonb_jsonpath 1857 ms ok 182 + sqljson 1824 ms # parallel group (18 tests): prepare returning temp limit plancache conversion sequence largeobject copy2 truncate rowtypes xml rangefuncs with polymorphism domain plpgsql alter_table ok 183 + plancache 1366 ms ok 184 + limit 699 ms ok 185 + plpgsql 23493 ms ok 186 + copy2 2034 ms ok 187 + temp 621 ms ok 188 + domain 3921 ms ok 189 + rangefuncs 3689 ms ok 190 + prepare 302 ms ok 191 + conversion 1378 ms ok 192 + truncate 2385 ms ok 193 + alter_table 35153 ms ok 194 + sequence 1380 ms ok 195 + polymorphism 3791 ms ok 196 + rowtypes 2341 ms ok 197 + returning 396 ms ok 198 + largeobject 1904 ms ok 199 + with 3639 ms ok 200 + xml 3603 ms # parallel group (13 tests): predicate hash_part explain reloptions partition_info memoize tuplesort compression partition_aggregate stats indexing partition_join partition_prune ok 201 + partition_join 28421 ms ok 202 + partition_prune 28514 ms ok 203 + reloptions 1309 ms ok 204 + hash_part 444 ms ok 205 + indexing 27877 ms ok 206 + partition_aggregate 17644 ms ok 207 + partition_info 2645 ms ok 208 + tuplesort 6940 ms not ok 209 + explain 482 ms ok 210 + compression 8262 ms ok 211 + memoize 3081 ms ok 212 + stats 21848 ms ok 213 + predicate 317 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 1395 ms ok 215 + event_trigger 3109 ms ok 216 - event_trigger_login 63 ms ok 217 - fast_default 1879 ms ok 218 - tablespace 10747 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-18 08:02:17 +++ /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/explain.out 2024-02-18 08:07:18 @@ -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 === [08:08:03.940](231.753s) not ok 2 - regression tests pass [08:08:03.943](0.003s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/test/recovery/t/027_stream_regress.pl line 95. [08:08:03.943](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 33 34 4001 3 4 3 4 4 41 1 32 46 1 1 1 6 104 1 2 1 1 1 1 -1 5 1 1006 1 -1 -32768 32767 1 2 -2 9 1 1 1 5 17 Waiting for replication conn standby_1's replay_lsn to pass 0/14EACD68 on primary done # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 49635 --no-unlogged-table-data [08:08:32.390](28.446s) ok 3 - dump primary server # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 49636 [08:09:57.675](85.286s) 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 [08:09:59.165](1.490s) ok 5 - compare primary and standby dumps [08:10:03.355](4.189s) 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" [08:10:04.144](0.789s) 1..6 [08:10:04.150](0.006s) # Looks like you failed 1 test of 6.