Bug #80228 mtr doesn't allow to run ssl tests on ssl enabled running server
Submitted: 2 Feb 2016 6:32 Modified: 8 Feb 2016 13:38
Reporter: Ramana Yeruva Email Updates:
Status: Closed Impact on me:
None 
Category:Tools: MTR / mysql-test-run Severity:S3 (Non-critical)
Version:5.7.9 OS:Any
Assigned to: CPU Architecture:Any

[2 Feb 2016 6:32] Ramana Yeruva
Description:
Oracle cloud team, would like to see if any of existing mtr tests can run on running server which is SSL enabled by default.I tried to run few tests using mtr which is always skipped with below message:
- skipping SSL, mysqld not compiled with SSL

How to repeat:
pick 5.7.9 server and test package, start server with ssl enabled by default.
run mtr test like below
./mtr --extern socket=/tmp/mysql.sock --suite=auth_sec access_credential_control.test
Logging: ./mtr  --extern socket=/tmp/mysql.sock --suite=auth_sec access_credential_control.test
MySQL Version 5.7.9
Checking supported features...
 - skipping SSL, mysqld not compiled with SSL
Collecting tests...

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

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

worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 13000..13009
auth_sec.access_credential_control       [ skipped ]  No SSL support
--------------------------------------------------------------------------
The servers were restarted 0 times
Spent 0.000 of 0 seconds executing testcases

Completed: All 0 tests were successful.

1 tests were skipped, 0 by the test itself.

mysql> show variables like '%ssl%';
+---------------+-----------------+
| Variable_name | Value           |
+---------------+-----------------+
| have_openssl  | YES             |
| have_ssl      | YES             |
| ssl_ca        | ca.pem          |
| ssl_capath    |                 |
| ssl_cert      | server-cert.pem |
| ssl_cipher    |                 |
| ssl_crl       |                 |
| ssl_crlpath   |                 |
| ssl_key       | server-key.pem  |
+---------------+-----------------+
9 rows in set (0.00 sec)

Suggested fix:
Sayantan already have the fix
[8 Feb 2016 13:38] Paul DuBois
Fixed in 5.7.12.

Changes for test suite. No changelog entry needed.