Bug #58159 mtr.pl can't run out of source build with NDB
| Submitted: | 12 Nov 2010 10:47 | Modified: | 6 Dec 2010 3:42 |
|---|---|---|---|
| Reporter: | Magnus Blåudd | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | Tools: MTR / mysql-test-run | Severity: | S3 (Non-critical) |
| Version: | 5.5.7-rc | OS: | Any |
| Assigned to: | Magnus Blåudd | CPU Architecture: | Any |
[12 Nov 2010 10:51]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/123701
[12 Nov 2010 11:17]
Bjørn Munch
OK to push
[15 Nov 2010 11:49]
Magnus Blåudd
Pushed to 5.5-mtr
[23 Nov 2010 20:33]
Paul DuBois
Changes to test suite. No changelog entry needed.
[5 Dec 2010 12:42]
Bugs System
Pushed into mysql-trunk 5.6.1 (revid:alexander.nozdrin@oracle.com-20101205122447-6x94l4fmslpbttxj) (version source revid:alexander.nozdrin@oracle.com-20101205122447-6x94l4fmslpbttxj) (merge vers: 5.6.1) (pib:23)
[16 Dec 2010 22:27]
Bugs System
Pushed into mysql-5.5 5.5.9 (revid:jonathan.perkin@oracle.com-20101216101358-fyzr1epq95a3yett) (version source revid:jonathan.perkin@oracle.com-20101216101358-fyzr1epq95a3yett) (merge vers: 5.5.9) (pib:24)
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.042 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: mtr.pl does not find the binaries for NDb when running out of source. How to repeat: [mysql-test]$ ./mtr alias MySQL Version 5.5.7 Checking supported features... - using ndbcluster when necessary, mysqld supports it - SSL connections supported ** ERROR: Could not find 'ndbd' in '/data0/magnus/mysql/5.5-telco-7.0/storage/ndb/src/kernel/ndbd', '/data0/magnus/mysql/5.5-telco-7.0/libexec/ndbd', '/data0/magnus/mysql/5.5-telco-7.0/sbin/ndbd', '/data0/magnus/mysql/5.5-telco-7.0/bin/ndbd', '/data0/magnus/mysql/5.5-telco-7.0/storage/ndb/src/kernel/Release/ndbd', '/data0/magnus/mysql/5.5-telco-7.0/storage/ndb/src/kernel/Relwithdebinfo/ndbd', '/data0/magnus/mysql/5.5-telco-7.0/storage/ndb/src/kernel/Debug/ndbd', '/data0/magnus/mysql/5.5-telco-7.0/libexec/Release/ndbd', '/data0/magnus/mysql/5.5-telco-7.0/libexec/Relwithdebinfo/ndbd', '/data0/magnus/mysql/5.5-telco-7.0/libexec/Debug/ndbd', '/data0/magnus/mysql/5.5-telco-7.0/sbin/Release/ndbd', '/data0/magnus/mysql/5.5-telco-7.0/sbin/Relwithdebinfo/ndbd', '/data0/magnus/mysql/5.5-telco-7.0/sbin/Debug/ndbd', '/data0/magnus/mysql/5.5-telco-7.0/bin/Release/ndbd', '/data0/magnus/mysql/5.5-telco-7.0/bin/Relwithdebinfo/ndbd', or '/data0/magnus/mysql/5.5-telco-7.0/bin/Debug/ndbd' Suggested fix: === modified file 'mysql-test/mysql-test-run.pl' --- mysql-test/mysql-test-run.pl 2010-10-27 11:32:32 +0000 +++ mysql-test/mysql-test-run.pl 2010-11-12 10:39:15 +0000 @@ -1723,17 +1723,17 @@ sub executable_setup () { if ( ! $opt_skip_ndbcluster ) { $exe_ndbd= - my_find_bin($basedir, + my_find_bin($bindir, ["storage/ndb/src/kernel", "libexec", "sbin", "bin"], "ndbd"); $exe_ndb_mgmd= - my_find_bin($basedir, + my_find_bin($bindir, ["storage/ndb/src/mgmsrv", "libexec", "sbin", "bin"], "ndb_mgmd"); $exe_ndb_waiter= - my_find_bin($basedir, + my_find_bin($bindir, ["storage/ndb/tools/", "bin"], "ndb_waiter"); @@ -2081,12 +2081,12 @@ sub environment_setup { if ( ! $opt_skip_ndbcluster ) { $ENV{'NDB_MGM'}= - my_find_bin($basedir, + my_find_bin($bindir, ["storage/ndb/src/mgmclient", "bin"], "ndb_mgm"); $ENV{'NDB_TOOLS_DIR'}= - my_find_dir($basedir, + my_find_dir($bindir, ["storage/ndb/tools", "bin"]); $ENV{'NDB_EXAMPLES_DIR'}= @@ -2094,7 +2094,7 @@ sub environment_setup { ["storage/ndb/ndbapi-examples", "bin"]); $ENV{'NDB_EXAMPLES_BINARY'}= - my_find_bin($basedir, + my_find_bin($bindir, ["storage/ndb/ndbapi-examples/ndbapi_simple", "bin"], "ndbapi_simple", NOT_REQUIRED);