CURRENT_TEST: binlog_encryption.rpl_sync
mysqltest: In included file "./suite/rpl/t/rpl_sync.test": 
included from /home/buildbot/buildbot/build/mariadb-10.11.14/mysql-test/suite/binlog_encryption/rpl_sync.test at line 2:
At line 49: query 'insert into t1(a) values(1)' failed: <Unknown> (2013): Lost connection to server during query

The result from queries just before the failure was:
=====Configuring the enviroment=======;
include/master-slave.inc
[connection master]
call mtr.add_suppression('Attempting backtrace');
call mtr.add_suppression("Recovery from master pos .* and file master-bin.000001");
ALTER TABLE mysql.gtid_slave_pos ENGINE=InnoDB;
flush tables;
CREATE TABLE t1(a INT, PRIMARY KEY(a)) engine=innodb;
insert into t1(a) values(1);
CURRENT_TEST: binlog_encryption.rpl_sync
mysqltest: In included file "./suite/rpl/t/rpl_sync.test": 
included from /home/buildbot/buildbot/build/mariadb-10.11.14/mysql-test/suite/binlog_encryption/rpl_sync.test at line 2:
At line 49: query 'insert into t1(a) values(1)' failed: <Unknown> (2013): Lost connection to server during query

The result from queries just before the failure was:
=====Configuring the enviroment=======;
include/master-slave.inc
[connection master]
call mtr.add_suppression('Attempting backtrace');
call mtr.add_suppression("Recovery from master pos .* and file master-bin.000001");
ALTER TABLE mysql.gtid_slave_pos ENGINE=InnoDB;
flush tables;
CREATE TABLE t1(a INT, PRIMARY KEY(a)) engine=innodb;
insert into t1(a) values(1);
CURRENT_TEST: binlog_encryption.rpl_semi_sync
mysqltest: In included file "./suite/rpl/t/rpl_semi_sync.test": 
included from /home/buildbot/buildbot/build/mariadb-10.11.14/mysql-test/suite/binlog_encryption/rpl_semi_sync.test at line 2:
At line 93: query 'insert into t1 values ($i)' failed: <Unknown> (2013): Lost connection to server during query

The result from queries just before the failure was:
< snip >
rpl_semi_sync_master_enabled	OFF
[ enable semi-sync on master ]
set global rpl_semi_sync_master_enabled = 1;
show variables like 'rpl_semi_sync_master_enabled';
Variable_name	Value
rpl_semi_sync_master_enabled	ON
[ status of semi-sync on master should be ON even without any semi-sync slaves ]
show status like 'Rpl_semi_sync_master_clients';
Variable_name	Value
Rpl_semi_sync_master_clients	0
show status like 'Rpl_semi_sync_master_status';
Variable_name	Value
Rpl_semi_sync_master_status	ON
show status like 'Rpl_semi_sync_master_yes_tx';
Variable_name	Value
Rpl_semi_sync_master_yes_tx	0
#
# BUG#45672 Semisync repl: ActiveTranx:insert_tranx_node: transaction node allocation failed
# BUG#45673 Semisynch reports correct operation even if no slave is connected
#

More results from queries before failure can be found in /dev/shm/var/4/log/rpl_semi_sync.log
