Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Fix
-
10.2(EOL)
-
None
Description
http://buildbot.askmonty.org/buildbot/builders/p8-rhel6-bintar/builds/183/steps/test/logs/stdio
main.ssl_ca w3 [ fail ]
|
Test ended at 2016-09-25 06:01:03
|
|
CURRENT_TEST: main.ssl_ca
|
ERROR 2026 (HY000): SSL connection error: No such file or directory
|
mysqltest: At line 27: exec of '/home/buildbot/maria-slave/p8-rhel6-bintar/build/client/mysql --defaults-file=/home/buildbot/maria-slave/p8-rhel6-bintar/build/mysql-test/var/3/my.cnf --ssl-ca=~/maria-slave/p8-rhel6-bintar/build/mysql-test/std_data/cacert.pem --ssl-key=/home/buildbot/maria-slave/p8-rhel6-bintar/build/mysql-test/std_data/client-key.pem --ssl-cert=/home/buildbot/maria-slave/p8-rhel6-bintar/build/mysql-test/std_data/client-cert.pem test -e "SELECT (VARIABLE_VALUE <> '') AS have_ssl FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME='Ssl_cipher';"' failed, error: 256, status: 1, errno: 0
|
Output from before failure:
|
# path substitution : should connect
|
|
|
|
The result from queries just before the failure was:
|
#
|
# Bug#21920657: SSL-CA FAILS SILENTLY IF THE PATH CANNOT BE FOUND
|
#
|
# try to connect with wrong '--ssl-ca' path : should fail
|
ERROR 2026 (HY000): SSL connection error: xxxx
|
# try to connect with correct '--ssl-ca' path : should connect
|
have_ssl
|
1
|
#
|
# Bug#21920678: SSL-CA DOES NOT ACCEPT ~USER TILDE HOME DIRECTORY
|
# PATH SUBSTITUTION
|
#
|
# try to connect with '--ssl-ca' option using tilde home directoy
|
# path substitution : should connect
|
Attachments
Issue Links
- blocks
-
MDEV-7069 Fix buildbot failures in main server trees
-
- Closed
-
The test fails, since Connector/C doesn't support bash features like tilde or environment variable in filenames.
This should be supported by an application, but not but the database driver itself.
Please note, that the server also doesn't support special filenames in my.cnf
both
ssl_ca=~/etc/mysql/ca-cert.pem
and
ssl_ca=$HOME/etc/mysql/ca-cert.pem
end up with error: