[MDEV-7238] main.partition_innodb_plugin fails in buildbot (innodb-mdev7046 is to blame) Created: 2014-12-01  Updated: 2014-12-01  Resolved: 2014-12-01

Status: Closed
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 10.0
Fix Version/s: 10.0.16

Type: Bug Priority: Critical
Reporter: Elena Stepanova Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: buildbot, tests

Issue Links:
Blocks
blocks MDEV-7069 Fix buildbot failures in main server ... Stalled

 Description   

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

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.



 Comments   
Comment by Elena Stepanova [ 2014-12-01 ]

As I see, serg has already fixed it by revision-id: sergii@pisem.net-20141201125249-x0ttsfhq8bqqbp98 (but hasn't pushed yet), re-assigning.

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