Bug #74830 mysql-test-run.pl --valgrind-all does not run all binaries under valgrind
Submitted: 13 Nov 2014 3:49 Modified: 13 Nov 2014 5:20
Reporter: Stewart Smith Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:Cluster 7.3.7 OS:Linux
Assigned to: CPU Architecture:Any

[13 Nov 2014 3:49] Stewart Smith
Description:
Over the past ten years I must have fixed this at least a dozen times... but anyway... there is sometimes good reason to run NDB binaries under valgrind, and indeed, it *should* be done as part of running regression tests.

Currently, in MySQL Cluster 7.3.7 tree at least, "./mtr --valgrind --valgrind-all" does not run ndbmtd or ndb_mgm or ndb_mgmd or ndb_restore and others under valgrind.

How to repeat:
./mysql-test-run.pl --suite=ndb --valgrind --valgrind-all

(and then check /bin/ps output)

Suggested fix:
have an option to *really* run all binaries under valgrind.
[13 Nov 2014 5:20] MySQL Verification Team
Hello Stewart,

Thank you for the report.

Thanks,
Umesh
[7 Feb 16:48] Magnus BlÄudd
Posted by developer:
 
This is a feature request that mysql-test-run.pl should support running the ndb_mgmd and mdbtmd/ndbd binaries using valgrind.  

There are other tools used for regression testing those binaries.
In addition the ASAN tool is used to check those binaries for memory problems.
So this is currently nothing which need to be implemented.