# Checking port 58031 # Found port 58031 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=58031 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/N2pyxgWC4t Log file: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [21:04:26.034](0.047s) # 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 14486 (standby_1,) [21:04:28.104](2.070s) 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/N2pyxgWC4t -p 58031 --checkpoint fast --no-sync # Backup finished # Checking port 58032 # Found port 58032 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=58032 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/N2pyxgWC4t 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 14610 # using postmaster on /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/N2pyxgWC4t, port 58031 ok 1 - test_setup 1573 ms # parallel group (20 tests): txid varchar oid char pg_lsn name uuid regproc int2 money float4 text int4 boolean bit float8 int8 enum rangetypes numeric ok 2 + boolean 1891 ms ok 3 + char 869 ms ok 4 + name 889 ms ok 5 + varchar 735 ms ok 6 + text 1291 ms ok 7 + int2 1000 ms ok 8 + int4 1860 ms ok 9 + int8 3321 ms ok 10 + oid 739 ms ok 11 + float4 1268 ms ok 12 + float8 2098 ms ok 13 + bit 1918 ms ok 14 + numeric 4713 ms ok 15 + txid 277 ms ok 16 + uuid 868 ms ok 17 + enum 3489 ms ok 18 + money 960 ms ok 19 + rangetypes 4309 ms ok 20 + pg_lsn 800 ms ok 21 + regproc 913 ms # parallel group (20 tests): md5 lseg line circle path macaddr time timetz point numerology macaddr8 date timestamp inet interval timestamptz polygon box strings multirangetypes ok 22 + strings 2940 ms ok 23 + md5 302 ms ok 24 + numerology 1222 ms ok 25 + point 1206 ms ok 26 + lseg 402 ms ok 27 + line 461 ms ok 28 + box 1966 ms ok 29 + path 519 ms ok 30 + polygon 1866 ms ok 31 + circle 463 ms ok 32 + date 1390 ms ok 33 + time 1162 ms ok 34 + timetz 1169 ms ok 35 + timestamp 1481 ms ok 36 + timestamptz 1788 ms ok 37 + interval 1610 ms ok 38 + inet 1477 ms ok 39 + macaddr 979 ms ok 40 + macaddr8 1224 ms ok 41 + multirangetypes 4189 ms # parallel group (12 tests): misc_sanity horology unicode comments xid geometry type_sanity tstypes mvcc expressions regex opr_sanity ok 42 + geometry 313 ms ok 43 + horology 180 ms ok 44 + tstypes 321 ms ok 45 + regex 1288 ms ok 46 + type_sanity 309 ms ok 47 + opr_sanity 1296 ms ok 48 + misc_sanity 114 ms ok 49 + comments 193 ms ok 50 + expressions 333 ms ok 51 + unicode 176 ms ok 52 + xid 219 ms ok 53 + mvcc 301 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 54 + copy 4328 ms ok 55 + copyselect 2962 ms ok 56 + copydml 2943 ms ok 57 + insert 9805 ms ok 58 + insert_conflict 4984 ms # parallel group (7 tests): create_function_c create_schema create_procedure create_type create_operator create_misc create_table ok 59 + create_function_c 64 ms ok 60 + create_misc 588 ms ok 61 + create_operator 576 ms ok 62 + create_procedure 559 ms ok 63 + create_table 6737 ms ok 64 + create_type 562 ms ok 65 + create_schema 482 ms # parallel group (5 tests): index_including_gist index_including create_view create_index_spgist create_index ok 66 + create_index 8722 ms ok 67 + create_index_spgist 5753 ms ok 68 + create_view 5692 ms ok 69 + index_including 5351 ms ok 70 + index_including_gist 5024 ms # parallel group (16 tests): errors create_cast hash_func roleattributes infinite_recurse typed_table create_aggregate select create_am drop_if_exists create_function_sql vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 1675 ms ok 72 + create_function_sql 6344 ms ok 73 + create_cast 318 ms ok 74 + constraints 9455 ms ok 75 + triggers 13475 ms ok 76 + select 2759 ms ok 77 + inherit 10884 ms ok 78 + typed_table 1657 ms ok 79 + vacuum 9160 ms ok 80 + drop_if_exists 5702 ms ok 81 + updatable_views 10827 ms ok 82 + roleattributes 329 ms ok 83 + create_am 5122 ms ok 84 + hash_func 281 ms ok 85 + errors 183 ms ok 86 + infinite_recurse 556 ms ok 87 - sanity_check 815 ms # parallel group (20 tests): select_distinct_on select_implicit select_having delete random select_into namespace prepared_xacts case transactions select_distinct union hash_index portals subselect btree_index arrays update aggregates join ok 88 + select_into 308 ms ok 89 + select_distinct 1727 ms ok 90 + select_distinct_on 116 ms ok 91 + select_implicit 169 ms ok 92 + select_having 174 ms ok 93 + subselect 3605 ms ok 94 + union 2236 ms ok 95 + case 396 ms ok 96 + join 7154 ms ok 97 + aggregates 6104 ms ok 98 + transactions 681 ms ok 99 + random 263 ms ok 100 + portals 2377 ms ok 101 + arrays 3942 ms ok 102 + btree_index 3727 ms ok 103 + hash_index 2365 ms ok 104 + update 3953 ms ok 105 + delete 226 ms ok 106 + namespace 269 ms ok 107 + prepared_xacts 284 ms # parallel group (20 tests): drop_operator init_privs password security_label spgist object_address tablesample gin replica_identity lock collate groupingsets gist matview identity generated brin join_hash rowsecurity privileges ok 108 + brin 9235 ms ok 109 + gin 3161 ms ok 110 + gist 4499 ms ok 111 + spgist 3108 ms ok 112 + privileges 21271 ms ok 113 + init_privs 379 ms ok 114 + security_label 1572 ms ok 115 + collate 3593 ms ok 116 + matview 5894 ms ok 117 + lock 3423 ms ok 118 + replica_identity 3355 ms ok 119 + rowsecurity 19275 ms ok 120 + object_address 3113 ms ok 121 + tablesample 3121 ms ok 122 + groupingsets 3779 ms ok 123 + drop_operator 145 ms ok 124 + password 1373 ms ok 125 + identity 5900 ms ok 126 + generated 8361 ms ok 127 + join_hash 9586 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 402 ms ok 129 + brin_multi 2268 ms # parallel group (17 tests): async alter_operator dbsize tid sysviews tidrangescan tidscan incremental_sort without_overlaps tsrf misc create_role misc_functions alter_generic create_table_like merge collate.icu.utf8 ok 130 + create_table_like 5064 ms ok 131 + alter_generic 4621 ms ok 132 + alter_operator 477 ms ok 133 + misc 2400 ms ok 134 + async 255 ms ok 135 + dbsize 477 ms ok 136 + merge 7131 ms ok 137 + misc_functions 2438 ms ok 138 + sysviews 1945 ms ok 139 + tsrf 2362 ms ok 140 + tid 1540 ms ok 141 + tidscan 2158 ms ok 142 + tidrangescan 1950 ms ok 143 + collate.icu.utf8 7872 ms ok 144 + incremental_sort 2291 ms ok 145 + create_role 2361 ms ok 146 + without_overlaps 2314 ms # parallel group (7 tests): collate.linux.utf8 collate.windows.win1252 amutils psql_crosstab psql rules stats_ext ok 147 + rules 3337 ms ok 148 + psql 3258 ms ok 149 + psql_crosstab 769 ms ok 150 + amutils 704 ms ok 151 + stats_ext 8082 ms ok 152 + collate.linux.utf8 548 ms ok 153 + collate.windows.win1252 546 ms ok 154 - select_parallel 7189 ms ok 155 - write_parallel 192 ms ok 156 - vacuum_parallel 118 ms # parallel group (2 tests): subscription publication ok 157 + publication 3237 ms ok 158 + subscription 977 ms # parallel group (17 tests): advisory_lock combocid xmlmap bitmapops functional_deps portals_p2 tsdicts indirect_toast select_views dependency equivclass guc tsearch cluster window foreign_data foreign_key ok 159 + select_views 1903 ms ok 160 + portals_p2 1677 ms ok 161 + foreign_key 10397 ms ok 162 + cluster 2991 ms ok 163 + dependency 1906 ms ok 164 + guc 2147 ms ok 165 + bitmapops 1513 ms ok 166 + combocid 1433 ms ok 167 + tsearch 2749 ms ok 168 + tsdicts 1818 ms ok 169 + foreign_data 4878 ms ok 170 + window 4528 ms ok 171 + xmlmap 1478 ms ok 172 + functional_deps 1518 ms ok 173 + advisory_lock 1294 ms ok 174 + indirect_toast 1809 ms ok 175 + equivclass 1984 ms # parallel group (7 tests): jsonpath_encoding jsonpath json_encoding sqljson jsonb_jsonpath json jsonb ok 176 + json 1029 ms ok 177 + jsonb 2149 ms ok 178 + json_encoding 432 ms ok 179 + jsonpath 376 ms ok 180 + jsonpath_encoding 334 ms ok 181 + jsonb_jsonpath 917 ms ok 182 + sqljson 910 ms # parallel group (18 tests): prepare conversion returning limit plancache largeobject sequence truncate temp copy2 rowtypes with polymorphism xml rangefuncs domain plpgsql alter_table ok 183 + plancache 1475 ms ok 184 + limit 667 ms ok 185 + plpgsql 6914 ms ok 186 + copy2 2463 ms ok 187 + temp 2391 ms ok 188 + domain 4359 ms ok 189 + rangefuncs 4195 ms ok 190 + prepare 389 ms ok 191 + conversion 413 ms ok 192 + truncate 2337 ms ok 193 + alter_table 21188 ms ok 194 + sequence 2314 ms ok 195 + polymorphism 3005 ms ok 196 + rowtypes 2435 ms ok 197 + returning 391 ms ok 198 + largeobject 1934 ms ok 199 + with 2476 ms ok 200 + xml 3964 ms # parallel group (13 tests): hash_part predicate reloptions explain memoize partition_info compression tuplesort partition_aggregate stats indexing partition_join partition_prune ok 201 + partition_join 11491 ms ok 202 + partition_prune 12109 ms ok 203 + reloptions 2426 ms ok 204 + hash_part 2360 ms ok 205 + indexing 11379 ms ok 206 + partition_aggregate 6036 ms ok 207 + partition_info 3003 ms ok 208 + tuplesort 5046 ms not ok 209 + explain 2418 ms ok 210 + compression 4865 ms ok 211 + memoize 2576 ms ok 212 + stats 7829 ms ok 213 + predicate 2346 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 217 ms ok 215 + event_trigger 5776 ms ok 216 - event_trigger_login 519 ms ok 217 - fast_default 3395 ms ok 218 - tablespace 7124 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-03-04 21:02:33 +++ /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/explain.out 2024-03-04 21:07:01 @@ -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 === [21:07:28.545](180.441s) not ok 2 - regression tests pass [21:07:28.546](0.001s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/test/recovery/t/027_stream_regress.pl line 95. [21:07:28.546](0.000s) # got: '256' # expected: '0' 9 1 1 1 1 2 1 1 1 5 9 5 1 1 1 1 -1 1 1 -1 -32768 32767 4001 3 4 3 4 4 1 41 32 1 1 1 6 104 2 1 5 1006 -2 1 46 1 1 2 5 17 33 34 Waiting for replication conn standby_1's replay_lsn to pass 0/156363D0 on primary done # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 58031 --no-unlogged-table-data [21:08:41.245](72.700s) ok 3 - dump primary server # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 58032 [21:09:08.423](27.177s) 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 [21:09:08.522](0.099s) ok 5 - compare primary and standby dumps [21:09:10.310](1.787s) 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" [21:09:11.407](1.097s) 1..6 [21:09:11.410](0.003s) # Looks like you failed 1 test of 6.