Bug #75817 ssl-big test is too slow for debug build with yassl
Submitted: 7 Feb 2015 5:55 Modified: 9 Jul 2019 17:17
Reporter: Laurynas Biveinis (OCA) Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any
Tags: big-test, mtr, openssl, SSL, yassl

[7 Feb 2015 5:55] Laurynas Biveinis
Description:
ssl-big is too slow for a debug build with yassl:
cmake -DWITH_DEBUG=ON -DWITH_SSL=bundled
...
$ ./mysql-test-run --big-test ssl-big
...
worker[1] Trying to dump core for [mysqltest - pid: 31951, winpid: 31951]
worker[1] Trying to dump core for [mysqld.1 - pid: 31929, winpid: 31929]
main.ssl-big                             [ fail ]  timeout after 900 seconds

This is on an idle core i7, a reasonably fast machine.

Compare with OpenSSL:
cmake -DWITH_DEBUG=ON -DWITH_SSL=system
...
$ ./mysql-test-run --big-test ssl-big
...
main.ssl-big                             [ pass ]  27900

OpenSSL here is 1.0.1f-1ubuntu9.1 (Ubuntu Utopic)

Slow yassl was observed on Ubuntu Utopic and Mac OS X 10.10.2 at least.

Yassl with release build is fine too.

How to repeat:
See above. Additionally move away the result file, comment lines 27 and 28 in the testcase (--disable_query_log, --disable_result_log), observe the testcase crawling towards completion, too slowly.

Suggested fix:
--source include/have_openssl.inc or a hypothetical include/have_openssl_or_release_build.inc
[7 Feb 2015 7:05] Laurynas Biveinis
have_openssl.inc does not do what I thought it does, and it wouldn't help here.
[9 Feb 2015 6:35] MySQL Verification Team
Hello Laurynas Biveinis,

Thank you for the report.

Thanks,
Umesh
[9 Jul 2019 17:17] Paul DuBois
Posted by developer:
 
This is a yaSSL issue. yaSSL support is removed as of MySQL 5.6.46/5.7.28, so this bug is being closed with no action taken.