# Checking port 62551 # Found port 62551 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=62551 host=C:/Windows/TEMP/8mEUVr4SfG Log file: C:\cirrus\build/testrun/recovery/027_stream_regress\log/027_stream_regress_primary.log [14:33:34.553](0.060s) # 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 5504 (standby_1,) [14:33:35.746](1.193s) 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/8mEUVr4SfG -p 62551 --checkpoint fast --no-sync # Backup finished # Checking port 62552 # Found port 62552 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=62552 host=C:/Windows/TEMP/8mEUVr4SfG 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 2576 # using postmaster on C:/Windows/TEMP/8mEUVr4SfG, port 62551 ok 1 - test_setup 760 ms # parallel group (20 tests): int2 boolean text float8 float4 pg_lsn char int4 varchar int8 bit uuid txid oid enum money name regproc rangetypes numeric ok 2 + boolean 943 ms ok 3 + char 962 ms ok 4 + name 1194 ms ok 5 + varchar 1066 ms ok 6 + text 937 ms ok 7 + int2 934 ms ok 8 + int4 1059 ms ok 9 + int8 1058 ms ok 10 + oid 1165 ms ok 11 + float4 946 ms ok 12 + float8 927 ms ok 13 + bit 1128 ms ok 14 + numeric 1797 ms ok 15 + txid 1158 ms ok 16 + uuid 1125 ms ok 17 + enum 1164 ms ok 18 + money 1172 ms ok 19 + rangetypes 1444 ms ok 20 + pg_lsn 933 ms ok 21 + regproc 1168 ms # parallel group (20 tests): lseg circle point date path time inet line polygon macaddr md5 numerology timetz strings macaddr8 interval timestamptz timestamp box multirangetypes ok 22 + strings 1268 ms ok 23 + md5 1264 ms ok 24 + numerology 1265 ms ok 25 + point 1145 ms ok 26 + lseg 998 ms ok 27 + line 1203 ms ok 28 + box 1623 ms ok 29 + path 1141 ms ok 30 + polygon 1199 ms ok 31 + circle 990 ms ok 32 + date 1136 ms ok 33 + time 1134 ms ok 34 + timetz 1249 ms ok 35 + timestamp 1524 ms ok 36 + timestamptz 1428 ms ok 37 + interval 1344 ms ok 38 + inet 1186 ms ok 39 + macaddr 1238 ms ok 40 + macaddr8 1240 ms ok 41 + multirangetypes 1823 ms # parallel group (12 tests): mvcc horology comments unicode tstypes misc_sanity type_sanity geometry regex expressions xid opr_sanity ok 42 + geometry 755 ms ok 43 + horology 672 ms ok 44 + tstypes 710 ms ok 45 + regex 776 ms ok 46 + type_sanity 721 ms ok 47 + opr_sanity 911 ms ok 48 + misc_sanity 717 ms ok 49 + comments 663 ms ok 50 + expressions 768 ms ok 51 + unicode 660 ms ok 52 + xid 833 ms ok 53 + mvcc 657 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 54 + copy 638 ms ok 55 + copyselect 338 ms ok 56 + copydml 272 ms ok 57 + insert 1442 ms ok 58 + insert_conflict 900 ms # parallel group (7 tests): create_procedure create_operator create_schema create_misc create_function_c create_type create_table ok 59 + create_function_c 464 ms ok 60 + create_misc 461 ms ok 61 + create_operator 455 ms ok 62 + create_procedure 424 ms ok 63 + create_table 1120 ms ok 64 + create_type 552 ms ok 65 + create_schema 449 ms # parallel group (5 tests): index_including create_view create_index_spgist index_including_gist create_index ok 66 + create_index 3481 ms ok 67 + create_index_spgist 1976 ms ok 68 + create_view 1929 ms ok 69 + index_including 1927 ms ok 70 + index_including_gist 1981 ms # parallel group (16 tests): create_aggregate infinite_recurse create_cast select errors typed_table hash_func drop_if_exists roleattributes create_am create_function_sql constraints vacuum updatable_views inherit triggers ok 71 + create_aggregate 498 ms ok 72 + create_function_sql 1651 ms ok 73 + create_cast 872 ms ok 74 + constraints 2259 ms ok 75 + triggers 4523 ms ok 76 + select 868 ms ok 77 + inherit 3852 ms ok 78 + typed_table 886 ms ok 79 + vacuum 3095 ms ok 80 + drop_if_exists 948 ms ok 81 + updatable_views 3094 ms ok 82 + roleattributes 972 ms ok 83 + create_am 1065 ms ok 84 + hash_func 878 ms ok 85 + errors 877 ms ok 86 + infinite_recurse 688 ms ok 87 - sanity_check 1307 ms # parallel group (20 tests): select_distinct_on select_having select_implicit select_into delete case namespace random prepared_xacts select_distinct transactions union subselect arrays portals hash_index update join aggregates btree_index ok 88 + select_into 1052 ms ok 89 + select_distinct 2010 ms ok 90 + select_distinct_on 621 ms ok 91 + select_implicit 968 ms ok 92 + select_having 618 ms ok 93 + subselect 2261 ms ok 94 + union 2002 ms ok 95 + case 1487 ms ok 96 + join 3612 ms ok 97 + aggregates 4228 ms ok 98 + transactions 1995 ms ok 99 + random 1732 ms ok 100 + portals 2446 ms ok 101 + arrays 2262 ms ok 102 + btree_index 6235 ms ok 103 + hash_index 2869 ms ok 104 + update 3345 ms ok 105 + delete 1403 ms ok 106 + namespace 1720 ms ok 107 + prepared_xacts 1923 ms # parallel group (20 tests): security_label spgist init_privs tablesample drop_operator collate lock gin password groupingsets replica_identity generated object_address matview rowsecurity identity gist join_hash brin privileges ok 108 + brin 12023 ms ok 109 + gin 3453 ms ok 110 + gist 4991 ms ok 111 + spgist 2759 ms ok 112 + privileges 13664 ms ok 113 + init_privs 2756 ms ok 114 + security_label 2690 ms ok 115 + collate 2763 ms ok 116 + matview 4359 ms ok 117 + lock 3442 ms ok 118 + replica_identity 3900 ms ok 119 + rowsecurity 4630 ms ok 120 + object_address 4306 ms ok 121 + tablesample 2749 ms ok 122 + groupingsets 3893 ms ok 123 + drop_operator 2746 ms ok 124 + password 3430 ms ok 125 + identity 4620 ms ok 126 + generated 4298 ms ok 127 + join_hash 11988 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 435 ms ok 129 + brin_multi 1905 ms # parallel group (18 tests): dbsize collate.utf8 collate.icu.utf8 alter_operator alter_generic tid tidscan tsrf tidrangescan misc async create_role sysviews incremental_sort misc_functions create_table_like merge without_overlaps ok 130 + create_table_like 1936 ms ok 131 + alter_generic 966 ms ok 132 + alter_operator 965 ms ok 133 + misc 1123 ms ok 134 + async 1165 ms ok 135 + dbsize 857 ms ok 136 + merge 1957 ms ok 137 + misc_functions 1924 ms ok 138 + sysviews 1159 ms ok 139 + tsrf 1026 ms ok 140 + tid 953 ms ok 141 + tidscan 1022 ms ok 142 + tidrangescan 1022 ms ok 143 + collate.utf8 884 ms ok 144 + collate.icu.utf8 882 ms ok 145 + incremental_sort 1227 ms ok 146 + create_role 1147 ms ok 147 + without_overlaps 2686 ms # parallel group (7 tests): amutils collate.linux.utf8 psql_crosstab collate.windows.win1252 psql rules stats_ext ok 148 + rules 1629 ms ok 149 + psql 1628 ms ok 150 + psql_crosstab 551 ms ok 151 + amutils 237 ms ok 152 + stats_ext 5176 ms ok 153 + collate.linux.utf8 271 ms ok 154 + collate.windows.win1252 602 ms not ok 155 - select_parallel 5946 ms ok 156 - write_parallel 687 ms ok 157 - vacuum_parallel 458 ms # parallel group (2 tests): subscription publication ok 158 + publication 1601 ms ok 159 + subscription 379 ms # parallel group (17 tests): dependency select_views portals_p2 combocid tsdicts tsearch xmlmap functional_deps equivclass advisory_lock window guc bitmapops indirect_toast cluster foreign_data foreign_key ok 160 + select_views 1434 ms ok 161 + portals_p2 1432 ms ok 162 + foreign_key 6422 ms ok 163 + cluster 2470 ms ok 164 + dependency 1428 ms ok 165 + guc 2033 ms ok 166 + bitmapops 2119 ms ok 167 + combocid 1424 ms ok 168 + tsearch 1681 ms ok 169 + tsdicts 1421 ms ok 170 + foreign_data 3388 ms ok 171 + window 1873 ms ok 172 + xmlmap 1675 ms ok 173 + functional_deps 1710 ms ok 174 + advisory_lock 1859 ms ok 175 + indirect_toast 2306 ms ok 176 + equivclass 1795 ms # parallel group (9 tests): jsonpath_encoding json_encoding sqljson_jsontable jsonpath jsonb_jsonpath sqljson_queryfuncs json sqljson jsonb ok 177 + json 1210 ms ok 178 + jsonb 1418 ms ok 179 + json_encoding 686 ms ok 180 + jsonpath 818 ms ok 181 + jsonpath_encoding 457 ms ok 182 + jsonb_jsonpath 1084 ms ok 183 + sqljson 1240 ms ok 184 + sqljson_queryfuncs 1200 ms ok 185 + sqljson_jsontable 679 ms # parallel group (18 tests): prepare returning plancache conversion largeobject limit with rowtypes rangefuncs xml temp polymorphism copy2 sequence domain truncate plpgsql alter_table ok 186 + plancache 962 ms ok 187 + limit 1874 ms ok 188 + plpgsql 4317 ms ok 189 + copy2 2352 ms ok 190 + temp 2315 ms ok 191 + domain 2541 ms ok 192 + rangefuncs 1939 ms ok 193 + prepare 903 ms ok 194 + conversion 1862 ms ok 195 + truncate 2566 ms ok 196 + alter_table 6460 ms ok 197 + sequence 2531 ms ok 198 + polymorphism 2338 ms ok 199 + rowtypes 1926 ms ok 200 + returning 936 ms ok 201 + largeobject 1851 ms ok 202 + with 1871 ms ok 203 + xml 1960 ms # parallel group (15 tests): predicate hash_part compression partition_info explain reloptions partition_merge memoize partition_split partition_join indexing stats tuplesort partition_aggregate partition_prune ok 204 + partition_merge 2598 ms ok 205 + partition_split 3190 ms ok 206 + partition_join 3883 ms ok 207 + partition_prune 7212 ms ok 208 + reloptions 1921 ms ok 209 + hash_part 1241 ms ok 210 + indexing 4105 ms ok 211 + partition_aggregate 5749 ms ok 212 + partition_info 1786 ms ok 213 + tuplesort 5691 ms ok 214 + explain 1801 ms ok 215 + compression 1232 ms ok 216 + memoize 2859 ms ok 217 + stats 4751 ms ok 218 + predicate 1074 ms # parallel group (2 tests): oidjoins event_trigger ok 219 + oidjoins 931 ms ok 220 + event_trigger 988 ms ok 221 - event_trigger_login 972 ms ok 222 - fast_default 703 ms ok 223 - tablespace 1200 ms 1..223 # 1 of 223 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-08 14:29:21.373231300 +0000 +++ C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out 2024-04-08 14:34:50.584548900 +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 === [14:35:27.964](112.218s) not ok 2 - regression tests pass [14:35:27.964](0.000s) # Failed test 'regression tests pass' # at C:/cirrus/src/test/recovery/t/027_stream_regress.pl line 95. [14:35:27.964](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 9 1 4001 41 5 5 3 4 3 4 4 1 32 1 1 1 6 104 2 1 5 1006 1 2 32767 5 46 17 33 1 34 1 1 1 1 1 -1 1 1 -1 -32768 -2 9 1 Waiting for replication conn standby_1's replay_lsn to pass 0/144DA360 on primary done # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/primary.dump --no-sync -p 62551 --no-unlogged-table-data [14:35:32.409](4.445s) ok 3 - dump primary server # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/standby.dump --no-sync -p 62552 [14:35:37.045](4.636s) 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 [14:35:37.169](0.124s) ok 5 - compare primary and standby dumps [14:35:37.952](0.783s) 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" [14:35:38.515](0.563s) 1..6 [14:35:38.534](0.019s) # Looks like you failed 1 test of 6.