# Checking port 55291 # Found port 55291 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=55291 host=/tmp/8xpFibhpdp Log file: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/log/027_stream_regress_primary.log [04:20:28.240](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 42776 (standby_1,) [04:20:28.462](0.222s) 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/8xpFibhpdp -p 55291 --checkpoint fast --no-sync # Backup finished # Checking port 55292 # Found port 55292 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=55292 host=/tmp/8xpFibhpdp 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 42793 # using postmaster on /tmp/8xpFibhpdp, port 55291 ok 1 - test_setup 343 ms # parallel group (20 tests): char oid pg_lsn text txid varchar int2 regproc int4 float4 money name uuid int8 float8 bit enum boolean numeric rangetypes ok 2 + boolean 392 ms ok 3 + char 107 ms ok 4 + name 204 ms ok 5 + varchar 160 ms ok 6 + text 146 ms ok 7 + int2 165 ms ok 8 + int4 179 ms ok 9 + int8 235 ms ok 10 + oid 126 ms ok 11 + float4 186 ms ok 12 + float8 257 ms ok 13 + bit 284 ms ok 14 + numeric 780 ms ok 15 + txid 143 ms ok 16 + uuid 219 ms ok 17 + enum 304 ms ok 18 + money 195 ms ok 19 + rangetypes 928 ms ok 20 + pg_lsn 130 ms ok 21 + regproc 162 ms # parallel group (20 tests): md5 lseg line path circle time macaddr timetz numerology macaddr8 point inet date interval strings timestamp timestamptz polygon multirangetypes box ok 22 + strings 353 ms ok 23 + md5 61 ms ok 24 + numerology 172 ms ok 25 + point 190 ms ok 26 + lseg 89 ms ok 27 + line 101 ms ok 28 + box 972 ms ok 29 + path 100 ms ok 30 + polygon 748 ms ok 31 + circle 109 ms ok 32 + date 236 ms ok 33 + time 128 ms ok 34 + timetz 144 ms ok 35 + timestamp 495 ms ok 36 + timestamptz 552 ms ok 37 + interval 270 ms ok 38 + inet 231 ms ok 39 + macaddr 139 ms ok 40 + macaddr8 176 ms ok 41 + multirangetypes 889 ms # parallel group (12 tests): comments unicode misc_sanity xid tstypes expressions geometry mvcc horology type_sanity regex opr_sanity ok 42 + geometry 217 ms ok 43 + horology 244 ms ok 44 + tstypes 166 ms ok 45 + regex 415 ms ok 46 + type_sanity 286 ms ok 47 + opr_sanity 604 ms ok 48 + misc_sanity 72 ms ok 49 + comments 43 ms ok 50 + expressions 211 ms ok 51 + unicode 55 ms ok 52 + xid 130 ms ok 53 + mvcc 229 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 54 + copy 184 ms ok 55 + copyselect 75 ms ok 56 + copydml 62 ms ok 57 + insert 525 ms ok 58 + insert_conflict 261 ms # parallel group (7 tests): create_function_c create_operator create_schema create_misc create_type create_procedure create_table ok 59 + create_function_c 23 ms ok 60 + create_misc 105 ms ok 61 + create_operator 100 ms ok 62 + create_procedure 137 ms ok 63 + create_table 597 ms ok 64 + create_type 120 ms ok 65 + create_schema 99 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 1661 ms ok 67 + create_index_spgist 1472 ms ok 68 + create_view 693 ms ok 69 + index_including 385 ms ok 70 + index_including_gist 455 ms # parallel group (16 tests): create_cast roleattributes errors hash_func create_aggregate select drop_if_exists typed_table create_am infinite_recurse create_function_sql vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 255 ms ok 72 + create_function_sql 539 ms ok 73 + create_cast 157 ms ok 74 + constraints 920 ms ok 75 + triggers 2090 ms ok 76 + select 272 ms ok 77 + inherit 1777 ms ok 78 + typed_table 403 ms ok 79 + vacuum 914 ms ok 80 + drop_if_exists 276 ms ok 81 + updatable_views 1395 ms ok 82 + roleattributes 165 ms ok 83 + create_am 488 ms ok 84 + hash_func 188 ms ok 85 + errors 165 ms ok 86 + infinite_recurse 508 ms ok 87 - sanity_check 176 ms # parallel group (20 tests): select_distinct_on select_having delete random namespace select_implicit case select_into prepared_xacts transactions portals select_distinct arrays union subselect update hash_index join aggregates btree_index ok 88 + select_into 379 ms ok 89 + select_distinct 747 ms ok 90 + select_distinct_on 140 ms ok 91 + select_implicit 289 ms ok 92 + select_having 201 ms ok 93 + subselect 1046 ms ok 94 + union 882 ms ok 95 + case 333 ms ok 96 + join 1911 ms ok 97 + aggregates 2178 ms ok 98 + transactions 526 ms ok 99 + random 246 ms ok 100 + portals 572 ms ok 101 + arrays 871 ms ok 102 + btree_index 2839 ms ok 103 + hash_index 1518 ms ok 104 + update 1293 ms ok 105 + delete 199 ms ok 106 + namespace 270 ms ok 107 + prepared_xacts 432 ms # parallel group (20 tests): init_privs drop_operator security_label password tablesample lock object_address replica_identity collate identity matview groupingsets generated spgist rowsecurity gist brin gin join_hash privileges ok 108 + brin 2733 ms ok 109 + gin 3034 ms ok 110 + gist 2731 ms ok 111 + spgist 2674 ms ok 112 + privileges 8159 ms ok 113 + init_privs 86 ms ok 114 + security_label 172 ms ok 115 + collate 1664 ms ok 116 + matview 2093 ms ok 117 + lock 408 ms ok 118 + replica_identity 944 ms ok 119 + rowsecurity 2684 ms ok 120 + object_address 636 ms ok 121 + tablesample 357 ms ok 122 + groupingsets 2339 ms ok 123 + drop_operator 141 ms ok 124 + password 281 ms ok 125 + identity 1958 ms ok 126 + generated 2405 ms ok 127 + join_hash 7749 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 149 ms ok 129 + brin_multi 931 ms # parallel group (17 tests): async dbsize tid tsrf tidscan alter_operator create_role misc_functions sysviews alter_generic without_overlaps tidrangescan misc incremental_sort merge create_table_like collate.icu.utf8 ok 130 + create_table_like 948 ms ok 131 + alter_generic 462 ms ok 132 + alter_operator 282 ms ok 133 + misc 820 ms ok 134 + async 68 ms ok 135 + dbsize 89 ms ok 136 + merge 876 ms ok 137 + misc_functions 392 ms ok 138 + sysviews 393 ms ok 139 + tsrf 233 ms ok 140 + tid 225 ms ok 141 + tidscan 256 ms ok 142 + tidrangescan 679 ms ok 143 + collate.icu.utf8 1042 ms ok 144 + incremental_sort 872 ms ok 145 + create_role 287 ms ok 146 + without_overlaps 656 ms # parallel group (7 tests): collate.windows.win1252 amutils psql_crosstab collate.linux.utf8 rules psql stats_ext ok 147 + rules 693 ms ok 148 + psql 839 ms ok 149 + psql_crosstab 90 ms ok 150 + amutils 68 ms ok 151 + stats_ext 2054 ms ok 152 + collate.linux.utf8 474 ms ok 153 + collate.windows.win1252 22 ms ok 154 - select_parallel 2879 ms ok 155 - write_parallel 143 ms ok 156 - vacuum_parallel 175 ms # parallel group (2 tests): subscription publication ok 157 + publication 1157 ms ok 158 + subscription 87 ms # parallel group (17 tests): portals_p2 advisory_lock combocid xmlmap tsdicts functional_deps equivclass guc dependency select_views indirect_toast window bitmapops cluster foreign_data tsearch foreign_key ok 159 + select_views 631 ms ok 160 + portals_p2 155 ms ok 161 + foreign_key 2185 ms ok 162 + cluster 1141 ms ok 163 + dependency 464 ms ok 164 + guc 396 ms ok 165 + bitmapops 1023 ms ok 166 + combocid 244 ms ok 167 + tsearch 1645 ms ok 168 + tsdicts 298 ms ok 169 + foreign_data 1488 ms ok 170 + window 975 ms ok 171 + xmlmap 248 ms ok 172 + functional_deps 344 ms ok 173 + advisory_lock 187 ms ok 174 + indirect_toast 901 ms ok 175 + equivclass 361 ms # parallel group (7 tests): jsonpath_encoding json_encoding jsonpath sqljson json jsonb_jsonpath jsonb ok 176 + json 182 ms ok 177 + jsonb 476 ms ok 178 + json_encoding 67 ms ok 179 + jsonpath 84 ms ok 180 + jsonpath_encoding 42 ms ok 181 + jsonb_jsonpath 237 ms ok 182 + sqljson 140 ms # parallel group (18 tests): prepare returning plancache limit conversion temp sequence copy2 rowtypes polymorphism largeobject truncate with domain rangefuncs plpgsql alter_table xml ok 183 + plancache 481 ms ok 184 + limit 566 ms ok 185 + plpgsql 2068 ms ok 186 + copy2 883 ms ok 187 + temp 672 ms ok 188 + domain 1203 ms ok 189 + rangefuncs 1341 ms ok 190 + prepare 234 ms ok 191 + conversion 649 ms ok 192 + truncate 1086 ms ok 193 + alter_table 2904 ms ok 194 + sequence 770 ms ok 195 + polymorphism 938 ms ok 196 + rowtypes 931 ms ok 197 + returning 326 ms ok 198 + largeobject 990 ms ok 199 + with 1087 ms ok 200 + xml 2946 ms # parallel group (13 tests): hash_part reloptions predicate explain partition_info compression memoize stats partition_aggregate partition_join indexing tuplesort partition_prune ok 201 + partition_join 2021 ms ok 202 + partition_prune 2472 ms ok 203 + reloptions 236 ms ok 204 + hash_part 145 ms ok 205 + indexing 2138 ms ok 206 + partition_aggregate 1769 ms ok 207 + partition_info 287 ms ok 208 + tuplesort 2175 ms not ok 209 + explain 260 ms ok 210 + compression 677 ms ok 211 + memoize 768 ms ok 212 + stats 1501 ms ok 213 + predicate 236 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 406 ms ok 215 + event_trigger 464 ms ok 216 - event_trigger_login 47 ms ok 217 - fast_default 270 ms ok 218 - tablespace 552 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-20 04:14:04.988116026 +0000 +++ /tmp/cirrus-ci-build/src/test/recovery/tmp_check/results/explain.out 2024-02-20 04:21:02.239820171 +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 === [04:21:05.811](37.349s) not ok 2 - regression tests pass [04:21:05.811](0.000s) [04:21:05.811](0.000s) # Failed test 'regression tests pass' # at t/027_stream_regress.pl line 95. [04:21:05.811](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/148F0770 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/src/test/recovery/tmp_check/primary.dump --no-sync -p 55291 --no-unlogged-table-data [04:21:08.026](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 55292 [04:21:10.164](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 [04:21:10.197](0.033s) ok 5 - compare primary and standby dumps [04:21:10.389](0.192s) 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" [04:21:10.598](0.209s) 1..6 [04:21:10.599](0.001s) # Looks like you failed 1 test of 6.