MTR tests from binary tarball don't work out of the box: fail to find mysqldumpslow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Invalid
|
Undecided
|
Unassigned | ||
5.1 |
Fix Released
|
Medium
|
Alexey Bychko | ||
5.5 |
Invalid
|
Undecided
|
Unassigned | ||
5.6 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I download Percona-
unpack it,
cd Percona-
run MTR and expect the tests to work, but they don't:
/data/releases/
Logging: ./mysql-test-run.pl main.1st
130321 3:55:35 [Note] Plugin 'FEDERATED' is disabled.
MySQL Version 5.1.68
...
=======
TEST RESULT TIME (ms)
-------
worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 13000..13009
worker[1] mysql-test-run: *** ERROR: Could not find /data/releases/
mysql-test-run: *** ERROR: Test suite aborted
Which is understandable, since mysql-test-run.pl insists on finding mysqldumpslow in 'scripts':
grep mysqldumpslow mysql-test-run.pl
$ENV{
while mysqldumpslow is in fact in <basedir>/bin, and there is no <basedir>/scripts in the package at all.
5.5 is not affected, MTR doesn't look for mysqldumpslow there.
Maybe I'm missing something, but the simplest workaround I found was to create a link <basedir>/scripts => <basedir>/bin .
Related branches
- Laurynas Biveinis (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedPercona-Server/mysql-test/mysql-test-run.pl (+1/-1)
See also bug 1022481.