[MDEV-2462] LP:347960 - mysql-test-run aborts run even with 'force' option - seems to happen on pool_of_threads failures Created: 2009-03-24  Updated: 2015-05-19  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: patrick crews (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug347960.xml    

 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.



 Comments   
Comment by Patrick Crews (Inactive) [ 2009-04-18 ]

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.

Comment by Michael Widenius [ 2009-05-04 ]

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.

Comment by Rasmus Johansson (Inactive) [ 2009-09-02 ]

Launchpad bug id: 347960

Generated at Thu Feb 08 06:42:01 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.