Description:
MySQL Test Suite fails for test innodb_stress.innodb_stress_crash_blob_nocompre.
Error message is following:
innodb_stress.innodb_stress_crash_blob_nocompress [ fail ]
Test ended at 2019-06-17 19:07:11
CURRENT_TEST: innodb_stress.innodb_stress_crash_blob_nocompress
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 1 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_blob_nocompress.test: 37
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 longtext,
msg_length int,
msg_checksum varchar(128),
KEY msg_i(msg_prefix))
ENGINE=INNODB;
call mtr.add_suppression(".*");
safe_process[4878]: Child process: 4879, 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