[MDEV-29402] Test sequence binlog.binlog_mdev717 binlog.binlog_mysqlbinlog_raw_flush fails Created: 2022-08-28  Updated: 2023-11-22  Resolved: 2023-11-15

Status: Closed
Project: MariaDB Server
Component/s: Replication, Tests
Affects Version/s: 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10
Fix Version/s: 10.4.33, 10.5.24, 10.6.17, 10.11.7, 11.0.5, 11.1.4, 11.2.3, 11.3.2

Type: Bug Priority: Minor
Reporter: Elena Stepanova Assignee: Kristian Nielsen
Resolution: Fixed Votes: 0
Labels: None


 Description   

$ perl ./mtr binlog.binlog_mdev717,mix binlog.binlog_mysqlbinlog_raw_flush,mix --noreorder

10.3 94e3f02d

binlog.binlog_mdev717 'mix'              [ pass ]     28
binlog.binlog_mysqlbinlog_raw_flush 'mix' [ fail ]
        Test ended at 2022-08-28 20:44:59
 
CURRENT_TEST: binlog.binlog_mysqlbinlog_raw_flush
--- /mnt8t/bld/10.3-debug-nightly/mysql-test/suite/binlog/r/binlog_mysqlbinlog_raw_flush.result	2022-03-30 07:32:38.000000000 +0300
+++ /mnt8t/bld/10.3-debug-nightly/mysql-test/suite/binlog/r/binlog_mysqlbinlog_raw_flush.reject	2022-08-28 20:44:59.812530370 +0300
@@ -3,5 +3,5 @@
 INSERT INTO t1 VALUES (1);
 # timeout TIMEOUT MYSQL_BINLOG --raw --read-from-remote-server --user=root --host=127.0.0.1 --port=MASTER_MYPORT --stop-never --result-file=MYSQLTEST_VARDIR/tmp/ master-bin.000001
 # MYSQL_BINLOG MYSQLTEST_VARDIR/tmp/master-bin.000002 > MYSQLTEST_VARDIR/tmp/local-bin.000002.out
-FOUND 1 /GTID 0-1-2/ in local-bin.000002.out
+NOT FOUND /GTID 0-1-2/ in local-bin.000002.out
 DROP TABLE t1;
 
mysqltest: Result length mismatch



 Comments   
Comment by Kristian Nielsen [ 2023-11-15 ]

The test case needs a RESET MASTER at the start, otherwise the GTID sequence will be polluted from the previous test and the check for GTID 0-1-2 will fail. I'll fix.

Comment by Kristian Nielsen [ 2023-11-15 ]

Pushed to 10.4

Generated at Thu Feb 08 10:08:18 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.