Bug #15934 | im_daemon_life_cycle fails sporadically | ||
---|---|---|---|
Submitted: | 22 Dec 2005 11:55 | Modified: | 9 Nov 2006 21:31 |
Reporter: | Joerg Bruehe | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Instance Manager | Severity: | S3 (Non-critical) |
Version: | 5.0.18 | OS: | Linux (Linux (RHEL4, x86_64)) |
Assigned to: | Alexander Nozdrin | CPU Architecture: | Any |
[22 Dec 2005 11:55]
Joerg Bruehe
[22 May 2006 12:34]
Alexander Nozdrin
This bug is expected to be fixed by a patch for BUG#14106. Please, re-verify it again.
[22 Jun 2006 23: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".
[28 Jul 2006 14:52]
Joerg Bruehe
Sorry for the bad news: Still occurs with 5.0.24 im_daemon_life_cycle [ fail ] Errors are (from /PATH/mysqltest-time) : mysqltest: Could not open connection 'default': 2002 Can't connect to local MySQL server through socket '/PATH/im.sock' (2) (the last lines may be the most important ones) Killing Possible Leftover Processes ===---===---===---===---===---===--- OCCURRED: Do-rpm-rh-x86-64-5.0-pro-gpl.rhel4.log normal Do-rpm-rh-x86-64-5.0-pro.rhel4.log normal Do-rpm-rh-x86-64-5.0-standard.rhel4.log normal Same symptom in this build / these runs also in tests "im_life_cycle", "im_options_set", "im_options_unset", and "im_utils"
[29 Aug 2006 11:48]
Alexander Nozdrin
A patch for this bug: http://lists.mysql.com/commits/10998 See BUG#21331 for more info.
[31 Aug 2006 9:56]
Alexander Nozdrin
Merged into 5.0 tree, currently tagged 5.0.25; merged into 5.1 tree, currently tagged 5.1.12-beta.
[31 Aug 2006 18:28]
Paul DuBois
Test suite change. No changelog entry needed.
[3 Oct 2006 13:18]
Alexander Nozdrin
The problem has not been completely solved. The problem is in test case (im_daemon_life_cycle.imtest) -- it should wait for Instance Manager to start accepting connections after restart. Otherwise race condition occurs.
[3 Oct 2006 14:40]
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/13019 ChangeSet@1.2274, 2006-10-03 18:42:59+04:00, anozdrin@alik. +4 -0 Patch for BUG#15934: im_daemon_life_cycle fails sporadically. The problem was a race condition in a test case. The fix eliminates the race condition by explicit wait on UNIX socket to start accepting connections. The patch affects only test suite (i.e. does not touch server codebase).
[4 Oct 2006 2:11]
Konstantin Osipov
Approved by email.
[2 Nov 2006 15:07]
Alexander Nozdrin
Small improvement has been pushed into 5.0-rt tree.
[9 Nov 2006 21:31]
Konstantin Osipov
Pushed into 5.0.29 and 5.1.13. No documentation entry is needed as this is a test suite bug.