2026-05-06 15:07:57.688 UTC postmaster[84322] LOG: starting PostgreSQL 19devel on x86_64-pc-linux-gnu, compiled by gcc (Debian 14.2.0-19) 14.2.0, 64-bit 2026-05-06 15:07:57.688 UTC postmaster[84322] LOG: listening on Unix socket "/tmp/pgp0SCa7Qi/.s.PGSQL.20418" 2026-05-06 15:07:57.697 UTC startup[84327] LOG: database system was shut down at 2026-05-06 14:51:15 UTC 2026-05-06 15:07:57.707 UTC postmaster[84322] LOG: database system is ready to accept connections 2026-05-06 15:07:57.816 UTC client backend[84334] [unknown] LOG: connection received: host=[local] 2026-05-06 15:07:57.818 UTC client backend[84334] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:07:57.818 UTC client backend[84334] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 15:07:57.843 UTC client backend[84334] 029_on_error.pl LOG: connection ready: setup total=29.028 ms, fork=1.881 ms, authentication=0.589 ms 2026-05-06 15:07:57.844 UTC client backend[84334] 029_on_error.pl LOG: statement: CREATE TABLE tbl (i INT PRIMARY KEY, t BYTEA); 2026-05-06 15:07:57.856 UTC client backend[84334] 029_on_error.pl LOG: statement: INSERT INTO tbl VALUES (1, NULL); 2026-05-06 15:07:57.857 UTC client backend[84334] 029_on_error.pl LOG: disconnection: session time: 0:00:00.041 user=postgres database=postgres host=[local] 2026-05-06 15:07:57.904 UTC client backend[84338] [unknown] LOG: connection received: host=[local] 2026-05-06 15:07:57.906 UTC client backend[84338] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:07:57.906 UTC client backend[84338] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 15:07:57.908 UTC client backend[84338] 029_on_error.pl LOG: connection ready: setup total=6.144 ms, fork=1.677 ms, authentication=0.567 ms 2026-05-06 15:07:57.909 UTC client backend[84338] 029_on_error.pl LOG: statement: CREATE SUBSCRIPTION sub CONNECTION 'port=20417 host=/tmp/pgp0SCa7Qi dbname=postgres' PUBLICATION pub WITH (disable_on_error = true, streaming = on, two_phase = on) 2026-05-06 15:07:57.942 UTC client backend[84338] 029_on_error.pl LOG: disconnection: session time: 0:00:00.037 user=postgres database=postgres host=[local] 2026-05-06 15:07:57.952 UTC logical replication apply worker[84340] LOG: logical replication apply worker for subscription "sub" has started 2026-05-06 15:07:57.964 UTC client backend[84343] [unknown] LOG: connection received: host=[local] 2026-05-06 15:07:57.965 UTC client backend[84343] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:07:57.965 UTC client backend[84343] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 15:07:57.968 UTC client backend[84343] 029_on_error.pl LOG: connection ready: setup total=6.328 ms, fork=1.855 ms, authentication=0.439 ms 2026-05-06 15:07:57.968 UTC client backend[84343] 029_on_error.pl LOG: statement: SELECT subenabled = false FROM pg_catalog.pg_subscription WHERE subname = 'sub' 2026-05-06 15:07:57.970 UTC logical replication tablesync worker[84344] LOG: logical replication table synchronization worker for subscription "sub", table "tbl" has started 2026-05-06 15:07:57.972 UTC client backend[84343] 029_on_error.pl LOG: disconnection: session time: 0:00:00.009 user=postgres database=postgres host=[local] 2026-05-06 15:07:58.003 UTC logical replication tablesync worker[84344] ERROR: duplicate key value violates unique constraint "tbl_pkey" 2026-05-06 15:07:58.003 UTC logical replication tablesync worker[84344] DETAIL: Key (i)=(1) already exists. 2026-05-06 15:07:58.003 UTC logical replication tablesync worker[84344] CONTEXT: COPY tbl, line 1 2026-05-06 15:07:58.003 UTC logical replication tablesync worker[84344] LOG: subscription "sub" has been disabled because of an error 2026-05-06 15:07:58.012 UTC logical replication apply worker[84340] LOG: logical replication worker for subscription "sub" will stop because the subscription was disabled 2026-05-06 15:07:58.091 UTC client backend[84347] [unknown] LOG: connection received: host=[local] 2026-05-06 15:07:58.093 UTC client backend[84347] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:07:58.093 UTC client backend[84347] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 15:07:58.095 UTC client backend[84347] 029_on_error.pl LOG: connection ready: setup total=6.426 ms, fork=1.829 ms, authentication=0.469 ms 2026-05-06 15:07:58.096 UTC client backend[84347] 029_on_error.pl LOG: statement: SELECT subenabled = false FROM pg_catalog.pg_subscription WHERE subname = 'sub' 2026-05-06 15:07:58.099 UTC client backend[84347] 029_on_error.pl LOG: disconnection: session time: 0:00:00.008 user=postgres database=postgres host=[local] 2026-05-06 15:07:58.118 UTC client backend[84349] [unknown] LOG: connection received: host=[local] 2026-05-06 15:07:58.120 UTC client backend[84349] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:07:58.120 UTC client backend[84349] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 15:07:58.122 UTC client backend[84349] 029_on_error.pl LOG: connection ready: setup total=6.724 ms, fork=2.103 ms, authentication=0.483 ms 2026-05-06 15:07:58.123 UTC client backend[84349] 029_on_error.pl LOG: statement: TRUNCATE tbl 2026-05-06 15:07:58.129 UTC client backend[84349] 029_on_error.pl LOG: disconnection: session time: 0:00:00.010 user=postgres database=postgres host=[local] 2026-05-06 15:07:58.148 UTC client backend[84351] [unknown] LOG: connection received: host=[local] 2026-05-06 15:07:58.150 UTC client backend[84351] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:07:58.150 UTC client backend[84351] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 15:07:58.152 UTC client backend[84351] 029_on_error.pl LOG: connection ready: setup total=6.004 ms, fork=1.784 ms, authentication=0.433 ms 2026-05-06 15:07:58.153 UTC client backend[84351] 029_on_error.pl LOG: statement: ALTER SUBSCRIPTION sub ENABLE 2026-05-06 15:07:58.154 UTC client backend[84351] 029_on_error.pl LOG: disconnection: session time: 0:00:00.005 user=postgres database=postgres host=[local] 2026-05-06 15:07:58.161 UTC logical replication apply worker[84352] LOG: logical replication apply worker for subscription "sub" has started 2026-05-06 15:07:58.172 UTC client backend[84355] [unknown] LOG: connection received: host=[local] 2026-05-06 15:07:58.174 UTC client backend[84355] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:07:58.174 UTC client backend[84355] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 15:07:58.176 UTC client backend[84355] 029_on_error.pl LOG: connection ready: setup total=5.925 ms, fork=1.839 ms, authentication=0.415 ms 2026-05-06 15:07:58.177 UTC client backend[84355] 029_on_error.pl LOG: statement: SELECT count(1) = 0 FROM pg_subscription_rel WHERE srsubstate NOT IN ('r', 's'); 2026-05-06 15:07:58.178 UTC logical replication tablesync worker[84356] LOG: logical replication table synchronization worker for subscription "sub", table "tbl" has started 2026-05-06 15:07:58.181 UTC client backend[84355] 029_on_error.pl LOG: disconnection: session time: 0:00:00.008 user=postgres database=postgres host=[local] 2026-05-06 15:07:58.211 UTC logical replication tablesync worker[84356] LOG: logical replication table synchronization worker for subscription "sub", table "tbl" has finished 2026-05-06 15:07:58.220 UTC logical replication apply worker[84352] LOG: logical replication apply worker for subscription "sub" will restart so that two_phase can be enabled 2026-05-06 15:07:58.228 UTC logical replication apply worker[84358] LOG: logical replication apply worker for subscription "sub" has started 2026-05-06 15:07:58.299 UTC client backend[84361] [unknown] LOG: connection received: host=[local] 2026-05-06 15:07:58.300 UTC client backend[84361] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:07:58.300 UTC client backend[84361] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 15:07:58.303 UTC client backend[84361] 029_on_error.pl LOG: connection ready: setup total=6.222 ms, fork=1.764 ms, authentication=0.488 ms 2026-05-06 15:07:58.303 UTC client backend[84361] 029_on_error.pl LOG: statement: SELECT count(1) = 0 FROM pg_subscription_rel WHERE srsubstate NOT IN ('r', 's'); 2026-05-06 15:07:58.307 UTC client backend[84361] 029_on_error.pl LOG: disconnection: session time: 0:00:00.008 user=postgres database=postgres host=[local] 2026-05-06 15:07:58.403 UTC client backend[84369] [unknown] LOG: connection received: host=[local] 2026-05-06 15:07:58.404 UTC client backend[84369] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:07:58.404 UTC client backend[84369] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 15:07:58.406 UTC client backend[84369] 029_on_error.pl LOG: connection ready: setup total=5.674 ms, fork=1.628 ms, authentication=0.419 ms 2026-05-06 15:07:58.407 UTC client backend[84369] 029_on_error.pl LOG: statement: SELECT COUNT(*) FROM tbl 2026-05-06 15:07:58.409 UTC client backend[84369] 029_on_error.pl LOG: disconnection: session time: 0:00:00.007 user=postgres database=postgres host=[local] TRAP: failed Assert("conflictlogrel != NULL"), File: "conflict.c", Line: 195, PID: 84358 /lib/x86_64-linux-gnu/libasan.so.8(+0x7e403) [0x7fc8bb87e403] postgres: subscriber: logical replication apply worker for subscription 16392 (ExceptionalCondition+0xe6) [0x559dc1f5f570] postgres: subscriber: logical replication apply worker for subscription 16392 (ReportApplyConflict+0x1ed) [0x559dc1a7c497] postgres: subscriber: logical replication apply worker for subscription 16392 (+0xa05dcb) [0x559dc16a0dcb] postgres: subscriber: logical replication apply worker for subscription 16392 (ExecSimpleRelationInsert+0x463) [0x559dc16a2aae] postgres: subscriber: logical replication apply worker for subscription 16392 (+0xe331df) [0x559dc1ace1df] postgres: subscriber: logical replication apply worker for subscription 16392 (+0xe38e41) [0x559dc1ad3e41] postgres: subscriber: logical replication apply worker for subscription 16392 (apply_dispatch+0x5f) [0x559dc1ad7cd4] postgres: subscriber: logical replication apply worker for subscription 16392 (+0xe3e31e) [0x559dc1ad931e] postgres: subscriber: logical replication apply worker for subscription 16392 (start_apply+0x136) [0x559dc1adae0c] postgres: subscriber: logical replication apply worker for subscription 16392 (+0xe40b20) [0x559dc1adbb20] postgres: subscriber: logical replication apply worker for subscription 16392 (ApplyWorkerMain+0x1c) [0x559dc1adbbcc] postgres: subscriber: logical replication apply worker for subscription 16392 (BackgroundWorkerMain+0x48e) [0x559dc1a29932] postgres: subscriber: logical replication apply worker for subscription 16392 (postmaster_child_launch+0x26e) [0x559dc1a33ac4] postgres: subscriber: logical replication apply worker for subscription 16392 (+0xd9cddf) [0x559dc1a37ddf] postgres: subscriber: logical replication apply worker for subscription 16392 (+0xd9d33d) [0x559dc1a3833d] postgres: subscriber: logical replication apply worker for subscription 16392 (+0xd9f5bd) [0x559dc1a3a5bd] postgres: subscriber: logical replication apply worker for subscription 16392 (+0xda1d40) [0x559dc1a3cd40] postgres: subscriber: logical replication apply worker for subscription 16392 (PostmasterMain+0x1cf6) [0x559dc1a3eee3] postgres: subscriber: logical replication apply worker for subscription 16392 (main+0x2a8) [0x559dc17a250d] /lib/x86_64-linux-gnu/libc.so.6(+0x29ca8) [0x7fc8ba235ca8] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7fc8ba235d65] postgres: subscriber: logical replication apply worker for subscription 16392 (_start+0x21) [0x559dc1111561] 2026-05-06 15:07:58.454 UTC client backend[84373] [unknown] LOG: connection received: host=[local] 2026-05-06 15:07:58.456 UTC client backend[84373] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:07:58.456 UTC client backend[84373] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 15:07:58.458 UTC client backend[84373] 029_on_error.pl LOG: connection ready: setup total=6.429 ms, fork=1.899 ms, authentication=0.488 ms 2026-05-06 15:07:58.459 UTC client backend[84373] 029_on_error.pl LOG: statement: SELECT subenabled = FALSE FROM pg_subscription WHERE subname = 'sub' 2026-05-06 15:07:58.462 UTC client backend[84373] 029_on_error.pl LOG: disconnection: session time: 0:00:00.008 user=postgres database=postgres host=[local] 2026-05-06 15:07:58.581 UTC client backend[84375] [unknown] LOG: connection received: host=[local] 2026-05-06 15:07:58.583 UTC client backend[84375] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:07:58.583 UTC client backend[84375] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 15:07:58.585 UTC client backend[84375] 029_on_error.pl LOG: connection ready: setup total=6.190 ms, fork=1.753 ms, authentication=0.450 ms 2026-05-06 15:07:58.585 UTC client backend[84375] 029_on_error.pl LOG: statement: SELECT subenabled = FALSE FROM pg_subscription WHERE subname = 'sub' 2026-05-06 15:07:58.589 UTC client backend[84375] 029_on_error.pl LOG: disconnection: session time: 0:00:00.008 user=postgres database=postgres host=[local] 2026-05-06 15:07:58.653 UTC postmaster[84322] LOG: background worker "logical replication apply worker" (PID 84358) was terminated by signal 6: Aborted 2026-05-06 15:07:58.654 UTC postmaster[84322] LOG: terminating any other active server processes 2026-05-06 15:07:58.661 UTC postmaster[84322] LOG: shutting down because "restart_after_crash" is off 2026-05-06 15:07:58.685 UTC postmaster[84322] LOG: database system is shut down