[MDEV-20953] binlog_encryption.rpl_corruption failed in buildbot due to wrong error code Created: 2019-11-03  Updated: 2019-11-19  Resolved: 2019-11-12

Status: Closed
Project: MariaDB Server
Component/s: Replication, Tests
Affects Version/s: 10.1
Fix Version/s: 10.1.44, 10.2.30, 10.3.21, 10.4.11

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Sujatha Sivakumar (Inactive)
Resolution: Fixed Votes: 0
Labels: None


 Description   

http://buildbot.askmonty.org/buildbot/builders/kvm-rpm-centos74-amd64-debug/builds/2798

10.3 01f45becd1b71433e240959228e35266

binlog_encryption.rpl_corruption 'stmt'  w3 [ fail ]
        Test ended at 2019-10-10 18:58:37
 
CURRENT_TEST: binlog_encryption.rpl_corruption
mysqltest: In included file "./include/wait_for_slave_io_error.inc": 
included from ./suite/rpl/include/rpl_corruption.inc at line 131:
included from /usr/share/mysql-test/suite/binlog_encryption/rpl_corruption.test at line 2:
At line 72: Slave stopped with wrong error code
 
The result from queries just before the failure was:
< snip >
master-bin.000001	5621	Query	1	5694	COMMIT
master-bin.000001	5694	Gtid	1	5736	BEGIN GTID 0-1-22
master-bin.000001	5736	Query	1	5849	use `test`; UPDATE t1 SET c = REPEAT('a', 20) WHERE a = 10
master-bin.000001	5849	Query	1	5922	COMMIT
master-bin.000001	5922	Gtid	1	5964	BEGIN GTID 0-1-23
master-bin.000001	5964	Query	1	6068	use `test`; INSERT INTO t1 VALUES (11, 'a', NULL)
master-bin.000001	6068	Query	1	6141	COMMIT
master-bin.000001	6141	Gtid	1	6183	BEGIN GTID 0-1-24
master-bin.000001	6183	Query	1	6296	use `test`; UPDATE t1 SET c = REPEAT('a', 20) WHERE a = 11
master-bin.000001	6296	Query	1	6369	COMMIT
master-bin.000001	6369	Gtid	1	6411	BEGIN GTID 0-1-25
master-bin.000001	6411	Query	1	6515	use `test`; INSERT INTO t1 VALUES (12, 'a', NULL)
master-bin.000001	6515	Query	1	6588	COMMIT
 
**** SHOW RELAYLOG EVENTS on server_1 ****
relaylog_name = 'No such row'
SHOW RELAYLOG EVENTS IN 'No such row';
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
connection slave;
**** Slave stopped with wrong error code: 1743 (expected 1595,1913) ****
 
More results from queries before failure can be found in /dev/shm/var/3/log/rpl_corruption.log
 
 - saving '/dev/shm/var/3/log/binlog_encryption.rpl_corruption-stmt/' to '/dev/shm/var/log/binlog_encryption.rpl_corruption-stmt/'
 
Retrying test binlog_encryption.rpl_corruption, attempt(2/3)...



 Comments   
Comment by Sujatha Sivakumar (Inactive) [ 2019-11-05 ]

Hello Andrei,

Can you please review the fix for MDEV-20953.

Patch: https://github.com/MariaDB/server/commit/92cedc1a081fe08b0390baceb742b8bee4ae1c81

BuildBot Testing: http://buildbot.askmonty.org/buildbot/grid?category=main&branch=bb-10.1-sujatha

Comment by Andrei Elkin [ 2019-11-06 ]

The explicit error code expecting in tests is not a good idea. But we in Maria don't have convert_error(). I think we should have it or its equivalent. I'll let you know what I'll find.

Comment by Sujatha Sivakumar (Inactive) [ 2019-11-12 ]

Fix is implemented in 10.1.44 version.

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