Bug #58916 perfschema_stress suite does not run in out-of-source-compiled tree
Submitted: 14 Dec 2010 10:15 Modified: 8 Sep 2011 12:28
Reporter: Bernt Marius Johnsen Email Updates:
Status: Closed Impact on me:
Category:Tools: MTR / mysql-test-run Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: Bjørn Munch CPU Architecture:Any

[14 Dec 2010 10:15] Bernt Marius Johnsen
perfschema_stress suite does not run in out-of-source-compiled tree and does not give a meaningful clue to what's wrong.

How to repeat:
MTR_VERSION=1 ./mtr --stress --stress-suite=perfschema_stress --stress-threads=1 --stress-test-duration=3600

In an out-of-source compiled tree
[14 Dec 2010 13:12] Bjørn Munch
Need more information here:

 - What branch? Even better if you can also point to a branch where it does work
 - What O/S?
 - What output do you get?

I tested 5.5-bugteam on Linux and it seems to work fine.
[14 Dec 2010 17:13] Bjørn Munch
Some observations, as I was able to sporadically reproduce:

1. It seems like mtr tries to start the client too fast, the server is not yet  ready and mysqltest cannot connect.

2. The setup test has no result file but mtr still tries to pass a 
--result-file argument to mysqltest, which then complains.

I'm not sure how it could still work despite #2 but maybe it doesn't really...

Adding a sleep at the very start of setup.test and adding a dummy result file for it seemed to help, but that's a workaround, not a proper fix.
[15 Jan 2011 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[8 Sep 2011 12:28] Bjørn Munch
Oracle bug closed as Could Not Reproduce