# Checking port 56531 # Found port 56531 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=56531 host=/tmp/fhNpkaH8yb Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [16:07:11.734](0.064s) # 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 19692 (standby_1,) [16:07:12.180](0.446s) 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/fhNpkaH8yb -p 56531 --checkpoint fast --no-sync # Backup finished # Checking port 56532 # Found port 56532 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=56532 host=/tmp/fhNpkaH8yb 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 19779 # using postmaster on /tmp/fhNpkaH8yb, port 56531 ok 1 - test_setup 760 ms # parallel group (20 tests): varchar char oid pg_lsn txid money name int2 text int4 float4 regproc uuid int8 float8 enum bit boolean numeric rangetypes ok 2 + boolean 496 ms ok 3 + char 129 ms ok 4 + name 166 ms ok 5 + varchar 115 ms ok 6 + text 180 ms ok 7 + int2 167 ms ok 8 + int4 191 ms ok 9 + int8 286 ms ok 10 + oid 136 ms ok 11 + float4 204 ms ok 12 + float8 311 ms ok 13 + bit 452 ms ok 14 + numeric 1324 ms ok 15 + txid 158 ms ok 16 + uuid 218 ms ok 17 + enum 381 ms ok 18 + money 160 ms ok 19 + rangetypes 1381 ms ok 20 + pg_lsn 150 ms ok 21 + regproc 203 ms # parallel group (20 tests): lseg path md5 line circle macaddr time date timetz macaddr8 numerology inet point timestamp interval strings timestamptz polygon multirangetypes box ok 22 + strings 653 ms ok 23 + md5 96 ms ok 24 + numerology 212 ms ok 25 + point 311 ms ok 26 + lseg 91 ms ok 27 + line 100 ms ok 28 + box 1306 ms ok 29 + path 95 ms ok 30 + polygon 914 ms ok 31 + circle 115 ms ok 32 + date 174 ms ok 33 + time 139 ms ok 34 + timetz 192 ms ok 35 + timestamp 505 ms ok 36 + timestamptz 657 ms ok 37 + interval 606 ms ok 38 + inet 275 ms ok 39 + macaddr 136 ms ok 40 + macaddr8 192 ms ok 41 + multirangetypes 1072 ms # parallel group (12 tests): misc_sanity comments unicode xid tstypes expressions mvcc geometry type_sanity horology regex opr_sanity ok 42 + geometry 410 ms ok 43 + horology 536 ms ok 44 + tstypes 185 ms ok 45 + regex 740 ms ok 46 + type_sanity 431 ms ok 47 + opr_sanity 888 ms ok 48 + misc_sanity 68 ms ok 49 + comments 80 ms ok 50 + expressions 219 ms ok 51 + unicode 100 ms ok 52 + xid 143 ms ok 53 + mvcc 322 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 338 ms ok 55 + copyselect 54 ms ok 56 + copydml 114 ms ok 57 + insert 1024 ms ok 58 + insert_conflict 537 ms # parallel group (7 tests): create_function_c create_operator create_misc create_type create_schema create_procedure create_table ok 59 + create_function_c 53 ms ok 60 + create_misc 146 ms ok 61 + create_operator 81 ms ok 62 + create_procedure 208 ms ok 63 + create_table 980 ms ok 64 + create_type 145 ms ok 65 + create_schema 192 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 3032 ms ok 67 + create_index_spgist 2226 ms ok 68 + create_view 1293 ms ok 69 + index_including 873 ms ok 70 + index_including_gist 945 ms # parallel group (16 tests): errors roleattributes create_cast hash_func create_aggregate drop_if_exists typed_table select create_function_sql infinite_recurse create_am vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 270 ms ok 72 + create_function_sql 821 ms ok 73 + create_cast 163 ms ok 74 + constraints 1765 ms ok 75 + triggers 6005 ms ok 76 + select 686 ms ok 77 + inherit 4185 ms ok 78 + typed_table 556 ms ok 79 + vacuum 1609 ms ok 80 + drop_if_exists 454 ms ok 81 + updatable_views 3453 ms ok 82 + roleattributes 151 ms ok 83 + create_am 875 ms ok 84 + hash_func 214 ms ok 85 + errors 110 ms ok 86 + infinite_recurse 820 ms ok 87 - sanity_check 486 ms # parallel group (20 tests): select_having delete select_distinct_on select_implicit case namespace select_into prepared_xacts random portals transactions select_distinct union arrays subselect hash_index update aggregates join btree_index ok 88 + select_into 407 ms ok 89 + select_distinct 1170 ms ok 90 + select_distinct_on 196 ms ok 91 + select_implicit 253 ms ok 92 + select_having 167 ms ok 93 + subselect 1421 ms ok 94 + union 1199 ms ok 95 + case 319 ms ok 96 + join 4374 ms ok 97 + aggregates 4251 ms ok 98 + transactions 782 ms ok 99 + random 518 ms ok 100 + portals 762 ms ok 101 + arrays 1333 ms ok 102 + btree_index 5825 ms ok 103 + hash_index 2085 ms ok 104 + update 2306 ms ok 105 + delete 171 ms ok 106 + namespace 347 ms ok 107 + prepared_xacts 512 ms # parallel group (20 tests): init_privs drop_operator security_label password lock tablesample object_address replica_identity collate matview identity spgist rowsecurity groupingsets generated gist gin brin join_hash privileges ok 108 + brin 10371 ms ok 109 + gin 4914 ms ok 110 + gist 4763 ms ok 111 + spgist 3916 ms ok 112 + privileges 10891 ms ok 113 + init_privs 154 ms ok 114 + security_label 346 ms ok 115 + collate 2168 ms ok 116 + matview 2845 ms ok 117 + lock 435 ms ok 118 + replica_identity 1608 ms ok 119 + rowsecurity 3963 ms ok 120 + object_address 625 ms ok 121 + tablesample 488 ms ok 122 + groupingsets 4153 ms ok 123 + drop_operator 163 ms ok 124 + password 390 ms ok 125 + identity 2914 ms ok 126 + generated 4269 ms ok 127 + join_hash 10391 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 317 ms ok 129 + brin_multi 1107 ms # parallel group (18 tests): async collate.utf8 dbsize tid tidscan alter_operator tsrf create_role sysviews misc_functions tidrangescan alter_generic incremental_sort misc create_table_like merge without_overlaps collate.icu.utf8 ok 130 + create_table_like 1093 ms ok 131 + alter_generic 490 ms ok 132 + alter_operator 235 ms ok 133 + misc 973 ms ok 134 + async 83 ms ok 135 + dbsize 125 ms ok 136 + merge 1190 ms ok 137 + misc_functions 393 ms ok 138 + sysviews 334 ms ok 139 + tsrf 238 ms ok 140 + tid 196 ms ok 141 + tidscan 200 ms ok 142 + tidrangescan 472 ms ok 143 + collate.utf8 112 ms ok 144 + collate.icu.utf8 1416 ms ok 145 + incremental_sort 905 ms ok 146 + create_role 282 ms ok 147 + without_overlaps 1354 ms # parallel group (7 tests): collate.windows.win1252 amutils collate.linux.utf8 psql_crosstab rules psql stats_ext ok 148 + rules 1114 ms ok 149 + psql 1333 ms ok 150 + psql_crosstab 138 ms ok 151 + amutils 40 ms ok 152 + stats_ext 3009 ms ok 153 + collate.linux.utf8 52 ms ok 154 + collate.windows.win1252 30 ms ok 155 - select_parallel 6481 ms ok 156 - write_parallel 216 ms ok 157 - vacuum_parallel 215 ms # parallel group (2 tests): subscription publication ok 158 + publication 2034 ms ok 159 + subscription 123 ms # parallel group (17 tests): advisory_lock portals_p2 combocid xmlmap functional_deps tsdicts equivclass guc dependency select_views bitmapops cluster indirect_toast window foreign_data tsearch foreign_key ok 160 + select_views 608 ms ok 161 + portals_p2 165 ms ok 162 + foreign_key 3082 ms ok 163 + cluster 1097 ms ok 164 + dependency 401 ms ok 165 + guc 337 ms ok 166 + bitmapops 1059 ms ok 167 + combocid 175 ms ok 168 + tsearch 2226 ms ok 169 + tsdicts 313 ms ok 170 + foreign_data 2026 ms ok 171 + window 1209 ms ok 172 + xmlmap 250 ms ok 173 + functional_deps 292 ms ok 174 + advisory_lock 100 ms ok 175 + indirect_toast 1190 ms ok 176 + equivclass 327 ms # parallel group (9 tests): jsonpath_encoding json_encoding jsonpath sqljson sqljson_jsontable sqljson_queryfuncs jsonb_jsonpath json jsonb ok 177 + json 422 ms ok 178 + jsonb 843 ms ok 179 + json_encoding 104 ms ok 180 + jsonpath 139 ms ok 181 + jsonpath_encoding 65 ms ok 182 + jsonb_jsonpath 346 ms ok 183 + sqljson 165 ms ok 184 + sqljson_queryfuncs 296 ms ok 185 + sqljson_jsontable 205 ms # parallel group (18 tests): prepare returning plancache conversion limit temp sequence copy2 polymorphism truncate rowtypes largeobject with domain rangefuncs xml plpgsql alter_table ok 186 + plancache 427 ms ok 187 + limit 478 ms ok 188 + plpgsql 2709 ms ok 189 + copy2 780 ms ok 190 + temp 629 ms ok 191 + domain 1234 ms ok 192 + rangefuncs 1443 ms ok 193 + prepare 187 ms ok 194 + conversion 438 ms ok 195 + truncate 934 ms not ok 196 + alter_table 3624 ms ok 197 + sequence 713 ms ok 198 + polymorphism 913 ms ok 199 + rowtypes 971 ms ok 200 + returning 317 ms ok 201 + largeobject 1016 ms ok 202 + with 1214 ms ok 203 + xml 1749 ms # parallel group (15 tests): reloptions hash_part predicate explain partition_info compression partition_merge memoize partition_split stats partition_aggregate tuplesort partition_join indexing partition_prune ok 204 + partition_merge 1163 ms ok 205 + partition_split 1523 ms ok 206 + partition_join 2868 ms ok 207 + partition_prune 3316 ms ok 208 + reloptions 183 ms ok 209 + hash_part 208 ms ok 210 + indexing 3107 ms ok 211 + partition_aggregate 2497 ms ok 212 + partition_info 332 ms ok 213 + tuplesort 2621 ms ok 214 + explain 323 ms ok 215 + compression 918 ms ok 216 + memoize 1445 ms ok 217 + stats 1689 ms ok 218 + predicate 320 ms # parallel group (2 tests): oidjoins event_trigger ok 219 + oidjoins 432 ms ok 220 + event_trigger 494 ms ok 221 - event_trigger_login 46 ms ok 222 - fast_default 361 ms ok 223 - tablespace 880 ms 1..223 # 1 of 223 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-04-11 16:05:35.014193276 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/alter_table.out 2024-04-11 16:08:09.438169093 +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 +-------+------------+---------------+-------------+---------------------- + 37613 | | 0 | 37613 | pktable_pkey + 37610 | | 0 | 37610 | pktable + 37615 | | 0 | 37615 | fktable + 38134 | | 0 | 38139 | foo + 38143 | | 0 | 38143 | pg_toast_38134_index + 38142 | | 0 | 38142 | pg_toast_38134 + 38367 | | 0 | 38367 | old_oids + 38384 | | 0 | 38384 | pg_toast_38381 + 38385 | | 0 | 38385 | pg_toast_38381_index + 38381 | | 0 | 38381 | recur2 + 38376 | | 0 | 38376 | recur1 +(11 rows) -- Checks on creating and manipulation of user defined relations in -- pg_catalog. === EOF === [16:08:14.892](62.712s) not ok 2 - regression tests pass [16:08:14.892](0.000s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [16:08:14.892](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 3 4 3 4 4 1 32 1 1 1 6 104 2 1 5 4001 1006 1 2 41 5 17 -2 33 34 9 1 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/14B2B250 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 56531 --no-unlogged-table-data [16:08:17.845](2.952s) 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 56532 [16:08:20.468](2.624s) 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 [16:08:20.496](0.027s) ok 5 - compare primary and standby dumps [16:08:20.731](0.235s) 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" [16:08:20.981](0.250s) 1..6 [16:08:20.982](0.001s) # Looks like you failed 1 test of 6.