# Checking port 65424 # Found port 65424 Name: primary Data directory: C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_primary_data/pgdata Backup directory: C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_primary_data/backup Archive directory: C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_primary_data/archives Connection string: port=65424 host=C:/Windows/TEMP/p5O9H_drli Log file: C:\cirrus\build/testrun/recovery/027_stream_regress\log/027_stream_regress_primary.log [18:58:37.696](0.046s) # initializing database system by copying initdb template # Running: robocopy /E /NJS /NJH /NFL /NDL /NP C:/cirrus/build/tmp_install/initdb-template C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_primary_data/pgdata # Running: C:\cirrus\build\src/test\regress\pg_regress.exe --config-auth C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_primary_data/pgdata ### Starting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_primary_data/pgdata -l C:\cirrus\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 556 (standby_1,) [18:58:39.027](1.331s) ok 1 - physical slot created on primary # Taking pg_basebackup my_backup from node "primary" # Running: pg_basebackup -D C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_primary_data/backup/my_backup -h C:/Windows/TEMP/p5O9H_drli -p 65424 --checkpoint fast --no-sync # Backup finished # Checking port 65425 # Found port 65425 Name: standby_1 Data directory: C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_standby_1_data/pgdata Backup directory: C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_standby_1_data/backup Archive directory: C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_standby_1_data/archives Connection string: port=65425 host=C:/Windows/TEMP/p5O9H_drli Log file: C:\cirrus\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 C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_standby_1_data/pgdata -l C:\cirrus\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 5712 # using postmaster on C:/Windows/TEMP/p5O9H_drli, port 65424 ok 1 - test_setup 944 ms # parallel group (20 tests): pg_lsn uuid boolean char txid int4 name enum int2 money varchar oid float4 text float8 int8 regproc bit rangetypes numeric ok 2 + boolean 770 ms ok 3 + char 772 ms ok 4 + name 807 ms ok 5 + varchar 987 ms ok 6 + text 1039 ms ok 7 + int2 802 ms ok 8 + int4 767 ms ok 9 + int8 1034 ms ok 10 + oid 980 ms ok 11 + float4 980 ms ok 12 + float8 1030 ms ok 13 + bit 1035 ms ok 14 + numeric 1611 ms ok 15 + txid 756 ms ok 16 + uuid 692 ms ok 17 + enum 787 ms ok 18 + money 967 ms ok 19 + rangetypes 1591 ms ok 20 + pg_lsn 661 ms ok 21 + regproc 1015 ms # parallel group (20 tests): date point macaddr line macaddr8 numerology strings md5 lseg time inet circle timetz box interval path timestamp polygon timestamptz multirangetypes ok 22 + strings 1072 ms ok 23 + md5 1071 ms ok 24 + numerology 1069 ms ok 25 + point 819 ms ok 26 + lseg 1066 ms ok 27 + line 919 ms ok 28 + box 1160 ms ok 29 + path 1173 ms ok 30 + polygon 1208 ms ok 31 + circle 1127 ms ok 32 + date 717 ms ok 33 + time 1056 ms ok 34 + timetz 1122 ms ok 35 + timestamp 1200 ms ok 36 + timestamptz 1400 ms ok 37 + interval 1146 ms ok 38 + inet 1048 ms ok 39 + macaddr 797 ms ok 40 + macaddr8 899 ms ok 41 + multirangetypes 1521 ms # parallel group (12 tests): type_sanity mvcc regex geometry comments unicode xid misc_sanity tstypes expressions horology opr_sanity ok 42 + geometry 876 ms ok 43 + horology 1196 ms ok 44 + tstypes 922 ms ok 45 + regex 811 ms ok 46 + type_sanity 763 ms ok 47 + opr_sanity 1595 ms ok 48 + misc_sanity 915 ms ok 49 + comments 871 ms ok 50 + expressions 1186 ms ok 51 + unicode 868 ms ok 52 + xid 909 ms ok 53 + mvcc 753 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 54 + copy 676 ms ok 55 + copyselect 258 ms ok 56 + copydml 242 ms ok 57 + insert 1399 ms ok 58 + insert_conflict 864 ms # parallel group (7 tests): create_function_c create_schema create_procedure create_misc create_operator create_type create_table ok 59 + create_function_c 221 ms ok 60 + create_misc 447 ms ok 61 + create_operator 446 ms ok 62 + create_procedure 380 ms ok 63 + create_table 1509 ms ok 64 + create_type 443 ms ok 65 + create_schema 376 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 2850 ms ok 67 + create_index_spgist 1545 ms ok 68 + create_view 1441 ms ok 69 + index_including 1073 ms ok 70 + index_including_gist 1368 ms # parallel group (16 tests): infinite_recurse create_cast errors hash_func create_aggregate roleattributes select typed_table drop_if_exists create_am create_function_sql constraints vacuum updatable_views inherit triggers ok 71 + create_aggregate 1805 ms ok 72 + create_function_sql 2214 ms ok 73 + create_cast 920 ms ok 74 + constraints 3050 ms ok 75 + triggers 5884 ms ok 76 + select 1968 ms ok 77 + inherit 4878 ms ok 78 + typed_table 1980 ms ok 79 + vacuum 3042 ms ok 80 + drop_if_exists 2047 ms ok 81 + updatable_views 4010 ms ok 82 + roleattributes 1788 ms ok 83 + create_am 2060 ms ok 84 + hash_func 1352 ms ok 85 + errors 925 ms ok 86 + infinite_recurse 898 ms ok 87 - sanity_check 725 ms # parallel group (20 tests): delete select_having select_into case select_distinct_on arrays union prepared_xacts select_implicit random select_distinct portals namespace subselect transactions hash_index update join aggregates btree_index ok 88 + select_into 2017 ms ok 89 + select_distinct 2444 ms ok 90 + select_distinct_on 2015 ms ok 91 + select_implicit 2179 ms ok 92 + select_having 1008 ms ok 93 + subselect 2443 ms ok 94 + union 2010 ms ok 95 + case 2006 ms ok 96 + join 4367 ms ok 97 + aggregates 4654 ms ok 98 + transactions 2435 ms ok 99 + random 2267 ms ok 100 + portals 2427 ms ok 101 + arrays 1998 ms ok 102 + btree_index 6826 ms ok 103 + hash_index 3710 ms ok 104 + update 3760 ms ok 105 + delete 984 ms ok 106 + namespace 2415 ms ok 107 + prepared_xacts 2152 ms # parallel group (20 tests): init_privs collate security_label lock object_address replica_identity drop_operator matview password tablesample groupingsets spgist identity generated gin rowsecurity gist brin join_hash privileges ok 108 + brin 11444 ms ok 109 + gin 4526 ms ok 110 + gist 5209 ms ok 111 + spgist 4368 ms ok 112 + privileges 12709 ms ok 113 + init_privs 1737 ms ok 114 + security_label 2080 ms ok 115 + collate 2003 ms ok 116 + matview 3043 ms ok 117 + lock 2075 ms ok 118 + replica_identity 2092 ms ok 119 + rowsecurity 4699 ms ok 120 + object_address 2088 ms ok 121 + tablesample 3382 ms ok 122 + groupingsets 4349 ms ok 123 + drop_operator 2168 ms ok 124 + password 3377 ms ok 125 + identity 4392 ms ok 126 + generated 4391 ms ok 127 + join_hash 11425 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 376 ms ok 129 + brin_multi 1980 ms # parallel group (18 tests): tsrf collate.icu.utf8 create_role tid misc_functions dbsize tidscan async sysviews collate.utf8 misc tidrangescan alter_operator alter_generic incremental_sort merge create_table_like without_overlaps ok 130 + create_table_like 2375 ms ok 131 + alter_generic 1883 ms ok 132 + alter_operator 1694 ms ok 133 + misc 1571 ms ok 134 + async 1504 ms ok 135 + dbsize 951 ms ok 136 + merge 2039 ms ok 137 + misc_functions 947 ms ok 138 + sysviews 1498 ms ok 139 + tsrf 789 ms ok 140 + tid 938 ms ok 141 + tidscan 1493 ms ok 142 + tidrangescan 1557 ms ok 143 + collate.utf8 1549 ms ok 144 + collate.icu.utf8 793 ms ok 145 + incremental_sort 1862 ms ok 146 + create_role 886 ms ok 147 + without_overlaps 2731 ms # parallel group (7 tests): amutils psql_crosstab collate.windows.win1252 collate.linux.utf8 psql rules stats_ext ok 148 + rules 1816 ms ok 149 + psql 1684 ms ok 150 + psql_crosstab 568 ms ok 151 + amutils 566 ms ok 152 + stats_ext 5138 ms ok 153 + collate.linux.utf8 1325 ms ok 154 + collate.windows.win1252 766 ms not ok 155 - select_parallel 7810 ms ok 156 - write_parallel 891 ms ok 157 - vacuum_parallel 584 ms # parallel group (2 tests): subscription publication ok 158 + publication 1132 ms ok 159 + subscription 348 ms # parallel group (17 tests): functional_deps dependency combocid tsdicts equivclass xmlmap guc advisory_lock portals_p2 indirect_toast window select_views bitmapops tsearch foreign_data cluster foreign_key ok 160 + select_views 2006 ms ok 161 + portals_p2 1998 ms ok 162 + foreign_key 4965 ms ok 163 + cluster 2956 ms ok 164 + dependency 1242 ms ok 165 + guc 1804 ms ok 166 + bitmapops 2148 ms ok 167 + combocid 1238 ms ok 168 + tsearch 2145 ms ok 169 + tsdicts 1234 ms ok 170 + foreign_data 2910 ms ok 171 + window 1983 ms ok 172 + xmlmap 1230 ms ok 173 + functional_deps 1203 ms ok 174 + advisory_lock 1979 ms ok 175 + indirect_toast 1978 ms ok 176 + equivclass 1225 ms # parallel group (8 tests): json_encoding jsonpath_encoding sqljson jsonpath json jsonb_jsonpath sqljson_queryfuncs jsonb ok 177 + json 920 ms ok 178 + jsonb 1177 ms ok 179 + json_encoding 445 ms ok 180 + jsonpath 766 ms ok 181 + jsonpath_encoding 514 ms ok 182 + jsonb_jsonpath 911 ms ok 183 + sqljson 755 ms ok 184 + sqljson_queryfuncs 915 ms # parallel group (18 tests): prepare sequence largeobject with plancache returning limit conversion copy2 polymorphism truncate xml temp rangefuncs rowtypes domain plpgsql alter_table ok 185 + plancache 1464 ms ok 186 + limit 1581 ms ok 187 + plpgsql 4057 ms ok 188 + copy2 1754 ms ok 189 + temp 2261 ms ok 190 + domain 2362 ms ok 191 + rangefuncs 2258 ms ok 192 + prepare 730 ms ok 193 + conversion 1611 ms ok 194 + truncate 2179 ms ok 195 + alter_table 5552 ms ok 196 + sequence 724 ms ok 197 + polymorphism 1795 ms ok 198 + rowtypes 2301 ms ok 199 + returning 1445 ms ok 200 + largeobject 1217 ms ok 201 + with 1442 ms ok 202 + xml 2184 ms # parallel group (13 tests): hash_part predicate partition_info reloptions explain compression memoize partition_join indexing tuplesort stats partition_aggregate partition_prune ok 203 + partition_join 3027 ms ok 204 + partition_prune 6957 ms ok 205 + reloptions 1836 ms ok 206 + hash_part 1733 ms ok 207 + indexing 3260 ms ok 208 + partition_aggregate 4724 ms ok 209 + partition_info 1830 ms ok 210 + tuplesort 4205 ms ok 211 + explain 2691 ms ok 212 + compression 2868 ms ok 213 + memoize 2866 ms ok 214 + stats 4237 ms ok 215 + predicate 1806 ms # parallel group (2 tests): oidjoins event_trigger ok 216 + oidjoins 683 ms ok 217 + event_trigger 806 ms ok 218 - event_trigger_login 398 ms ok 219 - fast_default 566 ms ok 220 - tablespace 1160 ms 1..220 # 1 of 220 tests failed. # The differences that caused some tests to fail can be viewed in the file "C:/cirrus/build/testrun/recovery/027_stream_regress/data/regression.diffs". # A copy of the test summary that you see above is saved in the file "C:/cirrus/build/testrun/recovery/027_stream_regress/data/regression.out". === dumping C:\cirrus\build/testrun/recovery/027_stream_regress\data/regression.diffs === diff -w -U3 C:/cirrus/src/test/regress/expected/select_parallel.out C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out --- C:/cirrus/src/test/regress/expected/select_parallel.out 2024-04-02 18:54:47.290683100 +0000 +++ C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out 2024-04-02 19:00:07.061234900 +0000 @@ -452,25 +452,35 @@ where tenk1.four = t.four ); QUERY PLAN ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - Seq Scan on public.tenk1 t +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Hash Join Output: t.unique1, t.unique2, t.two, t.four, t.ten, t.twenty, t.hundred, t.thousand, t.twothousand, t.fivethous, t.tenthous, t.odd, t.even, t.stringu1, t.stringu2, t.string4 - Filter: (SubPlan 1) - SubPlan 1 - -> Hash Join - Output: t.two - Hash Cond: (tenk1.stringu1 = t3.stringu1) - -> Seq Scan on public.tenk1 - Output: tenk1.unique1, tenk1.unique2, tenk1.two, tenk1.four, tenk1.ten, tenk1.twenty, tenk1.hundred, tenk1.thousand, tenk1.twothousand, tenk1.fivethous, tenk1.tenthous, tenk1.odd, tenk1.even, tenk1.stringu1, tenk1.stringu2, tenk1.string4 - Filter: (tenk1.four = t.four) + Inner Unique: true + Hash Cond: (t.four = tenk1.four) + -> Gather + Output: t.unique1, t.unique2, t.two, t.four, t.ten, t.twenty, t.hundred, t.thousand, t.twothousand, t.fivethous, t.tenthous, t.odd, t.even, t.stringu1, t.stringu2, t.string4 + Workers Planned: 4 + -> Parallel Seq Scan on public.tenk1 t + Output: t.unique1, t.unique2, t.two, t.four, t.ten, t.twenty, t.hundred, t.thousand, t.twothousand, t.fivethous, t.tenthous, t.odd, t.even, t.stringu1, t.stringu2, t.string4 + Filter: (t.two IS NOT NULL) -> Hash - Output: t3.stringu1 + Output: tenk1.four + -> HashAggregate + Output: tenk1.four + Group Key: tenk1.four -> Gather - Output: t3.stringu1 + Output: tenk1.four Workers Planned: 4 + -> Parallel Hash Join + Output: tenk1.four + Hash Cond: (tenk1.stringu1 = t3.stringu1) + -> Parallel Seq Scan on public.tenk1 + Output: tenk1.unique1, tenk1.unique2, tenk1.two, tenk1.four, tenk1.ten, tenk1.twenty, tenk1.hundred, tenk1.thousand, tenk1.twothousand, tenk1.fivethous, tenk1.tenthous, tenk1.odd, tenk1.even, tenk1.stringu1, tenk1.stringu2, tenk1.string4 + -> Parallel Hash + Output: t3.stringu1 -> Parallel Seq Scan on public.tenk1 t3 Output: t3.stringu1 -(17 rows) +(27 rows) -- this is not parallel-safe due to use of random() within SubLink's testexpr: explain (costs off) === EOF === [19:00:44.449](125.422s) not ok 2 - regression tests pass [19:00:44.449](0.000s) # Failed test 'regression tests pass' # at C:/cirrus/src/test/recovery/t/027_stream_regress.pl line 95. [19:00:44.450](0.000s) # got: '256' # expected: '0' 1 1 1 1 2 1 1 9 4001 5 5 3 4 3 4 4 1 32 1 1 1 6 104 2 1 5 1006 1 2 41 1 5 1 9 17 1 33 34 1 1 1 1 -1 1 1 -1 -32768 32767 -2 46 Waiting for replication conn standby_1's replay_lsn to pass 0/146298F8 on primary done # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/primary.dump --no-sync -p 65424 --no-unlogged-table-data [19:00:49.365](4.915s) ok 3 - dump primary server # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/standby.dump --no-sync -p 65425 [19:00:54.547](5.182s) ok 4 - dump standby server # Running: diff C:\cirrus\build/testrun/recovery/027_stream_regress\data/primary.dump C:\cirrus\build/testrun/recovery/027_stream_regress\data/standby.dump [19:00:54.780](0.233s) ok 5 - compare primary and standby dumps [19:00:55.469](0.689s) ok 6 - check contents of pg_stat_statements on regression database ### Stopping node "standby_1" using mode fast # Running: pg_ctl -D C:\cirrus\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 C:\cirrus\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" [19:00:56.080](0.611s) 1..6 [19:00:56.095](0.015s) # Looks like you failed 1 test of 6.