Bug #59542 Replication tests from eits suite failing due to change in inc file
Submitted: 17 Jan 2011 5:41 Modified: 24 Sep 2014 13:35
Reporter: Vinay Fisrekar Email Updates:
Status: Closed Impact on me:
None 
Category:Tests Severity:S3 (Non-critical)
Version:All OS:Any
Assigned to: Assigned Account CPU Architecture:Any

[17 Jan 2011 5:41] Vinay Fisrekar
Description:
Replication tests are failing on Push Build runs due to changes in "include/master-slave.inc" file.
These tests are part of eits suite.
Result file modification will be required.

eits suite has been synced with engines suite for mysql-5.1,mysql-5.5 and msql-trunk.
These failing tests are added in disabled file as they are failing and seem to be duplicate of tests in rpl suite. We will have to revisit the tests to check that they are really same tests or not.  

How to repeat:
perl mysql-test-run.pl --suite=engines/iuds,engines/funcs --force --suite-timeout=500 --max-test-fail=0 --retry-failure=0 --mysqld=--default-storage-engine=innodb --mysqld=--innodb
[17 Jan 2011 8:49] Vinay Fisrekar
Tests started failing after clean up activities for replication tests.

Check-in details
----------------------------------------------
revno: 2661.752.1
committer: Sven Sandberg <sven.sandberg@oracle.com>
branch nick: 5.1-bugteam
timestamp: Sun 2010-12-19 18:07:28 +0100
message: BUG#49978: Replication tests don't clean up replication state at the end
              Major replication test framework cleanup. 
----------------------------------------------
[1 Feb 2011 6:21] Vinay Fisrekar
We had suggestions to use old "inc files" for making test to run (w.r.t mail thread titled  as #59542 [Com]: Replication tests from eits suite failing due to change in inc file)

We used old "master-slave.inc" and corresponding "inc" files which are being called from each other. But we are getting error as "server not configured as slave " for tests

Error Message:
mysqltest: In included file "./suite/engines/funcs/include/master-slave-reset.inc": 
included from ./suite/engines/funcs/include/master-slave-reset.inc at line 35:
included from ./suite/engines/funcs/include/master-slave.inc at line 9:
At line 35: query 'start slave' failed: 1200: The server is not configured as slave; fix in config file or with CHANGE MASTER TO

We tried steps as 
1) We pulled old inc files from required revision( the revision before the change which caused result difference )
2) Created new include folder for failing tests
3) Moved corresponding inc files (master-slave.inc ,master-slave-reset.inc  ,show_rpl_debug_info.inc , wait_for_slave_param.inc  ,wait_for_slave_to_start.inc , wait_for_slave_to_stop.inc )
4) ran rpl test to use these files
[24 Sep 2014 13:35] Paul DuBois
Fixed in 5.7.6. Changes for test suite. No changelog entry needed.