# Checking port 57413 # Found port 57413 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=57413 host=/tmp/zUbVYZg2zA Log file: /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [06:26:14.229](0.013s) # 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 19653 (standby_1,) [06:26:14.491](0.262s) 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/zUbVYZg2zA -p 57413 --checkpoint fast --no-sync # Backup finished # Checking port 57414 # Found port 57414 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=57414 host=/tmp/zUbVYZg2zA 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 19798 # using postmaster on /tmp/zUbVYZg2zA, port 57413 ok 1 - test_setup 522 ms # parallel group (20 tests): varchar pg_lsn oid name txid text int2 money char float4 uuid regproc int4 int8 float8 enum boolean bit rangetypes numeric ok 2 + boolean 367 ms ok 3 + char 171 ms ok 4 + name 142 ms ok 5 + varchar 99 ms ok 6 + text 156 ms ok 7 + int2 157 ms ok 8 + int4 208 ms ok 9 + int8 242 ms ok 10 + oid 137 ms ok 11 + float4 195 ms ok 12 + float8 248 ms ok 13 + bit 447 ms ok 14 + numeric 1496 ms ok 15 + txid 145 ms ok 16 + uuid 195 ms ok 17 + enum 322 ms ok 18 + money 158 ms ok 19 + rangetypes 1101 ms ok 20 + pg_lsn 100 ms ok 21 + regproc 195 ms # parallel group (20 tests): md5 path time lseg circle line timetz macaddr8 macaddr numerology date inet point interval timestamp strings timestamptz multirangetypes polygon box ok 22 + strings 614 ms ok 23 + md5 104 ms ok 24 + numerology 228 ms ok 25 + point 418 ms ok 26 + lseg 124 ms ok 27 + line 149 ms ok 28 + box 1547 ms ok 29 + path 114 ms ok 30 + polygon 1103 ms ok 31 + circle 127 ms ok 32 + date 297 ms ok 33 + time 119 ms ok 34 + timetz 196 ms ok 35 + timestamp 512 ms ok 36 + timestamptz 674 ms ok 37 + interval 510 ms ok 38 + inet 320 ms ok 39 + macaddr 206 ms ok 40 + macaddr8 202 ms ok 41 + multirangetypes 1042 ms # parallel group (12 tests): unicode comments misc_sanity xid expressions tstypes mvcc type_sanity geometry horology regex opr_sanity ok 42 + geometry 578 ms ok 43 + horology 698 ms ok 44 + tstypes 221 ms ok 45 + regex 981 ms ok 46 + type_sanity 509 ms ok 47 + opr_sanity 1239 ms ok 48 + misc_sanity 104 ms ok 49 + comments 94 ms ok 50 + expressions 218 ms ok 51 + unicode 80 ms ok 52 + xid 107 ms ok 53 + mvcc 348 ms # parallel group (5 tests): copyselect copydml insert_conflict copy insert ok 54 + copy 542 ms ok 55 + copyselect 176 ms ok 56 + copydml 198 ms ok 57 + insert 989 ms ok 58 + insert_conflict 454 ms # parallel group (7 tests): create_function_c create_misc create_operator create_type create_schema create_procedure create_table ok 59 + create_function_c 49 ms ok 60 + create_misc 161 ms ok 61 + create_operator 170 ms ok 62 + create_procedure 285 ms ok 63 + create_table 1663 ms ok 64 + create_type 211 ms ok 65 + create_schema 256 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 66 + create_index 3242 ms ok 67 + create_index_spgist 2732 ms ok 68 + create_view 1543 ms ok 69 + index_including 826 ms ok 70 + index_including_gist 1166 ms # parallel group (16 tests): create_cast errors roleattributes hash_func create_aggregate drop_if_exists typed_table select create_am create_function_sql infinite_recurse vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 240 ms ok 72 + create_function_sql 640 ms ok 73 + create_cast 104 ms ok 74 + constraints 1538 ms ok 75 + triggers 6625 ms ok 76 + select 574 ms ok 77 + inherit 4017 ms ok 78 + typed_table 451 ms ok 79 + vacuum 1278 ms ok 80 + drop_if_exists 288 ms ok 81 + updatable_views 2334 ms ok 82 + roleattributes 170 ms ok 83 + create_am 582 ms ok 84 + hash_func 230 ms ok 85 + errors 117 ms ok 86 + infinite_recurse 658 ms ok 87 - sanity_check 334 ms # parallel group (20 tests): select_distinct_on delete select_having select_implicit random namespace case select_into prepared_xacts transactions portals select_distinct union arrays subselect hash_index update aggregates join btree_index ok 88 + select_into 312 ms ok 89 + select_distinct 1284 ms ok 90 + select_distinct_on 96 ms ok 91 + select_implicit 184 ms ok 92 + select_having 132 ms ok 93 + subselect 1864 ms ok 94 + union 1354 ms ok 95 + case 278 ms ok 96 + join 5070 ms ok 97 + aggregates 5030 ms ok 98 + transactions 774 ms ok 99 + random 186 ms ok 100 + portals 891 ms ok 101 + arrays 1681 ms ok 102 + btree_index 6205 ms ok 103 + hash_index 2468 ms ok 104 + update 2816 ms ok 105 + delete 103 ms ok 106 + namespace 272 ms ok 107 + prepared_xacts 474 ms # parallel group (20 tests): init_privs drop_operator security_label password lock tablesample object_address replica_identity collate identity matview spgist groupingsets generated gist rowsecurity gin brin join_hash privileges ok 108 + brin 10755 ms ok 109 + gin 4426 ms ok 110 + gist 4077 ms ok 111 + spgist 3487 ms ok 112 + privileges 11536 ms ok 113 + init_privs 91 ms ok 114 + security_label 165 ms ok 115 + collate 1191 ms ok 116 + matview 2618 ms ok 117 + lock 384 ms ok 118 + replica_identity 1112 ms ok 119 + rowsecurity 4370 ms ok 120 + object_address 587 ms ok 121 + tablesample 397 ms ok 122 + groupingsets 3573 ms ok 123 + drop_operator 131 ms ok 124 + password 363 ms ok 125 + identity 2558 ms ok 126 + generated 3679 ms ok 127 + join_hash 10754 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 193 ms ok 129 + brin_multi 999 ms # parallel group (18 tests): async dbsize collate.utf8 tid tsrf tidscan alter_operator create_role tidrangescan sysviews misc_functions alter_generic incremental_sort create_table_like misc merge collate.icu.utf8 without_overlaps ok 130 + create_table_like 1205 ms ok 131 + alter_generic 582 ms ok 132 + alter_operator 274 ms ok 133 + misc 1250 ms ok 134 + async 45 ms ok 135 + dbsize 116 ms ok 136 + merge 1410 ms ok 137 + misc_functions 457 ms ok 138 + sysviews 407 ms ok 139 + tsrf 231 ms ok 140 + tid 164 ms ok 141 + tidscan 238 ms ok 142 + tidrangescan 357 ms ok 143 + collate.utf8 141 ms ok 144 + collate.icu.utf8 1474 ms ok 145 + incremental_sort 961 ms ok 146 + create_role 327 ms ok 147 + without_overlaps 1546 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab psql rules stats_ext ok 148 + rules 1425 ms ok 149 + psql 1417 ms ok 150 + psql_crosstab 89 ms ok 151 + amutils 82 ms ok 152 + stats_ext 2951 ms ok 153 + collate.linux.utf8 66 ms ok 154 + collate.windows.win1252 40 ms ok 155 - select_parallel 6723 ms ok 156 - write_parallel 248 ms ok 157 - vacuum_parallel 287 ms # parallel group (2 tests): subscription publication ok 158 + publication 2267 ms ok 159 + subscription 109 ms # parallel group (17 tests): portals_p2 advisory_lock combocid xmlmap functional_deps tsdicts guc equivclass dependency select_views bitmapops window indirect_toast cluster tsearch foreign_data foreign_key ok 160 + select_views 642 ms ok 161 + portals_p2 134 ms ok 162 + foreign_key 3151 ms ok 163 + cluster 1306 ms ok 164 + dependency 406 ms ok 165 + guc 357 ms ok 166 + bitmapops 1067 ms ok 167 + combocid 197 ms ok 168 + tsearch 2110 ms ok 169 + tsdicts 290 ms ok 170 + foreign_data 2261 ms ok 171 + window 1203 ms ok 172 + xmlmap 240 ms ok 173 + functional_deps 262 ms ok 174 + advisory_lock 181 ms ok 175 + indirect_toast 1256 ms ok 176 + equivclass 382 ms # parallel group (8 tests): jsonpath_encoding json_encoding jsonpath sqljson sqljson_queryfuncs json jsonb_jsonpath jsonb ok 177 + json 347 ms ok 178 + jsonb 549 ms ok 179 + json_encoding 45 ms ok 180 + jsonpath 127 ms ok 181 + jsonpath_encoding 35 ms ok 182 + jsonb_jsonpath 400 ms ok 183 + sqljson 202 ms ok 184 + sqljson_queryfuncs 264 ms # parallel group (18 tests): prepare returning limit plancache conversion sequence temp copy2 polymorphism rowtypes largeobject truncate with domain rangefuncs xml plpgsql alter_table ok 185 + plancache 515 ms ok 186 + limit 507 ms ok 187 + plpgsql 3454 ms ok 188 + copy2 734 ms ok 189 + temp 727 ms ok 190 + domain 1465 ms ok 191 + rangefuncs 1478 ms ok 192 + prepare 177 ms ok 193 + conversion 518 ms ok 194 + truncate 1104 ms not ok 195 + alter_table 4083 ms ok 196 + sequence 719 ms ok 197 + polymorphism 985 ms ok 198 + rowtypes 1024 ms ok 199 + returning 327 ms ok 200 + largeobject 1042 ms ok 201 + with 1304 ms ok 202 + xml 2061 ms # parallel group (13 tests): hash_part reloptions explain partition_info predicate compression memoize stats partition_aggregate partition_join tuplesort indexing partition_prune ok 203 + partition_join 3096 ms ok 204 + partition_prune 3924 ms ok 205 + reloptions 293 ms ok 206 + hash_part 282 ms ok 207 + indexing 3340 ms ok 208 + partition_aggregate 2641 ms ok 209 + partition_info 422 ms ok 210 + tuplesort 3312 ms ok 211 + explain 377 ms ok 212 + compression 1062 ms ok 213 + memoize 1185 ms ok 214 + stats 2249 ms ok 215 + predicate 452 ms # parallel group (2 tests): oidjoins event_trigger ok 216 + oidjoins 520 ms ok 217 + event_trigger 594 ms ok 218 - event_trigger_login 79 ms ok 219 - fast_default 239 ms ok 220 - tablespace 863 ms 1..220 # 1 of 220 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-03-27 06:24:34.254746325 +0000 +++ /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/results/alter_table.out 2024-03-27 06:27:15.246858889 +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 +-------+------------+---------------+-------------+---------------------- + 37902 | | 0 | 37902 | users_id_seq + 37917 | | 0 | 37917 | pg_toast_37909 + 37918 | | 0 | 37918 | pg_toast_37909_index + 37909 | | 0 | 37909 | users + 37506 | | 0 | 37506 | pktable_pkey + 37503 | | 0 | 37503 | pktable + 37510 | | 0 | 37510 | fktable + 37999 | | 0 | 38004 | foo + 38008 | | 0 | 38008 | pg_toast_37999_index + 38007 | | 0 | 38007 | pg_toast_37999 + 38254 | | 0 | 38254 | recur1 + 38245 | | 0 | 38245 | old_oids + 38262 | | 0 | 38262 | pg_toast_38259 + 38263 | | 0 | 38263 | pg_toast_38259_index + 38259 | | 0 | 38259 | recur2 + 38226 | | 0 | 38226 | foo + 38362 | | 0 | 38362 | forc_test + 38628 | | 0 | 38628 | pg_toast_38625 + 38629 | | 0 | 38629 | pg_toast_38625_index + 38625 | | 0 | 38625 | rtype +(20 rows) -- Checks on creating and manipulation of user defined relations in -- pg_catalog. === EOF === [06:27:21.132](66.641s) not ok 2 - regression tests pass [06:27:21.132](0.000s) # Failed test 'regression tests pass' # at /tmp/cirrus-ci-build/src/test/recovery/t/027_stream_regress.pl line 95. [06:27:21.132](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 9 1 33 34 1 1 1 1 1 -1 1 1 -1 -32768 32767 1 46 Waiting for replication conn standby_1's replay_lsn to pass 0/1484CF00 on primary done # Running: pg_dumpall -f /tmp/cirrus-ci-build/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 57413 --no-unlogged-table-data [06:27:23.888](2.756s) 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 57414 [06:27:27.034](3.146s) 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 [06:27:27.077](0.043s) ok 5 - compare primary and standby dumps [06:27:27.336](0.259s) 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" [06:27:27.801](0.465s) 1..6 [06:27:27.803](0.002s) # Looks like you failed 1 test of 6.