Skip to content

Commit 1f23488

Browse files
committed
Bug #28289789 FORMAT OF INNODB ERROR MESSAGES TO BE CORRECTED
- Post push fix. Adjusted more supression messages in MTR tests/results.
1 parent bd11335 commit 1f23488

File tree

9 files changed

+19
-31
lines changed

9 files changed

+19
-31
lines changed

mysql-test/suite/auth_sec/t/fips.test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
--echo #
1818

1919
--disable_query_log
20-
call mtr.add_suppression("InnoDB: Resizing redo log");
21-
call mtr.add_suppression("InnoDB: Starting to delete and rewrite");
22-
call mtr.add_suppression("InnoDB: New log files created");
20+
call mtr.add_suppression("Resizing redo log");
21+
call mtr.add_suppression("Starting to delete and rewrite");
22+
call mtr.add_suppression("New log files created");
2323

2424
--enable_query_log
2525

mysql-test/suite/auth_sec/t/openssl_without_fips.test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
--echo #
1717

1818
--disable_query_log
19-
call mtr.add_suppression("InnoDB: Resizing redo log");
20-
call mtr.add_suppression("InnoDB: Starting to delete and rewrite");
21-
call mtr.add_suppression("InnoDB: New log files created");
19+
call mtr.add_suppression("Resizing redo log");
20+
call mtr.add_suppression("Starting to delete and rewrite");
21+
call mtr.add_suppression("New log files created");
2222

2323
--enable_query_log
2424

mysql-test/suite/group_replication/r/gr_crash_donor_server_continuously.result

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Note #### Storing MySQL user name or password information in the master info rep
55
[connection server1]
66
[connection server1]
77
SET SESSION sql_log_bin=0;
8-
call mtr.add_suppression("\\[Warning\\] \\[[^]]*\\] InnoDB: Database page corruption or a failed file read of page");
98
SET SESSION sql_log_bin=1;
109
SET sql_log_bin=0;
1110
CREATE TABLE t1(a int primary key);

mysql-test/suite/group_replication/r/gr_crash_recovery_server.result

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ call dml_operations(1,100);
3131

3232
[connection server3]
3333
set sql_log_bin=0;
34-
call mtr.add_suppression(".*Slave SQL for channel 'group_replication_applier': ... The slave coordinator and worker threads are stopped, possibly leaving data in inconsistent state*");
35-
call mtr.add_suppression("\\[Warning\\] \\[[^]]*\\] InnoDB: Database page corruption or a failed file read of page");
3634
CREATE TABLE t1(a int primary key);
3735
SET sql_log_bin=1;
3836
LOCK TABLES t1 READ;

mysql-test/suite/group_replication/r/gr_key_rotation.result

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
44
Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
55
[connection server1]
66
set sql_log_bin=0;
7-
call mtr.add_suppression("\\[Error\\] \\[[^]]*\\] \\[[^]]*\\] InnoDB: Encryption can't find master key, please check the keyring plugin is loaded.");
8-
call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Plugin keyring_file reported: 'Error while loading keyring content*");
9-
call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Plugin keyring_file reported: 'keyring_file initialization failure.*");
10-
call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Plugin keyring_file reported: 'File .*keyring' not found .*");
117
set sql_log_bin=1;
128
ALTER INSTANCE ROTATE INNODB MASTER KEY;
139
ERROR HY000: Can't find master key from keyring, please check in the server log if a keyring plugin is loaded and initialized successfully.
@@ -28,19 +24,6 @@ INSERT INTO t2 VALUES(1,1);
2824
INSERT INTO t2 VALUEs(2,2);
2925
[connection server2]
3026
set sql_log_bin=0;
31-
call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] InnoDB: Encryption can't find master key, please check the keyring plugin is loaded*");
32-
call mtr.add_suppression(".*Can't find master key from keyring, please check in the server log if a keyring plugin is loaded and initialized successfully.");
33-
call mtr.add_suppression(".*Slave SQL for channel 'group_replication_applier': Error 'Can't find master key from keyring, please check keyring plugin is loaded.' on query*");
34-
call mtr.add_suppression(".*Slave SQL for channel 'group_replication_applier': ... The slave coordinator and worker threads are stopped, possibly leaving data in inconsistent state*");
35-
call mtr.add_suppression("\\[Error\\] \\[[^]]*\\] \\[[^]]*\\] Plugin group_replication reported: 'The applier thread execution was aborted. Unable to process more transactions, this member will now leave the group.'");
36-
call mtr.add_suppression("\\[Error\\] \\[[^]]*\\] \\[[^]]*\\] Plugin group_replication reported: 'Fatal error during execution on the Applier process of Group Replication. The server will now leave the group.'");
37-
call mtr.add_suppression("\\[Error\\] \\[[^]]*\\] \\[[^]]*\\] Plugin group_replication reported: 'To prevent errors, the server read only mode was enabled following a plugin error.'");
38-
call mtr.add_suppression("\\[Error\\] \\[[^]]*\\] \\[[^]]*\\] Plugin group_replication reported: 'The server was automatically set into read only mode after an error was detected.'");
39-
call mtr.add_suppression("\\[Warning\\] \\[[^]]*\\] \\[[^]]*\\] Plugin group_replication reported: 'Skipping leave operation:*");
40-
call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Plugin keyring_file reported: 'Error while loading keyring content*");
41-
call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Plugin keyring_file reported: 'keyring_file initialization failure.*");
42-
call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Plugin keyring_file reported: 'File .*keyring' not found .*");
43-
call mtr.add_suppression("\\[Error\\] \\[[^]]*\\] \\[[^]]*\\] Plugin group_replication reported: 'Message received while the plugin is not ready, message discarded'*");
4427
set sql_log_bin=1;
4528
ALTER INSTANCE ROTATE INNODB MASTER KEY;
4629
ERROR HY000: Can't find master key from keyring, please check in the server log if a keyring plugin is loaded and initialized successfully.

mysql-test/suite/group_replication/t/gr_crash_donor_server_continuously.test

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333
--source include/rpl_connection.inc
3434

3535
SET SESSION sql_log_bin=0;
36-
call mtr.add_suppression("\\[Warning\\] \\[[^]]*\\] InnoDB: Database page corruption or a failed file read of page");
36+
--disable_query_log
37+
call mtr.add_suppression("\\[Warning\\] \\[[^]]*\\] Database page corruption or a failed file read of page");
38+
--enable_query_log
3739
SET SESSION sql_log_bin=1;
3840

3941
# Extract the server_uuid

mysql-test/suite/group_replication/t/gr_crash_recovery_server.test

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,10 @@ call dml_operations(1,100);
8282
--source include/rpl_connection.inc
8383

8484
set sql_log_bin=0;
85+
--disable_query_log
8586
call mtr.add_suppression(".*Slave SQL for channel 'group_replication_applier': ... The slave coordinator and worker threads are stopped, possibly leaving data in inconsistent state*");
86-
call mtr.add_suppression("\\[Warning\\] \\[[^]]*\\] InnoDB: Database page corruption or a failed file read of page");
87+
call mtr.add_suppression("\\[Warning\\] \\[[^]]*\\] Database page corruption or a failed file read of page");
88+
--enable_query_log
8789
CREATE TABLE t1(a int primary key);
8890
SET sql_log_bin=1;
8991
LOCK TABLES t1 READ;

mysql-test/suite/group_replication/t/gr_key_rotation.test

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@
2929
--source include/group_replication.inc
3030

3131
set sql_log_bin=0;
32-
call mtr.add_suppression("\\[Error\\] \\[[^]]*\\] \\[[^]]*\\] InnoDB: Encryption can't find master key, please check the keyring plugin is loaded.");
32+
--disable_query_log
33+
call mtr.add_suppression("\\[Error\\] \\[[^]]*\\] \\[[^]]*\\] Encryption can't find master key, please check the keyring plugin is loaded.");
3334
call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Plugin keyring_file reported: 'Error while loading keyring content*");
3435
call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Plugin keyring_file reported: 'keyring_file initialization failure.*");
3536
call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Plugin keyring_file reported: 'File .*keyring' not found .*");
37+
--enable_query_log
3638
set sql_log_bin=1;
3739

3840
# Scenario 1
@@ -70,7 +72,8 @@ INSERT INTO t2 VALUEs(2,2);
7072
--source include/rpl_connection.inc
7173

7274
set sql_log_bin=0;
73-
call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] InnoDB: Encryption can't find master key, please check the keyring plugin is loaded*");
75+
--disable_query_log
76+
call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Encryption can't find master key, please check the keyring plugin is loaded*");
7477
call mtr.add_suppression(".*Can't find master key from keyring, please check in the server log if a keyring plugin is loaded and initialized successfully.");
7578
call mtr.add_suppression(".*Slave SQL for channel 'group_replication_applier': Error 'Can't find master key from keyring, please check keyring plugin is loaded.' on query*");
7679
call mtr.add_suppression(".*Slave SQL for channel 'group_replication_applier': ... The slave coordinator and worker threads are stopped, possibly leaving data in inconsistent state*");
@@ -83,6 +86,7 @@ call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Plugin keyring_fil
8386
call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Plugin keyring_file reported: 'keyring_file initialization failure.*");
8487
call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Plugin keyring_file reported: 'File .*keyring' not found .*");
8588
call mtr.add_suppression("\\[Error\\] \\[[^]]*\\] \\[[^]]*\\] Plugin group_replication reported: 'Message received while the plugin is not ready, message discarded'*");
89+
--enable_query_log
8690
set sql_log_bin=1;
8791

8892
# Check that keyring plugin is not installed

mysql-test/suite/memcached/t/memc_api_trx_level.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ source include/not_windows.inc;
55
--disable_query_log
66
CALL mtr.add_suppression("daemon-memcached-w-batch-size': unsigned");
77
CALL mtr.add_suppression("Could not obtain server's UPN to be used as target service name");
8-
CALL mtr.add_suppression("InnoDB: Warning: MySQL is trying to drop");
8+
CALL mtr.add_suppression("Warning: MySQL is trying to drop");
99
--enable_query_log
1010

1111
--enable_connect_log

0 commit comments

Comments
 (0)