# Checking port 52733 # Found port 52733 Name: primary Data directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/archives Connection string: port=52733 host=/tmp/JOKbbIuOH2 Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [19:20:16.528](0.019s) # initializing database system by copying initdb template # Running: cp -RPp /tmp/cirrus-ci-build/build/tmp_install/initdb-template /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata # Running: /tmp/cirrus-ci-build/build/src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata ### Starting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata -l /tmp/cirrus-ci-build/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 26880 (standby_1,) [19:20:16.775](0.248s) ok 1 - physical slot created on primary # Taking pg_basebackup my_backup from node "primary" # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/backup/my_backup -h /tmp/JOKbbIuOH2 -p 52733 --checkpoint fast --no-sync # Backup finished # Checking port 52734 # Found port 52734 Name: standby_1 Data directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/archives Connection string: port=52734 host=/tmp/JOKbbIuOH2 Log file: /tmp/cirrus-ci-build/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 /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/pgdata -l /tmp/cirrus-ci-build/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 27000 # using postmaster on /tmp/JOKbbIuOH2, port 52733 ok 1 - test_setup 414 ms # parallel group (20 tests): char oid txid int2 regproc pg_lsn text varchar name int4 money float4 uuid int8 float8 enum boolean bit numeric rangetypes ok 2 + boolean 394 ms ok 3 + char 80 ms ok 4 + name 152 ms ok 5 + varchar 152 ms ok 6 + text 151 ms ok 7 + int2 138 ms ok 8 + int4 167 ms ok 9 + int8 247 ms ok 10 + oid 109 ms ok 11 + float4 195 ms ok 12 + float8 268 ms ok 13 + bit 451 ms ok 14 + numeric 1316 ms ok 15 + txid 126 ms ok 16 + uuid 206 ms ok 17 + enum 305 ms ok 18 + money 169 ms ok 19 + rangetypes 1317 ms ok 20 + pg_lsn 145 ms ok 21 + regproc 138 ms # parallel group (20 tests): md5 lseg path line time circle timetz macaddr8 numerology date macaddr inet point interval strings timestamp timestamptz polygon box multirangetypes ok 22 + strings 514 ms ok 23 + md5 77 ms ok 24 + numerology 191 ms ok 25 + point 310 ms ok 26 + lseg 95 ms ok 27 + line 116 ms ok 28 + box 1067 ms ok 29 + path 99 ms ok 30 + polygon 967 ms ok 31 + circle 119 ms ok 32 + date 191 ms ok 33 + time 117 ms ok 34 + timetz 155 ms ok 35 + timestamp 549 ms ok 36 + timestamptz 595 ms ok 37 + interval 453 ms ok 38 + inet 217 ms ok 39 + macaddr 203 ms ok 40 + macaddr8 162 ms ok 41 + multirangetypes 1132 ms # parallel group (12 tests): comments unicode misc_sanity xid tstypes expressions mvcc type_sanity geometry horology opr_sanity regex ok 42 + geometry 374 ms ok 43 + horology 468 ms ok 44 + tstypes 130 ms ok 45 + regex 812 ms ok 46 + type_sanity 299 ms ok 47 + opr_sanity 794 ms ok 48 + misc_sanity 80 ms ok 49 + comments 61 ms ok 50 + expressions 132 ms ok 51 + unicode 67 ms ok 52 + xid 103 ms ok 53 + mvcc 173 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 284 ms ok 55 + copyselect 76 ms ok 56 + copydml 88 ms ok 57 + insert 757 ms ok 58 + insert_conflict 412 ms # parallel group (7 tests): create_function_c create_operator create_type create_schema create_procedure create_misc create_table ok 59 + create_function_c 45 ms ok 60 + create_misc 149 ms ok 61 + create_operator 63 ms ok 62 + create_procedure 148 ms ok 63 + create_table 629 ms ok 64 + create_type 107 ms ok 65 + create_schema 116 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 3117 ms ok 67 + create_index_spgist 2852 ms ok 68 + create_view 1479 ms ok 69 + index_including 786 ms ok 70 + index_including_gist 1194 ms # parallel group (16 tests): errors create_cast roleattributes create_aggregate hash_func drop_if_exists typed_table create_am create_function_sql select infinite_recurse vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 176 ms ok 72 + create_function_sql 449 ms ok 73 + create_cast 132 ms ok 74 + constraints 1384 ms ok 75 + triggers 4665 ms ok 76 + select 526 ms ok 77 + inherit 3993 ms ok 78 + typed_table 425 ms ok 79 + vacuum 1301 ms ok 80 + drop_if_exists 231 ms ok 81 + updatable_views 3079 ms ok 82 + roleattributes 158 ms ok 83 + create_am 437 ms ok 84 + hash_func 189 ms ok 85 + errors 110 ms ok 86 + infinite_recurse 747 ms ok 87 - sanity_check 192 ms # parallel group (20 tests): select_distinct_on random select_having case select_implicit delete namespace select_into portals transactions prepared_xacts select_distinct union arrays subselect hash_index update aggregates join btree_index ok 88 + select_into 532 ms ok 89 + select_distinct 893 ms ok 90 + select_distinct_on 100 ms ok 91 + select_implicit 185 ms ok 92 + select_having 176 ms ok 93 + subselect 1236 ms ok 94 + union 1051 ms ok 95 + case 179 ms ok 96 + join 4423 ms ok 97 + aggregates 3960 ms ok 98 + transactions 716 ms ok 99 + random 145 ms ok 100 + portals 688 ms ok 101 + arrays 1101 ms ok 102 + btree_index 5859 ms ok 103 + hash_index 2159 ms ok 104 + update 2243 ms ok 105 + delete 186 ms ok 106 + namespace 529 ms ok 107 + prepared_xacts 757 ms # parallel group (20 tests): init_privs drop_operator security_label lock password tablesample object_address replica_identity collate matview identity groupingsets spgist generated rowsecurity gin gist brin join_hash privileges ok 108 + brin 8807 ms ok 109 + gin 3384 ms ok 110 + gist 3521 ms ok 111 + spgist 3158 ms ok 112 + privileges 9255 ms ok 113 + init_privs 68 ms ok 114 + security_label 141 ms ok 115 + collate 1267 ms ok 116 + matview 1913 ms ok 117 + lock 259 ms ok 118 + replica_identity 874 ms ok 119 + rowsecurity 3285 ms ok 120 + object_address 468 ms ok 121 + tablesample 361 ms ok 122 + groupingsets 3151 ms ok 123 + drop_operator 113 ms ok 124 + password 258 ms ok 125 + identity 2137 ms ok 126 + generated 3268 ms ok 127 + join_hash 8847 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 181 ms ok 129 + brin_multi 822 ms # parallel group (17 tests): async dbsize tid alter_operator tidscan create_role tsrf sysviews tidrangescan misc_functions alter_generic without_overlaps incremental_sort merge misc create_table_like collate.icu.utf8 ok 130 + create_table_like 968 ms ok 131 + alter_generic 414 ms ok 132 + alter_operator 170 ms ok 133 + misc 851 ms ok 134 + async 48 ms ok 135 + dbsize 73 ms ok 136 + merge 807 ms ok 137 + misc_functions 385 ms ok 138 + sysviews 330 ms ok 139 + tsrf 240 ms ok 140 + tid 156 ms ok 141 + tidscan 226 ms ok 142 + tidrangescan 366 ms ok 143 + collate.icu.utf8 1197 ms ok 144 + incremental_sort 684 ms ok 145 + create_role 228 ms ok 146 + without_overlaps 596 ms # parallel group (7 tests): amutils collate.windows.win1252 collate.linux.utf8 psql_crosstab rules psql stats_ext ok 147 + rules 915 ms ok 148 + psql 938 ms ok 149 + psql_crosstab 98 ms ok 150 + amutils 39 ms ok 151 + stats_ext 2643 ms ok 152 + collate.linux.utf8 44 ms ok 153 + collate.windows.win1252 38 ms ok 154 - select_parallel 5701 ms ok 155 - write_parallel 215 ms ok 156 - vacuum_parallel 227 ms # parallel group (2 tests): subscription publication ok 157 + publication 2101 ms ok 158 + subscription 73 ms # parallel group (17 tests): portals_p2 advisory_lock combocid xmlmap functional_deps tsdicts equivclass guc dependency select_views bitmapops window cluster indirect_toast foreign_data tsearch foreign_key ok 159 + select_views 596 ms ok 160 + portals_p2 98 ms ok 161 + foreign_key 2623 ms ok 162 + cluster 1095 ms ok 163 + dependency 287 ms ok 164 + guc 262 ms ok 165 + bitmapops 828 ms ok 166 + combocid 122 ms ok 167 + tsearch 2091 ms ok 168 + tsdicts 232 ms ok 169 + foreign_data 1805 ms ok 170 + window 939 ms ok 171 + xmlmap 154 ms ok 172 + functional_deps 187 ms ok 173 + advisory_lock 108 ms ok 174 + indirect_toast 1255 ms ok 175 + equivclass 254 ms # parallel group (7 tests): json_encoding jsonpath_encoding jsonpath sqljson json jsonb_jsonpath jsonb ok 176 + json 313 ms ok 177 + jsonb 492 ms ok 178 + json_encoding 40 ms ok 179 + jsonpath 103 ms ok 180 + jsonpath_encoding 45 ms ok 181 + jsonb_jsonpath 337 ms ok 182 + sqljson 150 ms # parallel group (18 tests): prepare returning plancache limit conversion temp sequence copy2 domain rowtypes truncate polymorphism largeobject with rangefuncs xml plpgsql alter_table ok 183 + plancache 365 ms ok 184 + limit 479 ms ok 185 + plpgsql 2512 ms ok 186 + copy2 754 ms ok 187 + temp 611 ms ok 188 + domain 837 ms ok 189 + rangefuncs 1187 ms ok 190 + prepare 161 ms ok 191 + conversion 500 ms ok 192 + truncate 941 ms not ok 193 + alter_table 3570 ms ok 194 + sequence 746 ms ok 195 + polymorphism 954 ms ok 196 + rowtypes 855 ms ok 197 + returning 243 ms ok 198 + largeobject 1002 ms ok 199 + with 1021 ms ok 200 + xml 1477 ms # parallel group (13 tests): hash_part explain predicate reloptions partition_info compression memoize stats partition_aggregate partition_join tuplesort indexing partition_prune ok 201 + partition_join 2482 ms ok 202 + partition_prune 2940 ms ok 203 + reloptions 212 ms ok 204 + hash_part 63 ms ok 205 + indexing 2673 ms ok 206 + partition_aggregate 2061 ms ok 207 + partition_info 246 ms ok 208 + tuplesort 2628 ms ok 209 + explain 181 ms ok 210 + compression 523 ms ok 211 + memoize 741 ms ok 212 + stats 1545 ms ok 213 + predicate 205 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 553 ms ok 215 + event_trigger 612 ms ok 216 - event_trigger_login 83 ms ok 217 - fast_default 320 ms ok 218 - tablespace 621 ms 1..218 # 1 of 218 tests failed. # The differences that caused some tests to fail can be viewed in the file "/tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/regression.diffs". # A copy of the test summary that you see above is saved in the file "/tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/regression.out". === dumping /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/regression.diffs === diff -U3 /tmp/cirrus-ci-build/src/test/regress/expected/alter_table.out /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/alter_table.out --- /tmp/cirrus-ci-build/src/test/regress/expected/alter_table.out 2024-02-25 19:17:04.553195023 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/alter_table.out 2024-02-25 19:21:07.269246903 +0000 @@ -3476,9 +3476,20 @@ WHERE relkind IN ('r', 'i', 'S', 't', 'm') AND mapped_oid IS DISTINCT FROM oid; SELECT m.* FROM filenode_mapping m LEFT JOIN pg_class c ON c.oid = m.oid WHERE c.oid IS NOT NULL OR m.mapped_oid IS NOT NULL; - oid | mapped_oid | reltablespace | relfilenode | relname ------+------------+---------------+-------------+--------- -(0 rows) + oid | mapped_oid | reltablespace | relfilenode | relname +-------+------------+---------------+-------------+---------------------- + 36627 | | 0 | 36627 | pktable_pkey + 36624 | | 0 | 36624 | pktable + 36629 | | 0 | 36629 | fktable + 37159 | | 0 | 37166 | foo + 37170 | | 0 | 37170 | pg_toast_37159_index + 37169 | | 0 | 37169 | pg_toast_37159 + 37385 | | 0 | 37385 | old_oids + 37410 | | 0 | 37410 | pg_toast_37407 + 37411 | | 0 | 37411 | pg_toast_37407_index + 37407 | | 0 | 37407 | recur2 + 37400 | | 0 | 37400 | recur1 +(11 rows) -- Checks on creating and manipulation of user defined relations in -- pg_catalog. === EOF === [19:21:12.110](55.335s) not ok 2 - regression tests pass [19:21:12.110](0.000s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [19:21:12.110](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 3 4 3 4 4 1 5 32 1 1 1 6 104 2 1 1006 4001 1 2 41 5 -2 17 9 1 33 34 1 1 1 1 -1 1 1 -1 -32768 32767 46 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/14762C00 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 52733 --no-unlogged-table-data [19:21:14.856](2.745s) ok 3 - dump primary server # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 52734 [19:21:17.495](2.639s) ok 4 - dump standby server # Running: diff /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/standby.dump [19:21:17.528](0.033s) ok 5 - compare primary and standby dumps [19:21:17.730](0.202s) ok 6 - check contents of pg_stat_statements on regression database ### Stopping node "standby_1" using mode fast # Running: pg_ctl -D /tmp/cirrus-ci-build/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 /tmp/cirrus-ci-build/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:21:17.937](0.208s) 1..6 [19:21:17.939](0.001s) # Looks like you failed 1 test of 6.