# Checking port 56160 # Found port 56160 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=56160 host=C:/Windows/TEMP/YcOMdq6pBb Log file: C:\cirrus\build/testrun/recovery/027_stream_regress\log/027_stream_regress_primary.log [08:20:40.266](0.073s) # 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 6352 (standby_1,) [08:20:41.599](1.333s) 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/YcOMdq6pBb -p 56160 --checkpoint fast --no-sync # Backup finished # Checking port 56161 # Found port 56161 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=56161 host=C:/Windows/TEMP/YcOMdq6pBb 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 6024 # using postmaster on C:/Windows/TEMP/YcOMdq6pBb, port 56160 ok 1 - test_setup 974 ms # parallel group (20 tests): varchar int4 oid char pg_lsn enum bit boolean money txid regproc text int8 int2 uuid float4 float8 name rangetypes numeric ok 2 + boolean 964 ms ok 3 + char 740 ms ok 4 + name 1269 ms ok 5 + varchar 595 ms ok 6 + text 958 ms ok 7 + int2 1031 ms ok 8 + int4 650 ms ok 9 + int8 954 ms ok 10 + oid 729 ms ok 11 + float4 1157 ms ok 12 + float8 1155 ms ok 13 + bit 910 ms ok 14 + numeric 2072 ms ok 15 + txid 944 ms ok 16 + uuid 1101 ms ok 17 + enum 719 ms ok 18 + money 940 ms ok 19 + rangetypes 2033 ms ok 20 + pg_lsn 714 ms ok 21 + regproc 935 ms # parallel group (20 tests): md5 line lseg point strings circle box macaddr8 numerology macaddr polygon timetz inet time multirangetypes interval path date timestamptz timestamp ok 22 + strings 1020 ms ok 23 + md5 389 ms ok 24 + numerology 1227 ms ok 25 + point 763 ms ok 26 + lseg 762 ms ok 27 + line 508 ms ok 28 + box 1120 ms ok 29 + path 1386 ms ok 30 + polygon 1219 ms ok 31 + circle 1007 ms ok 32 + date 1395 ms ok 33 + time 1280 ms ok 34 + timetz 1259 ms ok 35 + timestamp 1427 ms ok 36 + timestamptz 1416 ms ok 37 + interval 1375 ms ok 38 + inet 1273 ms ok 39 + macaddr 1206 ms ok 40 + macaddr8 1168 ms ok 41 + multirangetypes 1306 ms # parallel group (12 tests): expressions unicode comments mvcc xid geometry horology tstypes type_sanity misc_sanity regex opr_sanity ok 42 + geometry 1439 ms ok 43 + horology 1436 ms ok 44 + tstypes 1435 ms ok 45 + regex 1462 ms ok 46 + type_sanity 1449 ms ok 47 + opr_sanity 1463 ms ok 48 + misc_sanity 1448 ms ok 49 + comments 1280 ms ok 50 + expressions 952 ms ok 51 + unicode 951 ms ok 52 + xid 1339 ms ok 53 + mvcc 1337 ms # parallel group (5 tests): copyselect copy copydml insert_conflict insert ok 54 + copy 652 ms ok 55 + copyselect 598 ms ok 56 + copydml 647 ms ok 57 + insert 1180 ms ok 58 + insert_conflict 660 ms # parallel group (7 tests): create_function_c create_type create_procedure create_misc create_operator create_schema create_table ok 59 + create_function_c 330 ms ok 60 + create_misc 446 ms ok 61 + create_operator 444 ms ok 62 + create_procedure 425 ms ok 63 + create_table 1482 ms ok 64 + create_type 389 ms ok 65 + create_schema 476 ms # parallel group (5 tests): create_view index_including create_index_spgist index_including_gist create_index ok 66 + create_index 3621 ms ok 67 + create_index_spgist 1827 ms ok 68 + create_view 1707 ms ok 69 + index_including 1813 ms ok 70 + index_including_gist 1903 ms # parallel group (16 tests): hash_func roleattributes infinite_recurse create_aggregate typed_table create_am errors create_cast select drop_if_exists create_function_sql constraints updatable_views vacuum inherit triggers ok 71 + create_aggregate 771 ms ok 72 + create_function_sql 1321 ms ok 73 + create_cast 927 ms ok 74 + constraints 2132 ms ok 75 + triggers 4600 ms ok 76 + select 973 ms ok 77 + inherit 3633 ms ok 78 + typed_table 761 ms ok 79 + vacuum 3422 ms ok 80 + drop_if_exists 1307 ms ok 81 + updatable_views 2686 ms ok 82 + roleattributes 731 ms ok 83 + create_am 802 ms ok 84 + hash_func 728 ms ok 85 + errors 799 ms ok 86 + infinite_recurse 748 ms ok 87 - sanity_check 560 ms # parallel group (20 tests): random select_distinct_on transactions select_having delete select_implicit prepared_xacts portals union arrays select_distinct select_into namespace subselect case hash_index update join aggregates btree_index ok 88 + select_into 2081 ms ok 89 + select_distinct 2079 ms ok 90 + select_distinct_on 1067 ms ok 91 + select_implicit 1512 ms ok 92 + select_having 1067 ms ok 93 + subselect 2206 ms ok 94 + union 1828 ms ok 95 + case 2203 ms ok 96 + join 3586 ms ok 97 + aggregates 4151 ms ok 98 + transactions 1056 ms ok 99 + random 1055 ms ok 100 + portals 1820 ms ok 101 + arrays 1819 ms ok 102 + btree_index 6388 ms ok 103 + hash_index 2650 ms ok 104 + update 2717 ms ok 105 + delete 1050 ms ok 106 + namespace 2186 ms ok 107 + prepared_xacts 1673 ms # parallel group (20 tests): init_privs lock replica_identity security_label collate drop_operator password tablesample spgist object_address groupingsets identity matview gin generated rowsecurity gist brin join_hash privileges ok 108 + brin 9734 ms ok 109 + gin 3796 ms ok 110 + gist 4927 ms ok 111 + spgist 2101 ms ok 112 + privileges 11400 ms ok 113 + init_privs 1391 ms ok 114 + security_label 1670 ms ok 115 + collate 1668 ms ok 116 + matview 3674 ms ok 117 + lock 1385 ms ok 118 + replica_identity 1663 ms ok 119 + rowsecurity 3983 ms ok 120 + object_address 2087 ms ok 121 + tablesample 2085 ms ok 122 + groupingsets 3027 ms ok 123 + drop_operator 1796 ms ok 124 + password 1796 ms ok 125 + identity 3481 ms ok 126 + generated 3770 ms ok 127 + join_hash 9705 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 374 ms ok 129 + brin_multi 1755 ms # parallel group (18 tests): tsrf tidscan collate.icu.utf8 tid collate.utf8 async tidrangescan misc_functions alter_operator dbsize create_role without_overlaps sysviews alter_generic incremental_sort misc create_table_like merge ok 130 + create_table_like 1578 ms ok 131 + alter_generic 1335 ms ok 132 + alter_operator 1070 ms ok 133 + misc 1333 ms ok 134 + async 1021 ms ok 135 + dbsize 1065 ms ok 136 + merge 1867 ms ok 137 + misc_functions 1062 ms ok 138 + sysviews 1248 ms ok 139 + tsrf 562 ms ok 140 + tid 959 ms ok 141 + tidscan 912 ms ok 142 + tidrangescan 1019 ms ok 143 + collate.utf8 1005 ms ok 144 + collate.icu.utf8 908 ms ok 145 + incremental_sort 1314 ms ok 146 + create_role 1203 ms ok 147 + without_overlaps 1203 ms # parallel group (7 tests): collate.linux.utf8 psql_crosstab amutils collate.windows.win1252 rules psql stats_ext ok 148 + rules 1767 ms ok 149 + psql 1787 ms ok 150 + psql_crosstab 341 ms ok 151 + amutils 364 ms ok 152 + stats_ext 5775 ms ok 153 + collate.linux.utf8 336 ms ok 154 + collate.windows.win1252 1133 ms not ok 155 - select_parallel 6809 ms ok 156 - write_parallel 858 ms ok 157 - vacuum_parallel 524 ms # parallel group (2 tests): subscription publication ok 158 + publication 1841 ms ok 159 + subscription 931 ms # parallel group (17 tests): portals_p2 advisory_lock xmlmap select_views combocid equivclass dependency functional_deps tsdicts guc tsearch cluster bitmapops window indirect_toast foreign_data foreign_key ok 160 + select_views 1059 ms ok 161 + portals_p2 776 ms ok 162 + foreign_key 4974 ms ok 163 + cluster 1801 ms ok 164 + dependency 1062 ms ok 165 + guc 1674 ms ok 166 + bitmapops 1862 ms ok 167 + combocid 1049 ms ok 168 + tsearch 1766 ms ok 169 + tsdicts 1080 ms ok 170 + foreign_data 2826 ms ok 171 + window 2127 ms ok 172 + xmlmap 1040 ms ok 173 + functional_deps 1072 ms ok 174 + advisory_lock 755 ms ok 175 + indirect_toast 2530 ms ok 176 + equivclass 1035 ms # parallel group (8 tests): jsonpath jsonpath_encoding sqljson json jsonb_jsonpath json_encoding sqljson_queryfuncs jsonb ok 177 + json 496 ms ok 178 + jsonb 1135 ms ok 179 + json_encoding 507 ms ok 180 + jsonpath 344 ms ok 181 + jsonpath_encoding 437 ms ok 182 + jsonb_jsonpath 501 ms ok 183 + sqljson 453 ms ok 184 + sqljson_queryfuncs 645 ms # parallel group (18 tests): returning plancache xml prepare largeobject limit conversion rowtypes polymorphism rangefuncs copy2 sequence with truncate temp domain plpgsql alter_table ok 185 + plancache 1569 ms ok 186 + limit 1967 ms ok 187 + plpgsql 3600 ms ok 188 + copy2 2475 ms ok 189 + temp 2630 ms ok 190 + domain 2954 ms ok 191 + rangefuncs 2447 ms ok 192 + prepare 1580 ms ok 193 + conversion 1958 ms ok 194 + truncate 2469 ms ok 195 + alter_table 6291 ms ok 196 + sequence 2464 ms ok 197 + polymorphism 2438 ms ok 198 + rowtypes 1980 ms ok 199 + returning 1548 ms ok 200 + largeobject 1840 ms ok 201 + with 2457 ms ok 202 + xml 1543 ms # parallel group (13 tests): predicate reloptions hash_part partition_info compression explain memoize partition_join indexing stats partition_aggregate tuplesort partition_prune ok 203 + partition_join 3617 ms ok 204 + partition_prune 6946 ms ok 205 + reloptions 1199 ms ok 206 + hash_part 1359 ms ok 207 + indexing 3661 ms ok 208 + partition_aggregate 5277 ms ok 209 + partition_info 1355 ms ok 210 + tuplesort 5817 ms ok 211 + explain 1684 ms ok 212 + compression 1399 ms ok 213 + memoize 1805 ms ok 214 + stats 4406 ms ok 215 + predicate 1049 ms # parallel group (2 tests): oidjoins event_trigger ok 216 + oidjoins 911 ms ok 217 + event_trigger 937 ms ok 218 - event_trigger_login 271 ms ok 219 - fast_default 699 ms ok 220 - tablespace 1948 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-03-23 08:16:35.771516800 +0000 +++ C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out 2024-03-23 08:21:54.047131200 +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 === [08:22:29.907](108.308s) not ok 2 - regression tests pass [08:22:29.907](0.000s) # Failed test 'regression tests pass' # at C:/cirrus/src/test/recovery/t/027_stream_regress.pl line 95. [08:22:29.908](0.000s) # got: '256' # expected: '0' 1 1 1 1 1 2 1 9 4001 5 5 3 4 3 4 4 1 41 32 1 1 1 6 104 2 1 5 1006 1 2 5 17 46 33 34 -2 1 1 1 1 -1 1 1 -1 -32768 32767 9 1 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/1426F780 on primary done # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/primary.dump --no-sync -p 56160 --no-unlogged-table-data [08:22:33.947](4.039s) ok 3 - dump primary server # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/standby.dump --no-sync -p 56161 [08:22:38.488](4.542s) 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 [08:22:38.632](0.144s) ok 5 - compare primary and standby dumps [08:22:39.099](0.467s) 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" [08:22:40.211](1.111s) 1..6 [08:22:40.227](0.017s) # Looks like you failed 1 test of 6.