Bug #94055 innodb.mysqld_core_dump_without_buffer_pool* tests need not_asan.inc too

Submitted: 25 Jan 2019 8:23 Modified: 29 Jan 2019 15:08
Reporter: Laurynas Biveinis (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Tests Severity:S7 (Test Cases)
Version:8.0.14 OS:Linux
Assigned to: Terje Røsten CPU Architecture:Any

[25 Jan 2019 8:23] Laurynas Biveinis
Description:
On ASan build,

190121 20:16:20 [ 52%] innodb.mysqld_core_dump_without_buffer_pool_dynamic w6  [ fail ]
        Test ended at 2019-01-21 20:16:20

CURRENT_TEST: innodb.mysqld_core_dump_without_buffer_pool_dynamic
--- /tmp/results/PS/mysql-test/suite/innodb/r/mysqld_core_dump_without_buffer_pool_dynamic.result	2019-01-21 16:54:48.000000000 +0300
+++ /tmp/results/PS/mysql-test/var/6/log/mysqld_core_dump_without_buffer_pool_dynamic.reject	2019-01-21 23:16:20.641364910 +0300
@@ -19,6 +19,6 @@
 # Expecting a "crash", but don't restart the server until it is told to
 # Expected max core size is 1300 MB
 # Perl: Sent a SIGABRT to mysqld to dump a core.
-# Perl: OK! Found the core file and it's small!
+# Perl: Failed! Didn't find the core file!
 # Make server restart
 # Wait for server to be back online

mysqltest: Result length mismatch

That's because AddressSanitizer disables core dumps on 64-bit archs

How to repeat:
-DWITH_ASAN=ON, then --do-test=mysqld_core_dump_without_buffer_pool

Suggested fix:
--source include/not_asan.inc
[25 Jan 2019 8:23] Laurynas Biveinis
The other two affected tests are innodb.mysqld_core_dump_without_buffer_pool_with_resizing and innodb.mysqld_core_dump_without_buffer_pool_dynamic
[27 Jan 2019 12:13] Terje Røsten
Hi!

Thanks for report! 

Verified as described.
[29 Jan 2019 15:08] Paul DuBois
Posted by developer:
 
Fixed in 8.0.16.

Work was done for test suite. No changelog entry needed.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.054 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.