[MDEV-17771] Add Galera ist and sst tests using mariabackup Created: 2018-11-19  Updated: 2018-12-17  Resolved: 2018-11-27

Status: Closed
Project: MariaDB Server
Component/s: Galera, Galera SST, Tests
Fix Version/s: 10.4.1, 10.1.38, 10.2.20, 10.3.12

Type: Task Priority: Major
Reporter: Jan Lindström (Inactive) Assignee: Jan Lindström (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-15522 Change galera suite MTR tests to use ... Closed
is blocked by MDEV-17321 add test galera_sst_mariabackup_encry... Closed
is blocked by MDEV-17336 add test galera_ist_mariabackup_innod... Closed
Problem/Incident
causes MDEV-18021 Galera test galera_sst_mariabackup_ta... Closed

 Comments   
Comment by Marko Mäkelä [ 2018-11-26 ]

I had to disable a test when merging this to 10.3.

CURRENT_TEST: galera.galera_sst_mariabackup_table_options
2018-11-26 14:00:15 0 [ERROR] /dev/shm/10.3/sql/mysqld: unknown variable 'file-key-management-encryption-algorithm=aes_ctr'
2018-11-26 14:00:15 0 [ERROR] Aborting

Please fix.

Comment by Marko Mäkelä [ 2018-11-30 ]

The reason why the test fails for me in 10.3 or 10.4 is that when I compile with

cmake -DWITH_SSL=bundled

then, for some reason, aes_ctr will not be enabled:

static const char *encryption_algorithm_names[]=
{
  "aes_cbc",
#ifdef HAVE_EncryptAes128Ctr
  "aes_ctr",
#endif
  0
};

In 10.2 with identical build options, it is available.

Do we really have to test with aes_ctr, or would it suffice to test with aes_cbc which is always available? If aes_ctr is truly needed, then the test should be skipped when it is not available.

Comment by Marko Mäkelä [ 2018-12-12 ]

Actually, the test fails already in 10.1 when aes_ctr is not available.

Comment by Marko Mäkelä [ 2018-12-17 ]

The problem with aes_ctr was filed as MDEV-18021.

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