Bug #95846 Test innodb_stress.innodb_stress_crash from MySQL Test Suite fails
Submitted: 17 Jun 2019 17:25 Modified: 18 Jun 2019 6:20
Reporter: Zbigniew Romanowski Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Tests Severity:S7 (Test Cases)
Version:8.0.16 OS:Fedora (version 30)
Assigned to: CPU Architecture:x86 (Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz)

[17 Jun 2019 17:25] Zbigniew Romanowski
Description:
MySQL Test Suite fails for test innodb_stress.innodb_stress_crash.
Error message is following:

innodb_stress.innodb_stress_crash         [ fail ]
        Test ended at 2019-06-17 19:01:30

CURRENT_TEST: innodb_stress.innodb_stress_crash
Traceback (most recent call last):
  File "/home/romz/oracle/mysql-server/mysql-test/suite/innodb_stress/t/load_generator.py", line 3, in <module>
    import MySQLdb
ImportError: No module named MySQLdb
mysqltest: At line 83: Command "$exec" failed.

Output from before failure:
exec of 'python /home/romz/oracle/mysql-server/mysql-test/suite/innodb_stress/t/load_generator.py /home/romz/oracle/mysql-server-build-clang-8.0.0/mysql-test/var/run/mysqld.1.pid 10 1000  2 0 root 127.0.0.1 13000 test 0 4096 /home/romz/oracle/mysql-server-build-clang-8.0.0/mysql-test/var/tmp/load_generator 0 0 0' failed, error: 256, status: 1, errno: 2.

In included file ./suite/innodb_stress/include/innodb_stress.inc: 83
included from /home/romz/oracle/mysql-server/mysql-test/suite/innodb_stress/t/innodb_stress_crash.test: 39

The result from queries just before the failure was:
include/master-slave.inc
Warnings:
Note	####	Sending passwords in plain text without SSL/TLS is extremely insecure.
Note	####	Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
[connection master]
DROP TABLE IF EXISTS t1;
CREATE TABLE t1(id INT AUTO_INCREMENT PRIMARY KEY,
msg_prefix VARCHAR(255),
msg VARCHAR(255),
msg_length int,
msg_checksum varchar(128),
KEY msg_i(msg_prefix))
ENGINE=INNODB
ROW_FORMAT=COMPRESSED
KEY_BLOCK_SIZE=16;
call mtr.add_suppression(".*");
safe_process[4043]: Child process: 4044, exit: 1

How to repeat:
1. Take source code form https://github.com/mysql/mysql-server version 8.0.16

2. Run cmake:
cmake ../mysql-server -DCMAKE_CXX_COMPILER=clang++  -DCMAKE_C_COMPILER=clang -DCMAKE_BUILD_TYPE=Debug

3. Compile:
make

4. Run the MySQL Test Suite:
./mysql-test-run.pl --do-test=innodb --force
[18 Jun 2019 6:20] MySQL Verification Team
Hello Romanowski,

Thank you for the report.

regards,
Umesh