# Checking port 49787 # Found port 49787 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=49787 host=C:/Windows/TEMP/GGtlzDabA3 Log file: C:\cirrus\build/testrun/recovery/027_stream_regress\log/027_stream_regress_primary.log [17:19:03.702](0.079s) # 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 5996 (standby_1,) [17:19:05.563](1.860s) 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/GGtlzDabA3 -p 49787 --checkpoint fast --no-sync # Backup finished # Checking port 49788 # Found port 49788 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=49788 host=C:/Windows/TEMP/GGtlzDabA3 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 3892 # using postmaster on C:/Windows/TEMP/GGtlzDabA3, port 49787 ok 1 - test_setup 906 ms # parallel group (20 tests): char oid name boolean txid enum int4 money bit float4 int2 float8 pg_lsn regproc varchar uuid text int8 rangetypes numeric ok 2 + boolean 1285 ms ok 3 + char 1107 ms ok 4 + name 1267 ms ok 5 + varchar 1685 ms ok 6 + text 1687 ms ok 7 + int2 1532 ms ok 8 + int4 1278 ms ok 9 + int8 1684 ms ok 10 + oid 1227 ms ok 11 + float4 1449 ms ok 12 + float8 1585 ms ok 13 + bit 1352 ms ok 14 + numeric 2480 ms ok 15 + txid 1265 ms ok 16 + uuid 1670 ms ok 17 + enum 1262 ms ok 18 + money 1264 ms ok 19 + rangetypes 2430 ms ok 20 + pg_lsn 1574 ms ok 21 + regproc 1647 ms # parallel group (20 tests): lseg time path md5 circle timetz line macaddr point numerology date macaddr8 inet timestamp interval polygon timestamptz strings multirangetypes box ok 22 + strings 1545 ms ok 23 + md5 689 ms ok 24 + numerology 1123 ms ok 25 + point 1121 ms ok 26 + lseg 563 ms ok 27 + line 1063 ms ok 28 + box 1565 ms ok 29 + path 679 ms ok 30 + polygon 1520 ms ok 31 + circle 690 ms ok 32 + date 1111 ms ok 33 + time 638 ms ok 34 + timetz 738 ms ok 35 + timestamp 1235 ms ok 36 + timestamptz 1511 ms ok 37 + interval 1339 ms ok 38 + inet 1165 ms ok 39 + macaddr 1078 ms ok 40 + macaddr8 1099 ms ok 41 + multirangetypes 1523 ms # parallel group (12 tests): geometry type_sanity regex mvcc xid comments unicode misc_sanity horology tstypes expressions opr_sanity ok 42 + geometry 703 ms ok 43 + horology 764 ms ok 44 + tstypes 795 ms ok 45 + regex 725 ms ok 46 + type_sanity 704 ms ok 47 + opr_sanity 1270 ms ok 48 + misc_sanity 757 ms ok 49 + comments 738 ms ok 50 + expressions 786 ms ok 51 + unicode 736 ms ok 52 + xid 716 ms ok 53 + mvcc 714 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 54 + copy 1035 ms ok 55 + copyselect 586 ms ok 56 + copydml 266 ms ok 57 + insert 2020 ms ok 58 + insert_conflict 1361 ms # parallel group (7 tests): create_schema create_operator create_function_c create_procedure create_type create_misc create_table ok 59 + create_function_c 415 ms ok 60 + create_misc 705 ms ok 61 + create_operator 382 ms ok 62 + create_procedure 452 ms ok 63 + create_table 1336 ms ok 64 + create_type 608 ms ok 65 + create_schema 359 ms # parallel group (5 tests): create_view index_including create_index_spgist index_including_gist create_index ok 66 + create_index 2587 ms ok 67 + create_index_spgist 1306 ms ok 68 + create_view 1234 ms ok 69 + index_including 1236 ms ok 70 + index_including_gist 1497 ms # parallel group (16 tests): infinite_recurse create_cast create_function_sql create_aggregate select hash_func roleattributes drop_if_exists errors typed_table create_am constraints updatable_views vacuum inherit triggers ok 71 + create_aggregate 587 ms ok 72 + create_function_sql 542 ms ok 73 + create_cast 510 ms ok 74 + constraints 2579 ms ok 75 + triggers 4376 ms ok 76 + select 1487 ms ok 77 + inherit 4062 ms ok 78 + typed_table 1880 ms ok 79 + vacuum 3405 ms ok 80 + drop_if_exists 1482 ms ok 81 + updatable_views 3092 ms ok 82 + roleattributes 1479 ms ok 83 + create_am 2202 ms ok 84 + hash_func 1476 ms ok 85 + errors 1516 ms ok 86 + infinite_recurse 492 ms ok 87 - sanity_check 1542 ms # parallel group (20 tests): select_distinct_on select_implicit namespace union select_having case delete random subselect select_into transactions prepared_xacts portals arrays select_distinct hash_index update join aggregates btree_index ok 88 + select_into 1827 ms ok 89 + select_distinct 2356 ms ok 90 + select_distinct_on 434 ms ok 91 + select_implicit 1025 ms ok 92 + select_having 1182 ms ok 93 + subselect 1693 ms ok 94 + union 1021 ms ok 95 + case 1685 ms ok 96 + join 3874 ms ok 97 + aggregates 4682 ms ok 98 + transactions 2116 ms ok 99 + random 1683 ms ok 100 + portals 2257 ms ok 101 + arrays 2339 ms ok 102 + btree_index 6973 ms ok 103 + hash_index 3315 ms ok 104 + update 3314 ms ok 105 + delete 1674 ms ok 106 + namespace 1004 ms ok 107 + prepared_xacts 2104 ms # parallel group (20 tests): init_privs security_label drop_operator lock object_address password tablesample collate groupingsets replica_identity spgist identity gin generated matview rowsecurity gist join_hash brin privileges ok 108 + brin 10753 ms ok 109 + gin 3955 ms ok 110 + gist 5011 ms ok 111 + spgist 3728 ms ok 112 + privileges 13415 ms ok 113 + init_privs 1476 ms ok 114 + security_label 1872 ms ok 115 + collate 2581 ms ok 116 + matview 4152 ms ok 117 + lock 2087 ms ok 118 + replica_identity 3037 ms ok 119 + rowsecurity 4474 ms ok 120 + object_address 2194 ms ok 121 + tablesample 2569 ms ok 122 + groupingsets 2594 ms ok 123 + drop_operator 1858 ms ok 124 + password 2219 ms ok 125 + identity 3930 ms ok 126 + generated 3928 ms ok 127 + join_hash 10676 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 526 ms ok 129 + brin_multi 1958 ms # parallel group (18 tests): dbsize async alter_operator misc collate.icu.utf8 collate.utf8 tid sysviews tidrangescan tsrf create_role misc_functions tidscan alter_generic incremental_sort create_table_like merge without_overlaps ok 130 + create_table_like 1665 ms ok 131 + alter_generic 1548 ms ok 132 + alter_operator 1285 ms ok 133 + misc 1283 ms ok 134 + async 641 ms ok 135 + dbsize 640 ms ok 136 + merge 2016 ms ok 137 + misc_functions 1534 ms ok 138 + sysviews 1379 ms ok 139 + tsrf 1377 ms ok 140 + tid 1314 ms ok 141 + tidscan 1529 ms ok 142 + tidrangescan 1373 ms ok 143 + collate.utf8 1269 ms ok 144 + collate.icu.utf8 1267 ms ok 145 + incremental_sort 1598 ms ok 146 + create_role 1368 ms ok 147 + without_overlaps 2463 ms # parallel group (7 tests): amutils collate.linux.utf8 psql_crosstab collate.windows.win1252 psql rules stats_ext ok 148 + rules 3112 ms ok 149 + psql 2922 ms ok 150 + psql_crosstab 1485 ms ok 151 + amutils 440 ms ok 152 + stats_ext 5606 ms ok 153 + collate.linux.utf8 1469 ms ok 154 + collate.windows.win1252 1615 ms not ok 155 - select_parallel 6684 ms ok 156 - write_parallel 758 ms ok 157 - vacuum_parallel 370 ms # parallel group (2 tests): subscription publication ok 158 + publication 1271 ms ok 159 + subscription 293 ms # parallel group (17 tests): advisory_lock select_views portals_p2 guc functional_deps dependency combocid tsdicts cluster indirect_toast equivclass xmlmap window tsearch bitmapops foreign_data foreign_key ok 160 + select_views 1175 ms ok 161 + portals_p2 1587 ms ok 162 + foreign_key 4083 ms ok 163 + cluster 2241 ms ok 164 + dependency 1926 ms ok 165 + guc 1579 ms ok 166 + bitmapops 2315 ms ok 167 + combocid 2103 ms ok 168 + tsearch 2259 ms ok 169 + tsdicts 2155 ms ok 170 + foreign_data 2381 ms ok 171 + window 2253 ms ok 172 + xmlmap 2226 ms ok 173 + functional_deps 1645 ms ok 174 + advisory_lock 1150 ms ok 175 + indirect_toast 2221 ms ok 176 + equivclass 2219 ms # parallel group (9 tests): jsonpath_encoding json_encoding jsonpath sqljson sqljson_jsontable json sqljson_queryfuncs jsonb_jsonpath jsonb ok 177 + json 725 ms ok 178 + jsonb 1097 ms ok 179 + json_encoding 281 ms ok 180 + jsonpath 386 ms ok 181 + jsonpath_encoding 252 ms ok 182 + jsonb_jsonpath 794 ms ok 183 + sqljson 470 ms ok 184 + sqljson_queryfuncs 765 ms ok 185 + sqljson_jsontable 626 ms # parallel group (18 tests): limit plancache polymorphism returning prepare conversion largeobject xml rangefuncs rowtypes copy2 temp sequence with truncate domain plpgsql alter_table ok 186 + plancache 845 ms ok 187 + limit 684 ms ok 188 + plpgsql 4259 ms ok 189 + copy2 2414 ms ok 190 + temp 2413 ms ok 191 + domain 2834 ms ok 192 + rangefuncs 2228 ms ok 193 + prepare 1135 ms ok 194 + conversion 1133 ms ok 195 + truncate 2618 ms ok 196 + alter_table 5820 ms ok 197 + sequence 2410 ms ok 198 + polymorphism 905 ms ok 199 + rowtypes 2217 ms ok 200 + returning 1115 ms ok 201 + largeobject 2091 ms ok 202 + with 2573 ms ok 203 + xml 2143 ms # parallel group (15 tests): reloptions predicate hash_part partition_info explain compression memoize partition_merge partition_split partition_join indexing stats tuplesort partition_aggregate partition_prune ok 204 + partition_merge 2403 ms ok 205 + partition_split 4258 ms ok 206 + partition_join 4881 ms ok 207 + partition_prune 7961 ms ok 208 + reloptions 849 ms ok 209 + hash_part 854 ms ok 210 + indexing 5410 ms ok 211 + partition_aggregate 6221 ms ok 212 + partition_info 850 ms ok 213 + tuplesort 5513 ms ok 214 + explain 1668 ms ok 215 + compression 1991 ms ok 216 + memoize 2227 ms ok 217 + stats 5452 ms ok 218 + predicate 835 ms # parallel group (2 tests): oidjoins event_trigger ok 219 + oidjoins 751 ms ok 220 + event_trigger 844 ms ok 221 - event_trigger_login 245 ms ok 222 - fast_default 621 ms ok 223 - tablespace 1108 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-20 17:15:02.948885400 +0000 +++ C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out 2024-04-20 17:20:25.498611000 +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 === [17:21:03.237](117.674s) not ok 2 - regression tests pass [17:21:03.237](0.000s) # Failed test 'regression tests pass' # at C:/cirrus/src/test/recovery/t/027_stream_regress.pl line 95. [17:21:03.237](0.000s) # got: '256' # expected: '0' 1 1 1 1 2 1 1 9 5 1 5 4001 3 4 3 4 4 1 32 1 1 1 6 104 41 2 1 5 1006 1 2 32767 5 17 33 34 1 1 1 1 1 1 -1 1 1 -1 -32768 -2 9 1 46 Waiting for replication conn standby_1's replay_lsn to pass 0/14724DE0 on primary done # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/primary.dump --no-sync -p 49787 --no-unlogged-table-data [17:21:06.995](3.757s) ok 3 - dump primary server # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/standby.dump --no-sync -p 49788 [17:21:11.595](4.600s) 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 [17:21:11.707](0.112s) ok 5 - compare primary and standby dumps [17:21:12.346](0.639s) 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" [17:21:12.798](0.452s) 1..6 [17:21:13.831](1.033s) # Looks like you failed 1 test of 6.