[MDEV-7342] Test failure in perfschema.setup_instruments_defaults Created: 2014-12-18  Updated: 2014-12-18  Resolved: 2014-12-18

Status: Closed
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 10.0.15
Fix Version/s: 10.0.16

Type: Bug Priority: Major
Reporter: Kristian Nielsen Assignee: Kristian Nielsen
Resolution: Fixed Votes: 0
Labels: None


 Description   

For example:

https://buildbot.askmonty.org/buildbot/builders/kvm-deb-wheezy-x86/builds/1532

perfschema.setup_instruments_defaults    w1 [ fail ]
        Test ended at 2014-12-12 23:58:11
 
CURRENT_TEST: perfschema.setup_instruments_defaults
mysqltest: At line 82: query 'SELECT * FROM performance_schema.setup_instruments
WHERE name like "%wait/io/table/sql/handler%"' failed: 2006: MySQL server has gone away

The testcase does a server restart during the test. I believe the problem is
that it does not correctly synchronise with that server restart. It tries to
reconnect after the server has restarted. But without proper synchronisation,
the reconnect can succeed before the server has completely stopped. Then the
following queries fail as the stopping server disconnects the connection that
reconnected too early.



 Comments   
Comment by Kristian Nielsen [ 2014-12-18 ]

Pushed to 10.0.16

Generated at Thu Feb 08 07:18:51 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.