# Checking port 57869 # Found port 57869 Name: primary Data directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/archives Connection string: port=57869 host=/tmp/rv8RZJ097M Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [07:09:05.630](0.035s) # initializing database system by copying initdb template # Running: cp -RPp /tmp/cirrus-ci-build/build/tmp_install/initdb-template /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata # Running: /tmp/cirrus-ci-build/build/src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata ### Starting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/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 31258 (standby_1,) [07:09:05.984](0.354s) ok 1 - physical slot created on primary # Taking pg_basebackup my_backup from node "primary" # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/backup/my_backup -h /tmp/rv8RZJ097M -p 57869 --checkpoint fast --no-sync # Backup finished # Checking port 57870 # Found port 57870 Name: standby_1 Data directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/archives Connection string: port=57870 host=/tmp/rv8RZJ097M Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/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/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/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 31357 # using postmaster on /tmp/rv8RZJ097M, port 57869 ok 1 - test_setup 1021 ms # parallel group (20 tests): char varchar int4 pg_lsn oid regproc int2 name txid float4 text uuid money int8 float8 enum bit boolean rangetypes numeric ok 2 + boolean 496 ms ok 3 + char 132 ms ok 4 + name 202 ms ok 5 + varchar 155 ms ok 6 + text 213 ms ok 7 + int2 197 ms ok 8 + int4 162 ms ok 9 + int8 267 ms ok 10 + oid 181 ms ok 11 + float4 208 ms ok 12 + float8 278 ms ok 13 + bit 416 ms ok 14 + numeric 1462 ms ok 15 + txid 205 ms ok 16 + uuid 216 ms ok 17 + enum 340 ms ok 18 + money 239 ms ok 19 + rangetypes 1443 ms ok 20 + pg_lsn 170 ms ok 21 + regproc 191 ms # parallel group (20 tests): time path md5 circle lseg line macaddr macaddr8 timetz numerology date inet point timestamp interval timestamptz strings multirangetypes polygon box ok 22 + strings 911 ms ok 23 + md5 114 ms ok 24 + numerology 279 ms ok 25 + point 404 ms ok 26 + lseg 131 ms ok 27 + line 142 ms ok 28 + box 1834 ms ok 29 + path 100 ms ok 30 + polygon 1524 ms ok 31 + circle 113 ms ok 32 + date 288 ms ok 33 + time 89 ms ok 34 + timetz 259 ms ok 35 + timestamp 621 ms ok 36 + timestamptz 810 ms ok 37 + interval 683 ms ok 38 + inet 375 ms ok 39 + macaddr 147 ms ok 40 + macaddr8 210 ms ok 41 + multirangetypes 1368 ms # parallel group (12 tests): unicode comments misc_sanity xid tstypes expressions mvcc type_sanity geometry horology regex opr_sanity ok 42 + geometry 593 ms ok 43 + horology 628 ms ok 44 + tstypes 242 ms ok 45 + regex 879 ms ok 46 + type_sanity 495 ms ok 47 + opr_sanity 1108 ms ok 48 + misc_sanity 126 ms ok 49 + comments 85 ms ok 50 + expressions 303 ms ok 51 + unicode 51 ms ok 52 + xid 194 ms ok 53 + mvcc 307 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 54 + copy 282 ms ok 55 + copyselect 82 ms ok 56 + copydml 61 ms ok 57 + insert 1001 ms ok 58 + insert_conflict 492 ms # parallel group (7 tests): create_function_c create_operator create_misc create_procedure create_type create_schema create_table ok 59 + create_function_c 51 ms ok 60 + create_misc 160 ms ok 61 + create_operator 113 ms ok 62 + create_procedure 179 ms ok 63 + create_table 1376 ms ok 64 + create_type 181 ms ok 65 + create_schema 200 ms # parallel group (5 tests): index_including_gist index_including create_view create_index_spgist create_index ok 66 + create_index 3082 ms ok 67 + create_index_spgist 3070 ms ok 68 + create_view 1570 ms ok 69 + index_including 947 ms ok 70 + index_including_gist 930 ms # parallel group (16 tests): create_cast errors roleattributes create_aggregate hash_func drop_if_exists typed_table create_function_sql create_am select infinite_recurse vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 211 ms ok 72 + create_function_sql 574 ms ok 73 + create_cast 72 ms ok 74 + constraints 1700 ms ok 75 + triggers 6313 ms ok 76 + select 711 ms ok 77 + inherit 3922 ms ok 78 + typed_table 464 ms ok 79 + vacuum 1573 ms ok 80 + drop_if_exists 352 ms ok 81 + updatable_views 3022 ms ok 82 + roleattributes 174 ms ok 83 + create_am 649 ms ok 84 + hash_func 349 ms ok 85 + errors 126 ms ok 86 + infinite_recurse 746 ms ok 87 - sanity_check 288 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 hash_index update aggregates join btree_index ok 88 + select_into 326 ms ok 89 + select_distinct 802 ms ok 90 + select_distinct_on 109 ms ok 91 + select_implicit 202 ms ok 92 + select_having 124 ms ok 93 + subselect 1191 ms ok 94 + union 930 ms ok 95 + case 243 ms ok 96 + join 3967 ms ok 97 + aggregates 3710 ms ok 98 + transactions 509 ms ok 99 + random 159 ms ok 100 + portals 621 ms ok 101 + arrays 1023 ms ok 102 + btree_index 5680 ms ok 103 + hash_index 2249 ms ok 104 + update 2370 ms ok 105 + delete 126 ms ok 106 + namespace 315 ms ok 107 + prepared_xacts 325 ms # parallel group (20 tests): init_privs drop_operator security_label password tablesample lock object_address replica_identity collate matview identity groupingsets spgist generated gist gin rowsecurity brin join_hash privileges ok 108 + brin 11764 ms ok 109 + gin 4489 ms ok 110 + gist 4458 ms ok 111 + spgist 3341 ms ok 112 + privileges 12432 ms ok 113 + init_privs 111 ms ok 114 + security_label 210 ms ok 115 + collate 1682 ms ok 116 + matview 2381 ms ok 117 + lock 489 ms ok 118 + replica_identity 1295 ms ok 119 + rowsecurity 4546 ms ok 120 + object_address 521 ms ok 121 + tablesample 446 ms ok 122 + groupingsets 2934 ms ok 123 + drop_operator 142 ms ok 124 + password 433 ms ok 125 + identity 2496 ms ok 126 + generated 4131 ms ok 127 + join_hash 11780 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 241 ms ok 129 + brin_multi 910 ms # parallel group (17 tests): async dbsize alter_operator tsrf tid create_role tidscan sysviews tidrangescan alter_generic misc_functions without_overlaps merge incremental_sort create_table_like misc collate.icu.utf8 ok 130 + create_table_like 1121 ms ok 131 + alter_generic 447 ms ok 132 + alter_operator 174 ms ok 133 + misc 1144 ms ok 134 + async 63 ms ok 135 + dbsize 73 ms ok 136 + merge 850 ms ok 137 + misc_functions 499 ms ok 138 + sysviews 378 ms ok 139 + tsrf 174 ms ok 140 + tid 192 ms ok 141 + tidscan 258 ms ok 142 + tidrangescan 399 ms ok 143 + collate.icu.utf8 1401 ms ok 144 + incremental_sort 911 ms ok 145 + create_role 242 ms ok 146 + without_overlaps 514 ms # parallel group (7 tests): collate.linux.utf8 collate.windows.win1252 psql_crosstab amutils rules psql stats_ext ok 147 + rules 1055 ms ok 148 + psql 1303 ms ok 149 + psql_crosstab 99 ms ok 150 + amutils 107 ms ok 151 + stats_ext 3130 ms ok 152 + collate.linux.utf8 18 ms ok 153 + collate.windows.win1252 35 ms ok 154 - select_parallel 6602 ms ok 155 - write_parallel 193 ms ok 156 - vacuum_parallel 230 ms # parallel group (2 tests): subscription publication ok 157 + publication 2381 ms ok 158 + subscription 122 ms # parallel group (17 tests): portals_p2 advisory_lock combocid equivclass xmlmap tsdicts functional_deps guc dependency select_views bitmapops cluster window indirect_toast tsearch foreign_data foreign_key ok 159 + select_views 665 ms ok 160 + portals_p2 111 ms ok 161 + foreign_key 3169 ms ok 162 + cluster 1292 ms ok 163 + dependency 398 ms ok 164 + guc 385 ms ok 165 + bitmapops 1184 ms ok 166 + combocid 178 ms ok 167 + tsearch 2515 ms ok 168 + tsdicts 296 ms ok 169 + foreign_data 2744 ms ok 170 + window 1377 ms ok 171 + xmlmap 256 ms ok 172 + functional_deps 307 ms ok 173 + advisory_lock 134 ms ok 174 + indirect_toast 1585 ms ok 175 + equivclass 238 ms # parallel group (7 tests): jsonpath_encoding json_encoding jsonpath sqljson json jsonb_jsonpath jsonb ok 176 + json 248 ms ok 177 + jsonb 528 ms ok 178 + json_encoding 53 ms ok 179 + jsonpath 111 ms ok 180 + jsonpath_encoding 32 ms ok 181 + jsonb_jsonpath 339 ms ok 182 + sqljson 159 ms # parallel group (18 tests): prepare returning plancache limit conversion temp sequence copy2 rowtypes largeobject truncate polymorphism domain with rangefuncs xml plpgsql alter_table ok 183 + plancache 393 ms ok 184 + limit 417 ms ok 185 + plpgsql 3228 ms ok 186 + copy2 772 ms ok 187 + temp 581 ms ok 188 + domain 1027 ms ok 189 + rangefuncs 1362 ms ok 190 + prepare 167 ms ok 191 + conversion 507 ms ok 192 + truncate 968 ms ok 193 + alter_table 4106 ms ok 194 + sequence 714 ms ok 195 + polymorphism 992 ms ok 196 + rowtypes 926 ms ok 197 + returning 291 ms ok 198 + largeobject 927 ms ok 199 + with 1189 ms ok 200 + xml 2109 ms # parallel group (14 tests): reloptions hash_part predicate partition_info explain eager_aggregate compression memoize stats partition_aggregate tuplesort partition_join indexing partition_prune ok 201 + partition_join 4035 ms ok 202 + partition_prune 4806 ms ok 203 + reloptions 262 ms ok 204 + hash_part 265 ms ok 205 + indexing 4414 ms ok 206 + partition_aggregate 2904 ms ok 207 + partition_info 473 ms ok 208 + tuplesort 3693 ms ok 209 + explain 669 ms ok 210 + compression 1353 ms ok 211 + memoize 1508 ms ok 212 + stats 2616 ms ok 213 + predicate 356 ms not ok 214 + eager_aggregate 1221 ms # parallel group (2 tests): oidjoins event_trigger ok 215 + oidjoins 549 ms ok 216 + event_trigger 613 ms ok 217 - event_trigger_login 105 ms ok 218 - fast_default 320 ms ok 219 - tablespace 985 ms 1..219 # 1 of 219 tests failed. # The differences that caused some tests to fail can be viewed in the file "/tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/regression.diffs". # A copy of the test summary that you see above is saved in the file "/tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/regression.out". === dumping /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/regression.diffs === diff -U3 /tmp/cirrus-ci-build/src/test/regress/expected/eager_aggregate.out /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/eager_aggregate.out --- /tmp/cirrus-ci-build/src/test/regress/expected/eager_aggregate.out 2024-03-05 07:04:50.042771300 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/eager_aggregate.out 2024-03-05 07:10:07.906567626 +0000 @@ -45,15 +45,15 @@ SELECT t1.a, avg(t2.c) FROM eager_agg_t1 t1 JOIN eager_agg_t2 t2 ON t1.b = t2.b GROUP BY t1.a; a | avg ---+----- - 1 | 496 2 | 497 - 6 | 501 - 7 | 502 3 | 498 - 4 | 499 - 9 | 504 5 | 500 8 | 503 + 4 | 499 + 6 | 501 + 9 | 504 + 7 | 502 + 1 | 496 (9 rows) -- Produce results with sorting aggregation @@ -141,15 +141,15 @@ SELECT t1.a, avg(t2.c + t3.c) FROM eager_agg_t1 t1 JOIN eager_agg_t2 t2 ON t1.b = t2.b JOIN eager_agg_t3 t3 ON t2.a = t3.a GROUP BY t1.a; a | avg ---+----- - 1 | 497 2 | 499 - 6 | 507 - 7 | 509 3 | 501 - 4 | 503 - 9 | 513 5 | 505 8 | 511 + 4 | 503 + 6 | 507 + 9 | 513 + 7 | 509 + 1 | 497 (9 rows) -- Produce results with sorting aggregation @@ -211,41 +211,38 @@ -- Ensure aggregation can be pushed down to the non-nullable side EXPLAIN (VERBOSE, COSTS OFF) SELECT t3.a, avg(t3.c) FROM eager_agg_t1 t1 RIGHT JOIN eager_agg_t3 t3 ON t1.b = t3.b GROUP BY t3.a; - QUERY PLAN ------------------------------------------------------------- - Finalize GroupAggregate + QUERY PLAN +------------------------------------------------------ + Finalize HashAggregate Output: t3.a, avg(t3.c) Group Key: t3.a - -> Sort + -> Hash Left Join Output: t3.a, (PARTIAL avg(t3.c)) - Sort Key: t3.a - -> Hash Left Join - Output: t3.a, (PARTIAL avg(t3.c)) - Hash Cond: (t3.b = t1.b) - -> Partial HashAggregate - Output: t3.a, t3.b, PARTIAL avg(t3.c) - Group Key: t3.a, t3.b - -> Seq Scan on public.eager_agg_t3 t3 - Output: t3.a, t3.b, t3.c - -> Hash + Hash Cond: (t3.b = t1.b) + -> Partial HashAggregate + Output: t3.a, t3.b, PARTIAL avg(t3.c) + Group Key: t3.a, t3.b + -> Seq Scan on public.eager_agg_t3 t3 + Output: t3.a, t3.b, t3.c + -> Hash + Output: t1.b + -> Seq Scan on public.eager_agg_t1 t1 Output: t1.b - -> Seq Scan on public.eager_agg_t1 t1 - Output: t1.b -(18 rows) +(15 rows) SELECT t3.a, avg(t3.c) FROM eager_agg_t1 t1 RIGHT JOIN eager_agg_t3 t3 ON t1.b = t3.b GROUP BY t3.a; a | avg ---+----- - 0 | 505 + 8 | 503 + 7 | 502 + 9 | 504 1 | 496 + 5 | 500 2 | 497 - 3 | 498 4 | 499 - 5 | 500 6 | 501 - 7 | 502 - 8 | 503 - 9 | 504 + 0 | 505 + 3 | 498 (10 rows) -- Ensure aggregation cannot be pushed down to the nullable side === EOF === [07:10:13.714](67.730s) not ok 2 - regression tests pass [07:10:13.714](0.000s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [07:10:13.714](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 4001 3 4 3 4 4 1 32 1 1 1 6 104 2 1 5 1006 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/1454A048 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 57869 --no-unlogged-table-data [07:10:17.454](3.740s) ok 3 - dump primary server # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 57870 [07:10:21.110](3.656s) ok 4 - dump standby server # Running: diff /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/standby.dump [07:10:21.144](0.034s) ok 5 - compare primary and standby dumps [07:10:21.399](0.255s) 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/build/testrun/recovery/027_stream_regress/data/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/build/testrun/recovery/027_stream_regress/data/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" [07:10:21.611](0.212s) 1..6 [07:10:21.613](0.002s) # Looks like you failed 1 test of 6.