# Checking port 64161 # Found port 64161 Name: primary Data directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_027_stream_regress_primary_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_027_stream_regress_primary_data/backup Archive directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_027_stream_regress_primary_data/archives Connection string: port=64161 host=/tmp/BOOZ7SFUQH Log file: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/log/027_stream_regress_primary.log [12:44:45.562](0.013s) # initializing database system by copying initdb template # Running: cp -RPp /tmp/cirrus-ci-build/tmp_install/initdb-template /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_027_stream_regress_primary_data/pgdata # Running: /tmp/cirrus-ci-build/src/test/recovery/../../../src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_027_stream_regress_primary_data/pgdata ### Starting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_027_stream_regress_primary_data/pgdata -l /tmp/cirrus-ci-build/src/test/recovery/tmp_check/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 48748 (standby_1,) [12:44:45.783](0.221s) ok 1 - physical slot created on primary # Taking pg_basebackup my_backup from node "primary" # Running: pg_basebackup -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_027_stream_regress_primary_data/backup/my_backup -h /tmp/BOOZ7SFUQH -p 64161 --checkpoint fast --no-sync # Backup finished # Checking port 64162 # Found port 64162 Name: standby_1 Data directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_027_stream_regress_standby_1_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_027_stream_regress_standby_1_data/backup Archive directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_027_stream_regress_standby_1_data/archives Connection string: port=64162 host=/tmp/BOOZ7SFUQH Log file: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/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/src/test/recovery/tmp_check/t_027_stream_regress_standby_1_data/pgdata -l /tmp/cirrus-ci-build/src/test/recovery/tmp_check/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 48778 # using postmaster on /tmp/BOOZ7SFUQH, port 64161 ok 1 - test_setup 352 ms # parallel group (20 tests): text name varchar pg_lsn int2 txid oid regproc int4 char float4 money uuid float8 int8 enum bit boolean numeric rangetypes ok 2 + boolean 460 ms ok 3 + char 198 ms ok 4 + name 154 ms ok 5 + varchar 158 ms ok 6 + text 141 ms ok 7 + int2 168 ms ok 8 + int4 196 ms ok 9 + int8 282 ms ok 10 + oid 176 ms ok 11 + float4 214 ms ok 12 + float8 241 ms ok 13 + bit 344 ms ok 14 + numeric 920 ms ok 15 + txid 172 ms ok 16 + uuid 233 ms ok 17 + enum 333 ms ok 18 + money 214 ms ok 19 + rangetypes 1037 ms ok 20 + pg_lsn 161 ms ok 21 + regproc 179 ms # parallel group (20 tests): md5 line circle path time macaddr timetz lseg numerology macaddr8 point inet date interval strings timestamp timestamptz polygon multirangetypes box ok 22 + strings 399 ms ok 23 + md5 55 ms ok 24 + numerology 171 ms ok 25 + point 219 ms ok 26 + lseg 168 ms ok 27 + line 99 ms ok 28 + box 1074 ms ok 29 + path 103 ms ok 30 + polygon 885 ms ok 31 + circle 101 ms ok 32 + date 253 ms ok 33 + time 127 ms ok 34 + timetz 164 ms ok 35 + timestamp 478 ms ok 36 + timestamptz 586 ms ok 37 + interval 319 ms ok 38 + inet 244 ms ok 39 + macaddr 152 ms ok 40 + macaddr8 184 ms ok 41 + multirangetypes 1004 ms # parallel group (12 tests): comments unicode misc_sanity xid tstypes expressions mvcc horology geometry type_sanity regex opr_sanity ok 42 + geometry 338 ms ok 43 + horology 276 ms ok 44 + tstypes 212 ms ok 45 + regex 454 ms ok 46 + type_sanity 364 ms ok 47 + opr_sanity 720 ms ok 48 + misc_sanity 108 ms ok 49 + comments 46 ms ok 50 + expressions 235 ms ok 51 + unicode 61 ms ok 52 + xid 146 ms ok 53 + mvcc 268 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 54 + copy 215 ms ok 55 + copyselect 80 ms ok 56 + copydml 73 ms ok 57 + insert 667 ms ok 58 + insert_conflict 314 ms # parallel group (7 tests): create_function_c create_operator create_schema create_type create_procedure create_misc create_table ok 59 + create_function_c 43 ms ok 60 + create_misc 183 ms ok 61 + create_operator 73 ms ok 62 + create_procedure 163 ms ok 63 + create_table 656 ms ok 64 + create_type 155 ms ok 65 + create_schema 137 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 1930 ms ok 67 + create_index_spgist 1705 ms ok 68 + create_view 840 ms ok 69 + index_including 456 ms ok 70 + index_including_gist 519 ms # parallel group (16 tests): errors create_cast roleattributes hash_func create_aggregate drop_if_exists select typed_table create_function_sql infinite_recurse create_am vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 231 ms ok 72 + create_function_sql 442 ms ok 73 + create_cast 140 ms ok 74 + constraints 1311 ms ok 75 + triggers 2317 ms ok 76 + select 338 ms ok 77 + inherit 2029 ms ok 78 + typed_table 419 ms ok 79 + vacuum 1036 ms ok 80 + drop_if_exists 278 ms ok 81 + updatable_views 1534 ms ok 82 + roleattributes 155 ms ok 83 + create_am 530 ms ok 84 + hash_func 204 ms ok 85 + errors 103 ms ok 86 + infinite_recurse 495 ms ok 87 - sanity_check 171 ms # parallel group (20 tests): select_distinct_on select_having delete random select_implicit case namespace select_into prepared_xacts transactions portals select_distinct union arrays subselect update hash_index join aggregates btree_index ok 88 + select_into 443 ms ok 89 + select_distinct 890 ms ok 90 + select_distinct_on 167 ms ok 91 + select_implicit 270 ms ok 92 + select_having 178 ms ok 93 + subselect 1141 ms ok 94 + union 972 ms ok 95 + case 310 ms ok 96 + join 2162 ms ok 97 + aggregates 2501 ms ok 98 + transactions 556 ms ok 99 + random 259 ms ok 100 + portals 683 ms ok 101 + arrays 981 ms ok 102 + btree_index 3136 ms ok 103 + hash_index 1670 ms ok 104 + update 1529 ms ok 105 + delete 235 ms ok 106 + namespace 386 ms ok 107 + prepared_xacts 460 ms # parallel group (20 tests): init_privs drop_operator security_label password lock tablesample object_address replica_identity identity matview collate groupingsets generated rowsecurity spgist gist gin brin join_hash privileges ok 108 + brin 7950 ms ok 109 + gin 3225 ms ok 110 + gist 2915 ms ok 111 + spgist 2830 ms ok 112 + privileges 8364 ms ok 113 + init_privs 75 ms ok 114 + security_label 185 ms ok 115 + collate 1955 ms ok 116 + matview 1836 ms ok 117 + lock 379 ms ok 118 + replica_identity 1021 ms ok 119 + rowsecurity 2645 ms ok 120 + object_address 513 ms ok 121 + tablesample 432 ms ok 122 + groupingsets 2501 ms ok 123 + drop_operator 172 ms ok 124 + password 340 ms ok 125 + identity 1758 ms ok 126 + generated 2567 ms ok 127 + join_hash 7959 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 148 ms ok 129 + brin_multi 912 ms # parallel group (17 tests): async dbsize tidscan alter_operator tid tsrf create_role sysviews misc_functions alter_generic without_overlaps tidrangescan incremental_sort misc merge create_table_like collate.icu.utf8 ok 130 + create_table_like 1034 ms ok 131 + alter_generic 470 ms ok 132 + alter_operator 261 ms ok 133 + misc 970 ms ok 134 + async 93 ms ok 135 + dbsize 97 ms not ok 136 + merge 992 ms ok 137 + misc_functions 460 ms ok 138 + sysviews 412 ms ok 139 + tsrf 271 ms ok 140 + tid 257 ms ok 141 + tidscan 218 ms ok 142 + tidrangescan 801 ms ok 143 + collate.icu.utf8 1299 ms ok 144 + incremental_sort 867 ms ok 145 + create_role 334 ms ok 146 + without_overlaps 702 ms # parallel group (7 tests): collate.windows.win1252 amutils psql_crosstab collate.linux.utf8 rules psql stats_ext ok 147 + rules 830 ms ok 148 + psql 1031 ms ok 149 + psql_crosstab 91 ms ok 150 + amutils 53 ms ok 151 + stats_ext 2207 ms ok 152 + collate.linux.utf8 514 ms ok 153 + collate.windows.win1252 39 ms ok 154 - select_parallel 3268 ms ok 155 - write_parallel 175 ms ok 156 - vacuum_parallel 170 ms # parallel group (2 tests): subscription publication ok 157 + publication 1247 ms ok 158 + subscription 96 ms # parallel group (17 tests): portals_p2 advisory_lock combocid tsdicts xmlmap equivclass guc functional_deps dependency select_views indirect_toast window bitmapops cluster foreign_data tsearch foreign_key ok 159 + select_views 700 ms ok 160 + portals_p2 143 ms ok 161 + foreign_key 2360 ms ok 162 + cluster 1178 ms ok 163 + dependency 448 ms ok 164 + guc 411 ms ok 165 + bitmapops 1162 ms ok 166 + combocid 230 ms ok 167 + tsearch 1877 ms ok 168 + tsdicts 279 ms ok 169 + foreign_data 1622 ms ok 170 + window 1099 ms ok 171 + xmlmap 312 ms ok 172 + functional_deps 416 ms ok 173 + advisory_lock 151 ms ok 174 + indirect_toast 1046 ms ok 175 + equivclass 397 ms # parallel group (7 tests): json_encoding jsonpath_encoding jsonpath sqljson json jsonb_jsonpath jsonb ok 176 + json 218 ms ok 177 + jsonb 537 ms ok 178 + json_encoding 54 ms ok 179 + jsonpath 108 ms ok 180 + jsonpath_encoding 56 ms ok 181 + jsonb_jsonpath 264 ms ok 182 + sqljson 140 ms # parallel group (18 tests): prepare returning plancache limit conversion sequence temp copy2 rowtypes largeobject polymorphism with truncate domain rangefuncs plpgsql xml alter_table ok 183 + plancache 499 ms ok 184 + limit 682 ms ok 185 + plpgsql 2519 ms ok 186 + copy2 942 ms ok 187 + temp 886 ms ok 188 + domain 1290 ms ok 189 + rangefuncs 1407 ms ok 190 + prepare 207 ms ok 191 + conversion 682 ms ok 192 + truncate 1245 ms ok 193 + alter_table 3226 ms ok 194 + sequence 835 ms ok 195 + polymorphism 1129 ms ok 196 + rowtypes 1094 ms ok 197 + returning 309 ms ok 198 + largeobject 1119 ms ok 199 + with 1203 ms ok 200 + xml 3126 ms # parallel group (13 tests): hash_part reloptions predicate explain partition_info compression memoize stats partition_aggregate partition_join indexing partition_prune tuplesort ok 201 + partition_join 2251 ms ok 202 + partition_prune 2585 ms ok 203 + reloptions 214 ms ok 204 + hash_part 144 ms ok 205 + indexing 2288 ms ok 206 + partition_aggregate 1919 ms ok 207 + partition_info 318 ms ok 208 + tuplesort 2618 ms not ok 209 + explain 300 ms ok 210 + compression 666 ms ok 211 + memoize 1148 ms ok 212 + stats 1661 ms ok 213 + predicate 238 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 428 ms ok 215 + event_trigger 485 ms ok 216 - event_trigger_login 46 ms ok 217 - fast_default 278 ms ok 218 - tablespace 572 ms 1..218 # 2 of 218 tests failed. # The differences that caused some tests to fail can be viewed in the file "/tmp/cirrus-ci-build/src/test/recovery/tmp_check/regression.diffs". # A copy of the test summary that you see above is saved in the file "/tmp/cirrus-ci-build/src/test/recovery/tmp_check/regression.out". === dumping /tmp/cirrus-ci-build/src/test/recovery/tmp_check/regression.diffs === diff -U3 /tmp/cirrus-ci-build/src/test/regress/expected/merge.out /tmp/cirrus-ci-build/src/test/recovery/tmp_check/results/merge.out --- /tmp/cirrus-ci-build/src/test/regress/expected/merge.out 2024-03-17 12:38:28.316165066 +0000 +++ /tmp/cirrus-ci-build/src/test/recovery/tmp_check/results/merge.out 2024-03-17 12:45:08.671834597 +0000 @@ -1489,8 +1489,10 @@ QUERY PLAN ------------------------------------------------------------------------------------- Merge on public.tgt t + JIT: true -> Hash Join Output: t.ctid, s.a, s.b, s.c, s.d, s.ctid + JIT: true Hash Cond: (t.a = s.a) Join Filter: (t.b < (SubPlan 1)) -> Seq Scan on public.tgt t @@ -1520,7 +1522,7 @@ -> Seq Scan on public.ref r_1 Output: r_1.ab, r_1.cd Filter: ((r_1.ab = (s.a + s.b)) AND (r_1.cd = (s.c - s.d))) -(32 rows) +(34 rows) DROP TABLE src, tgt, ref; -- Subqueries diff -U3 /tmp/cirrus-ci-build/src/test/regress/expected/explain.out /tmp/cirrus-ci-build/src/test/recovery/tmp_check/results/explain.out --- /tmp/cirrus-ci-build/src/test/regress/expected/explain.out 2024-03-17 12:38:28.292165069 +0000 +++ /tmp/cirrus-ci-build/src/test/recovery/tmp_check/results/explain.out 2024-03-17 12:45:22.567823412 +0000 @@ -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 === [12:45:26.295](40.512s) not ok 2 - regression tests pass [12:45:26.296](0.000s) [12:45:26.296](0.000s) # Failed test 'regression tests pass' # at t/027_stream_regress.pl line 95. [12:45:26.296](0.000s) # got: '256' # expected: '0' 1 1 1 1 2 1 1 9 5 5 3 4 3 4 4 1 32 1 1 1 6 104 2 1 5 1006 1 2 4001 41 5 17 -2 33 34 9 1 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/146E3BF8 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/src/test/recovery/tmp_check/primary.dump --no-sync -p 64161 --no-unlogged-table-data [12:45:28.509](2.213s) ok 3 - dump primary server # Running: pg_dumpall -f /tmp/cirrus-ci-build/src/test/recovery/tmp_check/standby.dump --no-sync -p 64162 [12:45:30.647](2.138s) ok 4 - dump standby server # Running: diff /tmp/cirrus-ci-build/src/test/recovery/tmp_check/primary.dump /tmp/cirrus-ci-build/src/test/recovery/tmp_check/standby.dump [12:45:30.680](0.033s) ok 5 - compare primary and standby dumps [12:45:30.870](0.190s) 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/src/test/recovery/tmp_check/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/src/test/recovery/tmp_check/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" [12:45:31.079](0.208s) 1..6 [12:45:31.080](0.001s) # Looks like you failed 1 test of 6.