[MDEV-31384] TLS/SSL errors after MariaDB-10.5.20 rebase Created: 2023-06-01  Updated: 2023-06-05  Resolved: 2023-06-05

Status: Closed
Project: MariaDB Server
Component/s: Server, SSL
Affects Version/s: None
Fix Version/s: N/A

Type: Bug Priority: Critical
Reporter: Lukas Javorsky Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: ssl, tests, tls

Issue Links:
Duplicate
duplicates MDEV-30587 TLS/SSL error when executing tests Stalled

 Description   

A lot of tests from test suite started to fail with two common errors:
1) `'TLS/SSL error: shutdown while in init', instead of 0`
-> 10 tests
2) `TLS/SSL error: unexpected eof while reading`
-> 56 tests

I can provide a complete list of the tests if needed.



 Comments   
Comment by Lukas Javorsky [ 2023-06-01 ]

Looks like this issue is related: MDEV-30587

Comment by Daniel Black [ 2023-06-05 ]

Ack, reproduce with fc38 and using --ssl as a MTR option. Fix in review in MDEV-30587

Comment by Sergei Golubchik [ 2023-06-05 ]

It's not really a bug. We don't run mysql-test-run.pl with the --ssl option, so tests aren't prepared for that. OpenSSL 3.x returns a different error message when a connection suddenly disappears. It is a reasonable error message, so we didn't try to hide it and replace with the old one.

Still, many tests that kill the server expect the client to return a certain error when the server disappears. When you run with --ssl and OpenSSL 3.x, this error changes to something that non-ssl tests don't expect. This is normal, although we'll likely update tests to expect the additional error too.

Generated at Thu Feb 08 10:23:28 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.