mysql-test-run.pl fails on Ubuntu Zesty

Bug #1688161 reported by Laurynas Biveinis on 2017-05-04
6
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-timeout=10000 --testcase-timeout=420
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/lib/i386-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/i386-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/i386-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/i386-linux-gnu/perl-base) at ./mysql-test-run.pl line 104.
+ status=2
...

tags: added: upstream

The fix is to backport

commit 6f8e0f19de4e60eca8f648a472174aba9baa00b2
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 f5062cc8a9eeba7e546d72b42f7692efac281f11
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: I2027f939a23ea4e0b5dc8078b66bfcfe012d8c8d

and

commit f9523b8c8fc66de4b2e3b870874d0dfb30f75d4d
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: I542a988c0b5663f2370ccffb4154ba50bd1c6957

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-3693

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers