# Checking port 59639 # Found port 59639 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=59639 host=C:/Windows/TEMP/9y1Tr8LL8u Log file: C:\cirrus\build/testrun/recovery/027_stream_regress\log/027_stream_regress_primary.log [09:10:44.224](0.092s) # 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 2776 (standby_1,) [09:10:46.432](2.207s) 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/9y1Tr8LL8u -p 59639 --checkpoint fast --no-sync # Backup finished # Checking port 59640 # Found port 59640 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=59640 host=C:/Windows/TEMP/9y1Tr8LL8u 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 5872 # using postmaster on C:/Windows/TEMP/9y1Tr8LL8u, port 59639 ok 1 - test_setup 930 ms # parallel group (20 tests): int2 char regproc uuid txid int4 money pg_lsn bit int8 varchar oid boolean name text float4 enum float8 rangetypes numeric ok 2 + boolean 1568 ms ok 3 + char 778 ms ok 4 + name 1565 ms ok 5 + varchar 1464 ms ok 6 + text 1615 ms ok 7 + int2 769 ms ok 8 + int4 1332 ms ok 9 + int8 1457 ms ok 10 + oid 1554 ms ok 11 + float4 1606 ms ok 12 + float8 1636 ms ok 13 + bit 1406 ms ok 14 + numeric 2363 ms ok 15 + txid 1146 ms ok 16 + uuid 1099 ms ok 17 + enum 1627 ms ok 18 + money 1319 ms ok 19 + rangetypes 1755 ms ok 20 + pg_lsn 1395 ms ok 21 + regproc 1010 ms # parallel group (20 tests): lseg numerology path date macaddr md5 timetz time strings circle point inet polygon box line macaddr8 timestamptz interval timestamp multirangetypes ok 22 + strings 1114 ms ok 23 + md5 1069 ms ok 24 + numerology 883 ms ok 25 + point 1126 ms ok 26 + lseg 880 ms ok 27 + line 1139 ms ok 28 + box 1135 ms ok 29 + path 881 ms ok 30 + polygon 1129 ms ok 31 + circle 1099 ms ok 32 + date 941 ms ok 33 + time 1080 ms ok 34 + timetz 1050 ms ok 35 + timestamp 1580 ms ok 36 + timestamptz 1218 ms ok 37 + interval 1218 ms ok 38 + inet 1106 ms ok 39 + macaddr 991 ms ok 40 + macaddr8 1183 ms ok 41 + multirangetypes 1691 ms # parallel group (12 tests): geometry mvcc horology unicode expressions comments regex misc_sanity xid type_sanity tstypes opr_sanity ok 42 + geometry 919 ms ok 43 + horology 918 ms ok 44 + tstypes 1127 ms ok 45 + regex 914 ms ok 46 + type_sanity 938 ms ok 47 + opr_sanity 1138 ms ok 48 + misc_sanity 933 ms ok 49 + comments 904 ms ok 50 + expressions 900 ms ok 51 + unicode 898 ms ok 52 + xid 923 ms ok 53 + mvcc 895 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 452 ms ok 55 + copyselect 366 ms ok 56 + copydml 365 ms ok 57 + insert 1873 ms ok 58 + insert_conflict 894 ms # parallel group (7 tests): create_function_c create_schema create_operator create_type create_procedure create_misc create_table ok 59 + create_function_c 317 ms ok 60 + create_misc 931 ms ok 61 + create_operator 497 ms ok 62 + create_procedure 598 ms ok 63 + create_table 1344 ms ok 64 + create_type 493 ms ok 65 + create_schema 460 ms # parallel group (5 tests): index_including create_view index_including_gist create_index_spgist create_index ok 66 + create_index 2708 ms ok 67 + create_index_spgist 1513 ms ok 68 + create_view 1440 ms ok 69 + index_including 1424 ms ok 70 + index_including_gist 1438 ms # parallel group (16 tests): create_cast errors infinite_recurse drop_if_exists roleattributes create_aggregate select hash_func create_function_sql typed_table create_am constraints vacuum updatable_views inherit triggers ok 71 + create_aggregate 1222 ms ok 72 + create_function_sql 1790 ms ok 73 + create_cast 697 ms ok 74 + constraints 2016 ms ok 75 + triggers 5166 ms ok 76 + select 1288 ms ok 77 + inherit 4044 ms ok 78 + typed_table 1770 ms ok 79 + vacuum 3714 ms ok 80 + drop_if_exists 1188 ms ok 81 + updatable_views 3773 ms ok 82 + roleattributes 1192 ms ok 83 + create_am 1916 ms ok 84 + hash_func 1757 ms ok 85 + errors 944 ms ok 86 + infinite_recurse 959 ms ok 87 - sanity_check 1759 ms # parallel group (20 tests): select_distinct_on select_implicit case select_having union random select_into namespace delete transactions subselect portals prepared_xacts select_distinct arrays update hash_index join aggregates btree_index ok 88 + select_into 1698 ms ok 89 + select_distinct 2823 ms ok 90 + select_distinct_on 1643 ms ok 91 + select_implicit 1682 ms ok 92 + select_having 1688 ms ok 93 + subselect 2589 ms ok 94 + union 1685 ms ok 95 + case 1683 ms ok 96 + join 3958 ms ok 97 + aggregates 4461 ms ok 98 + transactions 2254 ms ok 99 + random 1677 ms ok 100 + portals 2578 ms ok 101 + arrays 3159 ms ok 102 + btree_index 6257 ms ok 103 + hash_index 3627 ms ok 104 + update 3430 ms ok 105 + delete 1684 ms ok 106 + namespace 1682 ms ok 107 + prepared_xacts 2771 ms # parallel group (20 tests): drop_operator password init_privs generated lock security_label groupingsets tablesample collate object_address gin spgist replica_identity identity matview rowsecurity gist brin join_hash privileges ok 108 + brin 10179 ms ok 109 + gin 3132 ms ok 110 + gist 5285 ms ok 111 + spgist 3130 ms ok 112 + privileges 11820 ms ok 113 + init_privs 2522 ms ok 114 + security_label 3036 ms ok 115 + collate 3035 ms ok 116 + matview 4160 ms ok 117 + lock 3032 ms ok 118 + replica_identity 3121 ms ok 119 + rowsecurity 5095 ms ok 120 + object_address 3117 ms ok 121 + tablesample 3027 ms ok 122 + groupingsets 3025 ms ok 123 + drop_operator 1072 ms ok 124 + password 1716 ms ok 125 + identity 3721 ms ok 126 + generated 2503 ms ok 127 + join_hash 10153 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 436 ms ok 129 + brin_multi 2393 ms # parallel group (17 tests): collate.icu.utf8 alter_generic create_role tsrf dbsize alter_operator misc_functions tid sysviews async incremental_sort misc tidscan tidrangescan merge without_overlaps create_table_like ok 130 + create_table_like 1753 ms ok 131 + alter_generic 832 ms ok 132 + alter_operator 1314 ms ok 133 + misc 1345 ms ok 134 + async 1344 ms ok 135 + dbsize 1310 ms ok 136 + merge 1441 ms ok 137 + misc_functions 1307 ms ok 138 + sysviews 1306 ms ok 139 + tsrf 821 ms ok 140 + tid 1302 ms ok 141 + tidscan 1344 ms ok 142 + tidrangescan 1342 ms ok 143 + collate.icu.utf8 747 ms ok 144 + incremental_sort 1328 ms ok 145 + create_role 811 ms ok 146 + without_overlaps 1498 ms # parallel group (7 tests): amutils collate.linux.utf8 psql_crosstab collate.windows.win1252 psql rules stats_ext ok 147 + rules 2234 ms ok 148 + psql 1471 ms ok 149 + psql_crosstab 548 ms ok 150 + amutils 321 ms ok 151 + stats_ext 5057 ms ok 152 + collate.linux.utf8 440 ms ok 153 + collate.windows.win1252 641 ms not ok 154 - select_parallel 6672 ms ok 155 - write_parallel 1197 ms ok 156 - vacuum_parallel 462 ms # parallel group (2 tests): subscription publication ok 157 + publication 1363 ms ok 158 + subscription 324 ms # parallel group (17 tests): dependency tsdicts guc combocid functional_deps xmlmap portals_p2 select_views tsearch advisory_lock equivclass window cluster bitmapops indirect_toast foreign_data foreign_key ok 159 + select_views 2540 ms ok 160 + portals_p2 2444 ms ok 161 + foreign_key 4459 ms ok 162 + cluster 2727 ms ok 163 + dependency 1068 ms ok 164 + guc 2355 ms ok 165 + bitmapops 2798 ms ok 166 + combocid 2415 ms ok 167 + tsearch 2528 ms ok 168 + tsdicts 1092 ms ok 169 + foreign_data 3284 ms ok 170 + window 2603 ms ok 171 + xmlmap 2407 ms ok 172 + functional_deps 2406 ms ok 173 + advisory_lock 2575 ms ok 174 + indirect_toast 2966 ms ok 175 + equivclass 2572 ms # parallel group (7 tests): json_encoding jsonpath_encoding jsonpath sqljson json jsonb_jsonpath jsonb ok 176 + json 718 ms ok 177 + jsonb 1812 ms ok 178 + json_encoding 436 ms ok 179 + jsonpath 608 ms ok 180 + jsonpath_encoding 473 ms ok 181 + jsonb_jsonpath 787 ms ok 182 + sqljson 648 ms # parallel group (18 tests): sequence plancache largeobject polymorphism rowtypes returning prepare rangefuncs limit truncate conversion xml copy2 temp domain with plpgsql alter_table ok 183 + plancache 1545 ms ok 184 + limit 2525 ms ok 185 + plpgsql 3270 ms ok 186 + copy2 3068 ms ok 187 + temp 3057 ms ok 188 + domain 3214 ms ok 189 + rangefuncs 2506 ms ok 190 + prepare 2292 ms ok 191 + conversion 2856 ms ok 192 + truncate 2501 ms ok 193 + alter_table 7084 ms ok 194 + sequence 1517 ms ok 195 + polymorphism 1956 ms ok 196 + rowtypes 1955 ms ok 197 + returning 2282 ms ok 198 + largeobject 1726 ms ok 199 + with 3237 ms ok 200 + xml 3034 ms # parallel group (13 tests): reloptions compression partition_info memoize hash_part predicate explain partition_join indexing stats tuplesort partition_aggregate partition_prune ok 201 + partition_join 3771 ms ok 202 + partition_prune 8244 ms ok 203 + reloptions 2065 ms ok 204 + hash_part 3057 ms ok 205 + indexing 4208 ms ok 206 + partition_aggregate 5221 ms ok 207 + partition_info 2204 ms ok 208 + tuplesort 4637 ms ok 209 + explain 3275 ms ok 210 + compression 2198 ms ok 211 + memoize 2377 ms ok 212 + stats 4451 ms ok 213 + predicate 3042 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 942 ms ok 215 + event_trigger 1498 ms ok 216 - event_trigger_login 412 ms ok 217 - fast_default 705 ms ok 218 - tablespace 1353 ms 1..218 # 1 of 218 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-03-15 09:06:35.158106300 +0000 +++ C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out 2024-03-15 09:12:16.283798800 +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 === [09:12:58.050](131.619s) not ok 2 - regression tests pass [09:12:58.050](0.000s) # Failed test 'regression tests pass' # at C:/cirrus/src/test/recovery/t/027_stream_regress.pl line 95. [09:12:58.051](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 -1 1 3 4 3 4 4 1 5 32 1 1 1 6 104 2 4001 1 1 5 -1 -32768 17 41 32767 1006 1 2 33 34 1 1 1 1 46 -2 9 1 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/14765990 on primary done # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/primary.dump --no-sync -p 59639 --no-unlogged-table-data [09:13:04.814](6.763s) ok 3 - dump primary server # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/standby.dump --no-sync -p 59640 [09:13:11.604](6.791s) 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 [09:13:11.888](0.284s) ok 5 - compare primary and standby dumps [09:13:13.232](1.344s) 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" [09:13:13.920](0.687s) 1..6 [09:13:13.934](0.014s) # Looks like you failed 1 test of 6.