# Checking port 52324 # Found port 52324 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=52324 host=/tmp/1G8JyLJBRh Log file: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/log/027_stream_regress_primary.log [19:36:10.238](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 43104 (standby_1,) [19:36:10.462](0.224s) 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/1G8JyLJBRh -p 52324 --checkpoint fast --no-sync # Backup finished # Checking port 52325 # Found port 52325 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=52325 host=/tmp/1G8JyLJBRh 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 43121 # using postmaster on /tmp/1G8JyLJBRh, port 52324 ok 1 - test_setup 351 ms # parallel group (20 tests): oid char int2 regproc pg_lsn text txid int4 varchar name money float4 uuid int8 float8 bit enum boolean numeric rangetypes ok 2 + boolean 413 ms ok 3 + char 119 ms ok 4 + name 206 ms ok 5 + varchar 195 ms ok 6 + text 177 ms ok 7 + int2 148 ms ok 8 + int4 182 ms ok 9 + int8 255 ms ok 10 + oid 113 ms ok 11 + float4 221 ms ok 12 + float8 272 ms ok 13 + bit 284 ms ok 14 + numeric 798 ms ok 15 + txid 173 ms ok 16 + uuid 238 ms ok 17 + enum 298 ms ok 18 + money 207 ms ok 19 + rangetypes 954 ms ok 20 + pg_lsn 170 ms ok 21 + regproc 148 ms # parallel group (20 tests): md5 line lseg circle path macaddr time macaddr8 timetz numerology point date inet interval strings timestamp timestamptz polygon multirangetypes box ok 22 + strings 392 ms ok 23 + md5 59 ms ok 24 + numerology 192 ms ok 25 + point 194 ms ok 26 + lseg 109 ms ok 27 + line 97 ms ok 28 + box 987 ms ok 29 + path 129 ms ok 30 + polygon 771 ms ok 31 + circle 127 ms ok 32 + date 233 ms ok 33 + time 176 ms ok 34 + timetz 184 ms ok 35 + timestamp 494 ms ok 36 + timestamptz 548 ms ok 37 + interval 326 ms ok 38 + inet 263 ms ok 39 + macaddr 147 ms ok 40 + macaddr8 176 ms ok 41 + multirangetypes 930 ms # parallel group (12 tests): comments unicode misc_sanity xid tstypes mvcc expressions geometry horology type_sanity regex opr_sanity ok 42 + geometry 247 ms ok 43 + horology 248 ms ok 44 + tstypes 171 ms ok 45 + regex 429 ms ok 46 + type_sanity 302 ms ok 47 + opr_sanity 609 ms ok 48 + misc_sanity 71 ms ok 49 + comments 32 ms ok 50 + expressions 221 ms ok 51 + unicode 53 ms ok 52 + xid 131 ms ok 53 + mvcc 201 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 54 + copy 200 ms ok 55 + copyselect 73 ms ok 56 + copydml 58 ms ok 57 + insert 577 ms ok 58 + insert_conflict 284 ms # parallel group (7 tests): create_function_c create_operator create_procedure create_schema create_misc create_type create_table ok 59 + create_function_c 31 ms ok 60 + create_misc 126 ms ok 61 + create_operator 85 ms ok 62 + create_procedure 118 ms ok 63 + create_table 620 ms ok 64 + create_type 131 ms ok 65 + create_schema 118 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 1728 ms ok 67 + create_index_spgist 1515 ms ok 68 + create_view 724 ms ok 69 + index_including 454 ms ok 70 + index_including_gist 468 ms # parallel group (16 tests): errors create_cast create_aggregate roleattributes hash_func select drop_if_exists infinite_recurse typed_table create_function_sql create_am vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 186 ms ok 72 + create_function_sql 502 ms ok 73 + create_cast 152 ms ok 74 + constraints 938 ms ok 75 + triggers 2245 ms ok 76 + select 285 ms ok 77 + inherit 1886 ms ok 78 + typed_table 477 ms ok 79 + vacuum 887 ms ok 80 + drop_if_exists 285 ms ok 81 + updatable_views 1428 ms ok 82 + roleattributes 198 ms ok 83 + create_am 504 ms ok 84 + hash_func 231 ms ok 85 + errors 115 ms ok 86 + infinite_recurse 401 ms ok 87 - sanity_check 172 ms # parallel group (20 tests): select_distinct_on namespace select_having select_implicit delete random case select_into prepared_xacts portals transactions arrays select_distinct union subselect update hash_index join aggregates btree_index ok 88 + select_into 327 ms ok 89 + select_distinct 820 ms ok 90 + select_distinct_on 164 ms ok 91 + select_implicit 225 ms ok 92 + select_having 211 ms ok 93 + subselect 972 ms ok 94 + union 841 ms ok 95 + case 268 ms ok 96 + join 1964 ms ok 97 + aggregates 2219 ms ok 98 + transactions 615 ms ok 99 + random 235 ms ok 100 + portals 527 ms ok 101 + arrays 757 ms ok 102 + btree_index 2895 ms ok 103 + hash_index 1443 ms ok 104 + update 1324 ms ok 105 + delete 230 ms ok 106 + namespace 182 ms ok 107 + prepared_xacts 391 ms # parallel group (20 tests): init_privs drop_operator security_label password lock tablesample object_address replica_identity collate matview identity groupingsets generated spgist rowsecurity gist gin brin join_hash privileges ok 108 + brin 7932 ms ok 109 + gin 3089 ms ok 110 + gist 2775 ms ok 111 + spgist 2586 ms ok 112 + privileges 8366 ms ok 113 + init_privs 87 ms ok 114 + security_label 159 ms ok 115 + collate 1609 ms ok 116 + matview 1905 ms ok 117 + lock 455 ms ok 118 + replica_identity 970 ms ok 119 + rowsecurity 2629 ms ok 120 + object_address 580 ms ok 121 + tablesample 477 ms ok 122 + groupingsets 2224 ms ok 123 + drop_operator 134 ms ok 124 + password 312 ms ok 125 + identity 1983 ms ok 126 + generated 2425 ms ok 127 + join_hash 7934 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 150 ms ok 129 + brin_multi 918 ms # parallel group (17 tests): dbsize async tsrf tid tidscan alter_operator create_role misc_functions sysviews alter_generic without_overlaps tidrangescan incremental_sort merge misc create_table_like collate.icu.utf8 ok 130 + create_table_like 950 ms ok 131 + alter_generic 470 ms ok 132 + alter_operator 268 ms ok 133 + misc 844 ms ok 134 + async 83 ms ok 135 + dbsize 67 ms ok 136 + merge 837 ms ok 137 + misc_functions 347 ms ok 138 + sysviews 385 ms ok 139 + tsrf 199 ms ok 140 + tid 211 ms ok 141 + tidscan 254 ms ok 142 + tidrangescan 706 ms ok 143 + collate.icu.utf8 1171 ms ok 144 + incremental_sort 815 ms ok 145 + create_role 308 ms ok 146 + without_overlaps 650 ms # parallel group (7 tests): collate.windows.win1252 amutils psql_crosstab collate.linux.utf8 rules psql stats_ext ok 147 + rules 750 ms ok 148 + psql 830 ms ok 149 + psql_crosstab 77 ms ok 150 + amutils 72 ms ok 151 + stats_ext 2065 ms ok 152 + collate.linux.utf8 455 ms ok 153 + collate.windows.win1252 37 ms ok 154 - select_parallel 2903 ms ok 155 - write_parallel 167 ms ok 156 - vacuum_parallel 180 ms # parallel group (2 tests): subscription publication ok 157 + publication 1282 ms ok 158 + subscription 91 ms # parallel group (17 tests): portals_p2 advisory_lock combocid xmlmap tsdicts equivclass functional_deps guc dependency select_views indirect_toast bitmapops window cluster foreign_data tsearch foreign_key ok 159 + select_views 562 ms ok 160 + portals_p2 165 ms ok 161 + foreign_key 2255 ms ok 162 + cluster 1154 ms ok 163 + dependency 431 ms ok 164 + guc 371 ms ok 165 + bitmapops 1020 ms ok 166 + combocid 198 ms ok 167 + tsearch 1690 ms ok 168 + tsdicts 321 ms ok 169 + foreign_data 1520 ms ok 170 + window 1046 ms ok 171 + xmlmap 265 ms ok 172 + functional_deps 363 ms ok 173 + advisory_lock 184 ms ok 174 + indirect_toast 888 ms ok 175 + equivclass 334 ms # parallel group (7 tests): jsonpath_encoding json_encoding jsonpath sqljson json jsonb_jsonpath jsonb ok 176 + json 211 ms ok 177 + jsonb 497 ms ok 178 + json_encoding 63 ms ok 179 + jsonpath 80 ms ok 180 + jsonpath_encoding 40 ms ok 181 + jsonb_jsonpath 225 ms ok 182 + sqljson 131 ms # parallel group (18 tests): prepare returning plancache limit conversion sequence temp copy2 polymorphism largeobject rowtypes truncate with domain rangefuncs plpgsql xml alter_table ok 183 + plancache 477 ms ok 184 + limit 499 ms ok 185 + plpgsql 2289 ms ok 186 + copy2 883 ms ok 187 + temp 819 ms ok 188 + domain 1303 ms ok 189 + rangefuncs 1333 ms ok 190 + prepare 194 ms ok 191 + conversion 612 ms ok 192 + truncate 1109 ms ok 193 + alter_table 3093 ms ok 194 + sequence 795 ms ok 195 + polymorphism 1008 ms ok 196 + rowtypes 1072 ms ok 197 + returning 371 ms ok 198 + largeobject 1040 ms ok 199 + with 1144 ms ok 200 + xml 3040 ms # parallel group (13 tests): hash_part predicate reloptions partition_info explain compression memoize stats partition_aggregate tuplesort indexing partition_join partition_prune ok 201 + partition_join 2163 ms ok 202 + partition_prune 2597 ms ok 203 + reloptions 292 ms ok 204 + hash_part 170 ms ok 205 + indexing 2144 ms ok 206 + partition_aggregate 1847 ms ok 207 + partition_info 328 ms ok 208 + tuplesort 2086 ms not ok 209 + explain 338 ms ok 210 + compression 800 ms ok 211 + memoize 1034 ms ok 212 + stats 1663 ms ok 213 + predicate 176 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 414 ms ok 215 + event_trigger 474 ms ok 216 - event_trigger_login 51 ms ok 217 - fast_default 290 ms ok 218 - tablespace 581 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-02 19:30:19.293061972 +0000 +++ /tmp/cirrus-ci-build/src/test/recovery/tmp_check/results/explain.out 2024-03-02 19:36:45.492753647 +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 === [19:36:49.175](38.713s) not ok 2 - regression tests pass [19:36:49.176](0.000s) [19:36:49.176](0.000s) # Failed test 'regression tests pass' # at t/027_stream_regress.pl line 95. [19:36:49.176](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 4001 1 2 41 5 -2 17 9 1 33 34 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/14589BA8 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/src/test/recovery/tmp_check/primary.dump --no-sync -p 52324 --no-unlogged-table-data [19:36:51.393](2.217s) ok 3 - dump primary server # Running: pg_dumpall -f /tmp/cirrus-ci-build/src/test/recovery/tmp_check/standby.dump --no-sync -p 52325 [19:36:53.531](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 [19:36:53.564](0.033s) ok 5 - compare primary and standby dumps [19:36:53.761](0.197s) 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" [19:36:53.970](0.209s) 1..6 [19:36:53.971](0.001s) # Looks like you failed 1 test of 6.