# Checking port 53418 # Found port 53418 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=53418 host=/tmp/MqC5oYsLvD Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [08:38:17.490](0.017s) # 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 19480 (standby_1,) [08:38:17.985](0.495s) 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/MqC5oYsLvD -p 53418 --checkpoint fast --no-sync # Backup finished # Checking port 53419 # Found port 53419 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=53419 host=/tmp/MqC5oYsLvD 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 19619 # using postmaster on /tmp/MqC5oYsLvD, port 53418 ok 1 - test_setup 616 ms # parallel group (20 tests): char name pg_lsn varchar txid int4 oid text int2 uuid regproc float4 money float8 int8 enum bit boolean numeric rangetypes ok 2 + boolean 345 ms ok 3 + char 103 ms ok 4 + name 107 ms ok 5 + varchar 116 ms ok 6 + text 167 ms ok 7 + int2 167 ms ok 8 + int4 137 ms ok 9 + int8 242 ms ok 10 + oid 137 ms ok 11 + float4 192 ms ok 12 + float8 207 ms ok 13 + bit 338 ms ok 14 + numeric 1377 ms ok 15 + txid 124 ms ok 16 + uuid 173 ms ok 17 + enum 312 ms ok 18 + money 196 ms ok 19 + rangetypes 1381 ms ok 20 + pg_lsn 110 ms ok 21 + regproc 178 ms # parallel group (20 tests): md5 circle line lseg timetz path time macaddr macaddr8 numerology inet date point interval strings timestamp timestamptz box polygon multirangetypes ok 22 + strings 486 ms ok 23 + md5 58 ms ok 24 + numerology 200 ms ok 25 + point 326 ms ok 26 + lseg 89 ms ok 27 + line 88 ms ok 28 + box 874 ms ok 29 + path 127 ms ok 30 + polygon 939 ms ok 31 + circle 65 ms ok 32 + date 290 ms ok 33 + time 167 ms ok 34 + timetz 94 ms ok 35 + timestamp 498 ms ok 36 + timestamptz 508 ms ok 37 + interval 467 ms ok 38 + inet 242 ms ok 39 + macaddr 168 ms ok 40 + macaddr8 171 ms ok 41 + multirangetypes 1015 ms # parallel group (12 tests): comments unicode xid misc_sanity expressions tstypes mvcc type_sanity geometry horology regex opr_sanity ok 42 + geometry 358 ms ok 43 + horology 399 ms ok 44 + tstypes 184 ms ok 45 + regex 572 ms ok 46 + type_sanity 335 ms ok 47 + opr_sanity 873 ms ok 48 + misc_sanity 123 ms ok 49 + comments 34 ms ok 50 + expressions 174 ms ok 51 + unicode 99 ms ok 52 + xid 118 ms ok 53 + mvcc 233 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 54 + copy 375 ms ok 55 + copyselect 113 ms ok 56 + copydml 76 ms ok 57 + insert 1142 ms ok 58 + insert_conflict 467 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 46 ms ok 60 + create_misc 208 ms ok 61 + create_operator 152 ms ok 62 + create_procedure 193 ms ok 63 + create_table 1049 ms ok 64 + create_type 155 ms ok 65 + create_schema 175 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 2649 ms ok 67 + create_index_spgist 2212 ms ok 68 + create_view 1224 ms ok 69 + index_including 652 ms ok 70 + index_including_gist 1059 ms # parallel group (16 tests): errors create_cast roleattributes hash_func create_aggregate drop_if_exists typed_table select create_function_sql create_am infinite_recurse vacuum updatable_views constraints inherit triggers ok 71 + create_aggregate 280 ms ok 72 + create_function_sql 646 ms ok 73 + create_cast 123 ms ok 74 + constraints 2530 ms ok 75 + triggers 4728 ms ok 76 + select 534 ms ok 77 + inherit 3688 ms ok 78 + typed_table 498 ms ok 79 + vacuum 1685 ms ok 80 + drop_if_exists 287 ms ok 81 + updatable_views 2387 ms ok 82 + roleattributes 200 ms ok 83 + create_am 696 ms ok 84 + hash_func 230 ms ok 85 + errors 111 ms ok 86 + infinite_recurse 792 ms ok 87 - sanity_check 167 ms # parallel group (20 tests): delete select_distinct_on select_having case select_implicit namespace prepared_xacts select_into random transactions portals union select_distinct arrays subselect hash_index update aggregates join btree_index ok 88 + select_into 409 ms ok 89 + select_distinct 1160 ms ok 90 + select_distinct_on 148 ms ok 91 + select_implicit 258 ms ok 92 + select_having 203 ms ok 93 + subselect 1607 ms ok 94 + union 1070 ms ok 95 + case 241 ms ok 96 + join 4292 ms ok 97 + aggregates 4282 ms ok 98 + transactions 731 ms ok 99 + random 488 ms ok 100 + portals 836 ms ok 101 + arrays 1349 ms ok 102 + btree_index 6387 ms ok 103 + hash_index 2211 ms ok 104 + update 2374 ms ok 105 + delete 98 ms ok 106 + namespace 290 ms ok 107 + prepared_xacts 396 ms # parallel group (20 tests): init_privs drop_operator security_label password lock tablesample object_address replica_identity collate matview identity spgist groupingsets generated rowsecurity gist gin brin join_hash privileges ok 108 + brin 9919 ms ok 109 + gin 4148 ms ok 110 + gist 4069 ms ok 111 + spgist 2934 ms ok 112 + privileges 10824 ms ok 113 + init_privs 89 ms ok 114 + security_label 133 ms ok 115 + collate 1320 ms ok 116 + matview 1749 ms ok 117 + lock 345 ms ok 118 + replica_identity 1144 ms ok 119 + rowsecurity 3637 ms ok 120 + object_address 493 ms ok 121 + tablesample 369 ms ok 122 + groupingsets 3072 ms ok 123 + drop_operator 125 ms ok 124 + password 305 ms ok 125 + identity 2080 ms ok 126 + generated 3565 ms ok 127 + join_hash 9922 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 249 ms ok 129 + brin_multi 1085 ms # parallel group (18 tests): async collate.utf8 dbsize tid alter_operator tsrf tidscan create_role misc_functions tidrangescan sysviews alter_generic incremental_sort misc create_table_like merge collate.icu.utf8 without_overlaps ok 130 + create_table_like 1178 ms ok 131 + alter_generic 513 ms ok 132 + alter_operator 210 ms ok 133 + misc 1158 ms ok 134 + async 62 ms ok 135 + dbsize 103 ms ok 136 + merge 1302 ms ok 137 + misc_functions 394 ms ok 138 + sysviews 428 ms ok 139 + tsrf 210 ms ok 140 + tid 173 ms ok 141 + tidscan 249 ms ok 142 + tidrangescan 399 ms ok 143 + collate.utf8 97 ms ok 144 + collate.icu.utf8 1341 ms ok 145 + incremental_sort 988 ms ok 146 + create_role 289 ms ok 147 + without_overlaps 1532 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab rules psql stats_ext ok 148 + rules 967 ms ok 149 + psql 1114 ms ok 150 + psql_crosstab 98 ms ok 151 + amutils 57 ms ok 152 + stats_ext 2732 ms ok 153 + collate.linux.utf8 33 ms ok 154 + collate.windows.win1252 32 ms ok 155 - select_parallel 6034 ms ok 156 - write_parallel 212 ms ok 157 - vacuum_parallel 167 ms # parallel group (2 tests): subscription publication ok 158 + publication 2593 ms ok 159 + subscription 117 ms # parallel group (17 tests): portals_p2 advisory_lock combocid xmlmap tsdicts equivclass functional_deps guc dependency select_views window indirect_toast bitmapops cluster foreign_data tsearch foreign_key ok 160 + select_views 558 ms ok 161 + portals_p2 105 ms ok 162 + foreign_key 2786 ms ok 163 + cluster 1222 ms ok 164 + dependency 302 ms ok 165 + guc 293 ms ok 166 + bitmapops 1117 ms ok 167 + combocid 142 ms ok 168 + tsearch 2087 ms ok 169 + tsdicts 242 ms ok 170 + foreign_data 2027 ms ok 171 + window 1037 ms ok 172 + xmlmap 171 ms ok 173 + functional_deps 286 ms ok 174 + advisory_lock 140 ms ok 175 + indirect_toast 1040 ms ok 176 + equivclass 284 ms # parallel group (9 tests): jsonpath_encoding json_encoding jsonpath sqljson sqljson_jsontable sqljson_queryfuncs jsonb_jsonpath json jsonb ok 177 + json 448 ms ok 178 + jsonb 656 ms ok 179 + json_encoding 68 ms ok 180 + jsonpath 103 ms ok 181 + jsonpath_encoding 39 ms ok 182 + jsonb_jsonpath 346 ms ok 183 + sqljson 180 ms ok 184 + sqljson_queryfuncs 259 ms ok 185 + sqljson_jsontable 217 ms # parallel group (18 tests): prepare returning plancache limit conversion temp copy2 sequence polymorphism largeobject truncate rowtypes with rangefuncs domain xml plpgsql alter_table ok 186 + plancache 373 ms ok 187 + limit 461 ms ok 188 + plpgsql 3095 ms ok 189 + copy2 616 ms ok 190 + temp 500 ms ok 191 + domain 1178 ms ok 192 + rangefuncs 1169 ms ok 193 + prepare 161 ms ok 194 + conversion 472 ms ok 195 + truncate 944 ms not ok 196 + alter_table 3639 ms ok 197 + sequence 662 ms ok 198 + polymorphism 844 ms ok 199 + rowtypes 992 ms ok 200 + returning 289 ms ok 201 + largeobject 875 ms ok 202 + with 1154 ms ok 203 + xml 1780 ms # parallel group (15 tests): hash_part reloptions explain partition_info predicate compression memoize stats partition_merge partition_split partition_aggregate tuplesort indexing partition_join partition_prune ok 204 + partition_merge 1436 ms ok 205 + partition_split 1868 ms ok 206 + partition_join 2988 ms ok 207 + partition_prune 3393 ms ok 208 + reloptions 181 ms ok 209 + hash_part 177 ms ok 210 + indexing 2880 ms ok 211 + partition_aggregate 2416 ms ok 212 + partition_info 300 ms ok 213 + tuplesort 2689 ms ok 214 + explain 262 ms ok 215 + compression 807 ms ok 216 + memoize 1086 ms ok 217 + stats 1430 ms ok 218 + predicate 341 ms # parallel group (2 tests): oidjoins event_trigger ok 219 + oidjoins 539 ms ok 220 + event_trigger 623 ms ok 221 - event_trigger_login 39 ms ok 222 - fast_default 314 ms ok 223 - tablespace 617 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-05-01 08:36:41.713604503 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/alter_table.out 2024-05-01 08:39:13.225628820 +0000 @@ -3476,9 +3476,29 @@ 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 +-------+------------+---------------+-------------+---------------------- + 38365 | | 0 | 38365 | foo + 38030 | | 0 | 38030 | users_id_seq + 38038 | | 0 | 38038 | pg_toast_38031 + 38039 | | 0 | 38039 | pg_toast_38031_index + 38031 | | 0 | 38031 | users + 38453 | | 0 | 38453 | forc_test + 38789 | | 0 | 38789 | pg_toast_38786 + 38790 | | 0 | 38790 | pg_toast_38786_index + 38786 | | 0 | 38786 | rtype + 37665 | | 0 | 37665 | pktable_pkey + 37662 | | 0 | 37662 | pktable + 37667 | | 0 | 37667 | fktable + 38196 | | 0 | 38202 | foo + 38206 | | 0 | 38206 | pg_toast_38196_index + 38205 | | 0 | 38205 | pg_toast_38196 + 38456 | | 0 | 38456 | old_oids + 38475 | | 0 | 38475 | pg_toast_38472 + 38476 | | 0 | 38476 | pg_toast_38472_index + 38472 | | 0 | 38472 | recur2 + 38467 | | 0 | 38467 | recur1 +(20 rows) -- Checks on creating and manipulation of user defined relations in -- pg_catalog. === EOF === [08:39:18.519](60.534s) not ok 2 - regression tests pass [08:39:18.519](0.000s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [08:39:18.520](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 1 3 4 3 4 4 1 32 1 1 1 6 104 2 1 4001 5 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/14BFE1E0 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 53418 --no-unlogged-table-data [08:39:20.824](2.304s) 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 53419 [08:39:23.461](2.637s) 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 [08:39:23.481](0.020s) ok 5 - compare primary and standby dumps [08:39:23.733](0.252s) 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" [08:39:23.853](0.120s) 1..6 [08:39:23.854](0.001s) # Looks like you failed 1 test of 6.