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

plugins.server_audit Fails in 12.1+

    XMLWordPrintable

Details

    Description

      Test plugins.server_audit has started failing on branches 12.1 and main with a result mismatch. A quick look-through indicates MDEV-34680 may be the cause.

      plugins.server_audit                     w17 [ fail ]
              Test ended at 2025-08-04 19:30:05
       
      CURRENT_TEST: plugins.server_audit
      --- /home/buildbot/amd64-msan-clang-20/build/mysql-test/suite/plugins/r/server_audit.result	2025-08-04 19:23:24.000000000 +0000
      +++ /home/buildbot/amd64-msan-clang-20/build/mysql-test/suite/plugins/r/server_audit.reject	2025-08-04 19:30:05.393705278 +0000
      @@ -538,7 +538,6 @@
       TIME,HOSTNAME,ssl_user1,localhost:PORT,ID,0,CONNECT,sa_db,TLS_VERSION,0
       TIME,HOSTNAME,ssl_user1,localhost:PORT,ID,ID,QUERY,sa_db,'SHOW STATUS LIKE \'Ssl_version\'',0
       TIME,HOSTNAME,ssl_user1,localhost:PORT,ID,ID,QUERY,sa_db,'select variable_value > \'\' as \'have_ssl\' from information_schema.session_status where variable_name=\'ssl_cipher\'',0
      -TIME,HOSTNAME,ssl_user1,localhost:PORT,ID,0,DISCONNECT,sa_db,TLS_VERSION,0
       TIME,HOSTNAME,root,localhost:PORT,ID,ID,WRITE,mysql,db,
       TIME,HOSTNAME,root,localhost:PORT,ID,ID,WRITE,mysql,tables_priv,
       TIME,HOSTNAME,root,localhost:PORT,ID,ID,WRITE,mysql,columns_priv,
      @@ -573,6 +572,7 @@
       TIME,HOSTNAME,root,localhost:PORT,ID,ID,QUERY,sa_db,'drop table test.t1',0
       TIME,HOSTNAME,root,localhost:PORT,ID,ID,QUERY,sa_db,'set global server_audit_file_path=\'.\'',0
       TIME,HOSTNAME,root,localhost:PORT,ID,ID,QUERY,sa_db,'set global server_audit_file_path=\'.\'',0
      +TIME,HOSTNAME,ssl_user1,localhost:PORT,ID,0,DISCONNECT,sa_db,TLS_VERSION,0
       TIME,HOSTNAME,root,localhost:PORT,ID,ID,QUERY,sa_db,'show status like \'server_audit_current_log\'',0
       TIME,HOSTNAME,root,localhost:PORT,ID,ID,QUERY,sa_db,'set global server_audit_file_path=\'\'',0
       TIME,HOSTNAME,root,localhost:PORT,ID,ID,QUERY,sa_db,'set global server_audit_file_path=\'\'',0
       
      Result content mismatch
      

      Looks to only happen on debug and msan builds.

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              bnestere Brandon Nesterenko
              Votes:
              0 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.