Bug #40069 Mysql installation test fails with odd output ('Cyril has found a bug') on Mac
Submitted: 16 Oct 2008 2:11 Modified: 16 Nov 2008 5:26
Reporter: Shaun McArthur Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: Tests Severity:S7 (Test Cases)
Version:5.0.67 OS:MacOS (10.5 Univ)
Assigned to: Assigned Account CPU Architecture:Any
Tags: cyril, fail, mac, mysqltest, os x

[16 Oct 2008 2:11] Shaun McArthur
Description:
Received the following output running mysqltest:

mysql                          [ fail ]

--- /usr/local/mysql/mysql-test/r/mysql.result	2008-08-04 15:32:17.000000000 +0300
+++ /usr/local/mysql/mysql-test/r/mysql.reject	2008-10-16 05:05:00.000000000 +0300
@@ -162,8 +162,8 @@
 ERROR 1049 (42000) at line 1: Unknown database 'invalid'
 Test connect with dbname + hostname
 Test connect with dbname + _invalid_ hostname
-ERROR 2005 (HY000) at line 1: Unknown MySQL server host 'invalid_hostname' (errno)
-ERROR 2005 (HY000) at line 1: Unknown MySQL server host 'invalid_hostname' (errno)
+ERROR 2003 (HY000) at line 1: Can't connect to MySQL server on 'invalid_hostname' (errno)
+ERROR 2003 (HY000) at line 1: Can't connect to MySQL server on 'invalid_hostname' (errno)
 The commands reported in the bug report
 ERROR 2005 (HY000) at line 1: Unknown MySQL server host 'cyril has found a bug :)XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' (errno)
 Too long dbname

mysqltest: Result content mismatch

Aborting: mysql failed in default mode. 
To continue, re-run with '--force'.
Stopping All Servers
sh-3.2# 

How to repeat:
just re-run the script. Has happened during 3 consecutive tests.

Suggested fix:
I don't know. Talk to cyril maybe ? :)
[16 Oct 2008 5:26] Sveta Smirnova
Thank you for the report.

You get error "Can't connect to MySQL server" instead of "Invalid host". This means MySQL server in your case does not accept any connection and probably crashed. As I can in my environment please check if this is permanently repeatable in your case and provide content of INSTALLATION_DIR/mysql-test/var directory
[16 Oct 2008 5:35] Sveta Smirnova
Sorry: missed words. "As I can in my environment " should be "As I can not repeat described behavior in my environment "
[17 Nov 2008 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".