← Back to team overview

kernel-packages team mailing list archive

[Bug 1268474] Re: mysql-testsuite fails at executing mysqld --bootstrap

 

This does appear to be a permissions issue being tickled by the test
suite:

  140113 6:35:20 [Warning] Can't create test file /usr/lib/mysql-testsuite/var/install.db/ubuntu.lower-test
  140113 6:35:20 [Warning] Can't create test file /usr/lib/mysql-testsuite/var/install.db/ubuntu.lower-test
  [...]
  /usr/sbin/mysqld: Can't create/write to file '/usr/lib/mysql-testsuite/var/tmp/ibKAQNM9' (Errcode: 13)

We should check that that directory hierachy even exists or if this is
meant to be rooted at /.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1268474

Title:
  mysql-testsuite fails at executing mysqld --bootstrap

Status in “linux” package in Ubuntu:
  Incomplete
Status in “mysql-5.5” package in Ubuntu:
  New

Bug description:
  Description:

  The mysql-testsuite fails to install system database from /usr/lib
  /mysql-testsuite/var/tmp/bootstrap.sql

  The logs : 
  /usr/sbin/mysqld --no-defaults --bootstrap --basedir=/usr --datadir=/usr/lib/mysql-testsuite/var/install.db --loose-skip-falcon --loose-skip-ndbcluster --tmpdir=/usr/lib/mysql-testsuite/var/tmp/ --core-file --lc-messages-dir=/usr/share/mysql/ --character-sets-dir=/usr/share/mysql/charsets
  140113  6:35:20 [Warning] Can't create test file /usr/lib/mysql-testsuite/var/install.db/ubuntu.lower-test
  140113  6:35:20 [Warning] Can't create test file /usr/lib/mysql-testsuite/var/install.db/ubuntu.lower-test
  140113  6:35:20 [Note] Plugin 'FEDERATED' is disabled.
  140113  6:35:20 InnoDB: The InnoDB memory heap is disabled
  140113  6:35:20 InnoDB: Mutexes and rw_locks use GCC atomic builtins
  140113  6:35:20 InnoDB: Compressed tables use zlib 1.2.8
  140113  6:35:20 InnoDB: Using Linux native AIO
  /usr/sbin/mysqld: Can't create/write to file '/usr/lib/mysql-testsuite/var/tmp/ibKAQNM9' (Errcode: 13)
  140113  6:35:20  InnoDB: Error: unable to create temporary file; errno: 13
  140113  6:35:20 [ERROR] Plugin 'InnoDB' init function returned error.
  140113  6:35:20 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
  140113  6:35:20 [Warning] /usr/sbin/mysqld: unknown option '--loose-skip-falcon'
  140113  6:35:20 [Warning] /usr/sbin/mysqld: unknown option '--loose-skip-ndbcluster'
  140113  6:35:20 [ERROR] Unknown/unsupported storage engine: InnoDB
  140113  6:35:20 [ERROR] Aborting

  140113  6:35:20 [Note] /usr/sbin/mysqld: Shutdown complete

  Environment:
  ===========
  Host: Power8
  Guest Ubuntu_alpha1
  qemu command used to launch ubuntu VM:
  qemu-system-ppc64 -enable-kvm -M pseries -cpu POWER8 -smp 1 -m 10G -nographic -nodefaults -monitor stdio -serial pty -append "root=/dev/sda" -kernel vmlinux-3.13.0-0-generic -device spapr-vscsi -device spapr-vlan,netdev=net0,mac=6c:ae:8b:69:16:48 -netdev bridge,br=virbr0,id=net0 -drive file=ubuntu_new.qcow2

  
  root@ubuntu:/usr/lib/mysql-testsuite# dpkg --list | grep mysql
  ii  libdbd-mysql-perl                  4.025-1                            ppc64el      Perl5 database interface to the MySQL database
  ii  libmysqlclient18:ppc64el           5.5.34-0ubuntu2                    ppc64el      MySQL database client library
  ii  mysql-client                       5.5.34-0ubuntu2                    all          MySQL database client (metapackage depending on the latest version)
  ii  mysql-client-5.5                   5.5.34-0ubuntu2                    ppc64el      MySQL database client binaries
  ii  mysql-client-core-5.5              5.5.34-0ubuntu2                    ppc64el      MySQL database core client binaries
  ii  mysql-common                       5.5.34-0ubuntu2                    all          MySQL database common files, e.g. /etc/mysql/my.cnf
  ii  mysql-server                       5.5.34-0ubuntu2                    all          MySQL database server (metapackage depending on the latest version)
  ii  mysql-server-5.5                   5.5.34-0ubuntu2                    ppc64el      MySQL database server binaries and system database setup
  ii  mysql-server-core-5.5              5.5.34-0ubuntu2                    ppc64el      MySQL database server binaries
  ii  mysql-testsuite                    5.5.34-0ubuntu2                    all          MySQL testsuite
  ii  mysql-testsuite-5.5                5.5.34-0ubuntu2                    ppc64el      MySQL testsuite
  root@ubuntu:/usr/lib/mysql-testsuite# 

  Steps to reproduce:
  ================

  1. Install mysql-server,mysql-client and mysql-testsuite
  2. Start mysql daemon
  3. cd /usr/lib/mysql-testsuite
  4. ./mysql-test-run

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1268474/+subscriptions


References