# Checking port 51128 # Found port 51128 Name: primary Data directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_primary_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_primary_data/backup Archive directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_primary_data/archives Connection string: port=51128 host=/tmp/4mM_Bzs2RS Log file: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/log/035_standby_logical_decoding_primary.log # Checking port 51129 # Found port 51129 Name: standby Data directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_standby_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_standby_data/backup Archive directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_standby_data/archives Connection string: port=51129 host=/tmp/4mM_Bzs2RS Log file: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/log/035_standby_logical_decoding_standby.log # Checking port 51130 # Found port 51130 Name: cascading_standby Data directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_cascading_standby_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_cascading_standby_data/backup Archive directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_cascading_standby_data/archives Connection string: port=51130 host=/tmp/4mM_Bzs2RS Log file: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/log/035_standby_logical_decoding_cascading_standby.log # Checking port 51131 # Found port 51131 Name: subscriber Data directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_subscriber_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_subscriber_data/backup Archive directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_subscriber_data/archives Connection string: port=51131 host=/tmp/4mM_Bzs2RS Log file: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/log/035_standby_logical_decoding_subscriber.log [23:12:58.229](0.026s) # initializing database system by copying initdb template # Running: cp -RPp /tmp/cirrus-ci-build/tmp_install/initdb-template /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_primary_data/pgdata # Running: /tmp/cirrus-ci-build/src/test/recovery/../../../src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_primary_data/pgdata ### Enabling WAL archiving for node "primary" Name: primary Version: 17devel Data directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_primary_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_primary_data/backup Archive directory: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_primary_data/archives Connection string: port=51128 host=/tmp/4mM_Bzs2RS Log file: /tmp/cirrus-ci-build/src/test/recovery/tmp_check/log/035_standby_logical_decoding_primary.log ### Starting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_primary_data/pgdata -l /tmp/cirrus-ci-build/src/test/recovery/tmp_check/log/035_standby_logical_decoding_primary.log -o --cluster-name=primary start waiting for server to start.... done server started # Postmaster PID for node "primary" is 53873 [23:12:58.579](0.349s) ok 1 - Physical slot reports conflict_reason as NULL # Taking pg_basebackup b1 from node "primary" # Running: pg_basebackup -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_primary_data/backup/b1 -h /tmp/4mM_Bzs2RS -p 51128 --checkpoint fast --no-sync # Backup finished # Initializing node "standby" from backup "b1" of node "primary" ### Enabling streaming replication for node "standby" ### Enabling WAL restore for node "standby" ### Starting node "standby" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_standby_data/pgdata -l /tmp/cirrus-ci-build/src/test/recovery/tmp_check/log/035_standby_logical_decoding_standby.log -o --cluster-name=standby start waiting for server to start.... done server started # Postmaster PID for node "standby" is 53901 Waiting for replication conn standby's replay_lsn to pass 0/3019E10 on primary done [23:12:59.030](0.451s) # initializing database system by copying initdb template # Running: cp -RPp /tmp/cirrus-ci-build/tmp_install/initdb-template /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_subscriber_data/pgdata # Running: /tmp/cirrus-ci-build/src/test/recovery/../../../src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_subscriber_data/pgdata ### Starting node "subscriber" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_subscriber_data/pgdata -l /tmp/cirrus-ci-build/src/test/recovery/tmp_check/log/035_standby_logical_decoding_subscriber.log -o --cluster-name=subscriber start waiting for server to start.... done server started # Postmaster PID for node "subscriber" is 53924 [23:12:59.362](0.332s) ok 2 - behaves_ok_inactiveslot on standby created [23:12:59.562](0.199s) ok 3 - behaves_ok_activeslot on standby created Waiting for replication conn standby's replay_lsn to pass 0/3026730 on primary done [23:12:59.645](0.083s) ok 4 - Decoding produced 14 rows (2 BEGIN/COMMIT and 10 rows) Waiting for replication conn standby's replay_lsn to pass 0/3026860 on primary done [23:12:59.709](0.065s) ok 5 - got expected output from SQL decoding session Waiting for replication conn standby's replay_lsn to pass 0/3027410 on primary done [23:12:59.789](0.079s) ok 6 - got same expected output from pg_recvlogical decoding session [23:12:59.818](0.029s) ok 7 - pg_recvlogical acknowledged changes Waiting for replication conn standby's replay_lsn to pass 0/3470E48 on primary done [23:12:59.917](0.099s) ok 8 - replaying logical slot from another database fails Waiting for replication conn standby's replay_lsn to pass 0/3498680 on primary done Waiting for all subscriptions in "subscriber" to synchronize data Waiting for replication conn tap_sub's replay_lsn to pass 0/34986B8 on standby done done Waiting for replication conn standby's replay_lsn to pass 0/3498C48 on primary done Waiting for replication conn tap_sub's replay_lsn to pass 0/3498C48 on standby done [23:13:00.520](0.603s) ok 9 - check replicated inserts after subscription on standby #### Begin standard error psql::1: NOTICE: dropped replication slot "tap_sub" on publisher #### End standard error ### Stopping node "subscriber" using mode fast # Running: pg_ctl -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_subscriber_data/pgdata -m fast stop waiting for server to shut down.... done server stopped # No postmaster PID for node "subscriber" [23:13:00.963](0.443s) ok 10 - vacuum_full_inactiveslot on standby created [23:13:01.162](0.199s) ok 11 - vacuum_full_activeslot on standby created ### Reloading node "standby" # Running: pg_ctl -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_standby_data/pgdata reload server signaled #### Begin standard error psql::1: INFO: vacuuming "pg_catalog.pg_class" psql::1: INFO: "pg_catalog.pg_class": found 5 removable, 420 nonremovable row versions in 14 pages DETAIL: 0 dead row versions cannot be removed yet. CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s. #### End standard error Waiting for replication conn standby's replay_lsn to pass 0/34C9598 on primary done [23:13:01.346](0.184s) ok 12 - inactiveslot slot invalidation is logged with vacuum FULL on pg_class [23:13:01.347](0.000s) ok 13 - activeslot slot invalidation is logged with vacuum FULL on pg_class [23:13:01.364](0.017s) ok 14 - confl_active_logicalslot updated [23:13:01.380](0.016s) ok 15 - vacuum_full_activeslot conflict_reason is rows_removed [23:13:01.395](0.015s) ok 16 - vacuum_full_inactiveslot conflict_reason is rows_removed [23:13:01.417](0.022s) ok 17 - pg_recvlogical exited non-zero [23:13:01.417](0.000s) ok 18 - slot has been invalidated ### Reloading node "standby" # Running: pg_ctl -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_standby_data/pgdata reload server signaled ### Restarting node "standby" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_standby_data/pgdata -l /tmp/cirrus-ci-build/src/test/recovery/tmp_check/log/035_standby_logical_decoding_standby.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "standby" is 54087 [23:13:01.670](0.253s) ok 19 - vacuum_full_activeslot conflict_reason is rows_removed [23:13:01.689](0.019s) ok 20 - vacuum_full_inactiveslot conflict_reason is rows_removed Waiting for replication conn standby's replay_lsn to pass 0/40000F8 on primary done [23:13:01.809](0.119s) ok 21 - invalidated logical slots do not lead to retaining WAL [23:13:02.164](0.355s) ok 22 - row_removal_inactiveslot on standby created [23:13:02.365](0.201s) ok 23 - row_removal_activeslot on standby created ### Reloading node "standby" # Running: pg_ctl -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_standby_data/pgdata reload server signaled #### Begin standard error psql::1: INFO: vacuuming "testdb.pg_catalog.pg_class" psql::1: INFO: finished vacuuming "testdb.pg_catalog.pg_class": index scans: 1 pages: 0 removed, 11 remain, 11 scanned (100.00% of total) tuples: 4 removed, 419 remain, 0 are dead but not yet removable removable cutoff: 754, which was 0 XIDs old when operation ended frozen: 0 pages from table (0.00% of total) had 0 tuples frozen index scan needed: 3 pages from table (27.27% of total) had 5 dead item identifiers removed index "pg_class_oid_index": pages: 4 in total, 0 newly deleted, 0 currently deleted, 0 reusable index "pg_class_relname_nsp_index": pages: 5 in total, 0 newly deleted, 0 currently deleted, 0 reusable index "pg_class_tblspc_relfilenode_index": pages: 2 in total, 0 newly deleted, 0 currently deleted, 0 reusable avg read rate: 59.186 MB/s, avg write rate: 126.826 MB/s buffer usage: 78 hits, 7 misses, 15 dirtied WAL usage: 28 records, 15 full page images, 122841 bytes system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s #### End standard error Waiting for replication conn standby's replay_lsn to pass 0/403EDC0 on primary done [23:13:02.550](0.185s) ok 24 - inactiveslot slot invalidation is logged with vacuum on pg_class [23:13:02.550](0.000s) ok 25 - activeslot slot invalidation is logged with vacuum on pg_class [23:13:02.569](0.019s) ok 26 - confl_active_logicalslot updated [23:13:02.587](0.018s) ok 27 - row_removal_activeslot conflict_reason is rows_removed [23:13:02.604](0.017s) ok 28 - row_removal_inactiveslot conflict_reason is rows_removed [23:13:02.626](0.022s) ok 29 - pg_recvlogical exited non-zero [23:13:02.626](0.000s) ok 30 - slot has been invalidated [23:13:02.764](0.138s) ok 31 - shared_row_removal_inactiveslot on standby created [23:13:02.967](0.203s) ok 32 - shared_row_removal_activeslot on standby created ### Reloading node "standby" # Running: pg_ctl -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_standby_data/pgdata reload server signaled #### Begin standard error psql::1: INFO: vacuuming "testdb.pg_catalog.pg_authid" psql::1: INFO: finished vacuuming "testdb.pg_catalog.pg_authid": index scans: 1 pages: 0 removed, 1 remain, 1 scanned (100.00% of total) tuples: 1 removed, 15 remain, 0 are dead but not yet removable removable cutoff: 757, which was 0 XIDs old when operation ended new relfrozenxid: 757, which is 27 XIDs ahead of previous value frozen: 0 pages from table (0.00% of total) had 0 tuples frozen index scan needed: 1 pages from table (100.00% of total) had 1 dead item identifiers removed index "pg_authid_rolname_index": pages: 2 in total, 0 newly deleted, 0 currently deleted, 0 reusable index "pg_authid_oid_index": pages: 2 in total, 0 newly deleted, 0 currently deleted, 0 reusable avg read rate: 42.575 MB/s, avg write rate: 21.287 MB/s buffer usage: 35 hits, 2 misses, 1 dirtied WAL usage: 6 records, 1 full page images, 8692 bytes system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s psql::1: INFO: vacuuming "testdb.pg_toast.pg_toast_1260" psql::1: INFO: finished vacuuming "testdb.pg_toast.pg_toast_1260": index scans: 0 pages: 0 removed, 0 remain, 0 scanned (100.00% of total) tuples: 0 removed, 0 remain, 0 are dead but not yet removable removable cutoff: 757, which was 0 XIDs old when operation ended new relfrozenxid: 757, which is 27 XIDs ahead of previous value frozen: 0 pages from table (100.00% of total) had 0 tuples frozen index scan not needed: 0 pages from table (100.00% of total) had 0 dead item identifiers removed avg read rate: 31.630 MB/s, avg write rate: 31.630 MB/s buffer usage: 24 hits, 1 misses, 1 dirtied WAL usage: 1 records, 0 full page images, 188 bytes system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s #### End standard error Waiting for replication conn standby's replay_lsn to pass 0/40420A0 on primary done [23:13:03.163](0.195s) ok 33 - inactiveslot slot invalidation is logged with vacuum on pg_authid [23:13:03.163](0.000s) ok 34 - activeslot slot invalidation is logged with vacuum on pg_authid [23:13:03.181](0.018s) ok 35 - confl_active_logicalslot updated [23:13:03.199](0.017s) ok 36 - shared_row_removal_activeslot conflict_reason is rows_removed [23:13:03.217](0.018s) ok 37 - shared_row_removal_inactiveslot conflict_reason is rows_removed [23:13:03.242](0.025s) ok 38 - pg_recvlogical exited non-zero [23:13:03.242](0.000s) ok 39 - slot has been invalidated [23:13:03.569](0.326s) ok 40 - no_conflict_inactiveslot on standby created [23:13:03.769](0.200s) ok 41 - no_conflict_activeslot on standby created ### Reloading node "standby" # Running: pg_ctl -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_standby_data/pgdata reload server signaled #### Begin standard error psql::1: INFO: vacuuming "testdb.public.conflict_test" psql::1: INFO: finished vacuuming "testdb.public.conflict_test": index scans: 0 pages: 0 removed, 1 remain, 1 scanned (100.00% of total) tuples: 4 removed, 4 remain, 0 are dead but not yet removable removable cutoff: 761, which was 0 XIDs old when operation ended new relfrozenxid: 760, which is 2 XIDs ahead of previous value frozen: 0 pages from table (0.00% of total) had 0 tuples frozen index scan not needed: 0 pages from table (0.00% of total) had 0 dead item identifiers removed avg read rate: 60.096 MB/s, avg write rate: 80.128 MB/s buffer usage: 19 hits, 3 misses, 4 dirtied WAL usage: 6 records, 4 full page images, 33238 bytes system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s psql::1: INFO: vacuuming "testdb.pg_toast.pg_toast_16418" psql::1: INFO: finished vacuuming "testdb.pg_toast.pg_toast_16418": index scans: 0 pages: 0 removed, 0 remain, 0 scanned (100.00% of total) tuples: 0 removed, 0 remain, 0 are dead but not yet removable removable cutoff: 761, which was 0 XIDs old when operation ended new relfrozenxid: 761, which is 3 XIDs ahead of previous value frozen: 0 pages from table (100.00% of total) had 0 tuples frozen index scan not needed: 0 pages from table (100.00% of total) had 0 dead item identifiers removed avg read rate: 32.417 MB/s, avg write rate: 0.000 MB/s buffer usage: 24 hits, 1 misses, 0 dirtied WAL usage: 1 records, 0 full page images, 188 bytes system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s #### End standard error Waiting for replication conn standby's replay_lsn to pass 0/404E1F8 on primary done [23:13:03.952](0.183s) ok 42 - inactiveslot slot invalidation is not logged with vacuum on conflict_test [23:13:03.952](0.000s) ok 43 - activeslot slot invalidation is not logged with vacuum on conflict_test [23:13:03.967](0.015s) ok 44 - confl_active_logicalslot not updated [23:13:03.983](0.016s) ok 45 - Logical slots are reported as non conflicting ### Reloading node "standby" # Running: pg_ctl -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_standby_data/pgdata reload server signaled ### Restarting node "standby" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_standby_data/pgdata -l /tmp/cirrus-ci-build/src/test/recovery/tmp_check/log/035_standby_logical_decoding_standby.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "standby" is 54268 [23:13:04.567](0.584s) ok 46 - pruning_inactiveslot on standby created [23:13:04.767](0.200s) ok 47 - pruning_activeslot on standby created ### Reloading node "standby" # Running: pg_ctl -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_standby_data/pgdata reload server signaled Waiting for replication conn standby's replay_lsn to pass 0/405A6E8 on primary done [23:13:04.955](0.188s) ok 48 - inactiveslot slot invalidation is logged with on-access pruning [23:13:04.956](0.000s) ok 49 - activeslot slot invalidation is logged with on-access pruning [23:13:04.970](0.015s) ok 50 - confl_active_logicalslot updated [23:13:04.986](0.016s) ok 51 - pruning_activeslot conflict_reason is rows_removed [23:13:05.003](0.017s) ok 52 - pruning_inactiveslot conflict_reason is rows_removed [23:13:05.017](0.014s) ok 53 - pg_recvlogical exited non-zero [23:13:05.017](0.000s) ok 54 - slot has been invalidated ### Reloading node "standby" # Running: pg_ctl -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_standby_data/pgdata reload server signaled [23:13:05.368](0.351s) ok 55 - injection_inactiveslot on standby created [23:13:05.569](0.201s) ok 56 - injection_activeslot on standby created ### Reloading node "standby" # Running: pg_ctl -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_standby_data/pgdata reload server signaled Waiting for replication conn standby's replay_lsn to pass 0/406B360 on primary done #### Begin standard error psql::1: INFO: vacuuming "testdb.pg_catalog.pg_class" psql::1: INFO: finished vacuuming "testdb.pg_catalog.pg_class": index scans: 1 pages: 0 removed, 11 remain, 11 scanned (100.00% of total) tuples: 0 removed, 426 remain, 0 are dead but not yet removable removable cutoff: 772, which was 0 XIDs old when operation ended frozen: 0 pages from table (0.00% of total) had 0 tuples frozen index scan needed: 2 pages from table (18.18% of total) had 2 dead item identifiers removed index "pg_class_oid_index": pages: 4 in total, 0 newly deleted, 0 currently deleted, 0 reusable index "pg_class_relname_nsp_index": pages: 5 in total, 0 newly deleted, 0 currently deleted, 0 reusable index "pg_class_tblspc_relfilenode_index": pages: 2 in total, 0 newly deleted, 0 currently deleted, 0 reusable avg read rate: 86.531 MB/s, avg write rate: 86.531 MB/s buffer usage: 79 hits, 7 misses, 7 dirtied WAL usage: 13 records, 0 full page images, 1303 bytes system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s #### End standard error [23:13:15.799](10.230s) ok 57 - terminating process holding the active slot is logged with injection point [23:16:46.831](211.032s) # poll_query_until timed out executing this query: # SELECT (SELECT catalog_xmin::text::int - 770 from pg_catalog.pg_replication_slots where slot_name = 'injection_activeslot') > 0 # expecting this output: # t # last actual query output: # f # with stderr: catalog_xmin did not advance at t/035_standby_logical_decoding.pl line 808. # Postmaster PID for node "primary" is 53873 ### Stopping node "primary" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_primary_data/pgdata -m immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "primary" # Postmaster PID for node "standby" is 54268 ### Stopping node "standby" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/src/test/recovery/tmp_check/t_035_standby_logical_decoding_standby_data/pgdata -m immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "standby" # No postmaster PID for node "cascading_standby" # No postmaster PID for node "subscriber" [23:16:47.042](0.211s) # Tests were run but no plan was declared and done_testing() was not seen. [23:16:47.042](0.000s) # Looks like your test exited with 29 just after 57.