# Checking port 54198 # Found port 54198 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=54198 host=/tmp/I4rnMySxKa Log file: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/log/027_stream_regress_primary.log [18:50:28.970](0.014s) # 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 48063 (standby_1,) [18:50:29.195](0.225s) 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/I4rnMySxKa -p 54198 --checkpoint fast --no-sync # Backup finished # Checking port 54199 # Found port 54199 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=54199 host=/tmp/I4rnMySxKa 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 48127 # using postmaster on /tmp/I4rnMySxKa, port 54198 ok 1 - test_setup 355 ms # parallel group (20 tests): oid pg_lsn name char varchar int4 txid regproc text int2 money float4 float8 uuid int8 bit enum boolean numeric rangetypes ok 2 + boolean 479 ms ok 3 + char 163 ms ok 4 + name 152 ms ok 5 + varchar 176 ms ok 6 + text 195 ms ok 7 + int2 202 ms ok 8 + int4 175 ms ok 9 + int8 291 ms ok 10 + oid 118 ms ok 11 + float4 254 ms ok 12 + float8 272 ms ok 13 + bit 333 ms ok 14 + numeric 963 ms ok 15 + txid 180 ms ok 16 + uuid 273 ms ok 17 + enum 354 ms ok 18 + money 233 ms ok 19 + rangetypes 1098 ms ok 20 + pg_lsn 124 ms ok 21 + regproc 184 ms # parallel group (20 tests): md5 path lseg line circle time timetz macaddr8 macaddr point numerology date inet interval timestamp strings timestamptz polygon multirangetypes box ok 22 + strings 548 ms ok 23 + md5 66 ms ok 24 + numerology 263 ms ok 25 + point 225 ms ok 26 + lseg 122 ms ok 27 + line 128 ms ok 28 + box 1237 ms ok 29 + path 103 ms ok 30 + polygon 989 ms ok 31 + circle 133 ms ok 32 + date 277 ms ok 33 + time 143 ms ok 34 + timetz 176 ms ok 35 + timestamp 470 ms ok 36 + timestamptz 609 ms ok 37 + interval 384 ms ok 38 + inet 303 ms ok 39 + macaddr 207 ms ok 40 + macaddr8 201 ms ok 41 + multirangetypes 1088 ms # parallel group (12 tests): unicode comments misc_sanity tstypes xid expressions mvcc horology geometry type_sanity regex opr_sanity ok 42 + geometry 317 ms ok 43 + horology 312 ms ok 44 + tstypes 167 ms ok 45 + regex 519 ms ok 46 + type_sanity 382 ms ok 47 + opr_sanity 746 ms ok 48 + misc_sanity 118 ms ok 49 + comments 75 ms ok 50 + expressions 211 ms ok 51 + unicode 58 ms ok 52 + xid 168 ms ok 53 + mvcc 251 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 54 + copy 235 ms ok 55 + copyselect 85 ms ok 56 + copydml 80 ms ok 57 + insert 611 ms ok 58 + insert_conflict 362 ms # parallel group (7 tests): create_function_c create_operator create_type create_schema create_misc create_procedure create_table ok 59 + create_function_c 39 ms ok 60 + create_misc 154 ms ok 61 + create_operator 71 ms ok 62 + create_procedure 155 ms ok 63 + create_table 752 ms ok 64 + create_type 114 ms ok 65 + create_schema 134 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 2026 ms ok 67 + create_index_spgist 1781 ms ok 68 + create_view 965 ms ok 69 + index_including 611 ms ok 70 + index_including_gist 655 ms # parallel group (16 tests): errors roleattributes create_cast hash_func create_aggregate select drop_if_exists typed_table create_am create_function_sql infinite_recurse constraints vacuum updatable_views inherit triggers ok 71 + create_aggregate 253 ms ok 72 + create_function_sql 635 ms ok 73 + create_cast 202 ms ok 74 + constraints 1365 ms ok 75 + triggers 2749 ms ok 76 + select 287 ms ok 77 + inherit 2432 ms ok 78 + typed_table 550 ms ok 79 + vacuum 1413 ms ok 80 + drop_if_exists 355 ms ok 81 + updatable_views 1752 ms ok 82 + roleattributes 151 ms ok 83 + create_am 590 ms ok 84 + hash_func 222 ms ok 85 + errors 116 ms ok 86 + infinite_recurse 690 ms ok 87 - sanity_check 186 ms # parallel group (20 tests): select_having select_distinct_on delete select_implicit namespace random case select_into prepared_xacts portals transactions select_distinct arrays union subselect update hash_index join aggregates btree_index ok 88 + select_into 418 ms ok 89 + select_distinct 942 ms ok 90 + select_distinct_on 224 ms ok 91 + select_implicit 274 ms ok 92 + select_having 199 ms ok 93 + subselect 1277 ms ok 94 + union 1102 ms ok 95 + case 315 ms ok 96 + join 2594 ms ok 97 + aggregates 2932 ms ok 98 + transactions 724 ms ok 99 + random 287 ms ok 100 + portals 717 ms ok 101 + arrays 1008 ms ok 102 + btree_index 3596 ms ok 103 + hash_index 1951 ms ok 104 + update 1764 ms ok 105 + delete 263 ms ok 106 + namespace 280 ms ok 107 + prepared_xacts 501 ms # parallel group (20 tests): init_privs drop_operator security_label password lock tablesample object_address replica_identity collate identity matview groupingsets generated spgist rowsecurity gist gin brin join_hash privileges ok 108 + brin 8763 ms ok 109 + gin 3716 ms ok 110 + gist 3323 ms ok 111 + spgist 3127 ms ok 112 + privileges 9204 ms ok 113 + init_privs 74 ms ok 114 + security_label 246 ms ok 115 + collate 1922 ms ok 116 + matview 2321 ms ok 117 + lock 458 ms ok 118 + replica_identity 1240 ms ok 119 + rowsecurity 3171 ms ok 120 + object_address 841 ms ok 121 + tablesample 524 ms ok 122 + groupingsets 3002 ms ok 123 + drop_operator 155 ms ok 124 + password 379 ms ok 125 + identity 2102 ms ok 126 + generated 3085 ms ok 127 + join_hash 8756 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 154 ms ok 129 + brin_multi 980 ms # parallel group (17 tests): async dbsize tid tsrf alter_operator tidscan create_role sysviews misc_functions alter_generic tidrangescan without_overlaps misc merge incremental_sort create_table_like collate.icu.utf8 ok 130 + create_table_like 1181 ms ok 131 + alter_generic 586 ms ok 132 + alter_operator 264 ms ok 133 + misc 1069 ms ok 134 + async 64 ms ok 135 + dbsize 111 ms ok 136 + merge 1134 ms ok 137 + misc_functions 477 ms ok 138 + sysviews 416 ms ok 139 + tsrf 251 ms ok 140 + tid 201 ms ok 141 + tidscan 308 ms ok 142 + tidrangescan 748 ms ok 143 + collate.icu.utf8 1504 ms ok 144 + incremental_sort 1140 ms ok 145 + create_role 389 ms ok 146 + without_overlaps 854 ms # parallel group (7 tests): collate.windows.win1252 amutils psql_crosstab collate.linux.utf8 psql rules stats_ext ok 147 + rules 1001 ms ok 148 + psql 992 ms ok 149 + psql_crosstab 84 ms ok 150 + amutils 46 ms ok 151 + stats_ext 2402 ms ok 152 + collate.linux.utf8 536 ms ok 153 + collate.windows.win1252 31 ms ok 154 - select_parallel 3970 ms ok 155 - write_parallel 179 ms ok 156 - vacuum_parallel 199 ms # parallel group (2 tests): subscription publication ok 157 + publication 1357 ms ok 158 + subscription 122 ms # parallel group (17 tests): portals_p2 combocid advisory_lock xmlmap functional_deps tsdicts equivclass guc dependency select_views indirect_toast bitmapops window cluster foreign_data tsearch foreign_key ok 159 + select_views 724 ms ok 160 + portals_p2 206 ms ok 161 + foreign_key 2468 ms ok 162 + cluster 1263 ms ok 163 + dependency 476 ms ok 164 + guc 428 ms ok 165 + bitmapops 1140 ms ok 166 + combocid 246 ms ok 167 + tsearch 1940 ms ok 168 + tsdicts 393 ms ok 169 + foreign_data 1709 ms ok 170 + window 1206 ms ok 171 + xmlmap 301 ms ok 172 + functional_deps 374 ms ok 173 + advisory_lock 270 ms ok 174 + indirect_toast 1077 ms ok 175 + equivclass 395 ms # parallel group (7 tests): jsonpath_encoding json_encoding jsonpath sqljson json jsonb_jsonpath jsonb ok 176 + json 216 ms ok 177 + jsonb 513 ms ok 178 + json_encoding 81 ms ok 179 + jsonpath 109 ms ok 180 + jsonpath_encoding 27 ms ok 181 + jsonb_jsonpath 215 ms ok 182 + sqljson 148 ms # parallel group (18 tests): prepare returning plancache limit conversion temp sequence copy2 polymorphism rowtypes largeobject truncate with domain rangefuncs plpgsql xml alter_table ok 183 + plancache 494 ms ok 184 + limit 612 ms ok 185 + plpgsql 2510 ms ok 186 + copy2 1045 ms ok 187 + temp 911 ms ok 188 + domain 1445 ms ok 189 + rangefuncs 1661 ms ok 190 + prepare 203 ms ok 191 + conversion 677 ms ok 192 + truncate 1193 ms ok 193 + alter_table 3434 ms ok 194 + sequence 1035 ms ok 195 + polymorphism 1052 ms ok 196 + rowtypes 1058 ms ok 197 + returning 343 ms ok 198 + largeobject 1092 ms ok 199 + with 1263 ms ok 200 + xml 3272 ms # parallel group (13 tests): reloptions hash_part predicate explain partition_info compression memoize stats partition_aggregate partition_join indexing tuplesort partition_prune ok 201 + partition_join 2263 ms ok 202 + partition_prune 2683 ms ok 203 + reloptions 182 ms ok 204 + hash_part 185 ms ok 205 + indexing 2381 ms ok 206 + partition_aggregate 2054 ms ok 207 + partition_info 363 ms ok 208 + tuplesort 2507 ms not ok 209 + explain 287 ms ok 210 + compression 700 ms ok 211 + memoize 1109 ms ok 212 + stats 1801 ms ok 213 + predicate 280 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 415 ms ok 215 + event_trigger 480 ms ok 216 - event_trigger_login 54 ms ok 217 - fast_default 323 ms ok 218 - tablespace 608 ms 1..218 # 1 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/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-02-27 18:44:13.130824479 +0000 +++ /tmp/cirrus-ci-build/src/test/recovery/tmp_check/results/explain.out 2024-02-27 18:51:09.794454193 +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 === [18:51:13.684](44.489s) not ok 2 - regression tests pass [18:51:13.685](0.000s) [18:51:13.685](0.000s) # Failed test 'regression tests pass' # at t/027_stream_regress.pl line 95. [18:51:13.685](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 3 4 3 4 4 1 5 32 1 1 1 6 104 2 1 1006 1 2 4001 41 -2 5 17 9 1 33 34 46 1 1 1 1 -1 1 1 -1 -32768 32767 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/144C89B0 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/src/test/recovery/tmp_check/primary.dump --no-sync -p 54198 --no-unlogged-table-data [18:51:15.900](2.215s) ok 3 - dump primary server # Running: pg_dumpall -f /tmp/cirrus-ci-build/src/test/recovery/tmp_check/standby.dump --no-sync -p 54199 [18:51:18.040](2.140s) 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 [18:51:18.073](0.033s) ok 5 - compare primary and standby dumps [18:51:18.269](0.196s) 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" [18:51:18.478](0.209s) 1..6 [18:51:18.479](0.001s) # Looks like you failed 1 test of 6.