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

LP:347960 - mysql-test-run aborts run even with 'force' option - seems to happen on pool_of_threads failures

    Details

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

      Description

      This might be related to Bug#347615 (https://bugs.launchpad.net/bugs/347615), but some changes to mysqltest.cc and mysql-test-run.pl have been implemented, so I am not certain. This is occurring on Mac OSX 10.5 using fresh branches of Maria from lp (bzr branch lp:maria)

      What happens is that mysql-test-run aborts a test run even if --force and --max-test-fail=0 are used.

      I have tried this with and without max-test-fail being set. A small number of additional test failures occur before this failure / crash, so it could be related to --extra-port crashing the server. However, it is very odd for mysql-test-run to abort a run in progress even if something untoward happens to the test server.

      Sample output: (NOTE: Not all of the tests have been run at this point and some other failures have occurred prior to this, notably main.connect)

      main.pool_of_threads [ fail ]
      Test ended at 2009-03-24 01:00:14

      CURRENT_TEST: main.connect
      CURRENT_TEST: main.connect
      CURRENT_TEST: main.pool_of_threads
      CURRENT_TEST: main.pool_of_threads

      The server [mysqld.1 - pid: 80786, winpid: 80786, exit: 0] crashed while running 'check testcase before test'

      • saving '<snip>/mysql-test/var/log/main.pool_of_threads/' to '<snip>/mysql-test/var/log/main.pool_of_threads/'

      Test has failed 2 times, no more retries!

      mysql-test-run: *** ERROR: Test suite failure.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            patrickcrews Patrick Crews added a comment -

            Re: mysql-test-run aborts run even with 'force' option - seems to happen on pool_of_threads failures
            It appears this bug has been fixed through patches for https://bugs.launchpad.net/maria/+bug/347615 (--extra-port causes server crash on Mac OSX) + additional work to mysql-test-run.pl, mysqltest.cc, and related files.

            Was able to successfully run the test suite and received a proper report at the end of the test run.

            Show
            patrickcrews Patrick Crews added a comment - Re: mysql-test-run aborts run even with 'force' option - seems to happen on pool_of_threads failures It appears this bug has been fixed through patches for https://bugs.launchpad.net/maria/+bug/347615 (--extra-port causes server crash on Mac OSX) + additional work to mysql-test-run.pl, mysqltest.cc, and related files. Was able to successfully run the test suite and received a proper report at the end of the test run.
            Hide
            monty Michael Widenius added a comment -

            Re: mysql-test-run aborts run even with 'force' option - seems to happen on pool_of_threads failures
            The original issue with pool_of_threads is fixed

            The --force option is not yet perfect in call cases, but seams to be good enough for now.

            Show
            monty Michael Widenius added a comment - Re: mysql-test-run aborts run even with 'force' option - seems to happen on pool_of_threads failures The original issue with pool_of_threads is fixed The --force option is not yet perfect in call cases, but seams to be good enough for now.
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 347960

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

              People

              • Assignee:
                Unassigned
                Reporter:
                pcrews patrick crews
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: