main.partition_innodb_plugin fails in buildbot (innodb-mdev7046 is to blame)

Description

http://buildbot.askmonty.org/buildbot/builders/bld-dan-release/builds/1867/steps/test/logs/stdio

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 main.partition_innodb_plugin 'innodb_plugin' w2 [ fail ] Test ended at 2014-11-28 20:07:15 CURRENT_TEST: main.partition_innodb_plugin --- /opt/buildbot-slave/mariadb/dan_demeter2/build/mysql-test/r/partition_innodb_plugin.result 2014-11-28 18:36:28.296514000 +0200 +++ /opt/buildbot-slave/mariadb/dan_demeter2/build/mysql-test/r/partition_innodb_plugin.reject 2014-11-28 20:07:15.787285420 +0200 @@ -49,6 +49,7 @@ ) ENGINE = InnoDB KEY_BLOCK_SIZE=4 PARTITION BY HASH(id) PARTITIONS 1; +db.opt t1#P#p0.ibd t1.frm t1.par @@ -68,6 +69,7 @@ # are incompatible with innodb_file_per_table = OFF; ALTER TABLE t1 ADD PARTITION PARTITIONS 1; ERROR HY000: Got error 140 "Wrong create options" from storage engine InnoDB +db.opt t1#P#p0.ibd t1.frm t1.par @@ -82,6 +84,7 @@ Warning 1478 InnoDB: ignoring KEY_BLOCK_SIZE=4. Warning 1478 InnoDB: KEY_BLOCK_SIZE requires innodb_file_per_table. Warning 1478 InnoDB: ignoring KEY_BLOCK_SIZE=4. +db.opt t1.frm t1.par ALTER TABLE t1 REBUILD PARTITION p0; mysqltest: Result length mismatch

The failure starts from innodb.innodb-mdev7046 test. It drops/re-created the `test` schema, thus getting db.opt created.

I suggest not to do it in innodb-mdev7046 at all, it seems to be unnecessary, or remove db.opt file (I don't know if the latter works well, didn't try). An alternative solution would be to ignore db.opt in the failing test, but there might be other existing tests that check for the list of files in the directory which will fail while executed after innodb-mdev7046.

Environment

None

Status

Assignee

Sergei Golubchik

Reporter

Elena Stepanova

Labels

External issue ID

None

External issue ID

None

Components

Fix versions

Affects versions

10.0

Priority

Critical
Configure