rpl_end.inc/check-warnings.test/check-testcase.test etc do not wait for client disconnects to complete
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Fix Released
|
Low
|
Laurynas Biveinis | |||
5.6 |
Fix Released
|
Low
|
Laurynas Biveinis | |||
5.7 |
Fix Released
|
Low
|
Laurynas Biveinis |
Bug Description
On 5.5 trunk, intermittently:
_StringException: Text attachment: traceback
------------
MTR's internal check of the test case 'rpl.rpl_
This means that the test case does not preserve the state that existed
before the test case was executed. Most likely the test case did not
do a proper clean-up. It could also be caused by the previous test run
by this thread, if the server wasn't restarted.
This is the diff of the states of the servers before and after the
test case was executed:
mysqltest: Logging to '/mnt/workspace
mysqltest: Results saved in '/mnt/workspace
mysqltest: Connecting to server localhost:13002 (socket /tmp/NdAeOq6L9k
mysqltest: ... Connected.
mysqltest: Start processing test commands from './include/
mysqltest: ... Done processing test commands.
--- /mnt/workspace/
+++ /mnt/workspace/
@@ -1,5 +1,6 @@
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS ROWS_SENT ROWS_EXAMINED ROWS_READ
<Id> root localhost NULL Query <Time> <State> SELECT * FROM INFORMATION_
+<Id> root localhost:60809 test Sleep <Time> <State> NULL X X X 1
Slave_IO_State
Master_Host 127.0.0.1
Master_User root
mysqltest: Result content mismatch
not ok
safe_process[1224]: Child process: 1229, exit: 1
------------
summary: |
- rpl_end.inc does not wait for the disconnects to complete + rpl_end.inc/check-warnings.test/check-testcase.test etc do not wait for + client disconnects to complete |
Also on 5.5 trunk, intermittently:
MTR's internal check of the test case 'sys_vars. ssl_ca_ basic' failed. /percona- server- 5.5-trunk/ BUILD_TYPE/ debug/Host/ ubuntu- trusty- 64bit/mysql- test/var/ 3/tmp/check- mysqld_ 1.log'. /percona- server- 5.5-trunk/ BUILD_TYPE/ debug/Host/ ubuntu- trusty- 64bit/mysql- test/var/ 3/tmp/check- mysqld_ 1.result' . n2NlKKyO/ 3/mysqld. 1.sock) as 'root', connection 'default', attempt 0 ... check-testcase. test' ... percona- server- 5.5-trunk/ BUILD_TYPE/ debug/Host/ ubuntu- trusty- 64bit/mysql- test/var/ 3/tmp/check- mysqld_ 1.result 2016-08-31 17:29:31.735691272 +0300 percona- server- 5.5-trunk/ BUILD_TYPE/ debug/Host/ ubuntu- trusty- 64bit/mysql- test/var/ 3/tmp/check- mysqld_ 1.reject 2016-08-31 17:29:31.880695383 +0300 SCHEMA. PROCESSLIST WHERE COMMAND != 'Binlog Dump' X X X 1
This means that the test case does not preserve the state that existed
before the test case was executed. Most likely the test case did not
do a proper clean-up. It could also be caused by the previous test run
by this thread, if the server wasn't restarted.
This is the diff of the states of the servers before and after the
test case was executed:
mysqltest: Logging to '/mnt/workspace
mysqltest: Results saved in '/mnt/workspace
mysqltest: Connecting to server localhost:13021 (socket /tmp/J_
mysqltest: ... Connected.
mysqltest: Start processing test commands from './include/
mysqltest: ... Done processing test commands.
--- /mnt/workspace/
+++ /mnt/workspace/
@@ -1,5 +1,6 @@
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS ROWS_SENT ROWS_EXAMINED ROWS_READ
<Id> root localhost NULL Query <Time> <State> SELECT * FROM INFORMATION_
+<Id> root localhost mtr Query <Time> <State> select @result = 0 X X X 1
Slave_IO_State
Master_Host 127.0.0.1
Master_User root
mysqltest: Result content mismatch
not ok 23566]: Child process: 23567, exit: 1
safe_process[
Here we have an overlap between testcase warnings checker and side effects checker.