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

Engines/funcs Sporadic Failures Master_SSL_Allowed NO

    XMLWordPrintable

Details

    • Not for Release Notes

    Description

      Various tests in the engines/funcs test suite can fail with

      MTR's internal check of the test case 'engines/funcs.rpl_dual_pos_advance' failed.
      This means that the test case does not preserve the state that existed
      before the test case was executed.  Most likely the test case did not
      do a proper clean-up. It could also be caused by the previous test run
      by this thread, if the server wasn't restarted.
      This is the diff of the states of the servers before and after the
      test case was executed:
      mysqltest: Logging to '/home/brandon/workspace/server/build/mysql-test/var/tmp/check-mysqld_1.log'.
      mysqltest: Results saved in '/home/brandon/workspace/server/build/mysql-test/var/tmp/check-mysqld_1.result'.
      mysqltest: Connecting to server localhost:19000 (socket /home/brandon/workspace/server/build/mysql-test/var/tmp/mysqld.1.sock) as 'root', connection 'default', attempt 0 ...
      mysqltest: ... Connected.
      mysqltest: Start processing test commands from './include/check-testcase.inc' ...
      mysqltest: ... Done processing test commands.
      --- /home/brandon/workspace/server/build/mysql-test/var/tmp/check-mysqld_1.result	2026-02-02 13:59:59.777385941 -0700
      +++ /home/brandon/workspace/server/build/mysql-test/var/tmp/check-mysqld_1.reject	2026-02-02 14:00:00.510374485 -0700
      @@ -24,7 +24,7 @@
       Until_Condition	#
       Until_Log_File	#
       Until_Log_Pos	#
      -Master_SSL_Allowed	Yes
      +Master_SSL_Allowed	No
       Master_SSL_CA_File	
       Master_SSL_CA_Path	
       Master_SSL_Cert	
       
      Result length mismatch
      not ok
      

      This is because test rpl_change_master.test sets CHANGE MASTER TO MASTER_SSL=0 at the end, and then later tests will pick up on it and fail. E.g. the test combination

      ./mysql-test/mtr engines/funcs.rpl_change_master,myisam,row engines/funcs.rpl_dual_pos_advance,myisam,row
      

      always results in the error.

      Attachments

        Issue Links

          Activity

            People

              bnestere Brandon Nesterenko
              bnestere Brandon Nesterenko
              Votes:
              1 Vote for this issue
              Watchers:
              3 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.