RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1962047 - mariadb: Port to OpenSSL 3.0
Summary: mariadb: Port to OpenSSL 3.0
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: mariadb
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Michal Schorm
QA Contact: Jakub Heger
URL:
Whiteboard:
Depends On: 1962355
Blocks: 1958021
TreeView+ depends on / blocked
 
Reported: 2021-05-19 09:01 UTC by Sahana Prasad
Modified: 2021-12-07 21:58 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-07 21:55:02 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 Honza Horak 2021-05-21 20:37:53 UTC
A patch that is not yet consulted with upstream, but makes mariadb to compile with openssl 3.x:
https://gitlab.com/redhat/centos-stream/rpms/mariadb/-/merge_requests/4

https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=271496

Comment 5 Honza Horak 2021-05-27 14:01:08 UTC
An incomplete patch (some tests still fail) merged in git now to unblock the OpenSSL rebuild:
https://gitlab.com/redhat/centos-stream/rpms/mariadb/-/commit/0a14bc58a27d6c396c11c77d1ca6cb06ec8c1d82

Comment 7 Honza Horak 2021-06-18 08:54:51 UTC
The current status is that many tests (mostly from binlog_encryption suite) fail. The fail usually looks similarly to this one:

$> perl ./mysql-test-run.pl --parallel=auto --force --retry=2 --suite-timeout=900 --testcase-timeout=1 --mysqld=--binlog-format=mixed --force-restart --shutdown-timeout=60 --max-test-fail=0 --ssl --suite=binlog_encryption --mem --skip-test-list=unstable-tests

<snipped>

binlog_encryption.rpl_temporal_format_mariadb53_to_mysql56 'mix' w8 [ retry-fail ]  timeout after 60 seconds
        Test ended at 2021-06-17 14:11:01

Test case timeout after 60 seconds

== /home/cloud-user/rpmbuild/BUILD/mariadb-10.5.9/x86_64-redhat-linux-gnu/mysql-test/var/8/log/rpl_temporal_format_mariadb53_to_mysql56.log == 
include/master-slave.inc

 == /home/cloud-user/rpmbuild/BUILD/mariadb-10.5.9/x86_64-redhat-linux-gnu/mysql-test/var/8/tmp/analyze-timeout-mysqld.1.err ==
mysqltest: Could not open connection 'default' after 500 attempts: 2002 Can't connect to local MySQL server through socket '/tmp/YKWP3Bteib/8/mysqld.1.sock' (111)

 == /home/cloud-user/rpmbuild/BUILD/mariadb-10.5.9/x86_64-redhat-linux-gnu/mysql-test/var/8/tmp/analyze-timeout-mysqld.2.err ==
mysqltest: Could not open connection 'default' after 500 attempts: 2002 Can't connect to local MySQL server through socket '/tmp/YKWP3Bteib/8/mysqld.2.sock' (111)


 - saving '/home/cloud-user/rpmbuild/BUILD/mariadb-10.5.9/x86_64-redhat-linux-gnu/mysql-test/var/8/log/binlog_encryption.rpl_temporal_format_mariadb53_to_mysql56-mix/' to '/home/cloud-user/rpmbuild/BUILD/mariadb-10.5.9/x86_64-redhat-linux-gnu/mysql-test/var/log/binlog_encryption.rpl_temporal_format_mariadb53_to_mysql56-mix/'
***Warnings generated in error logs during shutdown after running tests: binlog_encryption.rpl_temporal_format_mariadb53_to_mysql56

Attempting backtrace. You can use the following information to find out
2021-06-17 14:09:07 8 [ERROR] Replication event checksum verification failed while reading from a log file
2021-06-17 14:09:07 8 [ERROR] Error in Log_event::read_log_event(): 'Replication event checksum verification failed while reading from a log file', data_len: 53, event_type: 4
2021-06-17 14:09:07 7 [ERROR] Slave I/O: Replication event checksum verification failed while reading from network, Internal MariaDB error code: 1743
2021-06-17 14:09:07 7 [ERROR] Slave I/O: Relay log write failure: could not queue event from master, Internal MariaDB error code: 1595
Attempting backtrace. You can use the following information to find out

worker[1] Trying to dump core for [mysqltest - pid: 396562, winpid: 396562]
worker[1] Trying to dump core for [mysqld.1 - pid: 396522, winpid: 396522]
worker[4] Trying to dump core for [mysqltest - pid: 396608, winpid: 396608]
worker[4] Trying to dump core for [mysqld.1 - pid: 396567, winpid: 396567]
worker[1] Trying to dump core for [mysqld.2 - pid: 396524, winpid: 396524]
worker[4] Trying to dump core for [mysqld.2 - pid: 396572, winpid: 396572]

Comment 9 Honza Horak 2021-06-30 13:29:54 UTC
Moving ITM as this is likely not finished in the upcoming week.

Also moving to ASSIGNED to signal clearly that there is still some work to be done (concretely: fix the pieces when server crashes during tests -- see comment #7)


Note You need to log in before you can comment on or make changes to this bug.