mariadb/mysql-test/suite/encryption/t
Marko Mäkelä 56c60b2fc5 MDEV-16111 encryption.innodb_lotoftables failed in buildbot with wrong result
Remove the test, because it easily fails with a result difference.
Analysis by Thirunarayanan Balathandayuthapani:

By default, innodb_encrypt_tables=0.
1) Test case creates 100 tables in innodb_encrypt_1.
2) creates another 100 unencrypted tables (encryption=off) in innodb_encrypt_2
3) creates another 100 encrypted tables (encryption=on) in innodb_encrypt_3
4) enabling innodb_encrypt_tables=1 and checking that only
100 encrypted tables exist. (already we have 100 in dictionary)
5) opening all tables again (no idea why)
6) After that, set innodb_encrypt_tables=0 and wait for 100 tables
to be decrypted (already we have 100 unencrypted tables)
7) dropping all databases

Sporadic failure happens because after step 4, it could encrypt the
normal table too, because innodb_encryption_threads=4.

This test was added in MDEV-9931, which was about InnoDB startup being
slow due to all .ibd files being opened. There have been a number of
later fixes to this problem. Currently the latest one is
commit cad56fbaba, in which some tests
(in particular the test innodb.alter_kill) could fail if all InnoDB
.ibd files are read during startup. That could make this test redundant.

Let us remove the test, because it is big, slow, unreliable, and
does not seem to reliably catch the problem that all files are being
read on InnoDB startup.
2019-06-12 19:08:49 +03:00
..
aria_tiny.test MDEV-8022 Assertion `rc == 0' failed in ma_encrypt on dropping an encrypted Aria table 2015-05-13 14:27:17 +02:00
create_or_replace.opt MDEV-8391: encryption.innodb-page_encryption_compression fails 2015-06-29 08:49:58 +03:00
create_or_replace.test MDEV-8501: encryption.create_or_replace fails in buildbot on P8 builders 2015-07-21 12:51:14 +03:00
debug_key_management.opt Test debug_key_management fails sporadically in buildbot. 2015-10-29 10:35:37 +02:00
debug_key_management.test Tests: detect table count for some encryption tests 2018-01-05 10:31:11 +02:00
encrypt_and_grep.opt MDEV-12253: Buffer pool blocks are accessed after they have been freed 2017-04-26 15:19:16 +03:00
encrypt_and_grep.test Tests: detect table count for some encryption tests 2018-01-05 10:31:11 +02:00
encryption_force.opt move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
encryption_force.test MDEV-14219 Allow online table rebuild when encryption or compression parameters change 2017-10-31 09:10:25 +02:00
filekeys-data.enc move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
filekeys-data.key MDEV-7993 file_key_management_filekey doesn't work as expected with FILE: 2015-05-13 14:27:16 +02:00
filekeys-tooshort.enc MDEV-10888: encryption.filekeys_emptyfile fails in buildbot with valgrind 2016-09-27 07:54:27 +03:00
filekeys_badtest.inc move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
filekeys_emptyfile.opt MDEV-9613: keyfile without any keys crashes mysqld on loading file_key_management plugin 2016-03-22 22:20:33 +02:00
filekeys_emptyfile.test MDEV-9613: keyfile without any keys crashes mysqld on loading file_key_management plugin 2016-03-22 22:20:33 +02:00
filekeys_encfile.opt move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
filekeys_encfile.test move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
filekeys_encfile_bad.opt move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
filekeys_encfile_bad.test move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
filekeys_encfile_badfile.opt move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
filekeys_encfile_badfile.test move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
filekeys_encfile_file.opt move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
filekeys_encfile_file.test move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
filekeys_encfile_no.opt move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
filekeys_encfile_no.test move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
filekeys_goodtest.inc MDEV-14219 Allow online table rebuild when encryption or compression parameters change 2017-10-31 09:10:25 +02:00
filekeys_nofile.test fix the encryption.filekeys_nofile test 2015-10-10 14:19:02 +02:00
filekeys_plugin.inc misc encryption tests fixes 2015-06-27 09:40:54 +02:00
filekeys_plugin.opt move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
filekeys_plugin_exists.inc Fix test failures seen on buildbot where file_key_management plugin 2015-09-17 16:40:31 +03:00
filekeys_syntax.opt move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
filekeys_syntax.test file_key_management plugin: complain if key id 1 is not found 2015-06-02 19:00:23 +02:00
filekeys_tooshort.opt MDEV-10888: encryption.filekeys_emptyfile fails in buildbot with valgrind 2016-09-27 07:54:27 +03:00
filekeys_tooshort.test MDEV-10888: encryption.filekeys_emptyfile fails in buildbot with valgrind 2016-09-27 07:54:27 +03:00
filekeys_unencfile.opt move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
filekeys_unencfile.test move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
innochecksum.test MDEV-13443: Port innochecksum tests from 10.2 innodb_zip suite to 10.1 2017-08-07 12:39:38 +03:00
innodb-bad-key-change.test MDEV-18025: Apply the fix to XtraDB and adjust tests 2018-12-18 16:24:52 +02:00
innodb-bad-key-change2.test MDEV-13103: Improve 'cannot be decrypted' error message 2018-06-13 16:02:40 +03:00
innodb-bad-key-change3.test MDEV-11218: encryption.innodb_encryption_discard_import failed in buildbot 2016-12-22 14:02:51 +02:00
innodb-bad-key-change4.opt MDEV-12253: Buffer pool blocks are accessed after they have been freed 2017-04-26 15:19:16 +03:00
innodb-bad-key-change4.test MDEV-13103: Improve 'cannot be decrypted' error message 2018-06-13 16:02:40 +03:00
innodb-checksum-algorithm.test Merge 10.0 into 10.1 2018-12-13 13:37:21 +02:00
innodb-compressed-blob.combinations MDEV-12114: install_db shows corruption for rest encryption and innodb_checksum_algorithm=strict_none 2017-06-01 14:07:48 +03:00
innodb-compressed-blob.test MDEV-13103: Improve 'cannot be decrypted' error message 2018-06-13 16:02:40 +03:00
innodb-discard-import-change.test MDEV-11656: 'Data structure corruption' IMPORT TABLESPACE doesn't work for encrypted InnoDB tables if space_id changed 2016-12-28 16:32:45 +02:00
innodb-discard-import.test MDEV-16416 Crash on IMPORT TABLESPACE of a ROW_FORMAT=COMPRESSED table 2018-06-07 10:34:32 +03:00
innodb-encr-threads.test InnoDB: check if scrubbing is enabled before scanning the tablespace 2015-05-15 18:12:02 +02:00
innodb-encryption-alter.test MDEV-18601 Can't create table with ENCRYPTED=DEFAULT when innodb_default_encryption_key_id!=1 2019-02-28 23:20:31 +02:00
innodb-encryption-disable.test MDEV-18025: Apply the fix to XtraDB and adjust tests 2018-12-18 16:24:52 +02:00
innodb-first-page-read.opt MDEV-12610: MariaDB start is slow 2017-06-09 13:15:39 +03:00
innodb-first-page-read.test MDEV-13557: Startup failure, unable to decrypt ibdata1 2017-08-29 14:23:34 +03:00
innodb-force-corrupt.test Follow-up to MDEV-12112: corruption in encrypted table may be overlooked 2018-12-17 19:33:44 +02:00
innodb-key-rotation-disable.opt MDEV-11738: Mariadb uses 100% of several of my 8 cpus doing nothing 2017-03-14 16:23:10 +02:00
innodb-key-rotation-disable.test Clean up a test 2017-05-20 08:41:34 +03:00
innodb-log-encrypt-crash.opt MDEV-9422: Checksum errors on restart when killing busy instance that uses encrypted XtraDB tables 2016-03-18 07:58:04 +02:00
innodb-log-encrypt-crash.test MDEV-9865: Test encryption.innodb-log-encrypt-crash takes too long on debug build 2016-06-01 13:06:14 +03:00
innodb-log-encrypt.opt MDEV-9063: encryption.innodb-log-encrypt produces warnings in error logs on builds with bundled SSL 2015-11-03 16:03:25 +02:00
innodb-log-encrypt.test Improve an MDEV-9011 test of innodb_encrypt_log. 2017-01-12 12:33:46 +02:00
innodb-missing-key.opt MDEV-11004: Unable to start (Segfault or os error 2) when encryption key missing 2016-10-29 10:09:06 +03:00
innodb-missing-key.test Relax a too tight suppression 2018-12-21 09:40:36 +02:00
innodb-page_encryption-32k.opt move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
innodb-page_encryption-32k.test move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
innodb-page_encryption.test Add show warnings to test to find out the reason for create failure. 2015-07-01 10:21:23 +03:00
innodb-page_encryption_compression.test MDEV-12253: Buffer pool blocks are accessed after they have been freed 2017-04-26 15:19:16 +03:00
innodb-page_encryption_log_encryption.opt MDEV-8143: InnoDB: Database page corruption on disk or a failed file read 2015-05-14 11:32:24 +03:00
innodb-page_encryption_log_encryption.test MDEV-12253: Buffer pool blocks are accessed after they have been freed 2017-04-26 15:19:16 +03:00
innodb-read-only.opt MDEV-11835: InnoDB: Failing assertion: free_slot != NULL on 2017-01-19 08:19:08 +02:00
innodb-read-only.test MDEV-11835: InnoDB: Failing assertion: free_slot != NULL on 2017-01-19 08:19:08 +02:00
innodb-redo-badkey.opt MDEV-12253: Buffer pool blocks are accessed after they have been freed 2017-04-26 15:19:16 +03:00
innodb-redo-badkey.test MDEV-13103: Improve 'cannot be decrypted' error message 2018-06-13 16:02:40 +03:00
innodb-redo-nokeys.opt MDEV-12253: Buffer pool blocks are accessed after they have been freed 2017-04-26 15:19:16 +03:00
innodb-redo-nokeys.test MDEV-13103: Improve 'cannot be decrypted' error message 2018-06-13 16:02:40 +03:00
innodb-remove-encryption.test MDEV-15566: System tablespace does not easily key rotate to unencrypted 2018-04-06 12:59:43 +03:00
innodb_encryption-page-compression.opt move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
innodb_encryption-page-compression.test MDEV-14814: encryption.innodb_encryption-page-compression failed in buildbot with timeout on wait condition 2018-02-19 08:06:32 +02:00
innodb_encryption.opt MDEV-9010 Encryption preset file contains different configuration preset then documentation 2015-10-29 10:46:37 +01:00
innodb_encryption.test Tests: detect table count for some encryption tests 2018-01-05 10:31:11 +02:00
innodb_encryption_discard_import.opt MDEV-8708: InnoDB temp file encryption 2015-09-08 08:38:12 +03:00
innodb_encryption_discard_import.test MDEV-12903: encryption.innodb_encryption_discard_import fails in buildbot with FOUND vs NOT FOUND 2018-04-12 08:04:02 +03:00
innodb_encryption_filekeys.opt MDEV-8832: Encryption meta data should not be stored when ENCRYPTED=DEFAULT and innodb-encrypt-tables=OFF 2015-09-23 17:34:36 +03:00
innodb_encryption_filekeys.test MDEV-15672: encryption.innodb_encryption_filekeys - typo in I_S column name: ENCRYPTION_SHCEME 2018-04-13 12:51:42 +03:00
innodb_encryption_is.opt MDEV-9640: Add used key_id to INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION 2016-03-18 11:48:49 +02:00
innodb_encryption_is.test MDEV-9640: Add used key_id to INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION 2016-03-18 11:48:49 +02:00
innodb_encryption_row_compressed.opt MDEV-9931: InnoDB reads first page of every .ibd file at startup 2016-09-22 16:38:24 +03:00
innodb_encryption_row_compressed.test MDEV-9931: InnoDB reads first page of every .ibd file at startup 2016-09-22 16:38:24 +03:00
innodb_encryption_tables.opt move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
innodb_encryption_tables.test misc encryption tests fixes 2015-06-27 09:40:54 +02:00
innodb_first_page.opt move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00
innodb_first_page.test MDEV-8495 encryption.innodb_first_page fails sporadically in buildbot 2015-07-17 19:20:50 +03:00
innodb_onlinealter_encryption.opt MDEV-12253: Buffer pool blocks are accessed after they have been freed 2017-04-26 15:19:16 +03:00
innodb_onlinealter_encryption.test MDEV-12253: Buffer pool blocks are accessed after they have been freed 2017-04-26 15:19:16 +03:00
innodb_page_encryption_key_change.test Add show warnings to test to find out the reason for create failure. 2015-07-01 10:21:23 +03:00
innodb_scrub.opt Fixed innodb_scrub_background test. 2015-05-27 11:00:46 +03:00
innodb_scrub.test MDEV-8139 Fix scrubbing tests 2017-01-05 00:20:17 +02:00
innodb_scrub_background.opt Fixed innodb_scrub_background test. 2015-05-27 11:00:46 +03:00
innodb_scrub_background.test MDEV-8139 Fix scrubbing tests 2017-01-05 00:20:17 +02:00
second_plugin-12863.test MDEV-12863 No table can be created after second encryption plugin attempted to load 2017-08-08 14:52:08 +02:00
tempfiles.combinations MDEV-14868 MariaDB server crashes after using ROLLBACK TO when encrypt_tmp_files=ON 2018-02-08 22:54:37 +01:00
tempfiles.opt fix encryption.tempfiles to check that encrypt_tmp_files is ON 2018-02-08 22:54:37 +01:00
tempfiles.test MDEV-14868 MariaDB server crashes after using ROLLBACK TO when encrypt_tmp_files=ON 2018-02-08 22:54:37 +01:00