# Checking port 16169 # Found port 16169 Name: publisher Version: 19devel Data directory: /home/postgres/postgres/build/testrun/subscription/026_stats/data/t_026_stats_publisher_data/pgdata Backup directory: /home/postgres/postgres/build/testrun/subscription/026_stats/data/t_026_stats_publisher_data/backup Archive directory: /home/postgres/postgres/build/testrun/subscription/026_stats/data/t_026_stats_publisher_data/archives Connection string: port=16169 host=/tmp/Lwwjbs2xSU Log file: /home/postgres/postgres/build/testrun/subscription/026_stats/log/026_stats_publisher.log [15:00:33.282](0.069s) # initializing database system by copying initdb template # Running: cp -RPp /home/postgres/postgres/build/tmp_install/initdb-template /home/postgres/postgres/build/testrun/subscription/026_stats/data/t_026_stats_publisher_data/pgdata # Running: /home/postgres/postgres/build/src/test/regress/pg_regress --config-auth /home/postgres/postgres/build/testrun/subscription/026_stats/data/t_026_stats_publisher_data/pgdata ### Starting node "publisher" # Running: pg_ctl --wait --pgdata /home/postgres/postgres/build/testrun/subscription/026_stats/data/t_026_stats_publisher_data/pgdata --log /home/postgres/postgres/build/testrun/subscription/026_stats/log/026_stats_publisher.log --options --cluster-name=publisher start waiting for server to start.... done server started # Postmaster PID for node "publisher" is 51158 # Checking port 16170 # Found port 16170 Name: subscriber Version: 19devel Data directory: /home/postgres/postgres/build/testrun/subscription/026_stats/data/t_026_stats_subscriber_data/pgdata Backup directory: /home/postgres/postgres/build/testrun/subscription/026_stats/data/t_026_stats_subscriber_data/backup Archive directory: /home/postgres/postgres/build/testrun/subscription/026_stats/data/t_026_stats_subscriber_data/archives Connection string: port=16170 host=/tmp/Lwwjbs2xSU Log file: /home/postgres/postgres/build/testrun/subscription/026_stats/log/026_stats_subscriber.log [15:00:33.986](0.704s) # initializing database system by copying initdb template # Running: cp -RPp /home/postgres/postgres/build/tmp_install/initdb-template /home/postgres/postgres/build/testrun/subscription/026_stats/data/t_026_stats_subscriber_data/pgdata # Running: /home/postgres/postgres/build/src/test/regress/pg_regress --config-auth /home/postgres/postgres/build/testrun/subscription/026_stats/data/t_026_stats_subscriber_data/pgdata ### Starting node "subscriber" # Running: pg_ctl --wait --pgdata /home/postgres/postgres/build/testrun/subscription/026_stats/data/t_026_stats_subscriber_data/pgdata --log /home/postgres/postgres/build/testrun/subscription/026_stats/log/026_stats_subscriber.log --options --cluster-name=subscriber start waiting for server to start.... done server started # Postmaster PID for node "subscriber" is 4865 [15:00:35.552](1.566s) ok 1 - Check that there are no subscription errors before starting logical replication. #### Begin standard error psql::1: NOTICE: created replication slot "test_tab1_sub" on publisher #### End standard error Waiting for replication conn test_tab1_sub's replay_lsn to pass 0/017A9690 on publisher done [15:00:38.521](2.969s) ok 2 - Check that table 'test_tab1' now has 1 row. [15:04:40.836](242.315s) # poll_query_until timed out executing this query: # # SELECT apply_error_count > 0 AND confl_insert_exists > 0 # FROM pg_stat_subscription_stats # WHERE subname = 'test_tab1_sub' # # expecting this output: # t # last actual query output: # # with stderr: # psql: error: connection to server on socket "/tmp/Lwwjbs2xSU/.s.PGSQL.16170" failed: No such file or directory # Is the server running locally and accepting connections on that socket? [15:04:40.837](0.001s) # die: Timed out while waiting for apply error and insert_exists conflict for subscription 'test_tab1_sub' at /home/postgres/postgres/src/test/subscription/t/026_stats.pl line 126. [15:04:40.837](0.000s) 1..2 Timed out while waiting for apply error and insert_exists conflict for subscription 'test_tab1_sub' at /home/postgres/postgres/src/test/subscription/t/026_stats.pl line 126. # Postmaster PID for node "publisher" is 51158 ### Stopping node "publisher" using mode immediate # Running: pg_ctl --pgdata /home/postgres/postgres/build/testrun/subscription/026_stats/data/t_026_stats_publisher_data/pgdata --mode immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "publisher" # No postmaster PID for node "subscriber" [15:04:40.960](0.123s) # Looks like your test exited with 4 just after 2.