CURRENT_TEST: binlog_encryption.rpl_sporadic_master
mysqltest: In included file "./suite/rpl/t/rpl_sporadic_master.test": 
included from /home/buildbot/buildbot/build/mariadb-10.6.22/mysql-test/suite/binlog_encryption/rpl_sporadic_master.test at line 2:
At line 18: failed in 'select master_pos_wait('master-bin.000001', 1306, 300, '')': 2013: Lost connection to server during query

The result from queries just before the failure was:
include/master-slave.inc
[connection master]
create table t2(n int);
create table t1(n int not null auto_increment primary key);
insert into t1 values (NULL),(NULL);
truncate table t1;
insert into t1 values (4),(NULL);
CURRENT_TEST: binlog_encryption.rpl_sporadic_master
mysqltest: In included file "./suite/rpl/t/rpl_sporadic_master.test": 
included from /home/buildbot/buildbot/build/mariadb-10.6.22/mysql-test/suite/binlog_encryption/rpl_sporadic_master.test at line 2:
At line 18: failed in 'select master_pos_wait('master-bin.000001', 1306, 300, '')': 2013: Lost connection to server during query

The result from queries just before the failure was:
include/master-slave.inc
[connection master]
create table t2(n int);
create table t1(n int not null auto_increment primary key);
insert into t1 values (NULL),(NULL);
truncate table t1;
insert into t1 values (4),(NULL);
