Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-7238

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

    XMLWordPrintable

Details

    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.

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.