Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-3678

LP:471160 - Ubuntu MariaDB package: can't run mysql-test-run.pl

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      On Ubuntu 9.04 32-bit and 64-bit one cannot run mysql-test-run.pl

      How to repeat:
      aptitude install mariadb-server mariadb-test

      cd /usr/share/mysql/mysql-test
      ./mysql-test-run.pl
      Logging: ./mysql-test-run.pl
      mysql-test-run: *** ERROR: Could not find any of /usr/share/client_release /usr/share/client_debug /usr/share/client /usr/share/bin

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            knielsen Kristian Nielsen added a comment -

            Re: Ubuntu MariaDB package: can't run mysql-test-run.pl
            Ok, I fixed in 5.1-release maria branch that mysql-test-run.pl can find the files it needs when installed in /usr/share/mysql/mysql-test/.

            However, the test suite still does not run (testedUbuntu Jaunty i386).

            The problem is that the apparmor profile forbids /usr/sbin/mysqld to write the files it needs to run the test suite!

            This needs to be fixed somehow in the OurDelta stuff.

            Show
            knielsen Kristian Nielsen added a comment - Re: Ubuntu MariaDB package: can't run mysql-test-run.pl Ok, I fixed in 5.1-release maria branch that mysql-test-run.pl can find the files it needs when installed in /usr/share/mysql/mysql-test/. However, the test suite still does not run (testedUbuntu Jaunty i386). The problem is that the apparmor profile forbids /usr/sbin/mysqld to write the files it needs to run the test suite! This needs to be fixed somehow in the OurDelta stuff.
            Hide
            hakanküçükyılmaz Hakan Küçükyılmaz added a comment -

            Re: Ubuntu MariaDB package: can't run mysql-test-run.pl
            The apparmor problem still exists.

            Show
            hakanküçükyılmaz Hakan Küçükyılmaz added a comment - Re: Ubuntu MariaDB package: can't run mysql-test-run.pl The apparmor problem still exists.
            Hide
            arjenlentz Arjen Lentz added a comment -

            Re: Ubuntu MariaDB package: can't run mysql-test-run.pl
            I don't see any ref to a patch or branch or release... so, what happened, and how was it fixed and when/where?

            Show
            arjenlentz Arjen Lentz added a comment - Re: Ubuntu MariaDB package: can't run mysql-test-run.pl I don't see any ref to a patch or branch or release... so, what happened, and how was it fixed and when/where?
            Hide
            knielsen Kristian Nielsen added a comment -

            Re: Ubuntu MariaDB package: can't run mysql-test-run.pl
            I fixed in MariaDB 5.1.39 that mysql-test-run.pl can run the testsuite from the location it is installed in the Ourdelta .debs (/usr/share/mysql/mysql-test/ I think).

            The default work dir for the test suite is mysql-test/var, so if /usr/share/mysql/mysql-test is not writable (which it probably isn't), it is necessary to specify --vardir=<some writable directory>, I think this is ok as far as packaging goes as it is just the way mysql-test-run works currently.

            For the apparmor issue, I files a separate bug: Bug#491349

            Show
            knielsen Kristian Nielsen added a comment - Re: Ubuntu MariaDB package: can't run mysql-test-run.pl I fixed in MariaDB 5.1.39 that mysql-test-run.pl can run the testsuite from the location it is installed in the Ourdelta .debs (/usr/share/mysql/mysql-test/ I think). The default work dir for the test suite is mysql-test/var, so if /usr/share/mysql/mysql-test is not writable (which it probably isn't), it is necessary to specify --vardir=<some writable directory>, I think this is ok as far as packaging goes as it is just the way mysql-test-run works currently. For the apparmor issue, I files a separate bug: Bug#491349
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 471160

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 471160

              People

              • Assignee:
                Unassigned
                Reporter:
                hakanküçükyılmaz Hakan Küçükyılmaz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: