missing mysql-testsuite metapackage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.5 (Ubuntu) |
Fix Released
|
High
|
Clint Byrum | ||
Precise |
Fix Released
|
High
|
Clint Byrum |
Bug Description
Attempting to run the mysql testsuite fails, with a message claiming that the InnoDB engine is unknown/
Steps to reproduce:
setup:
1) apt-get install mysql-testsuite mysql-server
2) sudo mkdir /var/lib/
3) sudo chown $USER.$USER /var/lib/
4) mkdir /var/lib/
5) cd /usr/lib/
running the testsuite
6) ./mysql-test-run.pl --force --vardir=
This fails with output like:
======
120319 13:27:18 [ERROR] An old style --language value with language specific part detected: /usr/share/
120319 13:27:18 [ERROR] Use --lc-messages-dir without language specific part instead.
120319 13:27:18 [Note] Plugin 'FEDERATED' is disabled.
MySQL Version 5.5.20
#######
# normal
#######
Checking supported features...
- skipping ndbcluster
- SSL connections supported
Collecting tests...
- adding combinations for binlog
- adding combinations for rpl
vardir: /var/tmp/
Removing old var directory...
Creating var directory '/var/tmp/
Installing system database...
mysql-test-run: *** ERROR: Error executing mysqld --bootstrap
Could not install system database from /var/tmp/
see /var/tmp/
======
The contents of /var/tmp/
======
/usr/sbin/mysqld --no-defaults --bootstrap --basedir=/usr --datadir=
120319 13:27:25 [ERROR] An old style --language value with language specific part detected: /usr/share/
120319 13:27:25 [ERROR] Use --lc-messages-dir without language specific part instead.
120319 13:27:25 [Note] Plugin 'FEDERATED' is disabled.
120319 13:27:25 [Note] Plugin 'InnoDB' is disabled.
120319 13:27:25 [Warning] /usr/sbin/mysqld: unknown option '--loose-
120319 13:27:25 [Warning] /usr/sbin/mysqld: unknown option '--loose-
120319 13:27:25 [ERROR] Unknown/unsupported storage engine: InnoDB
120319 13:27:25 [ERROR] Aborting
120319 13:27:25 [Note] /usr/sbin/mysqld: Shutdown complete
======
It seems that the mysql-testsuite is trying to enable the InnoDB engine and failing; according to upstream documentation, the InnoDB engine is the default engine in mysql-5.5, so perhaps the testsuite has not been updated to take this into account?
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: mysql-server-5.5 5.5.20-0ubuntu3
ProcVersionSign
Uname: Linux 3.2.0-17-generic x86_64
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
Date: Mon Mar 19 13:19:20 2012
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120103)
Logs.var.
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
ProcEnviron:
TERM=screen
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: mysql-5.5
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
Changed in mysql-5.5 (Ubuntu): | |
assignee: | nobody → Clint Byrum (clint-fewbar) |
Changed in mysql-5.5 (Ubuntu): | |
importance: | Undecided → High |
status: | New → In Progress |
tags: | added: rls-mgr-p-tracking |
Changed in mysql-5.5 (Ubuntu Precise): | |
milestone: | ubuntu-12.04-beta-2 → ubuntu-12.04 |
milestone: | ubuntu-12.04 → ubuntu-12.04-beta-2 |
Changed in mysql-5.5 (Ubuntu Precise): | |
milestone: | ubuntu-12.04-beta-2 → ubuntu-12.04 |
Oh, the command run above ('./mysql- test-run. pl --force --vardir= /var/tmp/ mysql/testsuite /var/ --tmpdir= /var/tmp/ mysql/testsuite /tmp --comment=normal --timer --skip-ndbcluster --report-features') is based on the commands generated for the 'make test-bt' target; see mysql-test/ CMakeLists. txt for details.