Bug #50397 rpl.rpl_heartbeat_basic fails in mysql-trunk-merge
Submitted: 17 Jan 2010 14:13 Modified: 4 Aug 2010 19:56
Reporter: Alexey Kopytov Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:5.5.1 OS:Any
Assigned to: Alfranio Junior CPU Architecture:Any

[17 Jan 2010 14:13] Alexey Kopytov
Description:
rpl.rpl_heartbeat_basic fails in mysql-trunk-merge on all hosts in PB2 after a merge from mysql-5.1-bugteam.

The failure is not sporadic and the symptoms are different from those in bug #50364.

This is what I get when repeating it locally:

rpl.rpl_heartbeat_basic 'row'            [ fail ]  Found warnings/errors in server log file!
        Test ended at 2010-01-17 16:59:59
mysqltest: Logging to ''.
mysqltest: Results saved in ''.
mysqltest: Connecting to server localhost:13001 (socket /data/src/bzr/mysql-trunk-merge/mysql-test/var/tmp/mysqld.2.sock) as 'root', connection 'default', attempt 0 ...
mysqltest: ... Connected.
mysqltest: Start processing test commands from './include/check-warnings.test' ...
line
100117 16:59:57 [ERROR] Slave I/O: Got fatal error 1236 from master when reading data from binary log: 'could not find next log', Error_code: 1236
^ Found warnings in /data/src/bzr/mysql-trunk-merge/mysql-test/var/log/mysqld.2.err

How to repeat:
http://pb2.norway.sun.com/web.py?template=push_details&push=835264
[18 Jan 2010 11:33] Sveta Smirnova
Thank you for the report.

Verified as described.
[20 Jan 2010 12: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/97547

2959 Alfranio Correia	2010-01-20
      BUG#50397 rpl.rpl_heartbeat_basic fails in mysql-trunk-merge
      
      Resetting the master before stopping the slave was generating the message
      "[ERROR] Slave I/O: Got fatal error 1236 from master when reading data from
      binary log: 'could not find next log', Error_code: 1236". In consequence,
      the test case was failing because the message had not been suppressed.
      
      To circumvent the failure, we rewrote the test stopping the slave before
      resetting the master. We prefer this alternative rather than suppressing
      the message.
[21 Jan 2010 14:17] 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/97728

2959 Alfranio Correia	2010-01-21
      BUG#50397 rpl.rpl_heartbeat_basic fails in mysql-trunk-merge
      
      Resetting the master before stopping the slave was generating the message
      "[ERROR] Slave I/O: Got fatal error 1236 from master when reading data from
      binary log: 'could not find next log', Error_code: 1236". In consequence,
      the test case was failing because the message had not been suppressed.
      
      To circumvent the failure, we rewrote the test stopping the slave before
      resetting the master. We prefer this alternative rather than suppressing
      the message.
[21 Jan 2010 14:18] Alfranio Junior
Pushed to mysql-trunk-merge.
[5 Feb 2010 11:50] Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100204063540-9czpdmpixi3iw2yb) (version source revid:alik@sun.com-20100127184401-u928eeung1s2tm59) (pib:16)
[5 Feb 2010 11:56] Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20100205113942-oqovjy0eoqbarn7i) (version source revid:alfranio.correia@sun.com-20100121210527-rbuheu5rnsmcakh1) (merge vers: 5.5.99-m3) (pib:16)
[5 Feb 2010 12:02] Bugs System
Pushed into 5.5.2-m2 (revid:alik@sun.com-20100203172258-1n5dsotny40yufxw) (version source revid:alfranio.correia@sun.com-20100121141612-pzscpbho4s07hnjg) (merge vers: 5.5.2-m2) (pib:16)
[6 Feb 2010 1:18] Paul DuBois
Changes to test cases. No changelog entry needed.
[14 Feb 2010 0:38] 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/100262

3170 Luis Soares	2010-02-14
      Fixes for rpl_heartbeat_basic test case. Ported BUG#50397 and BUG#50767
      csets (the former one was fully ported, the latter only partially ported).
[24 Mar 2010 8:15] Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20100324081249-yfwol7qtcek6dh7w) (version source revid:alik@sun.com-20100324081113-kc7x1iytnplww91u) (merge vers: 6.0.14-alpha) (pib:16)
[24 Mar 2010 8:18] Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100324081159-5b8juv8ldiqwce8v) (version source revid:alik@sun.com-20100324081105-y72rautcea375zxm) (pib:16)
[24 Mar 2010 16:54] Paul DuBois
No changelog entry needed.
[4 Aug 2010 8:10] Bugs System
Pushed into mysql-trunk 5.6.1-m4 (revid:alik@ibmvm-20100804080001-bny5271e65xo34ig) (version source revid:alik@sun.com-20100324081105-y72rautcea375zxm) (merge vers: 5.6.99-m4) (pib:18)
[4 Aug 2010 8:26] Bugs System
Pushed into mysql-trunk 5.6.1-m4 (revid:alik@ibmvm-20100804081533-c1d3rbipo9e8rt1s) (version source revid:alik@sun.com-20100324081105-y72rautcea375zxm) (merge vers: 5.6.99-m4) (pib:18)
[4 Aug 2010 19:56] Paul DuBois
Changes to test suite. No changelog entry needed.