# Checking port 55371 # Found port 55371 Name: primary Data directory: /tmp/cirrus-ci-build/build-32/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata Backup directory: /tmp/cirrus-ci-build/build-32/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/backup Archive directory: /tmp/cirrus-ci-build/build-32/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/archives Connection string: port=55371 host=/tmp/hr92gdazJL Log file: /tmp/cirrus-ci-build/build-32/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [14:02:16.390](0.022s) # initializing database system by copying initdb template # Running: cp -RPp /tmp/cirrus-ci-build/build-32/tmp_install/initdb-template /tmp/cirrus-ci-build/build-32/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata # Running: /tmp/cirrus-ci-build/build-32/src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/build-32/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-32/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata -l /tmp/cirrus-ci-build/build-32/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 55799 (standby_1,) [14:02:16.685](0.296s) ok 1 - physical slot created on primary # Taking pg_basebackup my_backup from node "primary" # Running: pg_basebackup -D /tmp/cirrus-ci-build/build-32/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/backup/my_backup -h /tmp/hr92gdazJL -p 55371 --checkpoint fast --no-sync # Backup finished # Checking port 55372 # Found port 55372 Name: standby_1 Data directory: /tmp/cirrus-ci-build/build-32/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/pgdata Backup directory: /tmp/cirrus-ci-build/build-32/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/backup Archive directory: /tmp/cirrus-ci-build/build-32/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/archives Connection string: port=55372 host=/tmp/hr92gdazJL Log file: /tmp/cirrus-ci-build/build-32/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-32/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/pgdata -l /tmp/cirrus-ci-build/build-32/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 55964 # using postmaster on /tmp/hr92gdazJL, port 55371 ok 1 - test_setup 688 ms # parallel group (20 tests): oid int2 char varchar regproc name pg_lsn uuid int4 text money txid float8 boolean float4 int8 bit enum rangetypes numeric ok 2 + boolean 297 ms ok 3 + char 168 ms ok 4 + name 210 ms ok 5 + varchar 189 ms ok 6 + text 225 ms ok 7 + int2 144 ms ok 8 + int4 219 ms ok 9 + int8 329 ms ok 10 + oid 108 ms ok 11 + float4 296 ms ok 12 + float8 285 ms ok 13 + bit 351 ms ok 14 + numeric 1546 ms ok 15 + txid 240 ms ok 16 + uuid 217 ms ok 17 + enum 423 ms ok 18 + money 234 ms ok 19 + rangetypes 1090 ms ok 20 + pg_lsn 210 ms ok 21 + regproc 203 ms # parallel group (20 tests): lseg time path line circle md5 timetz numerology macaddr macaddr8 point date inet interval timestamp strings timestamptz box polygon multirangetypes ok 22 + strings 732 ms ok 23 + md5 191 ms ok 24 + numerology 272 ms ok 25 + point 289 ms ok 26 + lseg 106 ms ok 27 + line 155 ms ok 28 + box 1274 ms ok 29 + path 152 ms ok 30 + polygon 1276 ms ok 31 + circle 162 ms ok 32 + date 307 ms ok 33 + time 141 ms ok 34 + timetz 203 ms ok 35 + timestamp 630 ms ok 36 + timestamptz 825 ms ok 37 + interval 574 ms ok 38 + inet 377 ms ok 39 + macaddr 280 ms ok 40 + macaddr8 284 ms ok 41 + multirangetypes 1379 ms # parallel group (12 tests): comments unicode xid misc_sanity tstypes expressions horology geometry mvcc type_sanity regex opr_sanity ok 42 + geometry 325 ms ok 43 + horology 273 ms ok 44 + tstypes 219 ms ok 45 + regex 652 ms ok 46 + type_sanity 334 ms ok 47 + opr_sanity 1128 ms ok 48 + misc_sanity 119 ms ok 49 + comments 36 ms ok 50 + expressions 238 ms ok 51 + unicode 39 ms ok 52 + xid 116 ms ok 53 + mvcc 331 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 550 ms ok 55 + copyselect 130 ms ok 56 + copydml 151 ms ok 57 + insert 1179 ms ok 58 + insert_conflict 696 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 42 ms ok 60 + create_misc 116 ms ok 61 + create_operator 62 ms ok 62 + create_procedure 245 ms ok 63 + create_table 1565 ms ok 64 + create_type 117 ms ok 65 + create_schema 126 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 2913 ms ok 67 + create_index_spgist 1596 ms ok 68 + create_view 1253 ms ok 69 + index_including 601 ms ok 70 + index_including_gist 1108 ms # parallel group (16 tests): create_cast errors roleattributes hash_func create_aggregate drop_if_exists select typed_table create_function_sql create_am infinite_recurse vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 200 ms ok 72 + create_function_sql 570 ms ok 73 + create_cast 116 ms ok 74 + constraints 1670 ms ok 75 + triggers 4929 ms ok 76 + select 386 ms ok 77 + inherit 3873 ms ok 78 + typed_table 470 ms ok 79 + vacuum 1497 ms ok 80 + drop_if_exists 316 ms ok 81 + updatable_views 3288 ms ok 82 + roleattributes 165 ms ok 83 + create_am 587 ms ok 84 + hash_func 183 ms ok 85 + errors 140 ms ok 86 + infinite_recurse 739 ms ok 87 - sanity_check 519 ms # parallel group (20 tests): select_having select_distinct_on random delete case select_implicit namespace select_into prepared_xacts select_distinct transactions portals union arrays subselect update hash_index join aggregates btree_index ok 88 + select_into 371 ms ok 89 + select_distinct 599 ms ok 90 + select_distinct_on 149 ms ok 91 + select_implicit 269 ms ok 92 + select_having 142 ms not ok 93 + subselect 1229 ms ok 94 + union 1005 ms ok 95 + case 263 ms ok 96 + join 2686 ms ok 97 + aggregates 2797 ms ok 98 + transactions 632 ms ok 99 + random 191 ms ok 100 + portals 693 ms ok 101 + arrays 1190 ms ok 102 + btree_index 4260 ms ok 103 + hash_index 2256 ms ok 104 + update 1618 ms ok 105 + delete 258 ms ok 106 + namespace 309 ms ok 107 + prepared_xacts 489 ms # parallel group (20 tests): security_label init_privs drop_operator password object_address lock tablesample collate replica_identity groupingsets matview identity generated rowsecurity spgist gin gist brin join_hash privileges ok 108 + brin 4045 ms ok 109 + gin 3144 ms ok 110 + gist 3535 ms ok 111 + spgist 2637 ms ok 112 + privileges 4474 ms ok 113 + init_privs 88 ms ok 114 + security_label 88 ms ok 115 + collate 681 ms ok 116 + matview 1708 ms ok 117 + lock 378 ms ok 118 + replica_identity 800 ms ok 119 + rowsecurity 2583 ms ok 120 + object_address 365 ms ok 121 + tablesample 417 ms ok 122 + groupingsets 1191 ms ok 123 + drop_operator 110 ms ok 124 + password 331 ms ok 125 + identity 1828 ms ok 126 + generated 2484 ms ok 127 + join_hash 4044 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 209 ms ok 129 + brin_multi 906 ms # parallel group (18 tests): collate.utf8 collate.icu.utf8 async dbsize tidrangescan tsrf alter_operator tid tidscan create_role sysviews alter_generic misc_functions misc incremental_sort without_overlaps merge create_table_like ok 130 + create_table_like 875 ms ok 131 + alter_generic 412 ms ok 132 + alter_operator 179 ms ok 133 + misc 460 ms ok 134 + async 68 ms ok 135 + dbsize 75 ms ok 136 + merge 850 ms ok 137 + misc_functions 423 ms ok 138 + sysviews 247 ms ok 139 + tsrf 173 ms ok 140 + tid 182 ms ok 141 + tidscan 196 ms ok 142 + tidrangescan 136 ms ok 143 + collate.utf8 39 ms ok 144 + collate.icu.utf8 43 ms ok 145 + incremental_sort 478 ms ok 146 + create_role 230 ms ok 147 + without_overlaps 581 ms # parallel group (7 tests): collate.windows.win1252 amutils collate.linux.utf8 psql_crosstab rules psql stats_ext ok 148 + rules 1160 ms ok 149 + psql 1290 ms ok 150 + psql_crosstab 41 ms ok 151 + amutils 27 ms ok 152 + stats_ext 2758 ms ok 153 + collate.linux.utf8 29 ms ok 154 + collate.windows.win1252 23 ms ok 155 - select_parallel 1899 ms ok 156 - write_parallel 195 ms ok 157 - vacuum_parallel 217 ms # parallel group (2 tests): subscription publication ok 158 + publication 806 ms ok 159 + subscription 167 ms # parallel group (17 tests): portals_p2 advisory_lock combocid xmlmap functional_deps equivclass dependency tsdicts guc select_views indirect_toast cluster window bitmapops tsearch foreign_data foreign_key ok 160 + select_views 702 ms ok 161 + portals_p2 75 ms ok 162 + foreign_key 2713 ms ok 163 + cluster 1162 ms ok 164 + dependency 290 ms ok 165 + guc 308 ms ok 166 + bitmapops 1224 ms ok 167 + combocid 151 ms ok 168 + tsearch 1232 ms ok 169 + tsdicts 292 ms ok 170 + foreign_data 1713 ms ok 171 + window 1199 ms ok 172 + xmlmap 211 ms ok 173 + functional_deps 228 ms ok 174 + advisory_lock 122 ms ok 175 + indirect_toast 934 ms ok 176 + equivclass 243 ms # parallel group (7 tests): json_encoding jsonpath_encoding jsonpath sqljson json jsonb_jsonpath jsonb ok 177 + json 292 ms ok 178 + jsonb 661 ms ok 179 + json_encoding 41 ms ok 180 + jsonpath 136 ms ok 181 + jsonpath_encoding 62 ms ok 182 + jsonb_jsonpath 336 ms ok 183 + sqljson 203 ms # parallel group (18 tests): prepare returning plancache conversion limit temp copy2 sequence rowtypes polymorphism largeobject with truncate rangefuncs domain xml plpgsql alter_table ok 184 + plancache 375 ms ok 185 + limit 480 ms ok 186 + plpgsql 2731 ms ok 187 + copy2 727 ms ok 188 + temp 600 ms ok 189 + domain 1190 ms ok 190 + rangefuncs 1109 ms ok 191 + prepare 204 ms ok 192 + conversion 454 ms ok 193 + truncate 1052 ms ok 194 + alter_table 3829 ms ok 195 + sequence 745 ms ok 196 + polymorphism 909 ms ok 197 + rowtypes 857 ms ok 198 + returning 342 ms ok 199 + largeobject 949 ms ok 200 + with 953 ms ok 201 + xml 2215 ms # parallel group (13 tests): predicate hash_part partition_info reloptions explain memoize compression stats partition_aggregate partition_prune tuplesort partition_join indexing ok 202 + partition_join 2784 ms ok 203 + partition_prune 2696 ms ok 204 + reloptions 199 ms ok 205 + hash_part 119 ms ok 206 + indexing 2911 ms ok 207 + partition_aggregate 2242 ms ok 208 + partition_info 190 ms ok 209 + tuplesort 2746 ms ok 210 + explain 292 ms ok 211 + compression 731 ms ok 212 + memoize 592 ms ok 213 + stats 1404 ms ok 214 + predicate 66 ms # parallel group (2 tests): oidjoins event_trigger ok 215 + oidjoins 498 ms ok 216 + event_trigger 593 ms ok 217 - event_trigger_login 83 ms ok 218 - fast_default 430 ms ok 219 - tablespace 714 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-32/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-32/testrun/recovery/027_stream_regress/data/regression.out". === dumping /tmp/cirrus-ci-build/build-32/testrun/recovery/027_stream_regress/data/regression.diffs === diff -U3 /tmp/cirrus-ci-build/src/test/regress/expected/subselect.out /tmp/cirrus-ci-build/build-32/testrun/recovery/027_stream_regress/data/results/subselect.out --- /tmp/cirrus-ci-build/src/test/regress/expected/subselect.out 2024-03-20 13:58:09.497700889 +0000 +++ /tmp/cirrus-ci-build/build-32/testrun/recovery/027_stream_regress/data/results/subselect.out 2024-03-20 14:02:36.129505846 +0000 @@ -2067,16 +2067,16 @@ QUERY PLAN ------------------------------------------------- Hash Join - Hash Cond: (c.odd = b.odd) + Hash Cond: (c.hundred = a.hundred) -> Hash Join - Hash Cond: (a.hundred = c.hundred) - -> Seq Scan on tenk1 a + Hash Cond: (b.odd = c.odd) + -> Seq Scan on tenk2 b -> Hash -> HashAggregate Group Key: c.odd, c.hundred -> Seq Scan on tenk2 c -> Hash - -> Seq Scan on tenk2 b + -> Seq Scan on tenk1 a (11 rows) -- we can pull up the aggregate sublink into RHS of a left join. === EOF === [14:03:03.937](47.251s) not ok 2 - regression tests pass [14:03:03.937](0.000s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [14:03:03.937](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 3 4 3 4 4 1 4001 32 1 1 1 6 104 2 1 5 1006 1 2 41 5 17 9 1 33 34 1 1 1 1 -1 1 1 -1 -32768 32767 -2 46 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/13EB02A4 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build-32/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 55371 --no-unlogged-table-data [14:03:06.648](2.711s) ok 3 - dump primary server # Running: pg_dumpall -f /tmp/cirrus-ci-build/build-32/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 55372 [14:03:09.288](2.639s) ok 4 - dump standby server # Running: diff /tmp/cirrus-ci-build/build-32/testrun/recovery/027_stream_regress/data/primary.dump /tmp/cirrus-ci-build/build-32/testrun/recovery/027_stream_regress/data/standby.dump [14:03:09.320](0.033s) ok 5 - compare primary and standby dumps [14:03:09.500](0.180s) 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-32/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-32/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" [14:03:09.821](0.321s) 1..6 [14:03:09.822](0.001s) # Looks like you failed 1 test of 6.