[MDEV-11504] binlog_encryption.encrypted_master_switch_to_unencrypted fails sporadically in buildbot Created: 2016-12-08  Updated: 2016-12-08  Resolved: 2016-12-08

Status: Closed
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 10.1
Fix Version/s: 10.1.20

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Elena Stepanova
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-7069 Fix buildbot failures in main server ... Stalled

 Description   

http://buildbot.askmonty.org/buildbot/builders/kvm-bintar-centos5-x86/builds/5878/steps/test/logs/stdio

binlog_encryption.encrypted_master_switch_to_unencrypted 'mix' w1 [ fail ]
        Test ended at 2016-12-07 14:51:54
 
CURRENT_TEST: binlog_encryption.encrypted_master_switch_to_unencrypted
--- /usr/local/mariadb-10.1.20-linux-i686/mysql-test/suite/binlog_encryption/encrypted_master_switch_to_unencrypted.result	2016-12-07 11:13:17.000000000 +0100
+++ /usr/local/mariadb-10.1.20-linux-i686/mysql-test/suite/binlog_encryption/encrypted_master_switch_to_unencrypted.reject	2016-12-07 14:51:54.000000000 +0100
@@ -62,7 +62,6 @@
 connection server_2;
 SHOW TABLES;
 Tables_in_test
-table1_no_encryption
 include/stop_slave.inc
 reset slave;
 ##########
 
mysqltest: Result length mismatch



 Comments   
Comment by Elena Stepanova [ 2016-12-08 ]

The reason is a simple race condition. Initially the test tried to synchronize with master before showing tables, but it turned out that the slave should fail at this point, so synchronization was removed along with the bug fix for MDEV-11288. But slave is still expected to replicate one table before failing, so we need an intermediate synchronization.

Comment by Elena Stepanova [ 2016-12-08 ]

https://github.com/MariaDB/server/commit/8e702bce66a2fb9ed911800f87e75509ae963e8c

Generated at Thu Feb 08 07:50:27 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.