[MDEV-12740] Encryption tests fail on labrador with Error while setting value 'aes_ctr' Created: 2017-05-08  Updated: 2023-11-29  Resolved: 2023-11-29

Status: Closed
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 10.2
Fix Version/s: N/A

Type: Bug Priority: Minor
Reporter: Elena Stepanova Assignee: Dmitry Shulga
Resolution: Won't Fix Votes: 0
Labels: None


 Description   

http://buildbot.askmonty.org/buildbot/builders/labrador/builds/9819/steps/test/logs/stdio

encryption.encrypt_and_grep 'ctr,innodb' [ fail ]
        Test ended at 2017-05-02 13:46:50
 
CURRENT_TEST: encryption.innodb-key-rotation-disable
CURRENT_TEST: encryption.innodb_first_page
CURRENT_TEST: encryption.encrypt_and_grep
 
 
Failed to start mysqld.1
 
 
 - skipping '/private/var/lib/buildslave/maria-slave/labrador/build/mysql-test/var/log/encryption.encrypt_and_grep-ctr,innodb/'
worker[1] > Restart  - not started
 
Retrying test encryption.encrypt_and_grep, attempt(2/3)...
 
***Warnings generated in error logs during shutdown after running tests: encryption.encrypt_and_grep
 
2017-05-02 13:46:50 140735242381664 [ERROR] /private/var/lib/buildslave/maria-slave/labrador/build/sql/mysqld: Error while setting value 'aes_ctr' to 'file-key-management-encryption-algorithm'
2017-05-02 13:46:50 140735242381664 [ERROR] Parsing options for plugin 'file_key_management' failed.
2017-05-02 13:46:50 140735242381664 [ERROR] InnoDB: cannot enable encryption, encryption plugin is not available
2017-05-02 13:46:50 140735242381664 [ERROR] Plugin 'InnoDB' init function returned error.
2017-05-02 13:46:50 140735242381664 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2017-05-02 13:46:50 140735242381664 [ERROR] /private/var/lib/buildslave/maria-slave/labrador/build/sql/mysqld: unknown variable 'file-key-management-encryption-algorithm=aes_ctr'
2017-05-02 13:46:50 140735242381664 [ERROR] Aborting

and many other tests.



 Comments   
Comment by Claudio Nanni [ 2019-12-02 ]

Is it maybe related to the fact that AES_CTR is only supported by recent OpenSSL ?
https://mariadb.com/kb/en/library/file-key-management-encryption-plugin/#choosing-an-encryption-algorithm

Comment by Jan Lindström (Inactive) [ 2019-12-03 ]

Most likely yes, there is some check on mtr does the support exists or not, not sure if it does work always.

Comment by Marko Mäkelä [ 2021-04-26 ]

We seem to have lost the Mac OS X builders, so I cannot easily reproduce this. dbart, can you please investigate that?

shulga, you should have a suitable setup to diagnose and address this.

Generated at Thu Feb 08 08:00:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.