[MDEV-21290] multi_source.info_logs test fails Created: 2019-12-11  Updated: 2023-11-28

Status: Confirmed
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 10.0, 10.1, 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11
Fix Version/s: 10.4, 10.5, 10.6, 10.11

Type: Bug Priority: Major
Reporter: Alice Sherepa Assignee: Angelique Sklavounos (Inactive)
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-10042 multi_source.info_logs sporadically f... Closed

 Description   

./mtr info_logs.test --repeat=2

multi_source.info_logs                   [ pass ]   2228
multi_source.info_logs                   [ fail ]
        Test ended at 2019-12-11 19:43:59
 
CURRENT_TEST: multi_source.info_logs
--- /git/10.1/mysql-test/suite/multi_source/info_logs.result	2019-09-13 10:23:42.465379723 +0200
+++ /git/10.1/mysql-test/suite/multi_source/info_logs.reject	2019-12-11 19:43:59.176411036 +0100
@@ -85,7 +85,7 @@
 #
 show all slaves status;
 Connection_name	Slave_SQL_State	Slave_IO_State	Master_Host	Master_User	Master_Port	Connect_Retry	Master_Log_File	Read_Master_Log_PosRelay_Log_File	Relay_Log_Pos	Relay_Master_Log_File	Slave_IO_Running	Slave_SQL_Running	Replicate_Do_DB	Replicate_Ignore_DB	Replicate_Do_Table	Replicate_Ignore_Table	Replicate_Wild_Do_Table	Replicate_Wild_Ignore_Table	Last_Errno	Last_Error	Skip_Counter	Exec_Master_Log_PosRelay_Log_Space	Until_Condition	Until_Log_File	Until_Log_Pos	Master_SSL_Allowed	Master_SSL_CA_File	Master_SSL_CA_Path	Master_SSL_Cert	Master_SSL_Cipher	Master_SSL_Key	Seconds_Behind_Master	Master_SSL_Verify_Server_Cert	Last_IO_Errno	Last_IO_Error	Last_SQL_Errno	Last_SQL_Error	Replicate_Ignore_Server_Ids	Master_Server_Id	Master_SSL_Crl	Master_SSL_Crlpath	Using_Gtid	Gtid_IO_Pos	Replicate_Do_Domain_Ids	Replicate_Ignore_Domain_Ids	Parallel_Mode	Retried_transactions	Max_relay_log_size	Executed_log_entries	Slave_received_heartbeats	Slave_heartbeat_period	Gtid_Slave_Pos
-	Slave has read all relay log; waiting for the slave I/O thread to update it	Waiting for master to send event	127.0.0.1	root	MYPORT_1	60	master-bin.000001	<read_master_log_pos>	relay.000002	<relay_log_pos>	master-bin.000001	Yes	Yes				00	<read_master_log_pos>	<relay_log_space1>	None		0	No						0	No	0		01			No				conservative	0	1073741824	7	0	60.000	
+	Slave has read all relay log; waiting for the slave I/O thread to update it	Waiting for master to send event	127.0.0.1	root	MYPORT_1	60	master-bin.000001	<read_master_log_pos>	relay.000002	<relay_log_pos>	master-bin.000001	Yes	Yes				00	<read_master_log_pos>	<relay_log_space1>	None		0	No						0	No	0		01			No				conservative	0	1073741824	13	0	60.000	
 MASTER 2.2	Slave has read all relay log; waiting for the slave I/O thread to update it	Waiting for master to send event	127.0.0.1	rootMYPORT_2	60	master-bin.000001	<read_master_log_pos>	relay-master@00202@002e2.000002	<relay_log_pos>	master-bin.000001	Yes	Yes00	<read_master_log_pos>	<relay_log_space2>	None		0	No						0	No	0		02			No				conservative	0	1073741824	7	0	60.000	
 include/wait_for_slave_to_start.inc
 set default_master_connection = 'MASTER 2.2';
 
mysqltest: Result length mismatch



 Comments   
Comment by Otto Kekäläinen [ 2020-04-09 ]

This no only relates to MDEV-10042, but seems like a duplicate of it.

Comment by Alice Sherepa [ 2020-04-23 ]

no, MDEV-10042 is sporadic, while this one happens just because of not proper cleanup after the test

Comment by Andrei Elkin [ 2021-01-13 ]

The mismatch (13 vs 7) in Slave_received_heartbeats suggests either to refine the showing to mask out the actual counter value, or make sure
the counter is reset in the beginning of the test. The 1st is certainly easy.

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