# Checking port 49776 # Found port 49776 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=49776 host=/tmp/aptmWbgXZh Log file: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/log/027_stream_regress_primary.log [21:09:00.241](0.015s) # 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 48170 (standby_1,) [21:09:00.477](0.236s) 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/aptmWbgXZh -p 49776 --checkpoint fast --no-sync # Backup finished # Checking port 49777 # Found port 49777 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=49777 host=/tmp/aptmWbgXZh 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 48199 # using postmaster on /tmp/aptmWbgXZh, port 49776 ok 1 - test_setup 382 ms # parallel group (20 tests): char oid txid varchar text pg_lsn int2 int4 name float4 money regproc int8 uuid float8 bit enum boolean numeric rangetypes ok 2 + boolean 510 ms ok 3 + char 143 ms ok 4 + name 255 ms ok 5 + varchar 184 ms ok 6 + text 208 ms ok 7 + int2 223 ms ok 8 + int4 224 ms ok 9 + int8 284 ms ok 10 + oid 170 ms ok 11 + float4 254 ms ok 12 + float8 332 ms ok 13 + bit 363 ms ok 14 + numeric 991 ms ok 15 + txid 169 ms ok 16 + uuid 300 ms ok 17 + enum 384 ms ok 18 + money 263 ms ok 19 + rangetypes 1152 ms ok 20 + pg_lsn 202 ms ok 21 + regproc 262 ms # parallel group (20 tests): md5 lseg circle path line time macaddr8 macaddr timetz point numerology date inet interval timestamp strings timestamptz polygon multirangetypes box ok 22 + strings 542 ms ok 23 + md5 57 ms ok 24 + numerology 281 ms ok 25 + point 236 ms ok 26 + lseg 115 ms ok 27 + line 160 ms ok 28 + box 1265 ms ok 29 + path 137 ms ok 30 + polygon 920 ms ok 31 + circle 135 ms ok 32 + date 301 ms ok 33 + time 157 ms ok 34 + timetz 217 ms ok 35 + timestamp 529 ms ok 36 + timestamptz 608 ms ok 37 + interval 480 ms ok 38 + inet 341 ms ok 39 + macaddr 211 ms ok 40 + macaddr8 207 ms ok 41 + multirangetypes 1149 ms # parallel group (12 tests): comments unicode misc_sanity xid tstypes horology expressions mvcc geometry type_sanity regex opr_sanity ok 42 + geometry 323 ms ok 43 + horology 272 ms ok 44 + tstypes 224 ms ok 45 + regex 450 ms ok 46 + type_sanity 364 ms ok 47 + opr_sanity 774 ms ok 48 + misc_sanity 107 ms ok 49 + comments 44 ms ok 50 + expressions 280 ms ok 51 + unicode 75 ms ok 52 + xid 182 ms ok 53 + mvcc 282 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 54 + copy 227 ms ok 55 + copyselect 135 ms ok 56 + copydml 94 ms ok 57 + insert 707 ms ok 58 + insert_conflict 354 ms # parallel group (7 tests): create_function_c create_operator create_misc create_type create_schema create_procedure create_table ok 59 + create_function_c 33 ms ok 60 + create_misc 116 ms ok 61 + create_operator 103 ms ok 62 + create_procedure 166 ms ok 63 + create_table 707 ms ok 64 + create_type 119 ms ok 65 + create_schema 154 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 2011 ms ok 67 + create_index_spgist 1795 ms ok 68 + create_view 890 ms ok 69 + index_including 487 ms ok 70 + index_including_gist 579 ms # parallel group (16 tests): errors roleattributes create_cast create_aggregate hash_func drop_if_exists select typed_table create_am create_function_sql infinite_recurse vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 236 ms ok 72 + create_function_sql 587 ms ok 73 + create_cast 185 ms ok 74 + constraints 1188 ms ok 75 + triggers 3132 ms ok 76 + select 390 ms ok 77 + inherit 2238 ms ok 78 + typed_table 486 ms ok 79 + vacuum 1038 ms ok 80 + drop_if_exists 317 ms ok 81 + updatable_views 1812 ms ok 82 + roleattributes 165 ms ok 83 + create_am 574 ms ok 84 + hash_func 252 ms ok 85 + errors 153 ms ok 86 + infinite_recurse 602 ms ok 87 - sanity_check 195 ms # parallel group (20 tests): select_distinct_on delete select_having random select_implicit case namespace select_into prepared_xacts transactions portals union select_distinct arrays subselect update hash_index join aggregates btree_index ok 88 + select_into 479 ms ok 89 + select_distinct 1045 ms ok 90 + select_distinct_on 170 ms ok 91 + select_implicit 301 ms ok 92 + select_having 259 ms ok 93 + subselect 1355 ms ok 94 + union 1033 ms ok 95 + case 332 ms ok 96 + join 2467 ms ok 97 + aggregates 2843 ms ok 98 + transactions 723 ms ok 99 + random 289 ms ok 100 + portals 741 ms ok 101 + arrays 1102 ms ok 102 + btree_index 3483 ms ok 103 + hash_index 1934 ms ok 104 + update 1867 ms ok 105 + delete 237 ms ok 106 + namespace 348 ms ok 107 + prepared_xacts 475 ms # parallel group (20 tests): init_privs security_label drop_operator password tablesample lock object_address replica_identity collate matview identity groupingsets rowsecurity spgist gist generated gin brin join_hash privileges ok 108 + brin 9362 ms ok 109 + gin 3958 ms ok 110 + gist 3477 ms ok 111 + spgist 3391 ms ok 112 + privileges 9856 ms ok 113 + init_privs 98 ms ok 114 + security_label 264 ms ok 115 + collate 2390 ms ok 116 + matview 2449 ms ok 117 + lock 728 ms ok 118 + replica_identity 1418 ms ok 119 + rowsecurity 3348 ms ok 120 + object_address 840 ms ok 121 + tablesample 696 ms ok 122 + groupingsets 3243 ms ok 123 + drop_operator 253 ms ok 124 + password 431 ms ok 125 + identity 2605 ms ok 126 + generated 3514 ms ok 127 + join_hash 9363 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 173 ms ok 129 + brin_multi 991 ms # parallel group (17 tests): async dbsize tid tsrf tidscan alter_operator create_role misc_functions sysviews alter_generic tidrangescan without_overlaps misc merge incremental_sort create_table_like collate.icu.utf8 ok 130 + create_table_like 1247 ms ok 131 + alter_generic 580 ms ok 132 + alter_operator 289 ms ok 133 + misc 974 ms ok 134 + async 65 ms ok 135 + dbsize 83 ms ok 136 + merge 1138 ms ok 137 + misc_functions 463 ms ok 138 + sysviews 478 ms ok 139 + tsrf 272 ms ok 140 + tid 226 ms ok 141 + tidscan 282 ms ok 142 + tidrangescan 782 ms ok 143 + collate.icu.utf8 1394 ms ok 144 + incremental_sort 1154 ms ok 145 + create_role 399 ms ok 146 + without_overlaps 889 ms # parallel group (7 tests): collate.windows.win1252 psql_crosstab amutils collate.linux.utf8 rules psql stats_ext ok 147 + rules 1178 ms ok 148 + psql 1319 ms ok 149 + psql_crosstab 75 ms ok 150 + amutils 86 ms ok 151 + stats_ext 2473 ms ok 152 + collate.linux.utf8 562 ms ok 153 + collate.windows.win1252 27 ms ok 154 - select_parallel 3974 ms ok 155 - write_parallel 254 ms ok 156 - vacuum_parallel 229 ms # parallel group (2 tests): subscription publication ok 157 + publication 1372 ms ok 158 + subscription 108 ms # parallel group (17 tests): portals_p2 advisory_lock combocid xmlmap tsdicts functional_deps guc equivclass dependency select_views bitmapops indirect_toast window cluster foreign_data tsearch foreign_key ok 159 + select_views 706 ms ok 160 + portals_p2 167 ms ok 161 + foreign_key 2704 ms ok 162 + cluster 1445 ms ok 163 + dependency 555 ms ok 164 + guc 448 ms ok 165 + bitmapops 1227 ms ok 166 + combocid 254 ms ok 167 + tsearch 2002 ms ok 168 + tsdicts 384 ms ok 169 + foreign_data 1938 ms ok 170 + window 1260 ms ok 171 + xmlmap 303 ms ok 172 + functional_deps 425 ms ok 173 + advisory_lock 238 ms ok 174 + indirect_toast 1254 ms ok 175 + equivclass 531 ms # parallel group (7 tests): jsonpath_encoding json_encoding jsonpath sqljson jsonb_jsonpath json jsonb ok 176 + json 307 ms ok 177 + jsonb 561 ms ok 178 + json_encoding 49 ms ok 179 + jsonpath 103 ms ok 180 + jsonpath_encoding 40 ms ok 181 + jsonb_jsonpath 279 ms ok 182 + sqljson 202 ms # parallel group (18 tests): prepare plancache returning limit temp conversion sequence largeobject copy2 rowtypes polymorphism truncate with domain rangefuncs plpgsql alter_table xml ok 183 + plancache 582 ms ok 184 + limit 735 ms ok 185 + plpgsql 2838 ms ok 186 + copy2 1245 ms ok 187 + temp 911 ms ok 188 + domain 1517 ms ok 189 + rangefuncs 1881 ms ok 190 + prepare 345 ms ok 191 + conversion 961 ms ok 192 + truncate 1448 ms ok 193 + alter_table 3616 ms ok 194 + sequence 1024 ms ok 195 + polymorphism 1293 ms ok 196 + rowtypes 1269 ms ok 197 + returning 585 ms ok 198 + largeobject 1228 ms ok 199 + with 1490 ms ok 200 + xml 3940 ms # parallel group (13 tests): predicate reloptions hash_part explain partition_info compression memoize stats partition_aggregate tuplesort partition_join indexing partition_prune ok 201 + partition_join 2681 ms ok 202 + partition_prune 3027 ms ok 203 + reloptions 272 ms ok 204 + hash_part 275 ms ok 205 + indexing 2708 ms ok 206 + partition_aggregate 2238 ms ok 207 + partition_info 490 ms ok 208 + tuplesort 2512 ms not ok 209 + explain 401 ms ok 210 + compression 972 ms ok 211 + memoize 1188 ms ok 212 + stats 1848 ms ok 213 + predicate 250 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 457 ms ok 215 + event_trigger 525 ms ok 216 - event_trigger_login 63 ms ok 217 - fast_default 346 ms ok 218 - tablespace 687 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-03-04 21:02:40.608815049 +0000 +++ /tmp/cirrus-ci-build/src/test/recovery/tmp_check/results/explain.out 2024-03-04 21:09:43.176491190 +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 === [21:09:47.460](46.983s) not ok 2 - regression tests pass [21:09:47.461](0.000s) [21:09:47.461](0.000s) # Failed test 'regression tests pass' # at t/027_stream_regress.pl line 95. [21:09:47.461](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 3 4 3 4 4 1 32 1 1 1 6 104 2 1 5 4001 1006 1 2 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/14611248 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/src/test/recovery/tmp_check/primary.dump --no-sync -p 49776 --no-unlogged-table-data [21:09:50.186](2.725s) ok 3 - dump primary server # Running: pg_dumpall -f /tmp/cirrus-ci-build/src/test/recovery/tmp_check/standby.dump --no-sync -p 49777 [21:09:52.826](2.640s) 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 [21:09:52.859](0.033s) ok 5 - compare primary and standby dumps [21:09:53.074](0.215s) 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" [21:09:53.284](0.210s) 1..6 [21:09:53.286](0.001s) # Looks like you failed 1 test of 6.