Skip to content

Commit 9afc135

Browse files
hermanleeinikep
authored andcommitted
Fix flakiness in rpl per_channel tests
Summary: These tests fail occasionally due to an error message about the channel being stopped in the error log. Suppress this error message. Reviewed By: lth Differential Revision: D45573014 --------------------------------------------------------------------- Fix flakiness for rpl.rpl_innodb_auto_increment Summary: These tests fail occasionally due to an error message about the channel being stopped in the error log. Suppress this error message. Differential Revision: D44844728
1 parent 74d013c commit 9afc135

20 files changed

+22
-0
lines changed

mysql-test/suite/rpl/r/rpl_cloned_slave_relay_log_info.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ call mtr.add_suppression("Recovery from source pos [0-9]+ and file [a-zA-Z-]+\.[
9696
call mtr.add_suppression("Applier metadata information for channel 'channel_1' was found after a clone operation. Relay log recovery*");
9797
call mtr.add_suppression("Applier metadata information for channel 'channel_3' was found after a clone operation. Relay log recovery*");
9898
call mtr.add_suppression("Relay log recovery on channel with GTID_ONLY=1*");
99+
call mtr.add_suppression("The replica coordinator and worker threads are stopped");
99100
set session sql_log_bin=1;
100101
include/rpl_end.inc
101102
RESET REPLICA ALL FOR CHANNEL 'channel_1';

mysql-test/suite/rpl/r/rpl_do_db_per_channel_filter.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include/rpl_init.inc [topology=1->2,3->2]
22
[connection server_2]
33
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
44
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
5+
call mtr.add_suppression("The replica coordinator and worker threads are stopped");
56
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT,SOURCE_USER='root' for CHANNEL '';
67
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT_3,SOURCE_USER='root' for CHANNEL 'channel_3_2';
78
include/start_slave.inc

mysql-test/suite/rpl/r/rpl_do_table_per_channel_filter.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include/rpl_init.inc [topology=1->2,3->2]
22
[connection server_2]
33
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
44
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
5+
call mtr.add_suppression("The replica coordinator and worker threads are stopped");
56
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_PORT=MASTER_PORT, SOURCE_USER='root' for CHANNEL '';
67
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_PORT=MASTER_PORT_3, SOURCE_USER='root' for CHANNEL 'channel_3_2';
78
include/start_slave.inc

mysql-test/suite/rpl/r/rpl_ignore_db_per_channel_filter.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include/rpl_init.inc [topology=1->2,3->2]
22
[connection server_2]
33
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
44
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
5+
call mtr.add_suppression("The replica coordinator and worker threads are stopped");
56
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT,SOURCE_USER='root' for CHANNEL '';
67
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT_3,SOURCE_USER='root' for CHANNEL 'channel_3_2';
78
include/start_slave.inc

mysql-test/suite/rpl/r/rpl_ignore_table_per_channel_filter.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include/rpl_init.inc [topology=1->2,3->2]
22
[connection server_2]
33
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
44
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
5+
call mtr.add_suppression("The replica coordinator and worker threads are stopped");
56
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_PORT=MASTER_PORT, SOURCE_USER='root' for CHANNEL '';
67
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_PORT=MASTER_PORT_3, SOURCE_USER='root' for CHANNEL 'channel_3_2';
78
include/start_slave.inc

mysql-test/suite/rpl/r/rpl_initialize_serverid.result

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Note #### Storing MySQL user name or password information in the connection meta
55
[connection master]
66

77
[connection slave]
8+
set session sql_log_bin=0;
9+
call mtr.add_suppression("The replica coordinator and worker threads are stopped");
810
include/rpl_stop_server.inc [server_number=2]
911

1012
[connection master]

mysql-test/suite/rpl/r/rpl_innodb_auto_increment.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
44
Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
55
[connection master]
66
CALL mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT.");
7+
call mtr.add_suppression("The replica coordinator and worker threads are stopped");
78
[connection slave]
89
CHANGE REPLICATION SOURCE TO SOURCE_CONNECT_RETRY = 30 ;
910
include/start_slave.inc

mysql-test/suite/rpl/r/rpl_rewrite_db_per_channel_filter.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include/rpl_init.inc [topology=1->2,3->2]
22
[connection server_2]
33
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
44
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
5+
call mtr.add_suppression("The replica coordinator and worker threads are stopped");
56
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_PORT=MASTER_PORT, SOURCE_USER='root' for CHANNEL '';
67
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_PORT=MASTER_PORT_3, SOURCE_USER='root' for CHANNEL 'channel_3_2';
78
include/start_slave.inc

mysql-test/suite/rpl/r/rpl_wild_do_table_per_channel_filter.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include/rpl_init.inc [topology=1->2,3->2]
22
[connection server_2]
33
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
44
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
5+
call mtr.add_suppression("The replica coordinator and worker threads are stopped");
56
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT,SOURCE_USER='root' for CHANNEL '';
67
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT_3,SOURCE_USER='root' for CHANNEL 'channel_3_2';
78
include/start_slave.inc

mysql-test/suite/rpl/r/rpl_wild_ignore_table_per_channel_filter.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include/rpl_init.inc [topology=1->2,3->2]
22
[connection server_2]
33
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
44
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
5+
call mtr.add_suppression("The replica coordinator and worker threads are stopped");
56
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT,SOURCE_USER='root' for CHANNEL '';
67
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT_3,SOURCE_USER='root' for CHANNEL 'channel_3_2';
78
include/start_slave.inc

0 commit comments

Comments
 (0)