[MDEV-20573] binlog_encryption.rpl_skip_replication fails on ARMv7 Created: 2019-09-12  Updated: 2023-12-13  Resolved: 2023-12-13

Status: Closed
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 10.1.41
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Marius Bakke Assignee: Andrei Elkin
Resolution: Won't Fix Votes: 0
Labels: None


 Description   

binlog_encryption.rpl_skip_replication consistently fails across multiple armhf machines with MariaDB 10.1.41. It looks like the @@skip_replication statements are ineffective?

worker[2] binlog_encryption.rpl_skip_replication 'mix,xtradb' w2 worker[2] [ fail ]
        Test ended at 2019-09-08 15:11:09
worker[2] 
CURRENT_TEST: binlog_encryption.rpl_skip_replication
safe_process[21214]: parent_pid: 16023
safe_process[21214]: Started child 21215, terminated: 0
--- /tmp/guix-build-mariadb-10.1.41.drv-0/mariadb-10.1.41/mysql-test/suite/binlog_encryption/rpl_skip_replication.result	1970-01-01 00:00:00.000000000 +0000
+++ /tmp/guix-build-mariadb-10.1.41.drv-0/mariadb-10.1.41/mysql-test/suite/binlog_encryption/rpl_skip_replication.reject	2019-09-08 15:11:08.929424203 +0000
@@ -46,12 +46,15 @@
 Tables_in_test
 t1
 t2
+t3
 SELECT * FROM t1;
 a	b
 1	NULL
+2	NULL
 SELECT * FROM t2;
 a	b
 1	NULL
+2	NULL
 DROP TABLE t3;
 FLUSH NO_WRITE_TO_BINLOG LOGS;
 STOP SLAVE;
@@ -66,12 +69,17 @@
 Tables_in_test
 t1
 t2
+t3
 SELECT * FROM t1;
 a	b
 1	NULL
+2	NULL
+3	NULL
 SELECT * FROM t2;
 a	b
 1	NULL
+2	NULL
+3	NULL
 DROP TABLE t3;
 FLUSH NO_WRITE_TO_BINLOG LOGS;
 STOP SLAVE;
@@ -109,6 +117,7 @@
 SELECT * FROM t1 ORDER by a;
 a	b
 1	0
+2	0
 3	0
 TRUNCATE t1;
 STOP SLAVE;
@@ -127,6 +136,7 @@
 SET binlog_format= @old_binlog_format;
 SELECT * FROM t1;
 a	b
+3	5
 4	5
 include/stop_slave.inc
 SET @old_slave_binlog_format= @@global.binlog_format;
@@ -151,6 +161,7 @@
 2	8
 SELECT * FROM t1 ORDER by a;
 a	b
+1	8
 2	8
 include/stop_slave.inc
 SET GLOBAL binlog_format= @old_slave_binlog_format;
@@ -225,6 +236,7 @@
 START SLAVE;
 SELECT * FROM t1;
 a	b
+1	NULL
 2	NULL
 SET skip_replication= 0;
 TRUNCATE t1;
 
mysqltest: Result length mismatch
 
safe_process[21214]: Got signal 17, child_pid: 21215
safe_process[21214]: Killing child: 21215
safe_process[21214]: Child exit: 1
 
binlog_encryption.rpl_skip_replication 'mix,xtradb' w2 [ fail ]
        Test ended at 2019-09-08 15:11:09



 Comments   
Comment by Marius Bakke [ 2019-10-08 ]

This failure started to occur after we switched from GCC 5 to GCC 7.

GCC 9 does not make a difference.

Comment by Andrei Elkin [ 2023-12-13 ]

This one is closed as the reported version is not longer maintained.

Generated at Thu Feb 08 09:00:31 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.