← Back to team overview

maria-discuss team mailing list archive

Re: for years failing tests

 

Hi, Reindl!

I cannot repeat this. I get:

rpl.rpl_binlog_index 'row'               [ skipped ]  Not ROW format
rpl.sec_behind_master-5114 'stmt'        [ skipped ]  Not STATEMENT format
rpl.rpl_semi_sync_event_after_sync 'innodb,mix' [ pass ]  10470

(it's innodb in my build, but that shouldn't matter).
The first two tests should not even be started, because you run your
tests with --mysqld=--binlog-format=mixed, so mysql-test-run.pl
will skip tests with 'row' and 'stmt' without executing a single line
from them. I don't know what can possibly go wrong for this
functionality not to work. It doesn't depend on replication, it doesn't
depend on the server or build options, it's just loading the combination
file and skipping combinations that don't match the specified
command-line option. I've never seen it misbehaving.

On Jan 20, Reindl Harald wrote:
> shouldn't the testsuite at some point in time run without errors?
> "run STOP SLAVE '' first" - uhm did i start it? it's scripted by shipped 
> scripts
> 
> [root@testserver:~]$ cat /usr/local/bin/mysql-test.sh
> #!/usr/bin/dash
> /usr/bin/su -c 'cd /usr/share/mysql-test; ./mysql-test-run.pl 
> --parallel=1 --max-test-fail=0 --mysqld=--binlog-format=mixed --force' mysql
> rm -rf /usr/share/mysql-test/var/*
> 
> rpl.rpl_binlog_index 'row'               [ fail ]
>          Test ended at 2017-01-20 16:56:16
> CURRENT_TEST: rpl.rpl_binlog_index
> mysqltest: In included file "./include/rpl_init.inc":
> included from ./include/master-slave.inc at line 38:
> included from /usr/share/mysql-test/suite/rpl/t/rpl_binlog_index.test at 
> line 20:
> At line 165: query 'SET GLOBAL gtid_slave_pos= ""' failed: 1198: This 
> operation cannot be performed as you have a running slave ''; run STOP 
> SLAVE '' first
> The result from queries just before the failure was:
> include/master-slave.inc
>   - saving '/usr/share/mysql-test/var/log/rpl.rpl_binlog_index-row/' to 
> '/usr/share/mysql-test/var/log/rpl.rpl_binlog_index-row/'
> 
> rpl.sec_behind_master-5114 'stmt'        [ fail ]
>          Test ended at 2017-01-20 16:58:33
> CURRENT_TEST: rpl.sec_behind_master-5114
> mysqltest: In included file "./include/rpl_init.inc":
> included from ./include/master-slave.inc at line 38:
> included from 
> /usr/share/mysql-test/suite/rpl/t/sec_behind_master-5114.test at line 1:
> At line 165: query 'SET GLOBAL gtid_slave_pos= ""' failed: 1198: This 
> operation cannot be performed as you have a running slave ''; run STOP 
> SLAVE '' first
> The result from queries just before the failure was:
> include/master-slave.inc
> 
> rpl.rpl_semi_sync_event_after_sync 'mix,xtradb' [ fail ]
>          Test ended at 2017-01-20 16:59:24
> CURRENT_TEST: rpl.rpl_semi_sync_event_after_sync
> mysqltest: At line 1: query 'set global 
> rpl_semi_sync_master_wait_point=AFTER_SYNC' failed: 1193: Unknown system 
> variable 'rpl_semi_sync_master_wait_point'
> The result from queries just before the failure was:
> set global rpl_semi_sync_master_wait_point=AFTER_SYNC;
>   - saving 
> '/usr/share/mysql-test/var/log/rpl.rpl_semi_sync_event_after_sync-mix,xtradb/' 
> to 
> '/usr/share/mysql-test/var/log/rpl.rpl_semi_sync_event_after_sync-mix,xtradb/'
> 
Regards,
Sergei
Chief Architect MariaDB
and security@xxxxxxxxxxx


Follow ups

References