Commit 4026f044 authored by Julius Goryavsky's avatar Julius Goryavsky

Merge branch 10.5 into 10.6

parents b418b60e d0a2d4e7
...@@ -21,4 +21,3 @@ galera_as_slave_replay : MDEV-32780 galera_as_slave_replay: assertion in the wsr ...@@ -21,4 +21,3 @@ galera_as_slave_replay : MDEV-32780 galera_as_slave_replay: assertion in the wsr
galera_slave_replay : MDEV-32780 galera_as_slave_replay: assertion in the wsrep::transaction::before_rollback() galera_slave_replay : MDEV-32780 galera_as_slave_replay: assertion in the wsrep::transaction::before_rollback()
galera_sst_mysqldump_with_key : MDEV-32782 galera_sst_mysqldump_with_key test failed galera_sst_mysqldump_with_key : MDEV-32782 galera_sst_mysqldump_with_key test failed
galera_var_ignore_apply_errors : MENT-1997 galera_var_ignore_apply_errors test freezes galera_var_ignore_apply_errors : MENT-1997 galera_var_ignore_apply_errors test freezes
galera_desync_overlapped : MDEV-21538 galera_desync_overlapped MTR failed: Result content mismatch
...@@ -20,7 +20,7 @@ CALL mtr.add_suppression("Can't open and lock time zone table"); ...@@ -20,7 +20,7 @@ CALL mtr.add_suppression("Can't open and lock time zone table");
CALL mtr.add_suppression("Can't open and lock privilege tables"); CALL mtr.add_suppression("Can't open and lock privilege tables");
CALL mtr.add_suppression("Info table is not ready to be used"); CALL mtr.add_suppression("Info table is not ready to be used");
CALL mtr.add_suppression("Native table .* has the wrong structure"); CALL mtr.add_suppression("Native table .* has the wrong structure");
CALL mtr.add_suppression("Table \'mysql.gtid_slave_pos\' doesn\'t exist"); CALL mtr.add_suppression("Table 'mysql\\.gtid_slave_pos' doesn't exist");
--disable_query_log --disable_query_log
--eval SET GLOBAL wsrep_sst_method = '$wsrep_sst_method_orig'; --eval SET GLOBAL wsrep_sst_method = '$wsrep_sst_method_orig';
--eval SET GLOBAL wsrep_sst_receive_address = '$wsrep_sst_receive_address_orig'; --eval SET GLOBAL wsrep_sst_receive_address = '$wsrep_sst_receive_address_orig';
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
--echo Setting SST method to mysqldump ... --echo Setting SST method to mysqldump ...
call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to '127.0.0.1'"); call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to '127\\.0\\.0\\.1'");
call mtr.add_suppression("Failed to load slave replication state from table mysql.gtid_slave_pos"); call mtr.add_suppression("Failed to load slave replication state from table mysql\\.gtid_slave_pos");
--connection node_1 --connection node_1
# We need a user with a password to perform SST, otherwise we hit LP #1378253 # We need a user with a password to perform SST, otherwise we hit LP #1378253
......
...@@ -24,6 +24,6 @@ t1 CREATE TABLE `t1` ( ...@@ -24,6 +24,6 @@ t1 CREATE TABLE `t1` (
PRIMARY KEY (`f1`) PRIMARY KEY (`f1`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t1; DROP TABLE t1;
CALL mtr.add_suppression("WSREP: Protocol violation. JOIN message sender (.*) is not in state transfer \\(SYNCED\\). Message ignored."); CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender (.*) is not in state transfer \\(SYNCED\\)\\. Message ignored\\.");
connection node_1; connection node_1;
SET GLOBAL wsrep_provider_options = 'pc.ignore_sb=false'; SET GLOBAL wsrep_provider_options = 'pc.ignore_sb=false';
connection node_2; connection node_2;
connection node_1; connection node_1;
call mtr.add_suppression("WSREP: It may not be safe to bootstrap the cluster from this node.*"); call mtr.add_suppression("WSREP: It may not be safe to bootstrap the cluster from this node");
call mtr.add_suppression("Aborting"); call mtr.add_suppression("Aborting");
call mtr.add_suppression("Plugin \'wsrep\' init function returned error."); call mtr.add_suppression("Plugin 'wsrep' init function returned error");
call mtr.add_suppression("Plugin \'wsrep\' registration as a STORAGE ENGINE failed."); call mtr.add_suppression("Plugin 'wsrep' registration as a STORAGE ENGINE failed");
call mtr.add_suppression("Failed to initialize plugins."); call mtr.add_suppression("Plugin 'wsrep' registration as a FUNCTION failed");
call mtr.add_suppression("Failed to initialize plugins");
connection node_2; connection node_2;
SET SESSION wsrep_sync_wait = 0; SET SESSION wsrep_sync_wait = 0;
Killing server ... Killing server ...
......
...@@ -8,6 +8,6 @@ INSERT INTO t1 VALUES (1); ...@@ -8,6 +8,6 @@ INSERT INTO t1 VALUES (1);
GRA_.log GRA_.log
GRA_.log GRA_.log
DROP TABLE t1; DROP TABLE t1;
CALL mtr.add_suppression("Ignoring error 'Unknown table 'test.t1'' on query"); CALL mtr.add_suppression("Ignoring error 'Unknown table 'test\\.t1'' on query");
connection node_2; connection node_2;
CALL mtr.add_suppression("Error 'Unknown table 'test.t1'' on query"); CALL mtr.add_suppression("Error 'Unknown table 'test\\.t1'' on query");
...@@ -66,7 +66,7 @@ SHOW STATUS LIKE 'wsrep_desync_count'; ...@@ -66,7 +66,7 @@ SHOW STATUS LIKE 'wsrep_desync_count';
Variable_name Value Variable_name Value
wsrep_desync_count 0 wsrep_desync_count 0
SET @@global.wsrep_desync = 0; SET @@global.wsrep_desync = 0;
CALL mtr.add_suppression("WSREP: Protocol violation. JOIN message sender (.*) is not in state transfer \\(SYNCED\\). Message ignored."); CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender (.*) is not in state transfer \\(SYNCED\\)\\. Message ignored\\.");
connection node_1; connection node_1;
# Wait until both nodes are back to cluster # Wait until both nodes are back to cluster
SET GLOBAL wsrep_provider_options = 'pc.ignore_sb=false'; SET GLOBAL wsrep_provider_options = 'pc.ignore_sb=false';
......
connection node_2; connection node_2;
connection node_1; connection node_1;
connection node_2; connection node_2;
call mtr.add_suppression("WSREP: Failed to scan the last segment to the end. Last events may be missing. Last recovered event:.*"); call mtr.add_suppression("WSREP: Failed to scan the last segment to the end\\. Last events may be missing\\. Last recovered event: ");
connection node_1; connection node_1;
connection node_1; connection node_1;
connection node_2; connection node_2;
......
...@@ -3,14 +3,14 @@ connection node_1; ...@@ -3,14 +3,14 @@ connection node_1;
connection node_1; connection node_1;
connection node_2; connection node_2;
connection node_1; connection node_1;
call mtr.add_suppression("WSREP: Event .* Write_rows_v1 apply failed:.*"); call mtr.add_suppression("WSREP: Event .* Write_rows_v1 apply failed: ");
call mtr.add_suppression("WSREP: Failed to apply write set:.*"); call mtr.add_suppression("WSREP: Failed to apply write set: ");
call mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on.*"); call mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on ");
connection node_2; connection node_2;
call mtr.add_suppression("WSREP: Failed to open table mysql.wsrep_streaming_log for writing"); call mtr.add_suppression("WSREP: Failed to open table mysql\\.wsrep_streaming_log for writing");
call mtr.add_suppression("WSREP: Failed to open SR table for write"); call mtr.add_suppression("WSREP: Failed to open SR table for write");
call mtr.add_suppression("WSREP: Failed to recover SR transactions from schema: wsrep_on : 0"); call mtr.add_suppression("WSREP: Failed to recover SR transactions from schema: wsrep_on : 0");
call mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on.*"); call mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on ");
SET @@global.tx_read_only = ON; SET @@global.tx_read_only = ON;
SET default_storage_engine = SEQUENCE; SET default_storage_engine = SEQUENCE;
create table t1 (c1 int); create table t1 (c1 int);
...@@ -39,7 +39,7 @@ connection node_1; ...@@ -39,7 +39,7 @@ connection node_1;
SET SESSION wsrep_sync_wait = 0; SET SESSION wsrep_sync_wait = 0;
Killing server ... Killing server ...
connection node_2; connection node_2;
call mtr.add_suppression("WSREP: Failed to open table mysql.wsrep_streaming_log for writing"); call mtr.add_suppression("WSREP: Failed to open table mysql\\.wsrep_streaming_log for writing");
call mtr.add_suppression("WSREP: Failed to open SR table for write"); call mtr.add_suppression("WSREP: Failed to open SR table for write");
call mtr.add_suppression("WSREP: Failed to recover SR transactions from schema: wsrep_on : 0"); call mtr.add_suppression("WSREP: Failed to recover SR transactions from schema: wsrep_on : 0");
DROP TABLE IF EXISTS t1; DROP TABLE IF EXISTS t1;
connection node_2; connection node_2;
connection node_1; connection node_1;
connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3; connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3;
call mtr.add_suppression("\\[ERROR\\] Error reading packet from server: WSREP has not yet prepared node for application use .*"); call mtr.add_suppression("\\[ERROR\\] Error reading packet from server: WSREP has not yet prepared node for application use ");
call mtr.add_suppression("WSREP has not yet prepared node for application use"); call mtr.add_suppression("WSREP has not yet prepared node for application use");
connection node_1; connection node_1;
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB; CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
......
connection node_2; connection node_2;
connection node_1; connection node_1;
CALL mtr.add_suppression("WSREP: .*conflict state . after post commit .*");
CREATE TABLE t1 (f1 INTEGER, f2 CHAR(20) DEFAULT 'abc') ENGINE=InnoDB; CREATE TABLE t1 (f1 INTEGER, f2 CHAR(20) DEFAULT 'abc') ENGINE=InnoDB;
INSERT INTO t1 (f1) VALUES (1),(65535); INSERT INTO t1 (f1) VALUES (1),(65535);
CREATE PROCEDURE proc_insert () CREATE PROCEDURE proc_insert ()
...@@ -19,5 +18,5 @@ connection node_1b; ...@@ -19,5 +18,5 @@ connection node_1b;
connection node_1; connection node_1;
DROP PROCEDURE proc_insert; DROP PROCEDURE proc_insert;
DROP TABLE t1; DROP TABLE t1;
CALL mtr.add_suppression("conflict state 3 after post commit"); CALL mtr.add_suppression("WSREP: .* conflict state after post commit ");
set global innodb_status_output=Default; set global innodb_status_output=Default;
...@@ -15,4 +15,4 @@ SET GLOBAL wsrep_provider_options="pc.bootstrap=1"; ...@@ -15,4 +15,4 @@ SET GLOBAL wsrep_provider_options="pc.bootstrap=1";
connection node_2; connection node_2;
SET SESSION wsrep_on=0; SET SESSION wsrep_on=0;
connection node_2; connection node_2;
CALL mtr.add_suppression("WSREP: exception from gcomm, backend must be restarted: Gcomm backend termination was requested by setting gmcast.isolate=2."); CALL mtr.add_suppression("WSREP: exception from gcomm, backend must be restarted: Gcomm backend termination was requested by setting gmcast\\.isolate=2\\.");
...@@ -34,7 +34,7 @@ SHOW TABLES IN test; ...@@ -34,7 +34,7 @@ SHOW TABLES IN test;
Tables_in_test Tables_in_test
t1 t1
Killing server ... Killing server ...
CALL mtr.add_suppression("Inconsistent by consensus."); CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on ");
CALL mtr.add_suppression("WSREP: Failed to execute TOI action"); CALL mtr.add_suppression("WSREP: Failed to execute TOI action");
CALL mtr.add_suppression("WSREP: TO isolation end failed"); CALL mtr.add_suppression("WSREP: TO isolation end failed");
connection node_1; connection node_1;
...@@ -5,7 +5,7 @@ connection node_2; ...@@ -5,7 +5,7 @@ connection node_2;
connection node_1; connection node_1;
CREATE TABLE t1 (f1 INT PRIMARY KEY); CREATE TABLE t1 (f1 INT PRIMARY KEY);
connection node_2; connection node_2;
call mtr.add_suppression("WSREP: Failed to scan the last segment to the end. Last events may be missing. Last recovered event:.*"); call mtr.add_suppression("WSREP: Failed to scan the last segment to the end\\. Last events may be missing\\. Last recovered event: ");
SET DEBUG_SYNC = 'wsrep_before_certification WAIT_FOR continue'; SET DEBUG_SYNC = 'wsrep_before_certification WAIT_FOR continue';
INSERT INTO t1 VALUES (1); INSERT INTO t1 VALUES (1);
connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2; connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2;
......
connection node_2; connection node_2;
connection node_1; connection node_1;
connection node_1; connection node_1;
CREATE TABLE ten (f1 INTEGER); CREATE TABLE ten (f1 INTEGER PRIMARY KEY) Engine=InnoDB;
INSERT INTO ten VALUES (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); INSERT INTO ten VALUES (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
CREATE TABLE t1 (f1 INTEGER, PRIMARY KEY (f1)) Engine=InnoDB; CREATE TABLE t1 (f1 INTEGER, PRIMARY KEY (f1)) Engine=InnoDB;
CREATE TABLE t2 (f1 INTEGER, PRIMARY KEY (f1)) Engine=InnoDB; CREATE TABLE t2 (f1 INTEGER, PRIMARY KEY (f1)) Engine=InnoDB;
...@@ -12,6 +12,7 @@ wsrep_desync_count 1 ...@@ -12,6 +12,7 @@ wsrep_desync_count 1
SET DEBUG_SYNC='before_execute_sql_command SIGNAL alter1 WAIT_FOR alter2'; SET DEBUG_SYNC='before_execute_sql_command SIGNAL alter1 WAIT_FOR alter2';
INSERT INTO t1 (f1) SELECT 0000 + (100 * a1.f1) + (10 * a2.f1) + a3.f1 FROM ten AS a1, ten AS a2, ten AS a3; INSERT INTO t1 (f1) SELECT 0000 + (100 * a1.f1) + (10 * a2.f1) + a3.f1 FROM ten AS a1, ten AS a2, ten AS a3;
connection node_1a; connection node_1a;
FLUSH STATUS;
SET GLOBAL wsrep_desync = 1; SET GLOBAL wsrep_desync = 1;
Warnings: Warnings:
Warning 1231 'wsrep_desync' is already ON. Warning 1231 'wsrep_desync' is already ON.
...@@ -35,6 +36,7 @@ Warning 1231 'wsrep_desync' is already OFF. ...@@ -35,6 +36,7 @@ Warning 1231 'wsrep_desync' is already OFF.
show status like 'wsrep_desync_count'; show status like 'wsrep_desync_count';
Variable_name Value Variable_name Value
wsrep_desync_count 0 wsrep_desync_count 0
call mtr.add_suppression("Trying to make wsrep_desync = OFF on the node that is already synchronized\\.");
show status like 'wsrep_desync_count'; show status like 'wsrep_desync_count';
Variable_name Value Variable_name Value
wsrep_desync_count 0 wsrep_desync_count 0
......
...@@ -48,6 +48,6 @@ SHOW TABLES; ...@@ -48,6 +48,6 @@ SHOW TABLES;
Tables_in_fts Tables_in_fts
DROP DATABASE fts; DROP DATABASE fts;
connection node_2; connection node_2;
call mtr.add_suppression("WSREP: Failed to scan the last segment to the end. Last events may be missing. Last recovered event:"); call mtr.add_suppression("WSREP: Failed to scan the last segment to the end\\. Last events may be missing\\. Last recovered event: ");
Warnings: Warnings:
Note 1049 Unknown database 'fts' Note 1049 Unknown database 'fts'
...@@ -19,6 +19,6 @@ SHOW CREATE TABLE t3; ...@@ -19,6 +19,6 @@ SHOW CREATE TABLE t3;
ERROR 42S02: Table 'test.t3' doesn't exist ERROR 42S02: Table 'test.t3' doesn't exist
SHOW CREATE TABLE t4; SHOW CREATE TABLE t4;
ERROR 42S02: Table 'test.t4' doesn't exist ERROR 42S02: Table 'test.t4' doesn't exist
CALL mtr.add_suppression("Slave SQL: Error 'Unknown table 'test.t2,test.t4'' on query\. Default database: 'test'\. Query: 'DROP TABLE t1, t2, t3, t4', Error_code: 1051"); CALL mtr.add_suppression("Slave SQL: Error 'Unknown table 'test\\.t2,test\\.t4'' on query\\. Default database: 'test'\\. Query: 'DROP TABLE t1, t2, t3, t4', Error_code: 1051");
connection node_1; connection node_1;
DROP TABLE t5; DROP TABLE t5;
...@@ -111,7 +111,7 @@ f1 f2 ...@@ -111,7 +111,7 @@ f1 f2
SELECT EVENT_CATALOG, EVENT_SCHEMA, EVENT_NAME, DEFINER, EVENT_BODY, EVENT_DEFINITION, EVENT_TYPE, EXECUTE_AT, INTERVAL_VALUE, INTERVAL_FIELD, STATUS,ON_COMPLETION, EVENT_COMMENT FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_NAME='one_event'; SELECT EVENT_CATALOG, EVENT_SCHEMA, EVENT_NAME, DEFINER, EVENT_BODY, EVENT_DEFINITION, EVENT_TYPE, EXECUTE_AT, INTERVAL_VALUE, INTERVAL_FIELD, STATUS,ON_COMPLETION, EVENT_COMMENT FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_NAME='one_event';
EVENT_CATALOG EVENT_SCHEMA EVENT_NAME DEFINER EVENT_BODY EVENT_DEFINITION EVENT_TYPE EXECUTE_AT INTERVAL_VALUE INTERVAL_FIELD STATUS ON_COMPLETION EVENT_COMMENT EVENT_CATALOG EVENT_SCHEMA EVENT_NAME DEFINER EVENT_BODY EVENT_DEFINITION EVENT_TYPE EXECUTE_AT INTERVAL_VALUE INTERVAL_FIELD STATUS ON_COMPLETION EVENT_COMMENT
def test one_event root@localhost SQL SELECT 123 RECURRING NULL 10 SECOND SLAVESIDE_DISABLED NOT PRESERVE def test one_event root@localhost SQL SELECT 123 RECURRING NULL 10 SECOND SLAVESIDE_DISABLED NOT PRESERVE
call mtr.add_suppression("WSREP: Failed to scan the last segment to the end. Last events may be missing. Last recovered event:.*"); call mtr.add_suppression("WSREP: Failed to scan the last segment to the end\\. Last events may be missing\\. Last recovered event: ");
connection node_1; connection node_1;
SELECT * FROM t1; SELECT * FROM t1;
f1 f2 f1 f2
......
connection node_2; connection node_2;
connection node_1; connection node_1;
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since.*"); call mtr.add_suppression("Unsafe statement written to the binary log using statement format since ");
SET GLOBAL wsrep_forced_binlog_format=ROW; SET GLOBAL wsrep_forced_binlog_format=ROW;
connection node_1; connection node_1;
CREATE TABLE t1(a int not null primary key auto_increment, b int) ENGINE=InnoDB; CREATE TABLE t1(a int not null primary key auto_increment, b int) ENGINE=InnoDB;
......
...@@ -94,7 +94,6 @@ CALL insert_1m ();; ...@@ -94,7 +94,6 @@ CALL insert_1m ();;
connection node_1_insert_10m; connection node_1_insert_10m;
CALL insert_10m ();; CALL insert_10m ();;
connection node_2; connection node_2;
call mtr.add_suppression("Error in Log_event::read_log_event\(\):.*");
SET SESSION wsrep_sync_wait = 0; SET SESSION wsrep_sync_wait = 0;
Killing server ... Killing server ...
connection node_1; connection node_1;
...@@ -131,9 +130,9 @@ DROP PROCEDURE update_simple; ...@@ -131,9 +130,9 @@ DROP PROCEDURE update_simple;
DROP PROCEDURE insert_1k; DROP PROCEDURE insert_1k;
DROP PROCEDURE insert_1m; DROP PROCEDURE insert_1m;
connection node_1; connection node_1;
call mtr.add_suppression("Error in Log_event::read_log_event\(\):.*"); call mtr.add_suppression("Error in Log_event::read_log_event\\(\\)");
CALL mtr.add_suppression("conflict state 7 after post commit"); CALL mtr.add_suppression("conflict state 7 after post commit");
CALL mtr.add_suppression("Skipped GCache ring buffer recovery"); CALL mtr.add_suppression("Skipped GCache ring buffer recovery");
connection node_2; connection node_2;
call mtr.add_suppression("Error in Log_event::read_log_event\(\):.*"); call mtr.add_suppression("Error in Log_event::read_log_event\\(\\)");
CALL mtr.add_suppression("Skipped GCache ring buffer recovery"); CALL mtr.add_suppression("Skipped GCache ring buffer recovery");
...@@ -35,4 +35,4 @@ ROLLBACK /* added by mysqlbinlog */; ...@@ -35,4 +35,4 @@ ROLLBACK /* added by mysqlbinlog */;
Killing server ... Killing server ...
SET GLOBAL wsrep_ignore_apply_errors = 7; SET GLOBAL wsrep_ignore_apply_errors = 7;
DROP TABLE t1; DROP TABLE t1;
CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on"); CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on ");
...@@ -5,7 +5,7 @@ select @@gtid_domain_id, @@server_id, @@wsrep_gtid_domain_id,@@wsrep_gtid_mode; ...@@ -5,7 +5,7 @@ select @@gtid_domain_id, @@server_id, @@wsrep_gtid_domain_id,@@wsrep_gtid_mode;
@@gtid_domain_id @@server_id @@wsrep_gtid_domain_id @@wsrep_gtid_mode @@gtid_domain_id @@server_id @@wsrep_gtid_domain_id @@wsrep_gtid_mode
0 11 1 1 0 11 1 1
connection node_2; connection node_2;
call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node."); call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node\\.");
select @@gtid_domain_id, @@server_id, @@wsrep_gtid_domain_id,@@wsrep_gtid_mode; select @@gtid_domain_id, @@server_id, @@wsrep_gtid_domain_id,@@wsrep_gtid_mode;
@@gtid_domain_id @@server_id @@wsrep_gtid_domain_id @@wsrep_gtid_mode @@gtid_domain_id @@server_id @@wsrep_gtid_domain_id @@wsrep_gtid_mode
0 12 1 1 0 12 1 1
......
connection node_2; connection node_2;
connection node_1; connection node_1;
Setting SST method to mysqldump ... Setting SST method to mysqldump ...
call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to '127.0.0.1'"); call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to '127\\.0\\.0\\.1'");
call mtr.add_suppression("Failed to load slave replication state from table mysql.gtid_slave_pos"); call mtr.add_suppression("Failed to load slave replication state from table mysql\\.gtid_slave_pos");
connection node_1; connection node_1;
CREATE USER 'sst'; CREATE USER 'sst';
GRANT ALL PRIVILEGES ON *.* TO 'sst'; GRANT ALL PRIVILEGES ON *.* TO 'sst';
SET GLOBAL wsrep_sst_auth = 'sst:'; SET GLOBAL wsrep_sst_auth = 'sst:';
connection node_2; connection node_2;
SET GLOBAL wsrep_sst_method = 'mysqldump'; SET GLOBAL wsrep_sst_method = 'mysqldump';
call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to .*"); call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to ");
connection node_1; connection node_1;
connection node_2; connection node_2;
Performing State Transfer on a server that has been shut down cleanly and restarted Performing State Transfer on a server that has been shut down cleanly and restarted
...@@ -364,4 +364,4 @@ CALL mtr.add_suppression("Can't open and lock time zone table"); ...@@ -364,4 +364,4 @@ CALL mtr.add_suppression("Can't open and lock time zone table");
CALL mtr.add_suppression("Can't open and lock privilege tables"); CALL mtr.add_suppression("Can't open and lock privilege tables");
CALL mtr.add_suppression("Info table is not ready to be used"); CALL mtr.add_suppression("Info table is not ready to be used");
CALL mtr.add_suppression("Native table .* has the wrong structure"); CALL mtr.add_suppression("Native table .* has the wrong structure");
CALL mtr.add_suppression("Table \'mysql.gtid_slave_pos\' doesn\'t exist"); CALL mtr.add_suppression("Table 'mysql\\.gtid_slave_pos' doesn't exist");
...@@ -3,7 +3,7 @@ connection node_1; ...@@ -3,7 +3,7 @@ connection node_1;
connection node_1; connection node_1;
connection node_2; connection node_2;
connection node_1; connection node_1;
call mtr.add_suppression("WSREP: Last Applied Action message in non-primary configuration from member .*"); call mtr.add_suppression("WSREP: Last Applied Action message in non-primary configuration from member ");
SET GLOBAL wsrep_provider_options = 'pc.ignore_sb=true'; SET GLOBAL wsrep_provider_options = 'pc.ignore_sb=true';
CREATE TABLE t1 (f1 INTEGER NOT NULL PRIMARY KEY) ENGINE=InnoDB; CREATE TABLE t1 (f1 INTEGER NOT NULL PRIMARY KEY) ENGINE=InnoDB;
connection node_2; connection node_2;
......
connection node_2; connection node_2;
connection node_1; connection node_1;
connection node_1; connection node_1;
call mtr.add_suppression("WSREP: RSU failed due to pending transactions, schema: test, query ALTER.*"); call mtr.add_suppression("WSREP: RSU failed due to pending transactions, schema: test, query ALTER");
call mtr.add_suppression("WSREP: ALTER TABLE isolation failure"); call mtr.add_suppression("WSREP: ALTER TABLE isolation failure");
connection node_1; connection node_1;
CREATE TABLE t1( CREATE TABLE t1(
......
...@@ -3,9 +3,9 @@ connection node_1; ...@@ -3,9 +3,9 @@ connection node_1;
connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3; connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3;
connect node_4, 127.0.0.1, root, , test, $NODE_MYPORT_4; connect node_4, 127.0.0.1, root, , test, $NODE_MYPORT_4;
connection node_2; connection node_2;
call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node."); call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node\\.");
connection node_4; connection node_4;
call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node."); call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node\\.");
connection node_3; connection node_3;
CHANGE MASTER TO master_host='127.0.0.1', master_user='root', master_port=NODE_MYPORT_1, master_use_gtid=current_pos;; CHANGE MASTER TO master_host='127.0.0.1', master_user='root', master_port=NODE_MYPORT_1, master_use_gtid=current_pos;;
START SLAVE; START SLAVE;
......
...@@ -37,7 +37,7 @@ connection node_2; ...@@ -37,7 +37,7 @@ connection node_2;
# Start node_2 again # Start node_2 again
¤ Wait until node_2 is back on cluster ¤ Wait until node_2 is back on cluster
connection node_2; connection node_2;
call mtr.add_suppression("Slave: Operation CREATE USER failed for .*"); call mtr.add_suppression("Slave: Operation CREATE USER failed for ");
SELECT COUNT(*) AS EXPECT_0 FROM mysql.gtid_slave_pos; SELECT COUNT(*) AS EXPECT_0 FROM mysql.gtid_slave_pos;
EXPECT_0 EXPECT_0
0 0
......
...@@ -41,7 +41,7 @@ f1 f2 ...@@ -41,7 +41,7 @@ f1 f2
connection node_2; connection node_2;
Starting server ... Starting server ...
Starting server ... Starting server ...
call mtr.add_suppression("WSREP: Failed to scan the last segment to the end. Last events may be missing. Last recovered event:"); call mtr.add_suppression("WSREP: Failed to scan the last segment to the end\\. Last events may be missing\\. Last recovered event: ");
SELECT * FROM t1; SELECT * FROM t1;
f1 f2 f1 f2
1 a 1 a
......
...@@ -24,5 +24,5 @@ COUNT(*) = 1 ...@@ -24,5 +24,5 @@ COUNT(*) = 1
1 1
connection node_1; connection node_1;
DROP TABLE t1; DROP TABLE t1;
CALL mtr.add_suppression("Unknown parameter 'socket\.ssl_compression'"); CALL mtr.add_suppression("Unknown parameter 'socket\\.ssl_compression'");
CALL mtr.add_suppression("Set options returned 7"); CALL mtr.add_suppression("Set options returned 7");
connection node_2; connection node_2;
connection node_1; connection node_1;
connection node_1; connection node_1;
call mtr.add_suppression("WSREP: write_handler().*");
connection node_2;
call mtr.add_suppression("WSREP: write_handler():.*");
connection node_1;
connection node_2; connection node_2;
connection node_1; connection node_1;
connection node_2; connection node_2;
...@@ -28,6 +24,6 @@ VARIABLE_VALUE = 2 ...@@ -28,6 +24,6 @@ VARIABLE_VALUE = 2
1 1
connection node_2; connection node_2;
connection node_1; connection node_1;
call mtr.add_suppression("WSREP: write_handler().*"); call mtr.add_suppression("WSREP: write_handler\\(\\)");
connection node_2; connection node_2;
call mtr.add_suppression("WSREP: write_handler():.*"); call mtr.add_suppression("WSREP: write_handler\\(\\)");
connection node_2; connection node_2;
connection node_1; connection node_1;
Setting SST method to mysqldump ... Setting SST method to mysqldump ...
call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to '127.0.0.1'"); call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to '127\\.0\\.0\\.1'");
call mtr.add_suppression("Failed to load slave replication state from table mysql.gtid_slave_pos"); call mtr.add_suppression("Failed to load slave replication state from table mysql\\.gtid_slave_pos");
connection node_1; connection node_1;
CREATE USER 'sst'; CREATE USER 'sst';
GRANT ALL PRIVILEGES ON *.* TO 'sst'; GRANT ALL PRIVILEGES ON *.* TO 'sst';
...@@ -708,4 +708,4 @@ CALL mtr.add_suppression("Can't open and lock time zone table"); ...@@ -708,4 +708,4 @@ CALL mtr.add_suppression("Can't open and lock time zone table");
CALL mtr.add_suppression("Can't open and lock privilege tables"); CALL mtr.add_suppression("Can't open and lock privilege tables");
CALL mtr.add_suppression("Info table is not ready to be used"); CALL mtr.add_suppression("Info table is not ready to be used");
CALL mtr.add_suppression("Native table .* has the wrong structure"); CALL mtr.add_suppression("Native table .* has the wrong structure");
CALL mtr.add_suppression("Table \'mysql.gtid_slave_pos\' doesn\'t exist"); CALL mtr.add_suppression("Table 'mysql\\.gtid_slave_pos' doesn't exist");
connection node_2; connection node_2;
connection node_1; connection node_1;
Setting SST method to mysqldump ... Setting SST method to mysqldump ...
call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to '127.0.0.1'"); call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to '127\\.0\\.0\\.1'");
call mtr.add_suppression("Failed to load slave replication state from table mysql.gtid_slave_pos"); call mtr.add_suppression("Failed to load slave replication state from table mysql\\.gtid_slave_pos");
connection node_1; connection node_1;
CREATE USER 'sst'; CREATE USER 'sst';
GRANT ALL PRIVILEGES ON *.* TO 'sst'; GRANT ALL PRIVILEGES ON *.* TO 'sst';
...@@ -368,5 +368,5 @@ CALL mtr.add_suppression("Can't open and lock time zone table"); ...@@ -368,5 +368,5 @@ CALL mtr.add_suppression("Can't open and lock time zone table");
CALL mtr.add_suppression("Can't open and lock privilege tables"); CALL mtr.add_suppression("Can't open and lock privilege tables");
CALL mtr.add_suppression("Info table is not ready to be used"); CALL mtr.add_suppression("Info table is not ready to be used");
CALL mtr.add_suppression("Native table .* has the wrong structure"); CALL mtr.add_suppression("Native table .* has the wrong structure");
CALL mtr.add_suppression("Table \'mysql.gtid_slave_pos\' doesn\'t exist"); CALL mtr.add_suppression("Table 'mysql\\.gtid_slave_pos' doesn't exist");
DROP USER sslsst; DROP USER sslsst;
...@@ -21,6 +21,6 @@ t1 CREATE TABLE `t1` ( ...@@ -21,6 +21,6 @@ t1 CREATE TABLE `t1` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t1; DROP TABLE t1;
DROP TABLE ten; DROP TABLE ten;
CALL mtr.add_suppression("Ignoring error 'Duplicate entry '111110' for key 'PRIMARY'' on query."); CALL mtr.add_suppression("Ignoring error 'Duplicate entry '111110' for key 'PRIMARY'' on query\\.");
connection node_2; connection node_2;
CALL mtr.add_suppression("Ignoring error 'Duplicate entry '111110' for key 'PRIMARY'' on query."); CALL mtr.add_suppression("Ignoring error 'Duplicate entry '111110' for key 'PRIMARY'' on query\\.");
...@@ -178,9 +178,9 @@ connection node_2; ...@@ -178,9 +178,9 @@ connection node_2;
SET GLOBAL wsrep_ignore_apply_errors = 7; SET GLOBAL wsrep_ignore_apply_errors = 7;
CALL mtr.add_suppression("Can't find record in 't.*'"); CALL mtr.add_suppression("Can't find record in 't.*'");
CALL mtr.add_suppression("Slave SQL: Could not execute Delete_rows event"); CALL mtr.add_suppression("Slave SQL: Could not execute Delete_rows event");
CALL mtr.add_suppression("Slave SQL: Error 'Unknown table 'test.t1'' on query. Default database: 'test'. Query: 'DROP TABLE t1', Error_code: 1051"); CALL mtr.add_suppression("Slave SQL: Error 'Unknown table 'test\\.t1'' on query\\. Default database: 'test'\\. Query: 'DROP TABLE t1', Error_code: 1051");
CALL mtr.add_suppression("Slave SQL: Error 'Can't drop database 's1'; database doesn't exist' on query. Default database: 'test'. Query: 'DROP SCHEMA s1', Error_code: 1008"); CALL mtr.add_suppression("Slave SQL: Error 'Can't drop database 's1'; database doesn't exist' on query\\. Default database: 'test'\\. Query: 'DROP SCHEMA s1', Error_code: 1008");
CALL mtr.add_suppression("Slave SQL: Error 'Can't DROP 'idx1'; check that column/key exists' on query. Default database: 'test'. Query: 'DROP INDEX idx1 ON t1', Error_code: 1091"); CALL mtr.add_suppression("Slave SQL: Error 'Can't DROP 'idx1'; check that column/key exists' on query\\. Default database: 'test'\\. Query: 'DROP INDEX idx1 ON t1', Error_code: 1091");
CALL mtr.add_suppression("Slave SQL: Error 'Can't DROP 'idx1'; check that column/key exists' on query. Default database: 'test'. Query: 'ALTER TABLE t1 DROP INDEX idx1', Error_code: 1091"); CALL mtr.add_suppression("Slave SQL: Error 'Can't DROP 'idx1'; check that column/key exists' on query\\. Default database: 'test'\\. Query: 'ALTER TABLE t1 DROP INDEX idx1', Error_code: 1091");
CALL mtr.add_suppression("Slave SQL: Error 'Can't DROP 'f2'; check that column/key exists' on query. Default database: 'test'. Query: 'ALTER TABLE t1 DROP COLUMN f2', Error_code: 1091"); CALL mtr.add_suppression("Slave SQL: Error 'Can't DROP 'f2'; check that column/key exists' on query\\. Default database: 'test'\\. Query: 'ALTER TABLE t1 DROP COLUMN f2', Error_code: 1091");
CALL mtr.add_suppression("Slave SQL: Error 'Table 't1' already exists' on query."); CALL mtr.add_suppression("Slave SQL: Error 'Table 't1' already exists' on query\\.");
...@@ -6,7 +6,7 @@ connection node_1; ...@@ -6,7 +6,7 @@ connection node_1;
CREATE TABLE t1 (f1 INT PRIMARY KEY) Engine=InnoDB; CREATE TABLE t1 (f1 INT PRIMARY KEY) Engine=InnoDB;
CREATE TABLE t2 (f1 INT AUTO_INCREMENT PRIMARY KEY) Engine=InnoDB; CREATE TABLE t2 (f1 INT AUTO_INCREMENT PRIMARY KEY) Engine=InnoDB;
connection node_2; connection node_2;
CALL mtr.add_suppression("WSREP: Refusing exit for the last slave thread."); CALL mtr.add_suppression("WSREP: Refusing exit for the last slave thread\\.");
SET GLOBAL wsrep_slave_threads = 0; SET GLOBAL wsrep_slave_threads = 0;
Warnings: Warnings:
Warning 1292 Truncated incorrect wsrep_slave_threads value: '0' Warning 1292 Truncated incorrect wsrep_slave_threads value: '0'
......
...@@ -3,7 +3,7 @@ connection node_1; ...@@ -3,7 +3,7 @@ connection node_1;
# #
# wsrep_start_position # wsrep_start_position
# #
CALL mtr.add_suppression("WSREP: SST failed for position .*"); CALL mtr.add_suppression("WSREP: SST failed for position ");
SET @wsrep_start_position_global_saved = @@global.wsrep_start_position; SET @wsrep_start_position_global_saved = @@global.wsrep_start_position;
# default # default
SELECT @@global.wsrep_start_position; SELECT @@global.wsrep_start_position;
......
...@@ -53,7 +53,7 @@ expect_0 ...@@ -53,7 +53,7 @@ expect_0
SELECT COUNT(*) AS expect_1 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't2'; SELECT COUNT(*) AS expect_1 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't2';
expect_1 expect_1
1 1
CALL mtr.add_suppression("WSREP: Vote 0 \\(success\\) on .* is inconsistent with group. Leaving cluster."); CALL mtr.add_suppression("WSREP: Vote 0 \\(success\\) on .* is inconsistent with group\\. Leaving cluster\\.");
connection node_4; connection node_4;
SELECT COUNT(*) AS expect_0 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't1'; SELECT COUNT(*) AS expect_0 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't1';
expect_0 expect_0
...@@ -61,7 +61,7 @@ expect_0 ...@@ -61,7 +61,7 @@ expect_0
SELECT COUNT(*) AS expect_1 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't2'; SELECT COUNT(*) AS expect_1 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't2';
expect_1 expect_1
1 1
CALL mtr.add_suppression("WSREP: Vote 0 \\(success\\) on .* is inconsistent with group. Leaving cluster."); CALL mtr.add_suppression("WSREP: Vote 0 \\(success\\) on .* is inconsistent with group\\. Leaving cluster\\.");
DROP TABLE t2; DROP TABLE t2;
disconnect node_3; disconnect node_3;
disconnect node_4; disconnect node_4;
connection node_2; connection node_2;
connection node_1; connection node_1;
CALL mtr.add_suppression("WSREP: Stray state UUID msg:.*"); CALL mtr.add_suppression("WSREP: Stray state UUID msg:");
CALL mtr.add_suppression("WSREP: Sending JOIN failed:.*"); CALL mtr.add_suppression("Sending JOIN failed: ");
CALL mtr.add_suppression("WSREP: .* sending install message failed: Socket is not connected");
CALL mtr.add_suppression("There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside"); CALL mtr.add_suppression("There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside");
call mtr.add_suppression("WSREP: Sending JOIN failed:.*");
SELECT VARIABLE_VALUE = 4 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size'; SELECT VARIABLE_VALUE = 4 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
VARIABLE_VALUE = 4 VARIABLE_VALUE = 4
1 1
......
connection node_2; connection node_2;
connection node_1; connection node_1;
call mtr.add_suppression("WSREP\: Unknown parameter 'gmcasts\.segment'"); call mtr.add_suppression("WSREP\: Unknown parameter 'gmcasts\\.segment'");
call mtr.add_suppression("WSREP\: Set options returned 7"); call mtr.add_suppression("WSREP\: Set options returned 7");
SET GLOBAL wsrep_provider_options="gmcasts.segment=1"; SET GLOBAL wsrep_provider_options="gmcasts.segment=1";
ERROR HY000: Incorrect arguments to SET ERROR HY000: Incorrect arguments to SET
......
...@@ -19,7 +19,7 @@ wsrep_ready OFF ...@@ -19,7 +19,7 @@ wsrep_ready OFF
SHOW STATUS LIKE 'wsrep_cluster_status'; SHOW STATUS LIKE 'wsrep_cluster_status';
Variable_name Value Variable_name Value
wsrep_cluster_status Disconnected wsrep_cluster_status Disconnected
call mtr.add_suppression("WSREP: .*Invalid backend URI.*"); call mtr.add_suppression("WSREP: .*Invalid backend URI");
call mtr.add_suppression("WSREP: gcs connect failed: Invalid argument"); call mtr.add_suppression("WSREP: gcs connect failed: Invalid argument");
disconnect node_2; disconnect node_2;
disconnect node_1; disconnect node_1;
connection node_2; connection node_2;
connection node_1; connection node_1;
call mtr.add_suppression("BINLOG_BASE64_EVENT: Could not read field.*"); call mtr.add_suppression("BINLOG_BASE64_EVENT: Could not read field");
call mtr.add_suppression("BINLOG_BASE64_EVENT: Could not execute Write_rows_v1 event on table.*"); call mtr.add_suppression("BINLOG_BASE64_EVENT: Could not execute Write_rows_v1 event on table");
CREATE TABLE t1 (a INT NOT NULL AUTO_INCREMENT PRIMARY KEY, b INT, KEY(b)) engine=innodb; CREATE TABLE t1 (a INT NOT NULL AUTO_INCREMENT PRIMARY KEY, b INT, KEY(b)) engine=innodb;
BINLOG 'AMqaOw8BAAAAdAAAAHgAAAAAAAQANS42LjM0LTc5LjEtZGVidWctbG9nAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAEzgNAAgAEgAEBAQEEgAAXAAEGggAAAAICAgCAAAACgoKGRkAAYVx w2w='; BINLOG 'AMqaOw8BAAAAdAAAAHgAAAAAAAQANS42LjM0LTc5LjEtZGVidWctbG9nAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAEzgNAAgAEgAEBAQEEgAAXAAEGggAAAAICAgCAAAACgoKGRkAAYVx w2w=';
BINLOG 'wlZOTxMBAAAAKgAAADwCAAAAACkAAAAAAAEABHRlc3QAAnQxAAIDAwAC wlZOTxcBAAAAJgAAAGICAAAAACkAAAAAAAEAAv/8AgAAAAgAAAA='; BINLOG 'wlZOTxMBAAAAKgAAADwCAAAAACkAAAAAAAEABHRlc3QAAnQxAAIDAwAC wlZOTxcBAAAAJgAAAGICAAAAACkAAAAAAAEAAv/8AgAAAAgAAAA=';
......
...@@ -3,8 +3,8 @@ connection node_1; ...@@ -3,8 +3,8 @@ connection node_1;
connection node_1; connection node_1;
connection node_2; connection node_2;
Setting SST method to mysqldump ... Setting SST method to mysqldump ...
call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to '127.0.0.1'"); call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to '127\\.0\\.0\\.1'");
call mtr.add_suppression("Failed to load slave replication state from table mysql.gtid_slave_pos"); call mtr.add_suppression("Failed to load slave replication state from table mysql\\.gtid_slave_pos");
connection node_1; connection node_1;
CREATE USER 'sst'; CREATE USER 'sst';
GRANT ALL PRIVILEGES ON *.* TO 'sst'; GRANT ALL PRIVILEGES ON *.* TO 'sst';
...@@ -709,6 +709,6 @@ CALL mtr.add_suppression("Can't open and lock time zone table"); ...@@ -709,6 +709,6 @@ CALL mtr.add_suppression("Can't open and lock time zone table");
CALL mtr.add_suppression("Can't open and lock privilege tables"); CALL mtr.add_suppression("Can't open and lock privilege tables");
CALL mtr.add_suppression("Info table is not ready to be used"); CALL mtr.add_suppression("Info table is not ready to be used");
CALL mtr.add_suppression("Native table .* has the wrong structure"); CALL mtr.add_suppression("Native table .* has the wrong structure");
CALL mtr.add_suppression("Table \'mysql.gtid_slave_pos\' doesn\'t exist"); CALL mtr.add_suppression("Table 'mysql\\.gtid_slave_pos' doesn't exist");
SET GLOBAL general_log = ON; SET GLOBAL general_log = ON;
SET GLOBAL slow_query_log = ON; SET GLOBAL slow_query_log = ON;
connection node_2; connection node_2;
connection node_1; connection node_1;
call mtr.add_suppression("Sending JOIN failed:.*"); call mtr.add_suppression("Sending JOIN failed: ");
connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3; connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3;
connection node_1; connection node_1;
create table t1 (a int, s bigint unsigned as row start, e bigint unsigned as row end, period for system_time(s,e)) engine=InnoDB with system versioning; create table t1 (a int, s bigint unsigned as row start, e bigint unsigned as row end, period for system_time(s,e)) engine=InnoDB with system versioning;
......
...@@ -48,7 +48,7 @@ SET @@global.wsrep_desync = 0; ...@@ -48,7 +48,7 @@ SET @@global.wsrep_desync = 0;
SET SESSION wsrep_sync_wait=15; SET SESSION wsrep_sync_wait=15;
SHOW CREATE TABLE t1; SHOW CREATE TABLE t1;
DROP TABLE t1; DROP TABLE t1;
CALL mtr.add_suppression("WSREP: Protocol violation. JOIN message sender (.*) is not in state transfer \\(SYNCED\\). Message ignored."); CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender (.*) is not in state transfer \\(SYNCED\\)\\. Message ignored\\.");
--connection node_1 --connection node_1
--let $wait_condition = SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size'; --let $wait_condition = SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
......
...@@ -5,11 +5,12 @@ ...@@ -5,11 +5,12 @@
--source include/galera_cluster.inc --source include/galera_cluster.inc
--source include/big_test.inc --source include/big_test.inc
call mtr.add_suppression("WSREP: It may not be safe to bootstrap the cluster from this node.*"); call mtr.add_suppression("WSREP: It may not be safe to bootstrap the cluster from this node");
call mtr.add_suppression("Aborting"); call mtr.add_suppression("Aborting");
call mtr.add_suppression("Plugin \'wsrep\' init function returned error."); call mtr.add_suppression("Plugin 'wsrep' init function returned error");
call mtr.add_suppression("Plugin \'wsrep\' registration as a STORAGE ENGINE failed."); call mtr.add_suppression("Plugin 'wsrep' registration as a STORAGE ENGINE failed");
call mtr.add_suppression("Failed to initialize plugins."); call mtr.add_suppression("Plugin 'wsrep' registration as a FUNCTION failed");
call mtr.add_suppression("Failed to initialize plugins");
--connection node_2 --connection node_2
SET SESSION wsrep_sync_wait = 0; SET SESSION wsrep_sync_wait = 0;
......
...@@ -25,7 +25,6 @@ INSERT INTO t1 VALUES (1); ...@@ -25,7 +25,6 @@ INSERT INTO t1 VALUES (1);
--list_files $MYSQLTEST_VARDIR/mysqld.2/data GRA_*.log --list_files $MYSQLTEST_VARDIR/mysqld.2/data GRA_*.log
DROP TABLE t1; DROP TABLE t1;
CALL mtr.add_suppression("Ignoring error 'Unknown table 'test.t1'' on query"); CALL mtr.add_suppression("Ignoring error 'Unknown table 'test\\.t1'' on query");
--connection node_2 --connection node_2
CALL mtr.add_suppression("Error 'Unknown table 'test.t1'' on query"); CALL mtr.add_suppression("Error 'Unknown table 'test\\.t1'' on query");
...@@ -77,7 +77,7 @@ SET @@global.wsrep_desync = 0; ...@@ -77,7 +77,7 @@ SET @@global.wsrep_desync = 0;
--let $wait_condition = SELECT VARIABLE_VALUE = 'Synced' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_local_state_comment'; --let $wait_condition = SELECT VARIABLE_VALUE = 'Synced' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_local_state_comment';
--source include/wait_condition.inc --source include/wait_condition.inc
CALL mtr.add_suppression("WSREP: Protocol violation. JOIN message sender (.*) is not in state transfer \\(SYNCED\\). Message ignored."); CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender (.*) is not in state transfer \\(SYNCED\\)\\. Message ignored\\.");
--connection node_1 --connection node_1
--echo # Wait until both nodes are back to cluster --echo # Wait until both nodes are back to cluster
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
--source include/galera_cluster.inc --source include/galera_cluster.inc
--connection node_2 --connection node_2
call mtr.add_suppression("WSREP: Failed to scan the last segment to the end. Last events may be missing. Last recovered event:.*"); call mtr.add_suppression("WSREP: Failed to scan the last segment to the end\\. Last events may be missing\\. Last recovered event: ");
--connection node_1 --connection node_1
# Save original auto_increment_offset values. # Save original auto_increment_offset values.
......
...@@ -8,15 +8,15 @@ ...@@ -8,15 +8,15 @@
--source include/auto_increment_offset_save.inc --source include/auto_increment_offset_save.inc
--connection node_1 --connection node_1
call mtr.add_suppression("WSREP: Event .* Write_rows_v1 apply failed:.*"); call mtr.add_suppression("WSREP: Event .* Write_rows_v1 apply failed: ");
call mtr.add_suppression("WSREP: Failed to apply write set:.*"); call mtr.add_suppression("WSREP: Failed to apply write set: ");
call mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on.*"); call mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on ");
--connection node_2 --connection node_2
call mtr.add_suppression("WSREP: Failed to open table mysql.wsrep_streaming_log for writing"); call mtr.add_suppression("WSREP: Failed to open table mysql\\.wsrep_streaming_log for writing");
call mtr.add_suppression("WSREP: Failed to open SR table for write"); call mtr.add_suppression("WSREP: Failed to open SR table for write");
call mtr.add_suppression("WSREP: Failed to recover SR transactions from schema: wsrep_on : 0"); call mtr.add_suppression("WSREP: Failed to recover SR transactions from schema: wsrep_on : 0");
call mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on.*"); call mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on ");
SET @@global.tx_read_only = ON; SET @@global.tx_read_only = ON;
--error 0,1286 --error 0,1286
...@@ -59,7 +59,7 @@ SET SESSION wsrep_sync_wait = 0; ...@@ -59,7 +59,7 @@ SET SESSION wsrep_sync_wait = 0;
--let $_expect_file_name= $MYSQLTEST_VARDIR/tmp/mysqld.2.expect --let $_expect_file_name= $MYSQLTEST_VARDIR/tmp/mysqld.2.expect
--source include/start_mysqld.inc --source include/start_mysqld.inc
call mtr.add_suppression("WSREP: Failed to open table mysql.wsrep_streaming_log for writing"); call mtr.add_suppression("WSREP: Failed to open table mysql\\.wsrep_streaming_log for writing");
call mtr.add_suppression("WSREP: Failed to open SR table for write"); call mtr.add_suppression("WSREP: Failed to open SR table for write");
call mtr.add_suppression("WSREP: Failed to recover SR transactions from schema: wsrep_on : 0"); call mtr.add_suppression("WSREP: Failed to recover SR transactions from schema: wsrep_on : 0");
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
--source include/galera_cluster.inc --source include/galera_cluster.inc
--connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3 --connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3
call mtr.add_suppression("\\[ERROR\\] Error reading packet from server: WSREP has not yet prepared node for application use .*"); call mtr.add_suppression("\\[ERROR\\] Error reading packet from server: WSREP has not yet prepared node for application use ");
call mtr.add_suppression("WSREP has not yet prepared node for application use"); call mtr.add_suppression("WSREP has not yet prepared node for application use");
--disable_query_log --disable_query_log
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
--source include/galera_cluster.inc --source include/galera_cluster.inc
--source include/have_innodb.inc --source include/have_innodb.inc
CALL mtr.add_suppression("WSREP: .*conflict state . after post commit .*");
CREATE TABLE t1 (f1 INTEGER, f2 CHAR(20) DEFAULT 'abc') ENGINE=InnoDB; CREATE TABLE t1 (f1 INTEGER, f2 CHAR(20) DEFAULT 'abc') ENGINE=InnoDB;
# We start with a populated table # We start with a populated table
...@@ -78,7 +77,6 @@ while ($count) ...@@ -78,7 +77,6 @@ while ($count)
--eval SELECT $wsrep_local_replays_new - $wsrep_local_replays_old > 0 AS wsrep_local_replays; --eval SELECT $wsrep_local_replays_new - $wsrep_local_replays_old > 0 AS wsrep_local_replays;
--enable_query_log --enable_query_log
# #
# Terminate the stored procedure # Terminate the stored procedure
# #
...@@ -99,6 +97,6 @@ DROP PROCEDURE proc_insert; ...@@ -99,6 +97,6 @@ DROP PROCEDURE proc_insert;
DROP TABLE t1; DROP TABLE t1;
# Due to MW-330, Multiple "conflict state 3 after post commit" warnings if table is dropped while SP is running # Due to MW-330, Multiple "conflict state 3 after post commit" warnings if table is dropped while SP is running
CALL mtr.add_suppression("conflict state 3 after post commit"); CALL mtr.add_suppression("WSREP: .* conflict state after post commit ");
set global innodb_status_output=Default; set global innodb_status_output=Default;
...@@ -340,4 +340,3 @@ SELECT * FROM cg; ...@@ -340,4 +340,3 @@ SELECT * FROM cg;
DROP TABLE cg; DROP TABLE cg;
DROP TABLE pg; DROP TABLE pg;
...@@ -7,7 +7,3 @@ sql_mode='' ...@@ -7,7 +7,3 @@ sql_mode=''
[mysqld.2] [mysqld.2]
enforce_storage_engine=innodb enforce_storage_engine=innodb
sql_mode='' sql_mode=''
...@@ -5,4 +5,3 @@ wsrep_provider_options='base_port=@mysqld.1.#galera_port;gcs.max_packet_size=2' ...@@ -5,4 +5,3 @@ wsrep_provider_options='base_port=@mysqld.1.#galera_port;gcs.max_packet_size=2'
[mysqld.2] [mysqld.2]
wsrep_provider_options='base_port=@mysqld.2.#galera_port;gcs.max_packet_size=2' wsrep_provider_options='base_port=@mysqld.2.#galera_port;gcs.max_packet_size=2'
...@@ -40,6 +40,6 @@ SET SESSION wsrep_on=0; ...@@ -40,6 +40,6 @@ SET SESSION wsrep_on=0;
--source include/restart_mysqld.inc --source include/restart_mysqld.inc
--connection node_2 --connection node_2
CALL mtr.add_suppression("WSREP: exception from gcomm, backend must be restarted: Gcomm backend termination was requested by setting gmcast.isolate=2."); CALL mtr.add_suppression("WSREP: exception from gcomm, backend must be restarted: Gcomm backend termination was requested by setting gmcast\\.isolate=2\\.");
--source include/auto_increment_offset_restore.inc --source include/auto_increment_offset_restore.inc
...@@ -38,7 +38,7 @@ SHOW TABLES IN test; ...@@ -38,7 +38,7 @@ SHOW TABLES IN test;
--source include/wait_until_disconnected.inc --source include/wait_until_disconnected.inc
--source include/start_mysqld.inc --source include/start_mysqld.inc
CALL mtr.add_suppression("Inconsistent by consensus."); CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on ");
CALL mtr.add_suppression("WSREP: Failed to execute TOI action"); CALL mtr.add_suppression("WSREP: Failed to execute TOI action");
CALL mtr.add_suppression("WSREP: TO isolation end failed"); CALL mtr.add_suppression("WSREP: TO isolation end failed");
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
CREATE TABLE t1 (f1 INT PRIMARY KEY); CREATE TABLE t1 (f1 INT PRIMARY KEY);
--connection node_2 --connection node_2
call mtr.add_suppression("WSREP: Failed to scan the last segment to the end. Last events may be missing. Last recovered event:.*"); call mtr.add_suppression("WSREP: Failed to scan the last segment to the end\\. Last events may be missing\\. Last recovered event: ");
SET DEBUG_SYNC = 'wsrep_before_certification WAIT_FOR continue'; SET DEBUG_SYNC = 'wsrep_before_certification WAIT_FOR continue';
--send INSERT INTO t1 VALUES (1) --send INSERT INTO t1 VALUES (1)
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
--source include/force_restart.inc --source include/force_restart.inc
# Make sure that the test is operating on the right version of galera library. # Make sure that the test is operating on the right version of galera library.
--let $galera_version=26.4.7 --let $galera_version=26.4.8
source ../wsrep/include/check_galera_version.inc; source ../wsrep/include/check_galera_version.inc;
# Global Variables # Global Variables
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
--connection node_1 --connection node_1
CREATE TABLE ten (f1 INTEGER); CREATE TABLE ten (f1 INTEGER PRIMARY KEY) Engine=InnoDB;
INSERT INTO ten VALUES (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); INSERT INTO ten VALUES (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
CREATE TABLE t1 (f1 INTEGER, PRIMARY KEY (f1)) Engine=InnoDB; CREATE TABLE t1 (f1 INTEGER, PRIMARY KEY (f1)) Engine=InnoDB;
...@@ -24,6 +24,7 @@ send INSERT INTO t1 (f1) SELECT 0000 + (100 * a1.f1) + (10 * a2.f1) + a3.f1 FROM ...@@ -24,6 +24,7 @@ send INSERT INTO t1 (f1) SELECT 0000 + (100 * a1.f1) + (10 * a2.f1) + a3.f1 FROM
--connection node_1a --connection node_1a
FLUSH STATUS;
SET GLOBAL wsrep_desync = 1; SET GLOBAL wsrep_desync = 1;
show status like 'wsrep_desync_count'; show status like 'wsrep_desync_count';
SET DEBUG_SYNC='now WAIT_FOR alter1'; SET DEBUG_SYNC='now WAIT_FOR alter1';
...@@ -45,9 +46,7 @@ show status like 'wsrep_desync_count'; ...@@ -45,9 +46,7 @@ show status like 'wsrep_desync_count';
SET GLOBAL wsrep_desync = 0; SET GLOBAL wsrep_desync = 0;
show status like 'wsrep_desync_count'; show status like 'wsrep_desync_count';
--disable_query_log call mtr.add_suppression("Trying to make wsrep_desync = OFF on the node that is already synchronized\\.");
call mtr.add_suppression("Trying to make wsrep_desync = OFF on the node that is already synchronized.");
--enable_query_log
show status like 'wsrep_desync_count'; show status like 'wsrep_desync_count';
SET GLOBAL wsrep_desync = 0; SET GLOBAL wsrep_desync = 0;
......
...@@ -56,7 +56,7 @@ SHOW TABLES; ...@@ -56,7 +56,7 @@ SHOW TABLES;
DROP DATABASE fts; DROP DATABASE fts;
--connection node_2 --connection node_2
call mtr.add_suppression("WSREP: Failed to scan the last segment to the end. Last events may be missing. Last recovered event:"); call mtr.add_suppression("WSREP: Failed to scan the last segment to the end\\. Last events may be missing\\. Last recovered event: ");
--let $wait_condition = SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'fts_t1'; --let $wait_condition = SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'fts_t1';
--source include/wait_condition.inc --source include/wait_condition.inc
--let $wait_condition = SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'fts_t2'; --let $wait_condition = SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'fts_t2';
......
...@@ -35,7 +35,7 @@ SHOW CREATE TABLE t3; ...@@ -35,7 +35,7 @@ SHOW CREATE TABLE t3;
--error ER_NO_SUCH_TABLE --error ER_NO_SUCH_TABLE
SHOW CREATE TABLE t4; SHOW CREATE TABLE t4;
CALL mtr.add_suppression("Slave SQL: Error 'Unknown table 'test.t2,test.t4'' on query\. Default database: 'test'\. Query: 'DROP TABLE t1, t2, t3, t4', Error_code: 1051"); CALL mtr.add_suppression("Slave SQL: Error 'Unknown table 'test\\.t2,test\\.t4'' on query\\. Default database: 'test'\\. Query: 'DROP TABLE t1, t2, t3, t4', Error_code: 1051");
--connection node_1 --connection node_1
DROP TABLE t5; DROP TABLE t5;
...@@ -137,7 +137,7 @@ SELECT * FROM t1; ...@@ -137,7 +137,7 @@ SELECT * FROM t1;
--echo # node_2 Event should be SERVERSIDE_DISABLED --echo # node_2 Event should be SERVERSIDE_DISABLED
SELECT EVENT_CATALOG, EVENT_SCHEMA, EVENT_NAME, DEFINER, EVENT_BODY, EVENT_DEFINITION, EVENT_TYPE, EXECUTE_AT, INTERVAL_VALUE, INTERVAL_FIELD, STATUS,ON_COMPLETION, EVENT_COMMENT FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_NAME='one_event'; SELECT EVENT_CATALOG, EVENT_SCHEMA, EVENT_NAME, DEFINER, EVENT_BODY, EVENT_DEFINITION, EVENT_TYPE, EXECUTE_AT, INTERVAL_VALUE, INTERVAL_FIELD, STATUS,ON_COMPLETION, EVENT_COMMENT FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_NAME='one_event';
call mtr.add_suppression("WSREP: Failed to scan the last segment to the end. Last events may be missing. Last recovered event:.*"); call mtr.add_suppression("WSREP: Failed to scan the last segment to the end\\. Last events may be missing\\. Last recovered event: ");
--connection node_1 --connection node_1
SELECT * FROM t1; SELECT * FROM t1;
......
--source include/galera_cluster.inc --source include/galera_cluster.inc
--source include/have_innodb.inc
CREATE TABLE author ( CREATE TABLE author (
id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
......
--source include/galera_cluster.inc --source include/galera_cluster.inc
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since.*"); call mtr.add_suppression("Unsafe statement written to the binary log using statement format since ");
SET GLOBAL wsrep_forced_binlog_format=ROW; SET GLOBAL wsrep_forced_binlog_format=ROW;
......
...@@ -126,7 +126,6 @@ DELIMITER ;| ...@@ -126,7 +126,6 @@ DELIMITER ;|
--send CALL insert_10m (); --send CALL insert_10m ();
--connection node_2 --connection node_2
call mtr.add_suppression("Error in Log_event::read_log_event\(\):.*");
SET SESSION wsrep_sync_wait = 0; SET SESSION wsrep_sync_wait = 0;
# Make sure that node_2 is not killed while TOIs are applied. # Make sure that node_2 is not killed while TOIs are applied.
...@@ -200,12 +199,12 @@ DROP PROCEDURE insert_1k; ...@@ -200,12 +199,12 @@ DROP PROCEDURE insert_1k;
DROP PROCEDURE insert_1m; DROP PROCEDURE insert_1m;
--connection node_1 --connection node_1
call mtr.add_suppression("Error in Log_event::read_log_event\(\):.*"); call mtr.add_suppression("Error in Log_event::read_log_event\\(\\)");
CALL mtr.add_suppression("conflict state 7 after post commit"); CALL mtr.add_suppression("conflict state 7 after post commit");
# Warning happens when the cluster is started for the first time # Warning happens when the cluster is started for the first time
CALL mtr.add_suppression("Skipped GCache ring buffer recovery"); CALL mtr.add_suppression("Skipped GCache ring buffer recovery");
--connection node_2 --connection node_2
call mtr.add_suppression("Error in Log_event::read_log_event\(\):.*"); call mtr.add_suppression("Error in Log_event::read_log_event\\(\\)");
CALL mtr.add_suppression("Skipped GCache ring buffer recovery"); CALL mtr.add_suppression("Skipped GCache ring buffer recovery");
...@@ -43,7 +43,7 @@ CREATE TABLE t1 (f1 INTEGER); ...@@ -43,7 +43,7 @@ CREATE TABLE t1 (f1 INTEGER);
--eval SET GLOBAL wsrep_ignore_apply_errors = $restore_wsrep_ignore_apply_errors --eval SET GLOBAL wsrep_ignore_apply_errors = $restore_wsrep_ignore_apply_errors
DROP TABLE t1; DROP TABLE t1;
CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on"); CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on ");
# Restore original auto_increment_offset values. # Restore original auto_increment_offset values.
--source include/auto_increment_offset_restore.inc --source include/auto_increment_offset_restore.inc
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
--connection node_1 --connection node_1
select @@gtid_domain_id, @@server_id, @@wsrep_gtid_domain_id,@@wsrep_gtid_mode; select @@gtid_domain_id, @@server_id, @@wsrep_gtid_domain_id,@@wsrep_gtid_mode;
--connection node_2 --connection node_2
call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node."); call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node\\.");
select @@gtid_domain_id, @@server_id, @@wsrep_gtid_domain_id,@@wsrep_gtid_mode; select @@gtid_domain_id, @@server_id, @@wsrep_gtid_domain_id,@@wsrep_gtid_mode;
--connection node_1 --connection node_1
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
--source suite/galera/include/galera_sst_set_mysqldump.inc --source suite/galera/include/galera_sst_set_mysqldump.inc
call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to .*"); call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to ");
--let $node_1=node_1 --let $node_1=node_1
--let $node_2=node_2 --let $node_2=node_2
......
...@@ -96,4 +96,3 @@ DROP TABLE t1; ...@@ -96,4 +96,3 @@ DROP TABLE t1;
--source include/auto_increment_offset_restore.inc --source include/auto_increment_offset_restore.inc
--source include/galera_end.inc --source include/galera_end.inc
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
--source include/auto_increment_offset_save.inc --source include/auto_increment_offset_save.inc
--connection node_1 --connection node_1
call mtr.add_suppression("WSREP: Last Applied Action message in non-primary configuration from member .*"); call mtr.add_suppression("WSREP: Last Applied Action message in non-primary configuration from member ");
# Enable the master to continue running during the split-brain situation that # Enable the master to continue running during the split-brain situation that
# occurs when the slave is killed # occurs when the slave is killed
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
--connection node_1 --connection node_1
call mtr.add_suppression("WSREP: RSU failed due to pending transactions, schema: test, query ALTER.*"); call mtr.add_suppression("WSREP: RSU failed due to pending transactions, schema: test, query ALTER");
call mtr.add_suppression("WSREP: ALTER TABLE isolation failure"); call mtr.add_suppression("WSREP: ALTER TABLE isolation failure");
--connection node_1 --connection node_1
...@@ -438,6 +438,3 @@ reap; ...@@ -438,6 +438,3 @@ reap;
--connection node_1 --connection node_1
DROP TABLE t1; DROP TABLE t1;
DROP PROCEDURE p1; DROP PROCEDURE p1;
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
--connect node_4, 127.0.0.1, root, , test, $NODE_MYPORT_4 --connect node_4, 127.0.0.1, root, , test, $NODE_MYPORT_4
--connection node_2 --connection node_2
call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node."); call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node\\.");
--connection node_4 --connection node_4
call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node."); call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node\\.");
--connection node_3 --connection node_3
......
...@@ -87,7 +87,7 @@ SELECT COUNT(*) AS EXPECT_10000 FROM t1; ...@@ -87,7 +87,7 @@ SELECT COUNT(*) AS EXPECT_10000 FROM t1;
--source include/wait_condition.inc --source include/wait_condition.inc
--connection node_2 --connection node_2
call mtr.add_suppression("Slave: Operation CREATE USER failed for .*"); call mtr.add_suppression("Slave: Operation CREATE USER failed for ");
SELECT COUNT(*) AS EXPECT_0 FROM mysql.gtid_slave_pos; SELECT COUNT(*) AS EXPECT_0 FROM mysql.gtid_slave_pos;
SELECT COUNT(*) AS EXPECT_10000 FROM t1; SELECT COUNT(*) AS EXPECT_10000 FROM t1;
......
...@@ -125,7 +125,7 @@ SELECT * FROM t1; ...@@ -125,7 +125,7 @@ SELECT * FROM t1;
# Sanity check (node 2 is running now and can perform SQL operators): # Sanity check (node 2 is running now and can perform SQL operators):
call mtr.add_suppression("WSREP: Failed to scan the last segment to the end. Last events may be missing. Last recovered event:"); call mtr.add_suppression("WSREP: Failed to scan the last segment to the end\\. Last events may be missing\\. Last recovered event: ");
SELECT * FROM t1; SELECT * FROM t1;
--connection node_1 --connection node_1
......
...@@ -31,5 +31,5 @@ SELECT COUNT(*) = 1 FROM t1 WHERE f1 = REPEAT('a', 333) AND f2 = REPEAT('b', 655 ...@@ -31,5 +31,5 @@ SELECT COUNT(*) = 1 FROM t1 WHERE f1 = REPEAT('a', 333) AND f2 = REPEAT('b', 655
--connection node_1 --connection node_1
DROP TABLE t1; DROP TABLE t1;
CALL mtr.add_suppression("Unknown parameter 'socket\.ssl_compression'"); CALL mtr.add_suppression("Unknown parameter 'socket\\.ssl_compression'");
CALL mtr.add_suppression("Set options returned 7"); CALL mtr.add_suppression("Set options returned 7");
...@@ -8,11 +8,6 @@ ...@@ -8,11 +8,6 @@
--source include/have_innodb.inc --source include/have_innodb.inc
--source include/have_ssl_communication.inc --source include/have_ssl_communication.inc
--connection node_1
call mtr.add_suppression("WSREP: write_handler().*");
--connection node_2
call mtr.add_suppression("WSREP: write_handler():.*");
# Save original auto_increment_offset values. # Save original auto_increment_offset values.
--let $node_1=node_1 --let $node_1=node_1
--let $node_2=node_2 --let $node_2=node_2
...@@ -77,7 +72,6 @@ SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_N ...@@ -77,7 +72,6 @@ SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_N
--source include/auto_increment_offset_restore.inc --source include/auto_increment_offset_restore.inc
--connection node_1 --connection node_1
call mtr.add_suppression("WSREP: write_handler().*"); call mtr.add_suppression("WSREP: write_handler\\(\\)");
--connection node_2 --connection node_2
call mtr.add_suppression("WSREP: write_handler():.*"); call mtr.add_suppression("WSREP: write_handler\\(\\)");
...@@ -28,7 +28,7 @@ SHOW CREATE TABLE t1; ...@@ -28,7 +28,7 @@ SHOW CREATE TABLE t1;
DROP TABLE t1; DROP TABLE t1;
DROP TABLE ten; DROP TABLE ten;
CALL mtr.add_suppression("Ignoring error 'Duplicate entry '111110' for key 'PRIMARY'' on query."); CALL mtr.add_suppression("Ignoring error 'Duplicate entry '111110' for key 'PRIMARY'' on query\\.");
--connection node_2 --connection node_2
CALL mtr.add_suppression("Ignoring error 'Duplicate entry '111110' for key 'PRIMARY'' on query."); CALL mtr.add_suppression("Ignoring error 'Duplicate entry '111110' for key 'PRIMARY'' on query\\.");
\ No newline at end of file
...@@ -277,15 +277,14 @@ SET GLOBAL wsrep_on = ON; ...@@ -277,15 +277,14 @@ SET GLOBAL wsrep_on = ON;
CREATE TABLE t1 (f1 INTEGER, f2 INTEGER); CREATE TABLE t1 (f1 INTEGER, f2 INTEGER);
DROP TABLE t1; DROP TABLE t1;
--connection node_2 --connection node_2
SET GLOBAL wsrep_ignore_apply_errors = 7; SET GLOBAL wsrep_ignore_apply_errors = 7;
CALL mtr.add_suppression("Can't find record in 't.*'"); CALL mtr.add_suppression("Can't find record in 't.*'");
CALL mtr.add_suppression("Slave SQL: Could not execute Delete_rows event"); CALL mtr.add_suppression("Slave SQL: Could not execute Delete_rows event");
CALL mtr.add_suppression("Slave SQL: Error 'Unknown table 'test.t1'' on query. Default database: 'test'. Query: 'DROP TABLE t1', Error_code: 1051"); CALL mtr.add_suppression("Slave SQL: Error 'Unknown table 'test\\.t1'' on query\\. Default database: 'test'\\. Query: 'DROP TABLE t1', Error_code: 1051");
CALL mtr.add_suppression("Slave SQL: Error 'Can't drop database 's1'; database doesn't exist' on query. Default database: 'test'. Query: 'DROP SCHEMA s1', Error_code: 1008"); CALL mtr.add_suppression("Slave SQL: Error 'Can't drop database 's1'; database doesn't exist' on query\\. Default database: 'test'\\. Query: 'DROP SCHEMA s1', Error_code: 1008");
CALL mtr.add_suppression("Slave SQL: Error 'Can't DROP 'idx1'; check that column/key exists' on query. Default database: 'test'. Query: 'DROP INDEX idx1 ON t1', Error_code: 1091"); CALL mtr.add_suppression("Slave SQL: Error 'Can't DROP 'idx1'; check that column/key exists' on query\\. Default database: 'test'\\. Query: 'DROP INDEX idx1 ON t1', Error_code: 1091");
CALL mtr.add_suppression("Slave SQL: Error 'Can't DROP 'idx1'; check that column/key exists' on query. Default database: 'test'. Query: 'ALTER TABLE t1 DROP INDEX idx1', Error_code: 1091"); CALL mtr.add_suppression("Slave SQL: Error 'Can't DROP 'idx1'; check that column/key exists' on query\\. Default database: 'test'\\. Query: 'ALTER TABLE t1 DROP INDEX idx1', Error_code: 1091");
CALL mtr.add_suppression("Slave SQL: Error 'Can't DROP 'f2'; check that column/key exists' on query. Default database: 'test'. Query: 'ALTER TABLE t1 DROP COLUMN f2', Error_code: 1091"); CALL mtr.add_suppression("Slave SQL: Error 'Can't DROP 'f2'; check that column/key exists' on query\\. Default database: 'test'\\. Query: 'ALTER TABLE t1 DROP COLUMN f2', Error_code: 1091");
CALL mtr.add_suppression("Slave SQL: Error 'Table 't1' already exists' on query."); CALL mtr.add_suppression("Slave SQL: Error 'Table 't1' already exists' on query\\.");
...@@ -19,7 +19,7 @@ CREATE TABLE t1 (f1 INT PRIMARY KEY) Engine=InnoDB; ...@@ -19,7 +19,7 @@ CREATE TABLE t1 (f1 INT PRIMARY KEY) Engine=InnoDB;
CREATE TABLE t2 (f1 INT AUTO_INCREMENT PRIMARY KEY) Engine=InnoDB; CREATE TABLE t2 (f1 INT AUTO_INCREMENT PRIMARY KEY) Engine=InnoDB;
--connection node_2 --connection node_2
CALL mtr.add_suppression("WSREP: Refusing exit for the last slave thread."); CALL mtr.add_suppression("WSREP: Refusing exit for the last slave thread\\.");
# Setting wsrep_slave_threads to zero triggers a warning # Setting wsrep_slave_threads to zero triggers a warning
SET GLOBAL wsrep_slave_threads = 0; SET GLOBAL wsrep_slave_threads = 0;
SHOW WARNINGS; SHOW WARNINGS;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
--echo # wsrep_start_position --echo # wsrep_start_position
--echo # --echo #
CALL mtr.add_suppression("WSREP: SST failed for position .*"); CALL mtr.add_suppression("WSREP: SST failed for position ");
SET @wsrep_start_position_global_saved = @@global.wsrep_start_position; SET @wsrep_start_position_global_saved = @@global.wsrep_start_position;
--echo # default --echo # default
......
...@@ -82,12 +82,12 @@ CALL mtr.add_suppression("Slave SQL: Error 'Unknown table"); ...@@ -82,12 +82,12 @@ CALL mtr.add_suppression("Slave SQL: Error 'Unknown table");
--connection node_3 --connection node_3
SELECT COUNT(*) AS expect_0 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't1'; SELECT COUNT(*) AS expect_0 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't1';
SELECT COUNT(*) AS expect_1 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't2'; SELECT COUNT(*) AS expect_1 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't2';
CALL mtr.add_suppression("WSREP: Vote 0 \\(success\\) on .* is inconsistent with group. Leaving cluster."); CALL mtr.add_suppression("WSREP: Vote 0 \\(success\\) on .* is inconsistent with group\\. Leaving cluster\\.");
--connection node_4 --connection node_4
SELECT COUNT(*) AS expect_0 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't1'; SELECT COUNT(*) AS expect_0 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't1';
SELECT COUNT(*) AS expect_1 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't2'; SELECT COUNT(*) AS expect_1 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't2';
CALL mtr.add_suppression("WSREP: Vote 0 \\(success\\) on .* is inconsistent with group. Leaving cluster."); CALL mtr.add_suppression("WSREP: Vote 0 \\(success\\) on .* is inconsistent with group\\. Leaving cluster\\.");
DROP TABLE t2; DROP TABLE t2;
......
...@@ -9,11 +9,10 @@ ...@@ -9,11 +9,10 @@
--source include/galera_cluster.inc --source include/galera_cluster.inc
--source include/have_innodb.inc --source include/have_innodb.inc
CALL mtr.add_suppression("WSREP: Stray state UUID msg:.*"); CALL mtr.add_suppression("WSREP: Stray state UUID msg:");
CALL mtr.add_suppression("WSREP: Sending JOIN failed:.*"); CALL mtr.add_suppression("Sending JOIN failed: ");
CALL mtr.add_suppression("WSREP: .* sending install message failed: Socket is not connected");
CALL mtr.add_suppression("There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside"); CALL mtr.add_suppression("There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside");
call mtr.add_suppression("WSREP: Sending JOIN failed:.*");
SELECT VARIABLE_VALUE = 4 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size'; SELECT VARIABLE_VALUE = 4 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
...@@ -37,4 +36,3 @@ SELECT VARIABLE_VALUE LIKE '%gmcast.segment = 3%' FROM INFORMATION_SCHEMA.GLOBAL ...@@ -37,4 +36,3 @@ SELECT VARIABLE_VALUE LIKE '%gmcast.segment = 3%' FROM INFORMATION_SCHEMA.GLOBAL
SELECT COUNT(*) = 1 FROM t1; SELECT COUNT(*) = 1 FROM t1;
DROP TABLE t1; DROP TABLE t1;
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
--source include/have_innodb.inc --source include/have_innodb.inc
--let LOGF=$MYSQLTEST_VARDIR/log/mysqld.1.err --let LOGF=$MYSQLTEST_VARDIR/log/mysqld.1.err
--disable_info --disable_info
call mtr.add_suppression("WSREP\: Unknown parameter 'gmcasts\.segment'"); call mtr.add_suppression("WSREP\: Unknown parameter 'gmcasts\\.segment'");
call mtr.add_suppression("WSREP\: Set options returned 7"); call mtr.add_suppression("WSREP\: Set options returned 7");
--error ER_WRONG_ARGUMENTS --error ER_WRONG_ARGUMENTS
SET GLOBAL wsrep_provider_options="gmcasts.segment=1"; SET GLOBAL wsrep_provider_options="gmcasts.segment=1";
......
...@@ -26,7 +26,7 @@ SHOW STATUS LIKE 'wsrep_cluster_status'; ...@@ -26,7 +26,7 @@ SHOW STATUS LIKE 'wsrep_cluster_status';
--enable_query_log --enable_query_log
--source include/wait_until_connected_again.inc --source include/wait_until_connected_again.inc
--source include/galera_wait_ready.inc --source include/galera_wait_ready.inc
call mtr.add_suppression("WSREP: .*Invalid backend URI.*"); call mtr.add_suppression("WSREP: .*Invalid backend URI");
call mtr.add_suppression("WSREP: gcs connect failed: Invalid argument"); call mtr.add_suppression("WSREP: gcs connect failed: Invalid argument");
# Restore original auto_increment_offset values. # Restore original auto_increment_offset values.
......
--source include/galera_cluster.inc --source include/galera_cluster.inc
call mtr.add_suppression("BINLOG_BASE64_EVENT: Could not read field");
call mtr.add_suppression("BINLOG_BASE64_EVENT: Could not read field.*"); call mtr.add_suppression("BINLOG_BASE64_EVENT: Could not execute Write_rows_v1 event on table");
call mtr.add_suppression("BINLOG_BASE64_EVENT: Could not execute Write_rows_v1 event on table.*");
CREATE TABLE t1 (a INT NOT NULL AUTO_INCREMENT PRIMARY KEY, b INT, KEY(b)) engine=innodb; CREATE TABLE t1 (a INT NOT NULL AUTO_INCREMENT PRIMARY KEY, b INT, KEY(b)) engine=innodb;
BINLOG 'AMqaOw8BAAAAdAAAAHgAAAAAAAQANS42LjM0LTc5LjEtZGVidWctbG9nAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAEzgNAAgAEgAEBAQEEgAAXAAEGggAAAAICAgCAAAACgoKGRkAAYVx w2w='; BINLOG 'AMqaOw8BAAAAdAAAAHgAAAAAAAQANS42LjM0LTc5LjEtZGVidWctbG9nAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAEzgNAAgAEgAEBAQEEgAAXAAEGggAAAAICAgCAAAACgoKGRkAAYVx w2w=';
--error ER_GET_ERRNO --error ER_GET_ERRNO
......
--source include/galera_cluster.inc --source include/galera_cluster.inc
call mtr.add_suppression("Sending JOIN failed:.*"); call mtr.add_suppression("Sending JOIN failed: ");
--connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3 --connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
galera_2_cluster : MDEV-32631 galera_2_cluster: before_rollback(): Assertion `0' failed galera_2_cluster : MDEV-32631 galera_2_cluster: before_rollback(): Assertion `0' failed
galera_gtid_2_cluster : MDEV-32633 galera_gtid_2_cluster: Assertion `thd->wsrep_next_trx_id() != (0x7fffffffffffffffLL * 2ULL + 1)' galera_gtid_2_cluster : MDEV-32633 galera_gtid_2_cluster: Assertion `thd->wsrep_next_trx_id() != (0x7fffffffffffffffLL * 2ULL + 1)'
galera_ssl_reload : MDEV-32778 galera_ssl_reload failed with warning message galera_ssl_reload : MDEV-32778 galera_ssl_reload failed with warning message
galera_ipv6_mariabackup : temporarily disabled at the request of Codership
galera_pc_bootstrap : temporarily disabled at the request of Codership galera_pc_bootstrap : temporarily disabled at the request of Codership
galera_ipv6_mariabackup_section : temporarily disabled at the request of Codership galera_ipv6_mariabackup_section : temporarily disabled at the request of Codership
# Opensuse/suse/rocky9/rocky84/rhel9/rhel8-ppc64le .. - all same IPv6 isn't configured right or skipping or galera # Opensuse/suse/rocky9/rocky84/rhel9/rhel8-ppc64le .. - all same IPv6 isn't configured right or skipping or galera
......
...@@ -6,4 +6,3 @@ ...@@ -6,4 +6,3 @@
system("kill -SIGCONT $mysqld_pid"); system("kill -SIGCONT $mysqld_pid");
exit(0); exit(0);
EOF EOF
...@@ -43,13 +43,13 @@ Nodes 2 and 3 started ...@@ -43,13 +43,13 @@ Nodes 2 and 3 started
connection node_2; connection node_2;
USE test; USE test;
Node 2 synced Node 2 synced
CALL mtr.add_suppression("Slave SQL: Error 'Unknown database 'test'' on query. Default database: 'test'. Query: 'CREATE TABLE test.t1 \\\(f1 INTEGER\\\)', Error_code: 1049"); CALL mtr.add_suppression("Slave SQL: Error 'Unknown database 'test'' on query\\. Default database: 'test'\\. Query: 'CREATE TABLE test\\.t1 \\(f1 INTEGER\\)', Error_code: 1049");
CALL mtr.add_suppression("Query apply failed"); CALL mtr.add_suppression("Query apply failed");
CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on .*"); CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on ");
CALL mtr.add_suppression("Plugin 'InnoDB' will be forced to shutdown"); CALL mtr.add_suppression("Plugin 'InnoDB' will be forced to shutdown");
connection node_3; connection node_3;
Node 3 synced Node 3 synced
CALL mtr.add_suppression("Slave SQL: Error 'Table 't1' already exists' on query. Default database: 'test'. Query: 'CREATE TABLE test.t1 \\\(f1 INTEGER\\\)', Error_code: 1050"); CALL mtr.add_suppression("Slave SQL: Error 'Table 't1' already exists' on query\\. Default database: 'test'\\. Query: 'CREATE TABLE test\\.t1 \\(f1 INTEGER\\)', Error_code: 1050");
CALL mtr.add_suppression("Query apply failed"); CALL mtr.add_suppression("Query apply failed");
CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on .*"); CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on ");
CALL mtr.add_suppression("Plugin 'InnoDB' will be forced to shutdown"); CALL mtr.add_suppression("Plugin 'InnoDB' will be forced to shutdown");
...@@ -37,13 +37,13 @@ f1 f2 ...@@ -37,13 +37,13 @@ f1 f2
1 a 1 a
DROP TABLE t1; DROP TABLE t1;
connection node_1; connection node_1;
CALL mtr.add_suppression("Slave SQL: Could not execute Write_rows event on table test.t1; Duplicate entry '1' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event's master log FIRST, end_log_pos 155, Error_code: 1062"); CALL mtr.add_suppression("Slave SQL: Could not execute Write_rows event on table test\\.t1; Duplicate entry '1' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event's master log FIRST, end_log_pos 155, Error_code: 1062");
CALL mtr.add_suppression("WSREP: Event 3 Write_rows_v1 apply failed: 121, seqno "); CALL mtr.add_suppression("WSREP: Event 3 Write_rows_v1 apply failed: 121, seqno ");
connection node_2; connection node_2;
CALL mtr.add_suppression("Slave SQL: Could not execute Write_rows event on table test.t1; Duplicate entry '1' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event's master log FIRST, end_log_pos 155, Error_code: 1062"); CALL mtr.add_suppression("Slave SQL: Could not execute Write_rows event on table test\\.t1; Duplicate entry '1' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event's master log FIRST, end_log_pos 155, Error_code: 1062");
CALL mtr.add_suppression("WSREP: Event 3 Write_rows_v1 apply failed: 121, seqno "); CALL mtr.add_suppression("WSREP: Event 3 Write_rows_v1 apply failed: 121, seqno ");
connection node_3; connection node_3;
CALL mtr.add_suppression("WSREP: Vote 0 \\\(success\\\) on (.*) is inconsistent with group. Leaving cluster."); CALL mtr.add_suppression("WSREP: Vote 0 \\(success\\) on (.*) is inconsistent with group\\. Leaving cluster\\.");
CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on "); CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on ");
CALL mtr.add_suppression("Plugin 'InnoDB' will be forced to shutdown"); CALL mtr.add_suppression("Plugin 'InnoDB' will be forced to shutdown");
connection node_1; connection node_1;
...@@ -86,6 +86,6 @@ DROP TABLE t1; ...@@ -86,6 +86,6 @@ DROP TABLE t1;
connection node_2; connection node_2;
CALL mtr.add_suppression("Slave SQL: Could not execute Write_rows event on table test.t1; Duplicate entry '1' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event's master log FIRST, end_log_pos (.*), Error_code: 1062"); CALL mtr.add_suppression("Slave SQL: Could not execute Write_rows event on table test.t1; Duplicate entry '1' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event's master log FIRST, end_log_pos (.*), Error_code: 1062");
CALL mtr.add_suppression("WSREP: Event (.*) Write_rows_v1 apply failed: 121, seqno "); CALL mtr.add_suppression("WSREP: Event (.*) Write_rows_v1 apply failed: 121, seqno ");
CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on (.*)"); CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on ");
CALL mtr.add_suppression("Plugin 'InnoDB' will be forced to shutdown"); CALL mtr.add_suppression("Plugin 'InnoDB' will be forced to shutdown");
CALL mtr.add_suppression("WSREP: Failed to apply write set: "); CALL mtr.add_suppression("WSREP: Failed to apply write set: ");
...@@ -56,7 +56,7 @@ connection node_1; ...@@ -56,7 +56,7 @@ connection node_1;
set global wsrep_gtid_domain_id=100; set global wsrep_gtid_domain_id=100;
connection node_2; connection node_2;
set global wsrep_gtid_domain_id=100; set global wsrep_gtid_domain_id=100;
CALL mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node."); CALL mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node\\.");
connection node_3; connection node_3;
set global wsrep_gtid_domain_id=100; set global wsrep_gtid_domain_id=100;
CALL mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node."); CALL mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node\\.");
...@@ -25,8 +25,8 @@ connection node_2; ...@@ -25,8 +25,8 @@ connection node_2;
Killing server ... Killing server ...
# restart # restart
connection node_2; connection node_2;
CALL mtr.add_suppression("Inconsistent by consensus."); CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on ");
CALL mtr.add_suppression("Slave SQL: Could not execute Write_rows event on table test.t1; Duplicate entry '1' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event's master log FIRST"); CALL mtr.add_suppression("Slave SQL: Could not execute Write_rows event on table test\\.t1; Duplicate entry '1' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event's master log FIRST");
CALL mtr.add_suppression("WSREP: Event 3 Write_rows_v1 apply failed: 121, seqno"); CALL mtr.add_suppression("WSREP: Event 3 Write_rows_v1 apply failed: 121, seqno");
CALL mtr.add_suppression("WSREP: Node consistency compromized, leaving cluster..."); CALL mtr.add_suppression("WSREP: Node consistency compromized, leaving cluster\\.\\.\\.");
CALL mtr.add_suppression("WSREP: Failed to apply write set: "); CALL mtr.add_suppression("WSREP: Failed to apply write set: ");
...@@ -29,7 +29,7 @@ COUNT(*) ...@@ -29,7 +29,7 @@ COUNT(*)
connection node_3; connection node_3;
Resuming node ... Resuming node ...
CALL mtr.add_suppression("WSREP: gcs_caused"); CALL mtr.add_suppression("WSREP: gcs_caused");
CALL mtr.add_suppression("WSREP: gcs/src/gcs_core.cpp:core_handle_uuid_msg"); CALL mtr.add_suppression("WSREP: gcs/src/gcs_core\\.cpp:core_handle_uuid_msg");
SET SESSION wsrep_sync_wait = 15; SET SESSION wsrep_sync_wait = 15;
SELECT COUNT(*) FROM t1; SELECT COUNT(*) FROM t1;
COUNT(*) COUNT(*)
......
...@@ -26,8 +26,8 @@ DROP TABLE t1; ...@@ -26,8 +26,8 @@ DROP TABLE t1;
Restarting node #3 to satisfy MTR's end-of-test checks Restarting node #3 to satisfy MTR's end-of-test checks
connection node_3; connection node_3;
connection node_1; connection node_1;
CALL mtr.add_suppression("WSREP: Protocol violation\. JOIN message sender 1\.0 \(.*\) is not in state transfer \(SYNCED\)"); CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender 1\\.0 (.*) is not in state transfer \\(SYNCED\\)");
connection node_2; connection node_2;
CALL mtr.add_suppression("WSREP: Protocol violation\. JOIN message sender 1\.0 \(.*\) is not in state transfer \(SYNCED\)"); CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender 1\\.0 (.*) is not in state transfer \\(SYNCED\\)");
connection node_3; connection node_3;
CALL mtr.add_suppression("WSREP: Protocol violation\. JOIN message sender 1\.0 \(.*\) is not in state transfer \(SYNCED\)"); CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender 1\\.0 (.*) is not in state transfer \\(SYNCED\\)");
...@@ -34,8 +34,8 @@ Restarting node #3 to satisfy MTR's end-of-test checks ...@@ -34,8 +34,8 @@ Restarting node #3 to satisfy MTR's end-of-test checks
connection node_3; connection node_3;
connection node_1; connection node_1;
connection node_1; connection node_1;
CALL mtr.add_suppression("WSREP: Protocol violation\. JOIN message sender 1\.0 \(.*\) is not in state transfer \(SYNCED\)"); CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender 1\\.0 (.*) is not in state transfer \\(SYNCED\\)");
connection node_2; connection node_2;
CALL mtr.add_suppression("WSREP: Protocol violation\. JOIN message sender 1\.0 \(.*\) is not in state transfer \(SYNCED\)"); CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender 1\\.0 (.*) is not in state transfer \\(SYNCED\\)");
connection node_3; connection node_3;
CALL mtr.add_suppression("WSREP: Protocol violation\. JOIN message sender 1\.0 \(.*\) is not in state transfer \(SYNCED\)"); CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender 1\\.0 (.*) is not in state transfer \\(SYNCED\\)");
...@@ -197,16 +197,17 @@ COUNT(*) ...@@ -197,16 +197,17 @@ COUNT(*)
2750 2750
connection node_2; connection node_2;
call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node"); call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node");
call mtr.add_suppression("WSREP: Sending JOIN failed:.*"); call mtr.add_suppression("Sending JOIN failed: ");
call mtr.add_suppression("Sending JOIN failed:.*"); call mtr.add_suppression("WSREP: Failed to JOIN the cluster after SST");
call mtr.add_suppression("WSREP: Failed to JOIN the cluster after SST.*"); call mtr.add_suppression("WSREP: FLOW message from member .* in non-primary configuration");
connection node_3; connection node_3;
call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node"); call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node");
call mtr.add_suppression("WSREP: Sending JOIN failed:.*"); call mtr.add_suppression("Sending JOIN failed: ");
call mtr.add_suppression("Sending JOIN failed:.*"); call mtr.add_suppression("WSREP: Failed to JOIN the cluster after SST");
call mtr.add_suppression("WSREP: Failed to JOIN the cluster after SST.*"); call mtr.add_suppression("WSREP: FLOW message from member .* in non-primary configuration");
# cleanup # cleanup
connection node_1; connection node_1;
call mtr.add_suppression("WSREP: FLOW message from member .* in non-primary configuration");
DROP PROCEDURE insert_row; DROP PROCEDURE insert_row;
DROP TABLE t1; DROP TABLE t1;
DROP TABLE t2; DROP TABLE t2;
......
connection node_2; connection node_2;
connection node_1; connection node_1;
call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to'"); call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to '127\\.0\\.0\\.1'");
call mtr.add_suppression("Failed to load slave replication state from table mysql.gtid_slave_pos"); call mtr.add_suppression("Failed to load slave replication state from table mysql\\.gtid_slave_pos");
connection node_1; connection node_1;
connection node_2; connection node_2;
connection node_3; connection node_3;
...@@ -35,6 +35,6 @@ CALL mtr.add_suppression("Can't open and lock time zone table"); ...@@ -35,6 +35,6 @@ CALL mtr.add_suppression("Can't open and lock time zone table");
CALL mtr.add_suppression("Can't open and lock privilege tables"); CALL mtr.add_suppression("Can't open and lock privilege tables");
CALL mtr.add_suppression("Info table is not ready to be used"); CALL mtr.add_suppression("Info table is not ready to be used");
CALL mtr.add_suppression("Native table .* has the wrong structure"); CALL mtr.add_suppression("Native table .* has the wrong structure");
CALL mtr.add_suppression("Table \'mysql.gtid_slave_pos\' doesn\'t exist"); CALL mtr.add_suppression("Table 'mysql\\.gtid_slave_pos' doesn't exist");
connection node_2; connection node_2;
CALL mtr.add_suppression("Unsupported protocol downgrade: incremental data collection disabled. Expect abort"); CALL mtr.add_suppression("Unsupported protocol downgrade: incremental data collection disabled\\. Expect abort");
...@@ -77,8 +77,8 @@ SET GLOBAL wsrep_provider_options = 'signal=process_primary_configuration'; ...@@ -77,8 +77,8 @@ SET GLOBAL wsrep_provider_options = 'signal=process_primary_configuration';
SET GLOBAL wsrep_provider_options = 'dbug='; SET GLOBAL wsrep_provider_options = 'dbug=';
connection node_1; connection node_1;
DROP TABLE t1; DROP TABLE t1;
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); call mtr.add_suppression("WSREP: Rejecting JOIN message from (.*): new State Transfer required\\.");
connection node_2; connection node_2;
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); call mtr.add_suppression("WSREP: Rejecting JOIN message from (.*): new State Transfer required\\.");
connection node_3; connection node_3;
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); call mtr.add_suppression("WSREP: Rejecting JOIN message from (.*): new State Transfer required\\.");
...@@ -87,11 +87,11 @@ SET GLOBAL wsrep_provider_options = 'signal=process_primary_configuration'; ...@@ -87,11 +87,11 @@ SET GLOBAL wsrep_provider_options = 'signal=process_primary_configuration';
SET GLOBAL wsrep_provider_options = 'dbug='; SET GLOBAL wsrep_provider_options = 'dbug=';
connection node_1; connection node_1;
DROP TABLE t1; DROP TABLE t1;
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); call mtr.add_suppression("WSREP: Rejecting JOIN message from (.*): new State Transfer required\\.");
connection node_2; connection node_2;
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); call mtr.add_suppression("WSREP: Rejecting JOIN message from (.*): new State Transfer required\\.");
connection node_3; connection node_3;
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); call mtr.add_suppression("WSREP: Rejecting JOIN message from (.*): new State Transfer required\\.");
disconnect node_1a; disconnect node_1a;
disconnect node_3; disconnect node_3;
disconnect node_2; disconnect node_2;
......
...@@ -94,9 +94,9 @@ SET GLOBAL wsrep_provider_options = 'dbug='; ...@@ -94,9 +94,9 @@ SET GLOBAL wsrep_provider_options = 'dbug=';
SET GLOBAL wsrep_provider_options = 'signal=after_shift_to_joining'; SET GLOBAL wsrep_provider_options = 'signal=after_shift_to_joining';
connection node_1; connection node_1;
DROP TABLE t1; DROP TABLE t1;
call mtr.add_suppression("WSREP: Send action {\(.*\), STATE_REQUEST} returned -107 \\(Transport endpoint is not connected\\)"); call mtr.add_suppression("WSREP: Send action {(.*), STATE_REQUEST} returned -107 \\(Transport endpoint is not connected\\)");
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); call mtr.add_suppression("WSREP: Rejecting JOIN message from (.*): new State Transfer required\\.");
connection node_2; connection node_2;
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); call mtr.add_suppression("WSREP: Rejecting JOIN message from (.*): new State Transfer required\\.");
connection node_3; connection node_3;
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); call mtr.add_suppression("WSREP: Rejecting JOIN message from (.*): new State Transfer required\\.");
connection node_2; connection node_2;
connection node_1; connection node_1;
call mtr.add_suppression("WSREP: gcs/src/gcs_core.cpp:core_handle_uuid_msg\\(\\).*"); call mtr.add_suppression("WSREP: gcs/src/gcs_core\\.cpp:core_handle_uuid_msg\\(\\)");
connection node_1; connection node_1;
connection node_2; connection node_2;
connection node_3; connection node_3;
......
...@@ -43,10 +43,10 @@ CALL mtr.add_suppression("WSREP: moving position backwards: [0-9]+ -> 0"); ...@@ -43,10 +43,10 @@ CALL mtr.add_suppression("WSREP: moving position backwards: [0-9]+ -> 0");
CALL mtr.add_suppression("Failed to prepare for incremental state transfer"); CALL mtr.add_suppression("Failed to prepare for incremental state transfer");
CALL mtr.add_suppression("It may not be safe to bootstrap the cluster from this node"); CALL mtr.add_suppression("It may not be safe to bootstrap the cluster from this node");
CALL mtr.add_suppression("Aborting"); CALL mtr.add_suppression("Aborting");
CALL mtr.add_suppression("Plugin 'wsrep' init function returned error."); CALL mtr.add_suppression("Plugin 'wsrep' init function returned error\\.");
CALL mtr.add_suppression("Plugin 'wsrep' registration as a STORAGE ENGINE failed."); CALL mtr.add_suppression("Plugin 'wsrep' registration as a STORAGE ENGINE failed\\.");
CALL mtr.add_suppression("Failed to initialize plugins."); CALL mtr.add_suppression("Failed to initialize plugins\\.");
CALL mtr.add_suppression("WSREP: gcs/src/gcs_core.cpp:core_handle_uuid_msg()"); CALL mtr.add_suppression("WSREP: gcs/src/gcs_core.cpp:core_handle_uuid_msg\\(\\)");
connection node_3; connection node_3;
CALL mtr.add_suppression("WSREP: no nodes coming from prim view, prim not possible"); CALL mtr.add_suppression("WSREP: no nodes coming from prim view, prim not possible");
CALL mtr.add_suppression("WSREP: It may not be safe to bootstrap the cluster from this node"); CALL mtr.add_suppression("WSREP: It may not be safe to bootstrap the cluster from this node");
...@@ -56,10 +56,10 @@ CALL mtr.add_suppression("WSREP: moving position backwards: [0-9]+ -> 0"); ...@@ -56,10 +56,10 @@ CALL mtr.add_suppression("WSREP: moving position backwards: [0-9]+ -> 0");
CALL mtr.add_suppression("Failed to prepare for incremental state transfer"); CALL mtr.add_suppression("Failed to prepare for incremental state transfer");
CALL mtr.add_suppression("It may not be safe to bootstrap the cluster from this node"); CALL mtr.add_suppression("It may not be safe to bootstrap the cluster from this node");
CALL mtr.add_suppression("Aborting"); CALL mtr.add_suppression("Aborting");
CALL mtr.add_suppression("Plugin 'wsrep' init function returned error."); CALL mtr.add_suppression("Plugin 'wsrep' init function returned error\\.");
CALL mtr.add_suppression("Plugin 'wsrep' registration as a STORAGE ENGINE failed."); CALL mtr.add_suppression("Plugin 'wsrep' registration as a STORAGE ENGINE failed\\.");
CALL mtr.add_suppression("Failed to initialize plugins."); CALL mtr.add_suppression("Failed to initialize plugins\\.");
CALL mtr.add_suppression("WSREP: gcs/src/gcs_core.cpp:core_handle_uuid_msg()"); CALL mtr.add_suppression("WSREP: gcs/src/gcs_core.cpp:core_handle_uuid_msg\\(\\)");
SHOW CREATE TABLE t1; SHOW CREATE TABLE t1;
Table Create Table Table Create Table
t1 CREATE TABLE `t1` ( t1 CREATE TABLE `t1` (
......
...@@ -19,4 +19,4 @@ disconnect node_3; ...@@ -19,4 +19,4 @@ disconnect node_3;
connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3; connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3;
Killing server ... Killing server ...
# restart # restart
CALL mtr.add_suppression("WSREP: Vote 0 \\\(success\\\) on (.*) is inconsistent with group. Leaving cluster."); CALL mtr.add_suppression("WSREP: Vote 0 \\(success\\) on (.*) is inconsistent with group\\. Leaving cluster\\.");
connection node_2; connection node_2;
connection node_1; connection node_1;
Setting SST method to mysqldump ... Setting SST method to mysqldump ...
call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to '127.0.0.1'"); call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to '127\\.0\\.0\\.1'");
call mtr.add_suppression("Failed to load slave replication state from table mysql.gtid_slave_pos"); call mtr.add_suppression("Failed to load slave replication state from table mysql\\.gtid_slave_pos");
connection node_1; connection node_1;
CREATE USER 'sst'; CREATE USER 'sst';
GRANT ALL PRIVILEGES ON *.* TO 'sst'; GRANT ALL PRIVILEGES ON *.* TO 'sst';
...@@ -77,7 +77,7 @@ CALL mtr.add_suppression("Can't open and lock time zone table"); ...@@ -77,7 +77,7 @@ CALL mtr.add_suppression("Can't open and lock time zone table");
CALL mtr.add_suppression("Can't open and lock privilege tables"); CALL mtr.add_suppression("Can't open and lock privilege tables");
CALL mtr.add_suppression("Info table is not ready to be used"); CALL mtr.add_suppression("Info table is not ready to be used");
CALL mtr.add_suppression("Native table .* has the wrong structure"); CALL mtr.add_suppression("Native table .* has the wrong structure");
CALL mtr.add_suppression("Table \'mysql.gtid_slave_pos\' doesn\'t exist"); CALL mtr.add_suppression("Table 'mysql\\.gtid_slave_pos' doesn't exist");
connection node_2; connection node_2;
# restart # restart
connection node_1; connection node_1;
...@@ -135,8 +135,8 @@ SET SESSION wsrep_sync_wait = 15; ...@@ -135,8 +135,8 @@ SET SESSION wsrep_sync_wait = 15;
SET GLOBAL wsrep_on=OFF; SET GLOBAL wsrep_on=OFF;
# restart # restart
DROP TABLE t1; DROP TABLE t1;
CALL mtr.add_suppression('Can\'t find record in \'t1\''); CALL mtr.add_suppression("Can't find record in 't1'");
CALL mtr.add_suppression('Update_rows_v1 apply failed'); CALL mtr.add_suppression("Update_rows_v1 apply failed");
CALL mtr.add_suppression('Inconsistency detected: Inconsistent by consensus on'); CALL mtr.add_suppression("Inconsistency detected: Inconsistent by consensus on");
CALL mtr.add_suppression('last left .* greater than drain seqno'); CALL mtr.add_suppression("last left .* greater than drain seqno");
CALL mtr.add_suppression('WSREP: Failed to apply write set:'); CALL mtr.add_suppression("WSREP: Failed to apply write set: ");
...@@ -88,18 +88,18 @@ USE test; ...@@ -88,18 +88,18 @@ USE test;
--let $wait_condition = SELECT VARIABLE_VALUE = 'ON' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_ready' --let $wait_condition = SELECT VARIABLE_VALUE = 'ON' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_ready'
--source include/wait_condition.inc --source include/wait_condition.inc
--echo Node 2 synced --echo Node 2 synced
CALL mtr.add_suppression("Slave SQL: Error 'Unknown database 'test'' on query. Default database: 'test'. Query: 'CREATE TABLE test.t1 \\\(f1 INTEGER\\\)', Error_code: 1049"); CALL mtr.add_suppression("Slave SQL: Error 'Unknown database 'test'' on query\\. Default database: 'test'\\. Query: 'CREATE TABLE test\\.t1 \\(f1 INTEGER\\)', Error_code: 1049");
CALL mtr.add_suppression("Query apply failed"); CALL mtr.add_suppression("Query apply failed");
CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on .*"); CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on ");
CALL mtr.add_suppression("Plugin 'InnoDB' will be forced to shutdown"); CALL mtr.add_suppression("Plugin 'InnoDB' will be forced to shutdown");
--connection node_3 --connection node_3
--let $wait_condition = SELECT VARIABLE_VALUE = 'ON' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_ready' --let $wait_condition = SELECT VARIABLE_VALUE = 'ON' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_ready'
--source include/wait_condition.inc --source include/wait_condition.inc
--echo Node 3 synced --echo Node 3 synced
CALL mtr.add_suppression("Slave SQL: Error 'Table 't1' already exists' on query. Default database: 'test'. Query: 'CREATE TABLE test.t1 \\\(f1 INTEGER\\\)', Error_code: 1050"); CALL mtr.add_suppression("Slave SQL: Error 'Table 't1' already exists' on query\\. Default database: 'test'\\. Query: 'CREATE TABLE test\\.t1 \\(f1 INTEGER\\)', Error_code: 1050");
CALL mtr.add_suppression("Query apply failed"); CALL mtr.add_suppression("Query apply failed");
CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on .*"); CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on ");
CALL mtr.add_suppression("Plugin 'InnoDB' will be forced to shutdown"); CALL mtr.add_suppression("Plugin 'InnoDB' will be forced to shutdown");
--source ../galera/include/auto_increment_offset_restore.inc --source ../galera/include/auto_increment_offset_restore.inc
...@@ -60,15 +60,15 @@ SELECT * FROM t1; ...@@ -60,15 +60,15 @@ SELECT * FROM t1;
DROP TABLE t1; DROP TABLE t1;
--connection node_1 --connection node_1
CALL mtr.add_suppression("Slave SQL: Could not execute Write_rows event on table test.t1; Duplicate entry '1' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event's master log FIRST, end_log_pos 155, Error_code: 1062"); CALL mtr.add_suppression("Slave SQL: Could not execute Write_rows event on table test\\.t1; Duplicate entry '1' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event's master log FIRST, end_log_pos 155, Error_code: 1062");
CALL mtr.add_suppression("WSREP: Event 3 Write_rows_v1 apply failed: 121, seqno "); CALL mtr.add_suppression("WSREP: Event 3 Write_rows_v1 apply failed: 121, seqno ");
--connection node_2 --connection node_2
CALL mtr.add_suppression("Slave SQL: Could not execute Write_rows event on table test.t1; Duplicate entry '1' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event's master log FIRST, end_log_pos 155, Error_code: 1062"); CALL mtr.add_suppression("Slave SQL: Could not execute Write_rows event on table test\\.t1; Duplicate entry '1' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event's master log FIRST, end_log_pos 155, Error_code: 1062");
CALL mtr.add_suppression("WSREP: Event 3 Write_rows_v1 apply failed: 121, seqno "); CALL mtr.add_suppression("WSREP: Event 3 Write_rows_v1 apply failed: 121, seqno ");
--connection node_3 --connection node_3
CALL mtr.add_suppression("WSREP: Vote 0 \\\(success\\\) on (.*) is inconsistent with group. Leaving cluster."); CALL mtr.add_suppression("WSREP: Vote 0 \\(success\\) on (.*) is inconsistent with group\\. Leaving cluster\\.");
CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on "); CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on ");
CALL mtr.add_suppression("Plugin 'InnoDB' will be forced to shutdown"); CALL mtr.add_suppression("Plugin 'InnoDB' will be forced to shutdown");
......
...@@ -113,6 +113,6 @@ DROP TABLE t1; ...@@ -113,6 +113,6 @@ DROP TABLE t1;
--connection node_2 --connection node_2
CALL mtr.add_suppression("Slave SQL: Could not execute Write_rows event on table test.t1; Duplicate entry '1' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event's master log FIRST, end_log_pos (.*), Error_code: 1062"); CALL mtr.add_suppression("Slave SQL: Could not execute Write_rows event on table test.t1; Duplicate entry '1' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event's master log FIRST, end_log_pos (.*), Error_code: 1062");
CALL mtr.add_suppression("WSREP: Event (.*) Write_rows_v1 apply failed: 121, seqno "); CALL mtr.add_suppression("WSREP: Event (.*) Write_rows_v1 apply failed: 121, seqno ");
CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on (.*)"); CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on ");
CALL mtr.add_suppression("Plugin 'InnoDB' will be forced to shutdown"); CALL mtr.add_suppression("Plugin 'InnoDB' will be forced to shutdown");
CALL mtr.add_suppression("WSREP: Failed to apply write set: "); CALL mtr.add_suppression("WSREP: Failed to apply write set: ");
...@@ -119,8 +119,8 @@ set global wsrep_gtid_domain_id=100; ...@@ -119,8 +119,8 @@ set global wsrep_gtid_domain_id=100;
--connection node_2 --connection node_2
set global wsrep_gtid_domain_id=100; set global wsrep_gtid_domain_id=100;
CALL mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node."); CALL mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node\\.");
--connection node_3 --connection node_3
set global wsrep_gtid_domain_id=100; set global wsrep_gtid_domain_id=100;
CALL mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node."); CALL mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node\\.");
...@@ -60,13 +60,12 @@ DROP TABLE test.t1; ...@@ -60,13 +60,12 @@ DROP TABLE test.t1;
--source include/start_mysqld.inc --source include/start_mysqld.inc
--connection node_2 --connection node_2
CALL mtr.add_suppression("Inconsistent by consensus."); CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on ");
CALL mtr.add_suppression("Slave SQL: Could not execute Write_rows event on table test.t1; Duplicate entry '1' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event's master log FIRST"); CALL mtr.add_suppression("Slave SQL: Could not execute Write_rows event on table test\\.t1; Duplicate entry '1' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event's master log FIRST");
CALL mtr.add_suppression("WSREP: Event 3 Write_rows_v1 apply failed: 121, seqno"); CALL mtr.add_suppression("WSREP: Event 3 Write_rows_v1 apply failed: 121, seqno");
CALL mtr.add_suppression("WSREP: Node consistency compromized, leaving cluster..."); CALL mtr.add_suppression("WSREP: Node consistency compromized, leaving cluster\\.\\.\\.");
CALL mtr.add_suppression("WSREP: Failed to apply write set: "); CALL mtr.add_suppression("WSREP: Failed to apply write set: ");
# Restore original auto_increment_offset values. # Restore original auto_increment_offset values.
--source ../galera/include/auto_increment_offset_restore.inc --source ../galera/include/auto_increment_offset_restore.inc
...@@ -72,7 +72,7 @@ SELECT COUNT(*) FROM t1; ...@@ -72,7 +72,7 @@ SELECT COUNT(*) FROM t1;
--source include/galera_wait_ready.inc --source include/galera_wait_ready.inc
CALL mtr.add_suppression("WSREP: gcs_caused"); CALL mtr.add_suppression("WSREP: gcs_caused");
CALL mtr.add_suppression("WSREP: gcs/src/gcs_core.cpp:core_handle_uuid_msg"); CALL mtr.add_suppression("WSREP: gcs/src/gcs_core\\.cpp:core_handle_uuid_msg");
SET SESSION wsrep_sync_wait = 15; SET SESSION wsrep_sync_wait = 15;
SELECT COUNT(*) FROM t1; SELECT COUNT(*) FROM t1;
......
...@@ -81,10 +81,10 @@ let $restart_noprint=2; ...@@ -81,10 +81,10 @@ let $restart_noprint=2;
# Workaround for galera#101 # Workaround for galera#101
--connection node_1 --connection node_1
CALL mtr.add_suppression("WSREP: Protocol violation\. JOIN message sender 1\.0 \(.*\) is not in state transfer \(SYNCED\)"); CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender 1\\.0 (.*) is not in state transfer \\(SYNCED\\)");
--connection node_2 --connection node_2
CALL mtr.add_suppression("WSREP: Protocol violation\. JOIN message sender 1\.0 \(.*\) is not in state transfer \(SYNCED\)"); CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender 1\\.0 (.*) is not in state transfer \\(SYNCED\\)");
--connection node_3 --connection node_3
CALL mtr.add_suppression("WSREP: Protocol violation\. JOIN message sender 1\.0 \(.*\) is not in state transfer \(SYNCED\)"); CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender 1\\.0 (.*) is not in state transfer \\(SYNCED\\)");
...@@ -127,10 +127,10 @@ let $restart_noprint=2; ...@@ -127,10 +127,10 @@ let $restart_noprint=2;
--source ../galera/include/auto_increment_offset_restore.inc --source ../galera/include/auto_increment_offset_restore.inc
--connection node_1 --connection node_1
CALL mtr.add_suppression("WSREP: Protocol violation\. JOIN message sender 1\.0 \(.*\) is not in state transfer \(SYNCED\)"); CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender 1\\.0 (.*) is not in state transfer \\(SYNCED\\)");
--connection node_2 --connection node_2
CALL mtr.add_suppression("WSREP: Protocol violation\. JOIN message sender 1\.0 \(.*\) is not in state transfer \(SYNCED\)"); CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender 1\\.0 (.*) is not in state transfer \\(SYNCED\\)");
--connection node_3 --connection node_3
CALL mtr.add_suppression("WSREP: Protocol violation\. JOIN message sender 1\.0 \(.*\) is not in state transfer \(SYNCED\)"); CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender 1\\.0 (.*) is not in state transfer \\(SYNCED\\)");
...@@ -316,17 +316,18 @@ SELECT COUNT(*) FROM t1; ...@@ -316,17 +316,18 @@ SELECT COUNT(*) FROM t1;
# #
--connection node_2 --connection node_2
call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node"); call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node");
call mtr.add_suppression("WSREP: Sending JOIN failed:.*"); call mtr.add_suppression("Sending JOIN failed: ");
call mtr.add_suppression("Sending JOIN failed:.*"); call mtr.add_suppression("WSREP: Failed to JOIN the cluster after SST");
call mtr.add_suppression("WSREP: Failed to JOIN the cluster after SST.*"); call mtr.add_suppression("WSREP: FLOW message from member .* in non-primary configuration");
--connection node_3 --connection node_3
call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node"); call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node");
call mtr.add_suppression("WSREP: Sending JOIN failed:.*"); call mtr.add_suppression("Sending JOIN failed: ");
call mtr.add_suppression("Sending JOIN failed:.*"); call mtr.add_suppression("WSREP: Failed to JOIN the cluster after SST");
call mtr.add_suppression("WSREP: Failed to JOIN the cluster after SST.*"); call mtr.add_suppression("WSREP: FLOW message from member .* in non-primary configuration");
--echo # cleanup --echo # cleanup
--connection node_1 --connection node_1
call mtr.add_suppression("WSREP: FLOW message from member .* in non-primary configuration");
DROP PROCEDURE insert_row; DROP PROCEDURE insert_row;
DROP TABLE t1; DROP TABLE t1;
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
--source include/check_ipv6.inc --source include/check_ipv6.inc
--source include/force_restart.inc --source include/force_restart.inc
call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to'"); call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to '127\\.0\\.0\\.1'");
call mtr.add_suppression("Failed to load slave replication state from table mysql.gtid_slave_pos"); call mtr.add_suppression("Failed to load slave replication state from table mysql\\.gtid_slave_pos");
--let $galera_connection_name = node_3 --let $galera_connection_name = node_3
--let $galera_server_number = 3 --let $galera_server_number = 3
...@@ -86,8 +86,9 @@ SELECT VARIABLE_VALUE LIKE '%[::1]%' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE ...@@ -86,8 +86,9 @@ SELECT VARIABLE_VALUE LIKE '%[::1]%' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE
--source ../galera/include/auto_increment_offset_restore.inc --source ../galera/include/auto_increment_offset_restore.inc
--source suite/galera/include/galera_sst_restore.inc --source suite/galera/include/galera_sst_restore.inc
--connection node_2 --connection node_2
CALL mtr.add_suppression("Unsupported protocol downgrade: incremental data collection disabled. Expect abort"); CALL mtr.add_suppression("Unsupported protocol downgrade: incremental data collection disabled\\. Expect abort");
# Restore original auto_increment_offset values. # Restore original auto_increment_offset values.
--source ../galera/include/auto_increment_offset_restore.inc --source ../galera/include/auto_increment_offset_restore.inc
...@@ -259,12 +259,12 @@ INSERT INTO t1 VALUES (9, 2); ...@@ -259,12 +259,12 @@ INSERT INTO t1 VALUES (9, 2);
DROP TABLE t1; DROP TABLE t1;
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); call mtr.add_suppression("WSREP: Rejecting JOIN message from (.*): new State Transfer required\\.");
--connection node_2 --connection node_2
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); call mtr.add_suppression("WSREP: Rejecting JOIN message from (.*): new State Transfer required\\.");
--connection node_3 --connection node_3
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); call mtr.add_suppression("WSREP: Rejecting JOIN message from (.*): new State Transfer required\\.");
--source ../galera/include/auto_increment_offset_restore.inc --source ../galera/include/auto_increment_offset_restore.inc
...@@ -270,13 +270,13 @@ SELECT * FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_debu ...@@ -270,13 +270,13 @@ SELECT * FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_debu
DROP TABLE t1; DROP TABLE t1;
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); call mtr.add_suppression("WSREP: Rejecting JOIN message from (.*): new State Transfer required\\.");
--connection node_2 --connection node_2
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); call mtr.add_suppression("WSREP: Rejecting JOIN message from (.*): new State Transfer required\\.");
--connection node_3 --connection node_3
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); call mtr.add_suppression("WSREP: Rejecting JOIN message from (.*): new State Transfer required\\.");
--disconnect node_1a --disconnect node_1a
......
...@@ -295,13 +295,13 @@ INSERT INTO t1 VALUES (9, 2); ...@@ -295,13 +295,13 @@ INSERT INTO t1 VALUES (9, 2);
DROP TABLE t1; DROP TABLE t1;
call mtr.add_suppression("WSREP: Send action {\(.*\), STATE_REQUEST} returned -107 \\(Transport endpoint is not connected\\)"); call mtr.add_suppression("WSREP: Send action {(.*), STATE_REQUEST} returned -107 \\(Transport endpoint is not connected\\)");
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); call mtr.add_suppression("WSREP: Rejecting JOIN message from (.*): new State Transfer required\\.");
--connection node_2 --connection node_2
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); call mtr.add_suppression("WSREP: Rejecting JOIN message from (.*): new State Transfer required\\.");
--connection node_3 --connection node_3
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); call mtr.add_suppression("WSREP: Rejecting JOIN message from (.*): new State Transfer required\\.");
--source ../galera/include/auto_increment_offset_restore.inc --source ../galera/include/auto_increment_offset_restore.inc
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
--source include/galera_cluster.inc --source include/galera_cluster.inc
--source include/have_innodb.inc --source include/have_innodb.inc
call mtr.add_suppression("WSREP: gcs/src/gcs_core.cpp:core_handle_uuid_msg\\(\\).*"); call mtr.add_suppression("WSREP: gcs/src/gcs_core\\.cpp:core_handle_uuid_msg\\(\\)");
# #
# Create connection node_3 and save auto increment variables. # Create connection node_3 and save auto increment variables.
......
...@@ -191,10 +191,10 @@ CALL mtr.add_suppression("WSREP: moving position backwards: [0-9]+ -> 0"); ...@@ -191,10 +191,10 @@ CALL mtr.add_suppression("WSREP: moving position backwards: [0-9]+ -> 0");
CALL mtr.add_suppression("Failed to prepare for incremental state transfer"); CALL mtr.add_suppression("Failed to prepare for incremental state transfer");
CALL mtr.add_suppression("It may not be safe to bootstrap the cluster from this node"); CALL mtr.add_suppression("It may not be safe to bootstrap the cluster from this node");
CALL mtr.add_suppression("Aborting"); CALL mtr.add_suppression("Aborting");
CALL mtr.add_suppression("Plugin 'wsrep' init function returned error."); CALL mtr.add_suppression("Plugin 'wsrep' init function returned error\\.");
CALL mtr.add_suppression("Plugin 'wsrep' registration as a STORAGE ENGINE failed."); CALL mtr.add_suppression("Plugin 'wsrep' registration as a STORAGE ENGINE failed\\.");
CALL mtr.add_suppression("Failed to initialize plugins."); CALL mtr.add_suppression("Failed to initialize plugins\\.");
CALL mtr.add_suppression("WSREP: gcs/src/gcs_core.cpp:core_handle_uuid_msg()"); CALL mtr.add_suppression("WSREP: gcs/src/gcs_core.cpp:core_handle_uuid_msg\\(\\)");
--connection node_3 --connection node_3
CALL mtr.add_suppression("WSREP: no nodes coming from prim view, prim not possible"); CALL mtr.add_suppression("WSREP: no nodes coming from prim view, prim not possible");
...@@ -205,10 +205,10 @@ CALL mtr.add_suppression("WSREP: moving position backwards: [0-9]+ -> 0"); ...@@ -205,10 +205,10 @@ CALL mtr.add_suppression("WSREP: moving position backwards: [0-9]+ -> 0");
CALL mtr.add_suppression("Failed to prepare for incremental state transfer"); CALL mtr.add_suppression("Failed to prepare for incremental state transfer");
CALL mtr.add_suppression("It may not be safe to bootstrap the cluster from this node"); CALL mtr.add_suppression("It may not be safe to bootstrap the cluster from this node");
CALL mtr.add_suppression("Aborting"); CALL mtr.add_suppression("Aborting");
CALL mtr.add_suppression("Plugin 'wsrep' init function returned error."); CALL mtr.add_suppression("Plugin 'wsrep' init function returned error\\.");
CALL mtr.add_suppression("Plugin 'wsrep' registration as a STORAGE ENGINE failed."); CALL mtr.add_suppression("Plugin 'wsrep' registration as a STORAGE ENGINE failed\\.");
CALL mtr.add_suppression("Failed to initialize plugins."); CALL mtr.add_suppression("Failed to initialize plugins\\.");
CALL mtr.add_suppression("WSREP: gcs/src/gcs_core.cpp:core_handle_uuid_msg()"); CALL mtr.add_suppression("WSREP: gcs/src/gcs_core.cpp:core_handle_uuid_msg\\(\\)");
SHOW CREATE TABLE t1; SHOW CREATE TABLE t1;
......
...@@ -61,7 +61,7 @@ SET SESSION wsrep_sync_wait=0; ...@@ -61,7 +61,7 @@ SET SESSION wsrep_sync_wait=0;
--let $wait_condition = SELECT VARIABLE_VALUE = 'ON' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_ready' --let $wait_condition = SELECT VARIABLE_VALUE = 'ON' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_ready'
--source include/wait_condition.inc --source include/wait_condition.inc
CALL mtr.add_suppression("WSREP: Vote 0 \\\(success\\\) on (.*) is inconsistent with group. Leaving cluster."); CALL mtr.add_suppression("WSREP: Vote 0 \\(success\\) on (.*) is inconsistent with group\\. Leaving cluster\\.");
# Restore original auto_increment_offset values. # Restore original auto_increment_offset values.
--source ../galera/include/auto_increment_offset_restore.inc --source ../galera/include/auto_increment_offset_restore.inc
...@@ -5,4 +5,3 @@ wsrep_node_address=127.0.0.1 ...@@ -5,4 +5,3 @@ wsrep_node_address=127.0.0.1
[mysqld.3] [mysqld.3]
wsrep_node_address=localhost wsrep_node_address=localhost
...@@ -180,11 +180,11 @@ SET GLOBAL wsrep_on=OFF; ...@@ -180,11 +180,11 @@ SET GLOBAL wsrep_on=OFF;
DROP TABLE t1; DROP TABLE t1;
CALL mtr.add_suppression('Can\'t find record in \'t1\''); CALL mtr.add_suppression("Can't find record in 't1'");
CALL mtr.add_suppression('Update_rows_v1 apply failed'); CALL mtr.add_suppression("Update_rows_v1 apply failed");
CALL mtr.add_suppression('Inconsistency detected: Inconsistent by consensus on'); CALL mtr.add_suppression("Inconsistency detected: Inconsistent by consensus on");
CALL mtr.add_suppression('last left .* greater than drain seqno'); CALL mtr.add_suppression("last left .* greater than drain seqno");
CALL mtr.add_suppression('WSREP: Failed to apply write set:'); CALL mtr.add_suppression("WSREP: Failed to apply write set: ");
# Restore original auto_increment_offset values. # Restore original auto_increment_offset values.
--source ../galera/include/auto_increment_offset_restore.inc --source ../galera/include/auto_increment_offset_restore.inc
...@@ -54,5 +54,4 @@ CALL mtr.add_suppression("WSREP: failed to send SR rollback for "); ...@@ -54,5 +54,4 @@ CALL mtr.add_suppression("WSREP: failed to send SR rollback for ");
--connection node_3 --connection node_3
--source include/galera_wait_ready.inc --source include/galera_wait_ready.inc
--enable_ps2_protocol --enable_ps2_protocol
...@@ -12,4 +12,4 @@ SELECT * FROM t1; ...@@ -12,4 +12,4 @@ SELECT * FROM t1;
f1 f1
SET debug_dbug='-d,ib_create_table_fail_too_many_trx'; SET debug_dbug='-d,ib_create_table_fail_too_many_trx';
DROP TABLE t1; DROP TABLE t1;
CALL mtr.add_suppression("Error writing into mysql.wsrep_streaming_log: 177"); CALL mtr.add_suppression("Error writing into mysql\\.wsrep_streaming_log: 177");
...@@ -61,7 +61,7 @@ EXPECT_0 ...@@ -61,7 +61,7 @@ EXPECT_0
0 0
DROP TABLE t1; DROP TABLE t1;
connection node_2b; connection node_2b;
CALL mtr.add_suppression("WSREP: Failed to replicate rollback fragment for"); CALL mtr.add_suppression("WSREP: Failed to replicate rollback fragment for ");
disconnect node_2; disconnect node_2;
connect node_2, 127.0.0.1, root, , test, $NODE_MYPORT_2; connect node_2, 127.0.0.1, root, , test, $NODE_MYPORT_2;
disconnect node_2a; disconnect node_2a;
......
connection node_2; connection node_2;
connection node_1; connection node_1;
Setting SST method to mysqldump ... Setting SST method to mysqldump ...
call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to '127.0.0.1'"); call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to '127\\.0\\.0\\.1'");
call mtr.add_suppression("Failed to load slave replication state from table mysql.gtid_slave_pos"); call mtr.add_suppression("Failed to load slave replication state from table mysql\\.gtid_slave_pos");
connection node_1; connection node_1;
CREATE USER 'sst'; CREATE USER 'sst';
GRANT ALL PRIVILEGES ON *.* TO 'sst'; GRANT ALL PRIVILEGES ON *.* TO 'sst';
...@@ -57,4 +57,4 @@ CALL mtr.add_suppression("Can't open and lock time zone table"); ...@@ -57,4 +57,4 @@ CALL mtr.add_suppression("Can't open and lock time zone table");
CALL mtr.add_suppression("Can't open and lock privilege tables"); CALL mtr.add_suppression("Can't open and lock privilege tables");
CALL mtr.add_suppression("Info table is not ready to be used"); CALL mtr.add_suppression("Info table is not ready to be used");
CALL mtr.add_suppression("Native table .* has the wrong structure"); CALL mtr.add_suppression("Native table .* has the wrong structure");
CALL mtr.add_suppression("Table \'mysql.gtid_slave_pos\' doesn\'t exist"); CALL mtr.add_suppression("Table 'mysql\\.gtid_slave_pos' doesn't exist");
...@@ -3,7 +3,7 @@ connection node_1; ...@@ -3,7 +3,7 @@ connection node_1;
connection node_1; connection node_1;
connection node_2; connection node_2;
connection node_2; connection node_2;
call mtr.add_suppression("WSREP: Failed to scan the last segment to the end. Last events may be missing. Last recovered event:.*"); call mtr.add_suppression("WSREP: Failed to scan the last segment to the end\\. Last events may be missing\\. Last recovered event: ");
connection node_1; connection node_1;
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE = InnoDB; CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE = InnoDB;
connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1; connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1;
......
...@@ -30,7 +30,7 @@ COUNT(*) = 100 ...@@ -30,7 +30,7 @@ COUNT(*) = 100
DROP TABLE t1; DROP TABLE t1;
DROP TABLE ten; DROP TABLE ten;
connection node_1; connection node_1;
call mtr.add_suppression('WSREP: transaction size limit.*'); call mtr.add_suppression('WSREP: transaction size limit');
call mtr.add_suppression('WSREP: rbr write fail.*'); call mtr.add_suppression('WSREP: rbr write fail');
call mtr.add_suppression('WSREP: Maximum writeset size exceeded by.*'); call mtr.add_suppression('WSREP: Maximum writeset size exceeded by ');
call mtr.add_suppression('WSREP: transaction size exceeded.*'); call mtr.add_suppression('WSREP: transaction size exceeded');
...@@ -23,12 +23,12 @@ COUNT(*) = 0 ...@@ -23,12 +23,12 @@ COUNT(*) = 0
connection node_1; connection node_1;
DROP TABLE t1; DROP TABLE t1;
DROP TABLE ten; DROP TABLE ten;
call mtr.add_suppression('WSREP: SR rollback replication failure.*'); call mtr.add_suppression('WSREP: SR rollback replication failure');
call mtr.add_suppression('WSREP: transaction size limit.*'); call mtr.add_suppression('WSREP: transaction size limit');
call mtr.add_suppression('WSREP: SR rbr write fail.*'); call mtr.add_suppression('WSREP: SR rbr write fail');
call mtr.add_suppression('WSREP: Maximum writeset size exceeded by.*'); call mtr.add_suppression('WSREP: Maximum writeset size exceeded by ');
call mtr.add_suppression('WSREP: transaction size exceeded.*'); call mtr.add_suppression('WSREP: transaction size exceeded');
call mtr.add_suppression('WSREP: fragment replication failed:'); call mtr.add_suppression('WSREP: fragment replication failed: ');
call mtr.add_suppression('WSREP: post commit failed for SR rollback'); call mtr.add_suppression('WSREP: post commit failed for SR rollback');
call mtr.add_suppression('WSREP: pre_commit for SR rollback returned 2, thd:*'); call mtr.add_suppression('WSREP: pre_commit for SR rollback returned 2, thd: ');
call mtr.add_suppression('WSREP: wsrep_rollback failed to send SR ROLLBACK for *'); call mtr.add_suppression('WSREP: wsrep_rollback failed to send SR ROLLBACK for ');
...@@ -5,7 +5,7 @@ connection node_1; ...@@ -5,7 +5,7 @@ connection node_1;
CREATE TABLE t1(f1 INT PRIMARY KEY) ENGINE=INNODB; CREATE TABLE t1(f1 INT PRIMARY KEY) ENGINE=INNODB;
INSERT INTO t1 VALUES (1), (2), (3); INSERT INTO t1 VALUES (1), (2), (3);
connection node_2; connection node_2;
call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node."); call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node\\.");
SELECT * FROM t1; SELECT * FROM t1;
f1 f1
1 1
......
...@@ -15,4 +15,3 @@ ...@@ -15,4 +15,3 @@
--let $galera_sync_point = before_certify_apply_monitor_enter --let $galera_sync_point = before_certify_apply_monitor_enter
--source GCF-1008.inc --source GCF-1008.inc
...@@ -47,5 +47,4 @@ SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log; ...@@ -47,5 +47,4 @@ SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log;
SELECT COUNT(*) = 0 FROM t1; SELECT COUNT(*) = 0 FROM t1;
SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log; SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log;
DROP TABLE t1; DROP TABLE t1;
...@@ -27,4 +27,3 @@ DROP TABLE t1; ...@@ -27,4 +27,3 @@ DROP TABLE t1;
--let $assert_text = No BF-BF log line found --let $assert_text = No BF-BF log line found
--let $assert_only_after = CURRENT_TEST --let $assert_only_after = CURRENT_TEST
--source include/assert_grep.inc --source include/assert_grep.inc
...@@ -21,4 +21,3 @@ SELECT COUNT(*) > 0 FROM t1; ...@@ -21,4 +21,3 @@ SELECT COUNT(*) > 0 FROM t1;
--connection node_1 --connection node_1
SELECT COUNT(*) > 0 FROM t1; SELECT COUNT(*) > 0 FROM t1;
DROP TABLE t1; DROP TABLE t1;
...@@ -26,4 +26,3 @@ SET GLOBAL wsrep_ignore_apply_errors = 7; ...@@ -26,4 +26,3 @@ SET GLOBAL wsrep_ignore_apply_errors = 7;
--connection node_1 --connection node_1
DROP TABLE t1; DROP TABLE t1;
...@@ -21,12 +21,10 @@ INSERT INTO t1 VALUES(1), (2); ...@@ -21,12 +21,10 @@ INSERT INTO t1 VALUES(1), (2);
--connection node_ctrl --connection node_ctrl
SET DEBUG_SYNC = "now WAIT_FOR fragment_removal_reached"; SET DEBUG_SYNC = "now WAIT_FOR fragment_removal_reached";
--connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1 --connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1
--connection node_1a --connection node_1a
TRUNCATE TABLE t1; TRUNCATE TABLE t1;
--connection node_1 --connection node_1
--error ER_LOCK_DEADLOCK --error ER_LOCK_DEADLOCK
--reap --reap
......
...@@ -15,4 +15,4 @@ COMMIT; ...@@ -15,4 +15,4 @@ COMMIT;
SELECT * FROM t1; SELECT * FROM t1;
SET debug_dbug='-d,ib_create_table_fail_too_many_trx'; SET debug_dbug='-d,ib_create_table_fail_too_many_trx';
DROP TABLE t1; DROP TABLE t1;
CALL mtr.add_suppression("Error writing into mysql.wsrep_streaming_log: 177"); CALL mtr.add_suppression("Error writing into mysql\\.wsrep_streaming_log: 177");
...@@ -101,7 +101,7 @@ SELECT COUNT(*) AS EXPECT_0 FROM mysql.wsrep_streaming_log; ...@@ -101,7 +101,7 @@ SELECT COUNT(*) AS EXPECT_0 FROM mysql.wsrep_streaming_log;
DROP TABLE t1; DROP TABLE t1;
--connection node_2b --connection node_2b
CALL mtr.add_suppression("WSREP: Failed to replicate rollback fragment for"); CALL mtr.add_suppression("WSREP: Failed to replicate rollback fragment for ");
--disconnect node_2 --disconnect node_2
--connect node_2, 127.0.0.1, root, , test, $NODE_MYPORT_2 --connect node_2, 127.0.0.1, root, , test, $NODE_MYPORT_2
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
--let $node_2=node_2 --let $node_2=node_2
--source ../galera/include/auto_increment_offset_save.inc --source ../galera/include/auto_increment_offset_save.inc
--connection node_2 --connection node_2
call mtr.add_suppression("WSREP: Failed to scan the last segment to the end. Last events may be missing. Last recovered event:.*"); call mtr.add_suppression("WSREP: Failed to scan the last segment to the end\\. Last events may be missing\\. Last recovered event: ");
--connection node_1 --connection node_1
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE = InnoDB; CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE = InnoDB;
......
...@@ -64,7 +64,7 @@ DROP TABLE ten; ...@@ -64,7 +64,7 @@ DROP TABLE ten;
--eval SET GLOBAL wsrep_provider_options = '$wsrep_provider_options_orig'; --eval SET GLOBAL wsrep_provider_options = '$wsrep_provider_options_orig';
--enable_query_log --enable_query_log
call mtr.add_suppression('WSREP: transaction size limit.*'); call mtr.add_suppression('WSREP: transaction size limit');
call mtr.add_suppression('WSREP: rbr write fail.*'); call mtr.add_suppression('WSREP: rbr write fail');
call mtr.add_suppression('WSREP: Maximum writeset size exceeded by.*'); call mtr.add_suppression('WSREP: Maximum writeset size exceeded by ');
call mtr.add_suppression('WSREP: transaction size exceeded.*'); call mtr.add_suppression('WSREP: transaction size exceeded');
...@@ -51,12 +51,12 @@ SELECT COUNT(*) = 0 FROM t1; ...@@ -51,12 +51,12 @@ SELECT COUNT(*) = 0 FROM t1;
DROP TABLE t1; DROP TABLE t1;
DROP TABLE ten; DROP TABLE ten;
call mtr.add_suppression('WSREP: SR rollback replication failure.*'); call mtr.add_suppression('WSREP: SR rollback replication failure');
call mtr.add_suppression('WSREP: transaction size limit.*'); call mtr.add_suppression('WSREP: transaction size limit');
call mtr.add_suppression('WSREP: SR rbr write fail.*'); call mtr.add_suppression('WSREP: SR rbr write fail');
call mtr.add_suppression('WSREP: Maximum writeset size exceeded by.*'); call mtr.add_suppression('WSREP: Maximum writeset size exceeded by ');
call mtr.add_suppression('WSREP: transaction size exceeded.*'); call mtr.add_suppression('WSREP: transaction size exceeded');
call mtr.add_suppression('WSREP: fragment replication failed:'); call mtr.add_suppression('WSREP: fragment replication failed: ');
call mtr.add_suppression('WSREP: post commit failed for SR rollback'); call mtr.add_suppression('WSREP: post commit failed for SR rollback');
call mtr.add_suppression('WSREP: pre_commit for SR rollback returned 2, thd:*'); call mtr.add_suppression('WSREP: pre_commit for SR rollback returned 2, thd: ');
call mtr.add_suppression('WSREP: wsrep_rollback failed to send SR ROLLBACK for *'); call mtr.add_suppression('WSREP: wsrep_rollback failed to send SR ROLLBACK for ');
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
# The configuration is provided in mdev_18631.cnf. # The configuration is provided in mdev_18631.cnf.
# #
--source include/galera_cluster.inc --source include/galera_cluster.inc
--source include/have_innodb.inc --source include/have_innodb.inc
...@@ -14,7 +13,7 @@ CREATE TABLE t1(f1 INT PRIMARY KEY) ENGINE=INNODB; ...@@ -14,7 +13,7 @@ CREATE TABLE t1(f1 INT PRIMARY KEY) ENGINE=INNODB;
INSERT INTO t1 VALUES (1), (2), (3); INSERT INTO t1 VALUES (1), (2), (3);
--connection node_2 --connection node_2
call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node."); call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node\\.");
SELECT * FROM t1; SELECT * FROM t1;
--connection node_1 --connection node_1
......
...@@ -2,7 +2,9 @@ include/master-slave.inc ...@@ -2,7 +2,9 @@ include/master-slave.inc
[connection master] [connection master]
connection master; connection master;
connection slave; connection slave;
# MDEV-32892: Repeatedly starting/stopping io_thread..
include/stop_slave.inc include/stop_slave.inc
NOT FOUND /Error reading packet from server: Lost connection/ in slave_log.err NOT FOUND /Error reading packet from server: Lost connection/ in slave_log.err
NOT FOUND /error code: 2013/ in slave_log.err
include/start_slave.inc include/start_slave.inc
include/rpl_end.inc include/rpl_end.inc
...@@ -6,11 +6,26 @@ source include/master-slave.inc; ...@@ -6,11 +6,26 @@ source include/master-slave.inc;
connection master; connection master;
sync_slave_with_master; sync_slave_with_master;
--let $iter=100
--echo # MDEV-32892: Repeatedly starting/stopping io_thread..
--disable_query_log
while ($iter)
{
stop slave io_thread;
start slave io_thread;
--dec $iter
}
--enable_query_log
source include/stop_slave.inc; source include/stop_slave.inc;
let SEARCH_FILE=$MYSQLTEST_VARDIR/tmp/slave_log.err; let SEARCH_FILE=$MYSQLTEST_VARDIR/tmp/slave_log.err;
let SEARCH_PATTERN=Error reading packet from server: Lost connection; let SEARCH_PATTERN=Error reading packet from server: Lost connection;
source include/search_pattern_in_file.inc; source include/search_pattern_in_file.inc;
let SEARCH_PATTERN=error code: 2013;
source include/search_pattern_in_file.inc;
source include/start_slave.inc; source include/start_slave.inc;
source include/rpl_end.inc; source include/rpl_end.inc;
...@@ -2297,6 +2297,9 @@ when it try to get the value of TIME_ZONE global variable from master."; ...@@ -2297,6 +2297,9 @@ when it try to get the value of TIME_ZONE global variable from master.";
if (unlikely(mysql_real_query(mysql, if (unlikely(mysql_real_query(mysql,
STRING_WITH_LEN("SET skip_replication=1")))) STRING_WITH_LEN("SET skip_replication=1"))))
{ {
if (check_io_slave_killed(mi, NULL))
goto slave_killed_err;
err_code= mysql_errno(mysql); err_code= mysql_errno(mysql);
if (is_network_error(err_code)) if (is_network_error(err_code))
{ {
...@@ -2341,6 +2344,9 @@ when it try to get the value of TIME_ZONE global variable from master."; ...@@ -2341,6 +2344,9 @@ when it try to get the value of TIME_ZONE global variable from master.";
STRINGIFY_ARG(MARIA_SLAVE_CAPABILITY_MINE)))); STRINGIFY_ARG(MARIA_SLAVE_CAPABILITY_MINE))));
if (unlikely(rc)) if (unlikely(rc))
{ {
if (check_io_slave_killed(mi, NULL))
goto slave_killed_err;
err_code= mysql_errno(mysql); err_code= mysql_errno(mysql);
if (is_network_error(err_code)) if (is_network_error(err_code))
{ {
...@@ -2382,6 +2388,9 @@ when it try to get the value of TIME_ZONE global variable from master."; ...@@ -2382,6 +2388,9 @@ when it try to get the value of TIME_ZONE global variable from master.";
!(master_res= mysql_store_result(mysql)) || !(master_res= mysql_store_result(mysql)) ||
!(master_row= mysql_fetch_row(master_res))) !(master_row= mysql_fetch_row(master_res)))
{ {
if (check_io_slave_killed(mi, NULL))
goto slave_killed_err;
err_code= mysql_errno(mysql); err_code= mysql_errno(mysql);
if (is_network_error(err_code)) if (is_network_error(err_code))
{ {
...@@ -2417,6 +2426,9 @@ when it try to get the value of TIME_ZONE global variable from master."; ...@@ -2417,6 +2426,9 @@ when it try to get the value of TIME_ZONE global variable from master.";
rc= mysql_real_query(mysql, query_str.ptr(), query_str.length()); rc= mysql_real_query(mysql, query_str.ptr(), query_str.length());
if (unlikely(rc)) if (unlikely(rc))
{ {
if (check_io_slave_killed(mi, NULL))
goto slave_killed_err;
err_code= mysql_errno(mysql); err_code= mysql_errno(mysql);
if (is_network_error(err_code)) if (is_network_error(err_code))
{ {
...@@ -2450,6 +2462,9 @@ when it try to get the value of TIME_ZONE global variable from master."; ...@@ -2450,6 +2462,9 @@ when it try to get the value of TIME_ZONE global variable from master.";
rc= mysql_real_query(mysql, query_str.ptr(), query_str.length()); rc= mysql_real_query(mysql, query_str.ptr(), query_str.length());
if (unlikely(rc)) if (unlikely(rc))
{ {
if (check_io_slave_killed(mi, NULL))
goto slave_killed_err;
err_code= mysql_errno(mysql); err_code= mysql_errno(mysql);
if (is_network_error(err_code)) if (is_network_error(err_code))
{ {
...@@ -2483,6 +2498,9 @@ when it try to get the value of TIME_ZONE global variable from master."; ...@@ -2483,6 +2498,9 @@ when it try to get the value of TIME_ZONE global variable from master.";
rc= mysql_real_query(mysql, query_str.ptr(), query_str.length()); rc= mysql_real_query(mysql, query_str.ptr(), query_str.length());
if (unlikely(rc)) if (unlikely(rc))
{ {
if (check_io_slave_killed(mi, NULL))
goto slave_killed_err;
err_code= mysql_errno(mysql); err_code= mysql_errno(mysql);
if (is_network_error(err_code)) if (is_network_error(err_code))
{ {
...@@ -2519,6 +2537,9 @@ when it try to get the value of TIME_ZONE global variable from master."; ...@@ -2519,6 +2537,9 @@ when it try to get the value of TIME_ZONE global variable from master.";
rc= mysql_real_query(mysql, query_str.ptr(), query_str.length()); rc= mysql_real_query(mysql, query_str.ptr(), query_str.length());
if (unlikely(rc)) if (unlikely(rc))
{ {
if (check_io_slave_killed(mi, NULL))
goto slave_killed_err;
err_code= mysql_errno(mysql); err_code= mysql_errno(mysql);
if (is_network_error(err_code)) if (is_network_error(err_code))
{ {
...@@ -3691,7 +3712,7 @@ static ulong read_event(MYSQL* mysql, Master_info *mi, bool* suppress_warnings, ...@@ -3691,7 +3712,7 @@ static ulong read_event(MYSQL* mysql, Master_info *mi, bool* suppress_warnings,
} }
else else
{ {
if (!mi->rli.abort_slave) if (!(mi->rli.abort_slave || io_slave_killed(mi)))
{ {
sql_print_error("Error reading packet from server: %s (server_errno=%d)", sql_print_error("Error reading packet from server: %s (server_errno=%d)",
mysql_error(mysql), mysql_errno(mysql)); mysql_error(mysql), mysql_errno(mysql));
...@@ -7526,7 +7547,7 @@ static int connect_to_master(THD* thd, MYSQL* mysql, Master_info* mi, ...@@ -7526,7 +7547,7 @@ static int connect_to_master(THD* thd, MYSQL* mysql, Master_info* mi,
mi->port, 0, client_flag) == 0)) mi->port, 0, client_flag) == 0))
{ {
/* Don't repeat last error */ /* Don't repeat last error */
if ((int)mysql_errno(mysql) != last_errno) if ((int)mysql_errno(mysql) != last_errno && !io_slave_killed(mi))
{ {
last_errno=mysql_errno(mysql); last_errno=mysql_errno(mysql);
suppress_warnings= 0; suppress_warnings= 0;
......
...@@ -3910,6 +3910,9 @@ dberr_t lock_table(dict_table_t *table, dict_table_t *const*fktable, ...@@ -3910,6 +3910,9 @@ dberr_t lock_table(dict_table_t *table, dict_table_t *const*fktable,
} }
lock_sys.rd_unlock(); lock_sys.rd_unlock();
#ifdef WITH_WSREP
DEBUG_SYNC_C("after_lock_table_for_trx");
#endif
return err; return err;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment