Bug #40705 mtr's check-warnings fails sporadically in pushbuild
Submitted: 13 Nov 2008 16:47 Modified: 30 Jan 2009 17:57
Reporter: Sven Sandberg Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Tests Severity:S7 (Test Cases)
Version:5.1-rpl, 6.0-rpl OS:Any
Assigned to: Magnus BlÄudd CPU Architecture:Any
Tags: 5.1-rpl-green, check-warnings, pushbuild, sporadic

[13 Nov 2008 16:47] Sven Sandberg
Description:
Sporadic failure in varying tests in 5.1-rpl and 6.0-rpl:

ndb.ndb_cache2                           [ fail ]

CURRENT_TEST: ndb.ndb_cache2
==4544== Memcheck, a memory error detector.
==4544== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==4544== Using LibVEX rev 1732, a library for dynamic binary translation.
==4544== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==4544== Using valgrind-3.2.3, a dynamic binary instrumentation framework.
==4544== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==4544== For more details, rerun with: -v
==4544== 
==4544== 
==4544== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1)
==4544== malloc/free: in use at exit: 1,744 bytes in 6 blocks.
==4544== malloc/free: 9,917 allocs, 9,911 frees, 1,368,804 bytes allocated.
==4544== For counts of detected errors, rerun with: -v
==4544== searching for pointers to 6 not-freed blocks.
==4544== checked 9,709,104 bytes.
==4544== 
==4544== LEAK SUMMARY:
==4544==    definitely lost: 0 bytes in 0 blocks.
==4544==      possibly lost: 0 bytes in 0 blocks.
==4544==    still reachable: 0 bytes in 0 blocks.
==4544==         suppressed: 1,744 bytes in 6 blocks.

Could not execute 'check-warnings' for testcase 'ndb.ndb_cache2':The test './include/check-warnings.test' is not supported by this installation
Detected in file ./include/check-warnings.test at line 9
reason: OK

 - saving '/dev/shm/var-ps_row-121/1/log/ndb.ndb_cache2/' to '/dev/shm/var-ps_row-121/log/ndb.ndb_cache2/'

Retrying test, attempt(2/3)...

see also BUG#39005

How to repeat:
https://intranet.mysql.com/secure/pushbuild/showpush.pl?dir=bzr_mysql-5.1-rpl&order=73 pb-valgrind/ps_row

xref: http://tinyurl.com/5ae9mn (Please ignore the stack trace in the push from 2008-11-12, it has been reported separately as BUG#39590.)
[14 Nov 2008 12:19] 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/58776

2695 Magnus Svensson	2008-11-14
      Bug#40705 mtr's check-warnings fails sporadically in pushbuild
       - Change the logic slightly for when and how errors from
         check-warnings and check-testcase are reported. The prevoius logic
         reporting testfailed twice and that might have caused this.
       - Also print result code returned from mysqltest when it is "unexpected"
[30 Jan 2009 13:27] Bugs System
Pushed into 6.0.10-alpha (revid:luis.soares@sun.com-20090129165607-wiskabxm948yx463) (version source revid:luis.soares@sun.com-20090129163120-e2ntks4wgpqde6zt) (merge vers: 6.0.10-alpha) (pib:6)
[30 Jan 2009 15:08] Bugs System
Pushed into 5.1.32 (revid:luis.soares@sun.com-20090129165946-d6jnnfqfokuzr09y) (version source revid:msvensson@mysql.com-20081114121937-d7cmbn7xjqced3z9) (merge vers: 5.1.31) (pib:6)
[30 Jan 2009 17:57] Paul DuBois
Test suite changes. No changelog entry needed.
[17 Feb 2009 14:54] 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:42] 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:18] 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-20090201210519-vehobc4sy3g9s38e) (merge vers: 5.1.32-ndb-6.2.17) (pib:6)