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

LP:442254 - mysql-test-run --embedded fails on Windows with: ERROR: .opt file references 'EXAMPLE_PLUGIN_OPT'

    Details

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

      Description

      The problem occurs only when one is on Windows and is trying to run with embedded server. It fails with the following way:

      C:\dev\mysql-5.1.38-maria-beta1\mysql-test>perl mysql-test-run.pl --embedded-server plugin
      "our" variable $opt_suites masks earlier declaration in same scope at mysql-test-run.pl line 134.
      Logging: mysql-test-run.pl --embedded-server plugin
      MySQL Version 5.1.38
      Checking supported features...

      • skipping ndbcluster
      • skipping SSL
        Collecting tests...
        vardir: c:/dev/mysql-5.1.38-maria-beta1/mysql-test/var
        Checking leftover processes...
        Removing old var directory...
        Creating var directory 'c:/dev/mysql-5.1.38-maria-beta1/mysql-test/var'...
        Installing system database...
        Using server port 1397

      ==============================================================================

      TEST RESULT TIME (ms)
      ------------------------------------------------------------

      worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 13000..13009
      worker[1] mysql-test-run: WARNING: running this script as root will cause some tests to be skipped
      worker[1] mysql-test-run: *** ERROR: .opt file references 'EXAMPLE_PLUGIN_OPT' which is not set
      mysql-test-run: *** ERROR: Test suite aborted

      C:\dev\mysql-5.1.38-maria-beta1\mysql-test>

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            psergey Sergei Petrunia added a comment -

            Re: mysql-test-run --embedded fails on Windows with: ERROR: .opt file references 'EXAMPLE_PLUGIN_OPT'
            Also filed as http://bugs.mysql.com/bug.php?id=47812

            Show
            psergey Sergei Petrunia added a comment - Re: mysql-test-run --embedded fails on Windows with: ERROR: .opt file references 'EXAMPLE_PLUGIN_OPT' Also filed as http://bugs.mysql.com/bug.php?id=47812
            Hide
            psergey Sergei Petrunia added a comment -

            Re: mysql-test-run --embedded fails on Windows with: ERROR: .opt file references 'EXAMPLE_PLUGIN_OPT'
            Fix proposal: https://lists.launchpad.net/maria-developers/msg01103.html

            Show
            psergey Sergei Petrunia added a comment - Re: mysql-test-run --embedded fails on Windows with: ERROR: .opt file references 'EXAMPLE_PLUGIN_OPT' Fix proposal: https://lists.launchpad.net/maria-developers/msg01103.html
            Hide
            hakanküçükyılmaz Hakan Küçükyılmaz added a comment -

            Re: mysql-test-run --embedded fails on Windows with: ERROR: .opt file references 'EXAMPLE_PLUGIN_OPT'
            Sergey, I guess, we released this fix already. Can you please comment?

            Thanks,

            Show
            hakanküçükyılmaz Hakan Küçükyılmaz added a comment - Re: mysql-test-run --embedded fails on Windows with: ERROR: .opt file references 'EXAMPLE_PLUGIN_OPT' Sergey, I guess, we released this fix already. Can you please comment? Thanks,
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 442254

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

              People

              • Assignee:
                psergey Sergei Petrunia
                Reporter:
                psergey Sergei Petrunia
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: