Bug #91022 audit_null.audit_plugin_bugs test always failing
Submitted: 25 May 7:48 Modified: 25 May 8:14
Reporter: Laurynas Biveinis (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:8.0.11 OS:Any
Assigned to: CPU Architecture:Any
Tags: audit api, mtr

[25 May 7:48] Laurynas Biveinis
Description:
audit_null.audit_plugin_bugs             w4 [ fail ]
        Test ended at 2018-05-24 11:47:29

CURRENT_TEST: audit_null.audit_plugin_bugs
--- /mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/min-trusty-x64/mysql-test/suite/audit_null/r/audit_plugin_bugs.result	2018-05-24 13:15:27.630084999 +0300
+++ /mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/min-trusty-x64/build/mysql-test/var/4/log/audit_plugin_bugs.reject	2018-05-24 14:47:29.244729000 +0300
@@ -5,10 +5,10 @@
 # Shutdown the server
 # Load the plugin at startup and abort on STARTUP with default message
 # Search for default abort message
-Pattern "\[ERROR\] \[[^]]*\] \[[^]]*\] Aborted by Audit API \(\'MYSQL_AUDIT_SERVER_STARTUP_STARTUP\'.1\)\." found
+Pattern "\[ERROR\] \[[^]]*\] \[[^]]*\] Aborted by Audit API \(\'MYSQL_AUDIT_SERVER_STARTUP_STARTUP\'.1\)\." not found
 # Load the plugin at startup and abort on STARTUP event with custom message
 # Search for custom abort message
-Pattern "\[ERROR\] \[[^]]*\] \[[^]]*\] Abort message custom" found
+Pattern "\[ERROR\] \[[^]]*\] \[[^]]*\] Abort message custom" not found
 # Startup the server
 #
 # Bug #22136709: INFINITE RECURSION BY CALLING MY_MESSAGE FROM

mysqltest: Result content mismatch

How to repeat:
./mtr --debug-server --suite=audit_null audit_plugin_bugs
[25 May 8:14] Umesh Shastry
Hello Laurynas,

Thank you for the report and feedback!

Thanks,
Umesh
[6 Sep 7:33] Przemysław Skibiński
Fix for audit_null.audit_plugin_bugs and 8.0.12

Attachment: audit_plugin_bugs_8.0.12.patch (text/x-patch), 1.57 KiB.