Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-30027

[Draft] rpl.rpl_semi_sync_shutdown_await_ack fails when --mysqld=--debug is set

    XMLWordPrintable

    Details

      Description

      ./mtr --mysqld=--debug=d,ib_log_checkpoint_avoid_hard rpl.rpl_semi_sync_shutdown_await_ack
      

      rpl.rpl_semi_sync_shutdown_await_ack 'mix' [ fail ]
              Test ended at 2022-11-17 14:51:03
       
      CURRENT_TEST: rpl.rpl_semi_sync_shutdown_await_ack
      --- /home/parallels/dev/build-10.11-828394/build1/mysql-test/suite/rpl/r/rpl_semi_sync_shutdown_await_ack.result	2022-11-17 09:51:19.000000000 -0500
      +++ /home/parallels/dev/build-10.11-828394/build1/mysql-test/suite/rpl/r/rpl_semi_sync_shutdown_await_ack.reject	2022-11-17 14:51:03.211813166 -0500
      @@ -110,18 +110,18 @@
       #-- Re-synchronize slaves with master and disable semi-sync
       #-- Stop slaves
       connection server_2;
      -SET @@GLOBAL.debug_dbug= "";
      +SET @@GLOBAL.debug_dbug= "d,ib_log_checkpoint_avoid_hard";
       SET @@GLOBAL.rpl_semi_sync_slave_enabled= 0;
       include/stop_slave.inc
       connection server_3;
      -SET @@GLOBAL.debug_dbug= "";
      +SET @@GLOBAL.debug_dbug= "d,ib_log_checkpoint_avoid_hard";
       SET @@GLOBAL.rpl_semi_sync_slave_enabled= 0;
       include/stop_slave.inc
       #-- Bring the master back up
       connection server_1_con2;
       connection default;
       connection server_1;
      -SET @@GLOBAL.debug_dbug= "";
      +SET @@GLOBAL.debug_dbug= "d,ib_log_checkpoint_avoid_hard";
       SET @@GLOBAL.rpl_semi_sync_master_enabled = 0;
       show status like 'Rpl_semi_sync_master_status';
       Variable_name	Value
      @@ -227,18 +227,18 @@
       #-- Re-synchronize slaves with master and disable semi-sync
       #-- Stop slaves
       connection server_2;
      -SET @@GLOBAL.debug_dbug= "";
      +SET @@GLOBAL.debug_dbug= "d,ib_log_checkpoint_avoid_hard";
       SET @@GLOBAL.rpl_semi_sync_slave_enabled= 0;
       include/stop_slave.inc
       connection server_3;
      -SET @@GLOBAL.debug_dbug= "";
      +SET @@GLOBAL.debug_dbug= "d,ib_log_checkpoint_avoid_hard";
       SET @@GLOBAL.rpl_semi_sync_slave_enabled= 0;
       include/stop_slave.inc
       #-- Bring the master back up
       connection server_1_con2;
       connection default;
       connection server_1;
      -SET @@GLOBAL.debug_dbug= "";
      +SET @@GLOBAL.debug_dbug= "d,ib_log_checkpoint_avoid_hard";
       SET @@GLOBAL.rpl_semi_sync_master_enabled = 0;
       show status like 'Rpl_semi_sync_master_status';
       Variable_name	Value
      @@ -345,18 +345,18 @@
       #-- Re-synchronize slaves with master and disable semi-sync
       #-- Stop slaves
       connection server_2;
      -SET @@GLOBAL.debug_dbug= "";
      +SET @@GLOBAL.debug_dbug= "d,ib_log_checkpoint_avoid_hard";
       SET @@GLOBAL.rpl_semi_sync_slave_enabled= 0;
       include/stop_slave.inc
       connection server_3;
      -SET @@GLOBAL.debug_dbug= "";
      +SET @@GLOBAL.debug_dbug= "d,ib_log_checkpoint_avoid_hard";
       SET @@GLOBAL.rpl_semi_sync_slave_enabled= 0;
       include/stop_slave.inc
       #-- Bring the master back up
       connection server_1_con2;
       connection default;
       connection server_1;
      -SET @@GLOBAL.debug_dbug= "";
      +SET @@GLOBAL.debug_dbug= "d,ib_log_checkpoint_avoid_hard";
       SET @@GLOBAL.rpl_semi_sync_master_enabled = 0;
       show status like 'Rpl_semi_sync_master_status';
       Variable_name	Value
      @@ -469,18 +469,18 @@
       #-- Re-synchronize slaves with master and disable semi-sync
       #-- Stop slaves
       connection server_2;
      -SET @@GLOBAL.debug_dbug= "";
      +SET @@GLOBAL.debug_dbug= "d,ib_log_checkpoint_avoid_hard";
       SET @@GLOBAL.rpl_semi_sync_slave_enabled= 0;
       include/stop_slave.inc
       connection server_3;
      -SET @@GLOBAL.debug_dbug= "";
      +SET @@GLOBAL.debug_dbug= "d,ib_log_checkpoint_avoid_hard";
       SET @@GLOBAL.rpl_semi_sync_slave_enabled= 0;
       include/stop_slave.inc
       #-- Bring the master back up
       connection server_1_con2;
       connection default;
       connection server_1;
      -SET @@GLOBAL.debug_dbug= "";
      +SET @@GLOBAL.debug_dbug= "d,ib_log_checkpoint_avoid_hard";
       SET @@GLOBAL.rpl_semi_sync_master_enabled = 0;
       show status like 'Rpl_semi_sync_master_status';
       Variable_name	Value
       
      mysqltest: Result length mismatch
      

      The problem appears to be the --eval SET @@GLOBAL.debug_dbug= "$sav_server_2_dbug" (et al) statement in rpl_semi_sync_shutdown_await_ack.inc, so there might be other tests with the same issue.

      The test failure would appear to be resolved by not using the --eval, but the test might still be affected by MDEV-28543.

        Attachments

          Activity

            People

            Assignee:
            angelique.sklavounos Angelique Sklavounos
            Reporter:
            angelique.sklavounos Angelique Sklavounos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.