Bug #28743 Instance manager generates warnings on startup in test suite
Submitted: 29 May 2007 11:00 Modified: 5 Oct 2007 15:43
Reporter: Michael Widenius Email Updates:
Status: Unsupported Impact on me:
None 
Category:Instance Manager Severity:S3 (Non-critical)
Version:5.1.20 OS:Any
Assigned to: CPU Architecture:Any

[29 May 2007 11:00] Michael Widenius
Description:
When running mysql-test-run with im_utils I get the following warnings in the im.err file:

070529 13:48:15 [ERROR] Can't find messagefile /my/monty/share/mysql/english/errmsg.sys'
070529 13:48:15 [Warning] Can't create test file /my/monty/var/narttu.lower-test
070529 13:48:15 [Warning] Can't create test file /my/monty/var/narttu.lower-test
/home/my/mysql-5.1/sql/mysqld: Can't change dir to '/my/monty/var/' (Errcode: 2)
/home/my/mysql-5.1/sql/mysqld: Unknown error 1146
070529 13:48:15 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.

The paths are wrong and indicates that the mysqld instance that the instance manager starts gets wrong startup options (either a missing --no-defaults or the generated configuration files for the instance manager is wrong)

This is now a critical error as we should be able to run the test suite without any [ERROR] or [Warning] tags in any of the .err files.

Another problem, that makes debugging harder, is that when you run mysql-test-run with --debug, we don't get a trace file for the instance manager.

How to repeat:
mysql-test-run im_utils
cat var/log/im.err
[5 Oct 2007 15:43] Konstantin Osipov
Instance Manager will be discontinued.