Bug #80228 mtr doesn't allow to run ssl tests on ssl enabled running server
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
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.051 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.