Bug #39108 main.wait_timeout fails sporadically
Submitted: 29 Aug 2008 5:26 Modified: 10 Feb 2009 21:18
Reporter: Alexander Nozdrin Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Embedded Library ( libmysqld ) Severity:S3 (Non-critical)
Version:5.1 bzr,6.0-TRUNK OS:Any
Assigned to: Horst Hunger CPU Architecture:Any
Tags: crash, pushbuild, sporadic, test failure

[29 Aug 2008 5:26] Alexander Nozdrin
Description:
main.wait_timeout fails sporadically.

For instance: http://tinyurl.com/5um22h

How to repeat:
http://tinyurl.com/6qo9ol
[17 Oct 2008 9:52] Alexander Nozdrin
Symptoms:
mysqltest: In included file "./include/not_embedded.inc": At line 3: require query 'select version() like '%embedded%' as 'have_embedded'' failed: 2006: MySQL server has gone away
[6 Nov 2008 16:38] Sven Sandberg
This xref shows only the symptoms above: http://tinyurl.com/6jegqz
[19 Jan 2009 15:30] 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/63563

2743 Horst Hunger	2009-01-19
      Fix for bug#39108: Set global wait timeout within the test, not more via opt file.
      Deleted the opt file. Replaced the sleeps by wait condition. Made some beautyfications.
[19 Jan 2009 17:45] Matthias Leich
I am basically ok with the changes.
Please have a look into the attached
wait_timeout.test.
It contains
- some improvements
- some comments (start with "ML:")

Ok to push if the comments are considered.
[19 Jan 2009 17:46] Matthias Leich
Modified test with comments from review

Attachment: wait_timeout.test (application/octet-stream, text), 4.61 KiB.

[20 Jan 2009 16:41] Patrick Crews
Ok to push.
Recommend adding some --echo lines to help clarify when connections are changing as well as Matthias' feedback.
[23 Jan 2009 17:21] 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/63919

2743 Horst Hunger	2009-01-23
      Fix for bug#39108: Set global wait timeout within the test, not more via opt file.
      Deleted the opt file. Replaced the sleeps by wait condition. Made some beautyfications.
      Inserted review results.
[23 Jan 2009 18:13] 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/63920

2974 Horst Hunger	2009-01-23 [merge]
      bug#39108: Merge to 6.0.
[3 Feb 2009 9:40] Bugs System
Pushed into 5.1.32 (revid:joro@sun.com-20090203090549-gos3v4320vimrzg6) (version source revid:horst@mysql.com-20090123171909-rmb6cp7mcqllfpsw) (merge vers: 5.1.32) (pib:6)
[4 Feb 2009 11:15] Bugs System
Pushed into 6.0.10-alpha (revid:kostja@sun.com-20090204104420-mw1i2u9lum4bxjo6) (version source revid:aelkin@mysql.com-20090123192734-nf2fb6l318l86mdw) (merge vers: 6.0.10-alpha) (pib:6)
[10 Feb 2009 21:18] Paul DuBois
Test case changes. No changelog entry needed.
[17 Feb 2009 14:58] Bugs System
Pushed into 5.1.32-ndb-6.3.23 (revid:tomas.ulin@sun.com-20090217131017-6u8qz1edkjfiobef) (version source revid:tomas.ulin@sun.com-20090203133556-9rclp06ol19bmzs4) (merge vers: 5.1.32-ndb-6.3.22) (pib:6)
[17 Feb 2009 16:46] Bugs System
Pushed into 5.1.32-ndb-6.4.3 (revid:tomas.ulin@sun.com-20090217134419-5ha6xg4dpedrbmau) (version source revid:tomas.ulin@sun.com-20090203133556-9rclp06ol19bmzs4) (merge vers: 5.1.32-ndb-6.3.22) (pib:6)
[17 Feb 2009 18:22] Bugs System
Pushed into 5.1.32-ndb-6.2.17 (revid:tomas.ulin@sun.com-20090217134216-5699eq74ws4oxa0j) (version source revid:tomas.ulin@sun.com-20090202111723-1zzwax187rtls913) (merge vers: 5.1.32-ndb-6.2.17) (pib:6)