Bug #79570 auth_sec.tls fails on YaSSL build
Submitted: 9 Dec 2015 8:50 Modified: 9 Jul 2019 17:37
Reporter: Laurynas Biveinis (OCA) Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:5.7.10 OS:Any
Assigned to: CPU Architecture:Any
Tags: mtr, openssl, SSL, yassl

[9 Dec 2015 8:50] Laurynas Biveinis
Description:
Server built with -DWITH_SSL=bundled fails auth_sec.tls test:

auth_sec.tls                             [ fail ]
        Test ended at 2015-12-09 10:05:51

CURRENT_TEST: auth_sec.tls
ERROR 2026 (HY000): SSL connection error: TLS version is invalid
ERROR 2026 (HY000): SSL connection error: Failed to set ciphers to use
ERROR 2026 (HY000): SSL connection error: SSL is required but the server doesn't support it
--- /home/laurynas/mysql-5.7.10/mysql-test/suite/auth_sec/r/tls.result	2015-11-29 22:02:24.000000000 +0300
+++ /home/laurynas/obj-mysql-5.7.10-debug-yassl/mysql-test/var/log/tls.reject	2015-12-09 11:05:51.175682154 +0300
@@ -24,7 +24,7 @@
 #T9: Cipher which is not in the cipher list but not restricted permanently, setting the server cipher as well
 Restart server and provide ssl-cipher at server startup
 Variable_name	Value
-Ssl_cipher	CAMELLIA256-SHA
+Ssl_cipher	
 #T10: Permanently restricted cipher, setting in the server as well
 Connection will be possible, but server will not be enabled with ssl and connection is not ssl-enabled
 Variable_name	Value

mysqltest: Result content mismatch

How to repeat:
cmake -DWITH_SSL=bundled
./mtr --debug-server tls
[9 Dec 2015 9:12] MySQL Verification Team
Hello Laurynas,

Thank you for the report.

Thanks,
Umesh
[9 Dec 2015 9:12] MySQL Verification Team
// with source build

[umshastr@hod03]/export/umesh/server/source/bugs/mysql-5.7.10/mysql-test: ./mtr --debug-server tls
Logging: ./mtr  --debug-server tls
MySQL Version 5.7.10
Checking supported features...
 - SSL connections supported
mysql-test-run: WARNING: Ignoring --debug-server, binary does not support it
Collecting tests...
Removing old var directory...
Creating var directory '/export/umesh/server/source/bugs/mysql-5.7.10/mysql-test/var'...
Installing system database...

==============================================================================

TEST                                      RESULT   TIME (ms) or COMMENT
--------------------------------------------------------------------------

worker[1] Using MTR_BUILD_THREAD 301, with reserved ports 13010..13019
auth_sec.tls                             [ fail ]
        Test ended at 2015-12-09 10:09:01

CURRENT_TEST: auth_sec.tls
ERROR 2026 (HY000): SSL connection error: TLS version is invalid
ERROR 2026 (HY000): SSL connection error: Failed to set ciphers to use
ERROR 2026 (HY000): SSL connection error: SSL is required but the server doesn't support it
--- /export/umesh/server/source/bugs/mysql-5.7.10/mysql-test/suite/auth_sec/r/tls.result        2015-11-29 22:16:24.000000000 +0300
+++ /export/umesh/server/source/bugs/mysql-5.7.10/mysql-test/var/log/tls.reject 2015-12-09 12:09:01.074187437 +0300
@@ -24,7 +24,7 @@
 #T9: Cipher which is not in the cipher list but not restricted permanently, setting the server cipher as well
 Restart server and provide ssl-cipher at server startup
 Variable_name  Value
-Ssl_cipher     CAMELLIA256-SHA
+Ssl_cipher
 #T10: Permanently restricted cipher, setting in the server as well
 Connection will be possible, but server will not be enabled with ssl and connection is not ssl-enabled
 Variable_name  Value

mysqltest: Result content mismatch

safe_process[5617]: Child process: 5618, exit: 1

 - the logfile can be found in '/export/umesh/server/source/bugs/mysql-5.7.10/mysql-test/var/log/auth_sec.tls/tls.log'
--------------------------------------------------------------------------
The servers were restarted 0 times
Spent 0.000 of 19 seconds executing testcases

Completed: Failed 1/1 tests, 0.00% were successful.

Failing test(s): auth_sec.tls

The log files in var/log may give you some hint of what went wrong.

If you want to report this error, please read first the documentation
at http://dev.mysql.com/doc/mysql/en/mysql-test-suite.html

mysql-test-run: *** ERROR: there were failing test cases
[9 Jul 2019 17:37] 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.