Bug #55503 MTR fails to filter LEAK SUMMARY from valgrind report of restarted servers
Submitted: 23 Jul 2010 11:06 Modified: 15 Oct 2010 13:55
Reporter: Bjørn Munch Email Updates:
Status: Closed Impact on me:
None 
Category:Tools: MTR / mysql-test-run Severity:S3 (Non-critical)
Version:5.1+ OS:Any
Assigned to: Bjørn Munch

[23 Jul 2010 11:06] Bjørn Munch
Description:
A test failed with a report like this:

innodb_plugin.innodb-autoinc [ fail ] Found warnings/errors in server log file!
        Test ended at 2010-07-08 19:50:40
line
==25280== LEAK SUMMARY:
==25280==    definitely lost: 0 bytes in 0 blocks.
==25280==      possibly lost: 0 bytes in 0 blocks.
==25280==    still reachable: 32 bytes in 1 blocks.
==25280==         suppressed: 1,584 bytes in 6 blocks.
==26340== LEAK SUMMARY:
==26340==    definitely lost: 0 bytes in 0 blocks.
==26340==      possibly lost: 0 bytes in 0 blocks.
==26340==    still reachable: 32 bytes in 1 blocks.
==26340==         suppressed: 1,584 bytes in 6 blocks.
^ Found warnings in [........]

How to repeat:
Reported running test innodb_plugin.innodb-autoinc with valgrind

Suggested fix:
MTR already has code to filter out reports starting with ERROR SUMMARY, and from -trunk also HEAP SUMMARY. To this should be added LEAK SUMMARY, or it should be made more general, ignoring any [A-Z]* SUMMARY
[23 Jul 2010 12:54] 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/114225

2919 Bjorn Munch	2010-07-23
      Bug #55503 MTR fails to filter LEAK SUMMARY from valgrind report of restarted servers
      Was not covered by "skip" pattern
      Replace with a more generic pattern for SUMMARY
[30 Jul 2010 14:09] 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/114752

3467 Georgi Kodinov	2010-07-30
      Disable the tests failing under valgrind because of bug #55503
[30 Jul 2010 14:10] Vasil Dimov
Please revert the following changeset:

http://lists.mysql.com/commits/114752

when this bug is fixed.
[2 Aug 2010 12:05] Bjørn Munch
Pushed to 5.1-mtr, trunk-mtr, next-mr-mtr
[6 Aug 2010 9:36] 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/115167

3477 Bjorn Munch	2010-08-06
      Bug #55503 MTR fails to filter LEAK SUMMARY from valgrind report of restarted servers
      Undo workaround as fix is being merged in
[16 Aug 2010 6:29] Bugs System
Pushed into mysql-trunk 5.6.1-m4 (revid:alik@sun.com-20100816062701-qo9dpnk5tkt1pksb) (version source revid:alik@sun.com-20100816062603-xc16eftmv7rmktyq) (merge vers: 5.6.1-m4) (pib:20)
[16 Aug 2010 6:31] Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100816062819-bluwgdq8q4xysmlg) (version source revid:alik@sun.com-20100816062612-enatdwnv809iw3s9) (pib:20)
[16 Aug 2010 17:03] Paul Dubois
Test suite changes. No changelog entry needed.
[18 Aug 2010 7:20] Bugs System
Pushed into mysql-trunk 5.6.1-m4 (revid:alik@sun.com-20100818071819-2lu46b0mm3cs34rf) (version source revid:alik@sun.com-20100818071732-g682fg1v0nnrrutx) (merge vers: 5.6.1-m4) (pib:20)
[18 Aug 2010 7:21] Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100818071923-4ounwbhiium2met1) (version source revid:alik@sun.com-20100818071743-lrzordai06i2crty) (pib:20)
[18 Aug 2010 7:22] Bugs System
Pushed into mysql-5.5 5.5.6-m3 (revid:alik@sun.com-20100818071719-dktnkvt8zvidj0sy) (version source revid:alik@sun.com-20100818071719-dktnkvt8zvidj0sy) (merge vers: 5.5.6-m3) (pib:20)
[19 Aug 2010 15:39] Bugs System
Pushed into mysql-5.1 5.1.51 (revid:build@mysql.com-20100819151858-muaaor6jojb5ouzj) (version source revid:build@mysql.com-20100819151858-muaaor6jojb5ouzj) (merge vers: 5.1.51) (pib:20)
[28 Sep 2010 8:45] Bugs System
Pushed into mysql-5.1 5.1.52 (revid:sunanda.menon@sun.com-20100928083322-wangbv97uobu7g66) (version source revid:sunanda.menon@sun.com-20100928083322-wangbv97uobu7g66) (merge vers: 5.1.52) (pib:21)
[14 Oct 2010 8:25] Bugs System
Pushed into mysql-5.1-telco-7.0 5.1.51-ndb-7.0.20 (revid:martin.skold@mysql.com-20101014082627-jrmy9xbfbtrebw3c) (version source revid:martin.skold@mysql.com-20101014082627-jrmy9xbfbtrebw3c) (merge vers: 5.1.51-ndb-7.0.20) (pib:21)
[14 Oct 2010 8:40] Bugs System
Pushed into mysql-5.1-telco-6.3 5.1.51-ndb-6.3.39 (revid:martin.skold@mysql.com-20101014083757-5qo48b86d69zjvzj) (version source revid:martin.skold@mysql.com-20101014083757-5qo48b86d69zjvzj) (merge vers: 5.1.51-ndb-6.3.39) (pib:21)
[14 Oct 2010 8:55] Bugs System
Pushed into mysql-5.1-telco-6.2 5.1.51-ndb-6.2.19 (revid:martin.skold@mysql.com-20101014084420-y54ecj85j5we27oa) (version source revid:martin.skold@mysql.com-20101014084420-y54ecj85j5we27oa) (merge vers: 5.1.51-ndb-6.2.19) (pib:21)
[15 Oct 2010 13:55] Jon Stephens
testing only. Closed.