[MDEV-10941] encryption.innodb-bad-key-change fails in buildbot Created: 2016-10-02  Updated: 2016-10-03  Resolved: 2016-10-03

Status: Closed
Project: MariaDB Server
Component/s: Encryption, Storage Engine - InnoDB, Tests
Affects Version/s: 10.2
Fix Version/s: 10.2.3

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

Issue Links:
Relates
relates to MDEV-7069 Fix buildbot failures in main server ... Stalled

 Description   

http://buildbot.askmonty.org/buildbot/builders/kvm-bintar-centos5-amd64/builds/3770/steps/test/logs/stdio

encryption.innodb-bad-key-change 'cbc,xtradb' w4 [ fail ]
        Test ended at 2016-10-01 05:12:17
 
CURRENT_TEST: encryption.innodb-bad-key-change
--- /usr/local/mariadb-10.2.3-linux-x86_64/mysql-test/suite/encryption/r/innodb-bad-key-change.result	2016-10-01 04:10:36.000000000 +0200
+++ /usr/local/mariadb-10.2.3-linux-x86_64/mysql-test/suite/encryption/r/innodb-bad-key-change.reject	2016-10-01 05:12:16.000000000 +0200
@@ -39,12 +39,12 @@
 ERROR HY000: Got error 192 'Table encrypted but decryption failed. This could be because correct encryption management plugin is not loaded, used encryption key is not available or encryption method does not match.' from InnoDB
 SHOW WARNINGS;
 Level	Code	Message
-Warning	192	Table test/t1 in tablespace 8 is encrypted but encryption service or used key_id is not available.  Can't continue reading table.
+Warning	192	Table test/t1 in tablespace 14 is encrypted but encryption service or used key_id is not available.  Can't continue reading table.
 Warning	192	Table test/t1 is encrypted but encryption service or used key_id 2 is not available.  Can't continue reading table.
 Error	1296	Got error 192 'Table encrypted but decryption failed. This could be because correct encryption management plugin is not loaded, used encryption key is not available or encryption method does not match.' from InnoDB
 DROP TABLE t1;
 Warnings:
-Warning	192	Table in tablespace 8 encrypted.However key management plugin or used key_id 1 is not found or used encryption algorithm or method does not match. Can't continue opening the table.
+Warning	192	Table in tablespace 14 encrypted.However key management plugin or used key_id 1 is not found or used encryption algorithm or method does not match. Can't continue opening the table.
 # Start server with keys.txt
 CREATE TABLE t2 (c VARCHAR(8), id int not null primary key, b int, key(b)) ENGINE=InnoDB ENCRYPTED=YES;
 INSERT INTO t2 VALUES ('foobar',1,2);
 
mysqltest: Result length mismatch



 Comments   
Comment by Jan Lindström (Inactive) [ 2016-10-03 ]

commit 2e7baca97d1f0c97dc3585dc0fd705d0da1bd1cc
Author: Jan Lindström <jan.lindstrom@mariadb.com>
Date: Mon Oct 3 08:22:52 2016 +0300

Replace tablespace numbers to make repeatable.

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