mysql-test-run.pl fails on Ubuntu Zesty
Bug #1688161 reported by
Laurynas Biveinis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Fix Released
|
Critical
|
Laurynas Biveinis | |||
5.6 |
Invalid
|
Undecided
|
Unassigned | |||
5.7 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
...
+ ./mysql-test-run.pl --parallel=auto --unit-tests-report --force --max-test-fail=0 --suite-
Subroutine lldb_arguments redefined at ./mysql-test-run.pl line 5836.
Can't locate lib/mtr_process.pl in @INC (@INC contains: lib /etc/perl /usr/local/
+ status=2
...
tags: | added: upstream |
To post a comment you must log in.
The fix is to backport
commit 6f8e0f19de4e60e ca8f648a472174a ba9baa00b2
Author: Terje Rosten <email address hidden>
Date: Thu Feb 23 16:42:47 2017 +0100
Bug#25604587 BACKPORT BUG#24947217 TO 5.6 AND 5.7
Change is needed in MySQL 5.6 and 5.7 as well.
where "24947217" in 8.0 is
commit f5062cc8a9eeba7 e546d72b42f7692 efac281f11
Author: Steinar H. Gunderson <email address hidden>
Date: Tue Oct 25 10:51:28 2016 +0200
Bug #24947217: MTR DOES NOT WORK WITH PERL 5.24.0
Add . to @INC to keep on working with newer Perl.
Change-Id: I2027f939a23ea4 e0b5dc8078b66bf cfe012d8c8d
and
commit f9523b8c8fc66de 4b2e3b870874d0d fb30f75d4d
Author: Steinar H. Gunderson <email address hidden>
Date: Wed Dec 14 14:18:48 2016 +0100
Bug #24947217: MTR DOES NOT WORK WITH PERL 5.24.0
Add . to @INC to keep on working with newer Perl, also in
"perl;" blocks in MTR scripts.
Also fix so that we use "require" instead of "do" in such blocks,
since "do" quietly ignores errors, making everything much harder
to debug.
Change-Id: I542a988c0b5663 f2370ccffb4154b a50bd1c6957