Bug #15619 Test case 'ndb_autodiscover' failure on Linux/Itanium
Submitted: 9 Dec 2005 8:53 Modified: 20 Jan 2006 15:42
Reporter: Kristian Nielsen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:5.0.16,5.1 OS:Linux (Linux/Itanium + Solaris 10/AMD64/Sparc)
Assigned to: Jonas Oreland CPU Architecture:Any

[9 Dec 2005 8:53] Kristian Nielsen
Description:
The test case 'ndb_autodiscover' fails on Linux/Itanium:

09715: ndb_autodiscover               [ fail ]
09716: 
09717: Errors are (from /home/mysqldev/quadita2-icc-glibc23/test/mysql-max-5.0.17-linux-ia64-icc-glibc23/mysql-test/var/log/mysqltest-time) :
09718: waitNodeState(STARTED, -1) timeout after 121 attemps
09719: mysqltest: At line 493: command "$NDB_TOOLS_DIR/ndb_waiter --no-defaults > /dev/null" failed
09720: (the last lines may be the most important ones)
09721: 
09722: Ending Tests
09723: Shutting-down MySQL daemon
09724: 
09725: Master(s) shutdown finished
09726: Slave(s) shutdown finished
09727: Resuming Tests
09728: 
09729: ndb_autodiscover2              waitNodeState(STARTED, -1) timeout after 121 attemps
09730: mysql-test-run: *** ERROR: Error ndbcluster_start

How to repeat:
Run the test suite.
[14 Dec 2005 10:43] Martin Skold
Seems to be compiler bug, by lowering to -O1 all tests pass.
[14 Dec 2005 19:33] Joerg Bruehe
Consequential failures (just for the record), due to NDB not being started
and different tables existing:
ndb_restore
ps
ps_1general
query_cache
rename
rpl000009
rpl_create_database
rpl_dual_pos_advance
schema
select
show_check
system_mysql_db
view

See bug#9389 for the detailed symptoms.
[27 Dec 2005 16:25] Kent Boortz
This problem is seen with both gcc and Sun C/C++, makes
it unlikely a compiler bug.
[8 Jan 2006 8:10] Kristian Nielsen
I re-produced this on sol10-sparc-a with a build done with -xO1. The error appears sporadically, which may be the reason that it was wrongly attributed to compiler bug.
[8 Jan 2006 18:22] Kristian Nielsen
In a trial run where just ndb_autodiscover was run 100 times, the test failed in about 10% of the runs.
[13 Jan 2006 6:37] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/1022
[13 Jan 2006 9:52] Jonas Oreland
pushed into 5.0.19
[13 Jan 2006 10:35] Jonas Oreland
pushed into 5.1
[18 Jan 2006 8:07] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/33353
[20 Jan 2006 15:42] Jon Stephens
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

Documented in 5.0.19 and 5.1.6 changelogs. Closed.