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

TokuDB tests fail when building 10.0.14 on Debian Sid

Details

    Description

      When building MariaDB 10.0.14 on Debian Sid there are multiple TokuDB related tests that fail in the integrated test suite run:

      Completed: Failed 5/3938 tests, 99.87% were successful.
       
      Failing test(s): rpl-tokudb.rpl_tokudb_update_pk_uc0_lookup0 rpl-tokudb.rpl_tokudb_update_unique_uc0_lookup0 rpl-tokudb.rpl_tokudb_delete_pk_lookup1 rpl-tokudb.rpl_tokudb_write_pk rpl-tokudb.rpl_tokudb_write_unique

      Here are some details:

      rpl-tokudb.rpl_tokudb_update_pk_uc0_lookup0 'row' [ fail ]
              Test ended at 2014-09-30 09:08:01
       
      CURRENT_TEST: rpl-tokudb.rpl_tokudb_update_pk_uc0_lookup0
      --- /home/timo/mariadb/ram/mariadb-10.0/storage/tokudb/mysql-test/rpl/r/rpl_tokudb_update_pk_uc0_lookup0.result	2014-09-29 21:04:37.396948000 +0300
      +++ /home/timo/mariadb/ram/mariadb-10.0/storage/tokudb/mysql-test/rpl/r/rpl_tokudb_update_pk_uc0_lookup0.reject	2014-09-30 09:08:00.753551000 +0300
      @@ -15,7 +15,7 @@
       select unix_timestamp() into @tend;
       select @tend-@tstart <= 5;
       @tend-@tstart <= 5
      -1
      +0
       select * from t;
       a	b
       1	3
       
      mysqltest: Result content mismatch
       
       - saving '/home/timo/mariadb/ram/mariadb-10.0/builddir/mysql-test/var/log/rpl-tokudb.rpl_tokudb_update_pk_uc0_lookup0-row/' to '/home/timo/mariadb/ram/mariadb-10.0/builddir/mysql-test/var/log/rpl-tokudb.rpl_tokudb_update_pk_uc0_lookup0-row/'
      rpl-tokudb.rpl_tokudb_update_unique_uc0_lookup0 'row' [ fail ]
              Test ended at 2014-09-30 09:10:33
       
      CURRENT_TEST: rpl-tokudb.rpl_tokudb_update_unique_uc0_lookup0
      --- /home/timo/mariadb/ram/mariadb-10.0/storage/tokudb/mysql-test/rpl/r/rpl_tokudb_update_unique_uc0_lookup0.result	2014-09-29 21:04:37.396948000 +0300
      +++ /home/timo/mariadb/ram/mariadb-10.0/storage/tokudb/mysql-test/rpl/r/rpl_tokudb_update_unique_uc0_lookup0.reject	2014-09-30 09:10:33.021551000 +0300
      @@ -15,7 +15,7 @@
       select unix_timestamp() into @tend;
       select @tend-@tstart <= 5;
       @tend-@tstart <= 5
      -1
      +0
       select * from t;
       a	b	c
       1	3	-1
       
      mysqltest: Result content mismatch
       
       - saving '/home/timo/mariadb/ram/mariadb-10.0/builddir/mysql-test/var/log/rpl-tokudb.rpl_tokudb_update_unique_uc0_lookup0-row/' to '/home/timo/mariadb/ram/mariadb-10.0/builddir/mysql-test/var/log/rpl-tokudb.rpl_tokudb_update_unique_uc0_lookup0-row/'
      rpl-tokudb.rpl_tokudb_update_pk_uc1_lookup0 'row' [ pass ]  110926
      rpl-tokudb.rpl_tokudb_delete_pk_lookup1 'row' [ fail ]
              Test ended at 2014-09-30 09:12:29
       
      CURRENT_TEST: rpl-tokudb.rpl_tokudb_delete_pk_lookup1
      --- /home/timo/mariadb/ram/mariadb-10.0/storage/tokudb/mysql-test/rpl/r/rpl_tokudb_delete_pk_lookup1.result	2014-09-29 21:04:37.396948000 +0300
      +++ /home/timo/mariadb/ram/mariadb-10.0/storage/tokudb/mysql-test/rpl/r/rpl_tokudb_delete_pk_lookup1.reject	2014-09-30 09:12:29.233551000 +0300
      @@ -11,7 +11,7 @@
       select unix_timestamp() into @tend;
       select @tend-@tstart > 5;
       @tend-@tstart > 5
      -1
      +0
       include/diff_tables.inc [master:test.t, slave:test.t]
       drop table if exists t;
       include/rpl_end.inc
       
      mysqltest: Result content mismatch
       
       - saving '/home/timo/mariadb/ram/mariadb-10.0/builddir/mysql-test/var/log/rpl-tokudb.rpl_tokudb_delete_pk_lookup1-row/' to '/home/timo/mariadb/ram/mariadb-10.0/builddir/mysql-test/var/log/rpl-tokudb.rpl_tokudb_delete_pk_lookup1-row/'
      rpl-tokudb.rpl_tokudb_update_pk_uc0_lookup1 'row' [ pass ]  110894
      rpl-tokudb.rpl_tokudb_update_unique_uc0_lookup1 'row' [ pass ]  150124
      rpl-tokudb.rpl_tokudb_update_pk_uc1_lookup1 'row' [ pass ]  110894
      rpl-tokudb.rpl_tokudb_write_pk_uc1 'row' [ pass ]  40893
      rpl-tokudb.rpl_tokudb_write_pk 'row'     [ fail ]
              Test ended at 2014-09-30 09:19:55
       
      CURRENT_TEST: rpl-tokudb.rpl_tokudb_write_pk
      --- /home/timo/mariadb/ram/mariadb-10.0/storage/tokudb/mysql-test/rpl/r/rpl_tokudb_write_pk.result	2014-09-29 21:04:37.396948000 +0300
      +++ /home/timo/mariadb/ram/mariadb-10.0/storage/tokudb/mysql-test/rpl/r/rpl_tokudb_write_pk.reject	2014-09-30 09:19:55.013551000 +0300
      @@ -8,7 +8,7 @@
       insert into t values (4);
       select unix_timestamp()-@tstart <= 10;
       unix_timestamp()-@tstart <= 10
      -1
      +0
       include/diff_tables.inc [master:test.t, slave:test.t]
       drop table if exists t;
       include/rpl_end.inc
       
      mysqltest: Result content mismatch
       
       - saving '/home/timo/mariadb/ram/mariadb-10.0/builddir/mysql-test/var/log/rpl-tokudb.rpl_tokudb_write_pk-row/' to '/home/timo/mariadb/ram/mariadb-10.0/builddir/mysql-test/var/log/rpl-tokudb.rpl_tokudb_write_pk-row/'
      rpl-tokudb.rpl_tokudb_write_unique 'row' [ fail ]
              Test ended at 2014-09-30 09:20:36
       
      CURRENT_TEST: rpl-tokudb.rpl_tokudb_write_unique
      --- /home/timo/mariadb/ram/mariadb-10.0/storage/tokudb/mysql-test/rpl/r/rpl_tokudb_write_unique.result	2014-09-29 21:04:37.396948000 +0300
      +++ /home/timo/mariadb/ram/mariadb-10.0/storage/tokudb/mysql-test/rpl/r/rpl_tokudb_write_unique.reject	2014-09-30 09:20:36.633551000 +0300
      @@ -8,7 +8,7 @@
       insert into t values (4,5);
       select unix_timestamp()-@tstart <= 10;
       unix_timestamp()-@tstart <= 10
      -1
      +0
       include/diff_tables.inc [master:test.t, slave:test.t]
       drop table if exists t;
       include/rpl_end.inc
       
      mysqltest: Result content mismatch

      Full log is available at http://labs.seravo.fi/~otto/mariadb-repo/logs/tokudb-fails/mariadb-10.0_10.0.14-1_amd64.build

      I have been able to repeat this on two separate build systems (KVM virtual machine and pbuilder based chroot). The issue is not sporadic, every re-build ends up with the same result.

      I have the full (4 GB) build tree archived and I can upload selected parts if you want to look at some particular logs or folder contents.

      Due to this bug I will disable TokuDB in Debian and I cannot stall the entire 10.0.14 from Debian just because one plugin has failures. Please notify when this is fixed so I can re-enable TokuDB in Debian.

      Update: this can also be confirmed on buildbot: http://buildbot.askmonty.org/buildbot/builders/debpkg100-sid/builds/1/steps/compile/logs/stdio

      Attachments

        Activity

          prohaska7 Rich Prohaska added a comment - - edited

          These tests fail because the Tokutek read free replication patch was not merged into MariaDB. These tests should be disabled until the patch is reviewed and accepted into MariaDB.

          prohaska7 Rich Prohaska added a comment - - edited These tests fail because the Tokutek read free replication patch was not merged into MariaDB. These tests should be disabled until the patch is reviewed and accepted into MariaDB.

          Could somebody please remind me again what file to put where to disable certain tests in the test suite?

          otto Otto Kekäläinen added a comment - Could somebody please remind me again what file to put where to disable certain tests in the test suite?

          Ok, found Serg revision with the fix and backported it into Debian 10.0.14-2 in commit http://anonscm.debian.org/cgit/pkg-mysql/mariadb-10.0.git/commit/?id=b712301c95503b296277ba462d2aec13fdb2adf2

          otto Otto Kekäläinen added a comment - Ok, found Serg revision with the fix and backported it into Debian 10.0.14-2 in commit http://anonscm.debian.org/cgit/pkg-mysql/mariadb-10.0.git/commit/?id=b712301c95503b296277ba462d2aec13fdb2adf2

          People

            serg Sergei Golubchik
            otto Otto Kekäläinen
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.