Bug #43359 unit test suite times out on sol10-amd64-a
Submitted: 4 Mar 2009 9:54 Modified: 10 Sep 2018 11:02
Reporter: Alexander Nozdrin Email Updates:
Status: Won't fix Impact on me:
Category:MySQL Server: General Severity:S3 (Non-critical)
Version:6.0-TRUNK OS:Solaris (sol10-amd64-a)
Assigned to: CPU Architecture:Any
Tags: pushbuild, sporadic, test failure, timeout

[4 Mar 2009 9:54] Alexander Nozdrin
The 'unit' test suite timed out a few times recently:
  - http://tinyurl.com/crdk7j
  - http://tinyurl.com/bkvhns
  - http://tinyurl.com/cylqbr

Timeouts happens in different places every time,
but in "Testing waiting_threads with 30 threads, 3000 iterations..."
test case (the killing mode was different).

How to repeat:

Suggested fix:
1. Increase the timeout (now it's 7200 sec (2h), let's double it).
2. Improve logging so that there are some timestamps (progress)
   in the log, which allow to get the reason for timeout (was it
   a deadlock, or a very slow/overloaded box).
[10 Mar 2009 8:03] Alexander Nozdrin
See also Bug#41092.
[2 Apr 2009 7:02] Guilhem Bichot
Serg disabled the relevant portion of the unit test, as it tests something which the server doesn't use.
[2 Apr 2009 9:41] 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:


2733 Guilhem Bichot	2009-04-02
      Finishing the fix for BUG#43359 "unit test suite times out on sol10-amd64-a" (plan() was not updated).
      Fixing simple build failure.
     @ mysys/tests/testhash.c
        this test isn't built by default so people forgot to replace hash by my_hash
     @ unittest/mysys/waiting_threads-t.c
        Finishing the fix for BUG#43359 "unit test suite times out on sol10-amd64-a" (plan() was not updated)
[3 Apr 2009 14:52] Bugs System
Pushed into 6.0.11-alpha (revid:guilhem@mysql.com-20090402210815-lu17n4kj8c73cfe8) (version source revid:guilhem@mysql.com-20090402094044-n0d7o28rhn8ouunb) (merge vers: 6.0.11-alpha) (pib:6)
[6 Nov 2010 0:01] 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".
[10 Sep 2018 11:02] Dyre Tjeldvoll
Posted by developer:
Obsoleted when unit tests were moved to gunit.