Details
- 
    Bug 
- 
    Status: Closed (View Workflow)
- 
    Major 
- 
    Resolution: Fixed
- 
    12.1
- 
        Not for Release Notes
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
- relates to
- 
                    MDEV-34680 Asynchronous and Buffered Logging for Audit Plugin -         
- Closed
 
-         
- 
                    MDEV-37031 plugins.server_audit is broken on Windows -         
- Closed
 
-