← Back to team overview

kernel-packages team mailing list archive

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

 

Tried the same steps on Power 7 and observe the same issue.
root@ubuntu:/usr/lib/mysql-testsuite# ./mysql-test-run
defined(@array) is deprecated at lib/mtr_cases.pm line 340.
        (Maybe you should just omit the defined()?)
defined(@array) is deprecated at ./mysql-test-run line 490.
        (Maybe you should just omit the defined()?)
Logging: ./mysql-test-run  
140123  9:55:46 [Note] Plugin 'FEDERATED' is disabled.
MySQL Version 5.5.35
Checking supported features...
 - SSL connections supported
Using suites: main,sys_vars,binlog,federated,rpl,innodb,perfschema
Collecting tests...
 - adding combinations for binlog
 - adding combinations for rpl
Checking leftover processes...
Removing old var directory...
Creating var directory '/usr/lib/mysql-testsuite/var'...
Installing system database...
mysql-test-run: *** ERROR: Error executing mysqld --bootstrap
Could not install system database from /usr/lib/mysql-testsuite/var/tmp/bootstrap.sql
see /usr/lib/mysql-testsuite/var/log/bootstrap.log for errors

-- 
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