percona_status_wait_query_cache_mutex test does not restore the pre-test state

Bug #909281 reported by Laurynas Biveinis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Undecided
Unassigned
5.1
Fix Released
Undecided
Oleg Tsarev

Bug Description

This is probably introduced by the fix to bug 878709. It looks like DEBUG_SYNC state is not properly reset at the end of the testcase.

http://jenkins.percona.com/job/percona-server-5.1-param/219/BUILD_TYPE=debug,Host=centos6-64/console:

main.percona_status_wait_query_cache_mutex w3 [ pass ] 7

MTR's internal check of the test case 'main.percona_status_wait_query_cache_mutex' failed.
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 '/home/jenkins/workspace/percona-server-5.1-param/BUILD_TYPE/debug/Host/centos6-64/Percona-Server/mysql-test/var/3/tmp/check-mysqld_1.log'.
mysqltest: Results saved in '/home/jenkins/workspace/percona-server-5.1-param/BUILD_TYPE/debug/Host/centos6-64/Percona-Server/mysql-test/var/3/tmp/check-mysqld_1.result'.
mysqltest: Connecting to server localhost:13010 (socket /tmp/lPd7JrZxVa/3/mysqld.1.sock) as 'root', connection 'default', attempt 0 ...
mysqltest: ... Connected.
mysqltest: Start processing test commands from './include/check-testcase.test' ...
mysqltest: ... Done processing test commands.
--- /home/jenkins/workspace/percona-server-5.1-param/BUILD_TYPE/debug/Host/centos6-64/Percona-Server/mysql-test/var/3/tmp/check-mysqld_1.result 2011-12-28 10:40:15.012342709 +0300
+++ /home/jenkins/workspace/percona-server-5.1-param/BUILD_TYPE/debug/Host/centos6-64/Percona-Server/mysql-test/var/3/tmp/check-mysqld_1.reject 2011-12-28 10:40:15.191170922 +0300
@@ -28,7 +28,7 @@
 DATETIME_FORMAT %Y-%m-%d %H:%i:%s
 DATE_FORMAT %Y-%m-%d
 DEBUG
-DEBUG_SYNC ON - current signal: ''
+DEBUG_SYNC ON - current signal: 'unlock_mutex'
 DEFAULT_WEEK_FORMAT 0
 DELAYED_INSERT_LIMIT 100
 DELAYED_INSERT_TIMEOUT 300

mysqltest: Result content mismatch

not ok

Related branches

Oleg Tsarev (tsarev)
Changed in percona-server:
status: New → In Progress
Revision history for this message
Oleg Tsarev (tsarev) wrote :
Oleg Tsarev (tsarev)
Changed in percona-server:
status: In Progress → Fix Committed
Revision history for this message
Stewart Smith (stewart) wrote :

Appears to have been merged.

Changed in percona-server:
status: Fix Committed → Fix Released
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-2716

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.