Bug #56774 "debug" tests during RPM + PKG build don't use the debug server
Description:
Affected: Linux RPM builds + Solaris PKG builds
This is a part of the RPM test log of the 5.5.6-rc build
on SLES 11 (x86_64):
=====
...
Completed: Failed 1/1 tests, 0.00% were successful.
Failing test(s): nist.nist_all
The log files in var/log may give you some hint of what went wrong.
If you want to report this error, please read first the documentation
at http://dev.mysql.com/doc/mysql/en/mysql-test-suite.html
mysql-test-run: *** ERROR: there were failing test cases
+ mv ../bin/mysqld ../bin/mysqld.orig
mv: cannot stat `../bin/mysqld': No such file or directory
+ mv ../bin/mysqld-debug ../bin/mysqld
mv: cannot stat `../bin/mysqld-debug': No such file or directory
+ tee -a mtr.log
+ cd mysql-test
+ source collections/test-bt-debug
++ perl mysql-test-run.pl --force --timer --comment=debug --skip-ndbcluster --skip-rpl --report-features --experimental=collections/default.experimental
Logging: mysql-test-run.pl --force --timer --comment=debug --skip-ndbcluster --skip-rpl --report-features --experimental=collections/default.experimental
100914 1:05:43 [Note] Plugin 'FEDERATED' is disabled.
MySQL Version 5.5.6
##############################################################################
# debug
##############################################################################
...
=====
Similar lines are in the test log of Solaris-PKG builds.
Note that the script tries to switch from the default (optimized) server to the debug server by using "mv ../bin/mysqld*" commands which fail because there is no server binary in "../bin", but the script just continues and reports the next test run to be done using the debug server.
In a tar.gz test log, the path is different ("bin/" as opposed to "../bin/"), and the commands succeed:
=====
...
Completed: Failed 1/1 tests, 0.00% were successful.
Failing test(s): nist.nist_all
The log files in var/log may give you some hint of what went wrong.
If you want to report this error, please read first the documentation
at http://dev.mysql.com/doc/mysql/en/mysql-test-suite.html
mysql-test-run: *** ERROR: there were failing test cases
+ mv bin/mysqld bin/mysqld.orig
+ mv bin/mysqld-debug bin/mysqld
+ tee -a mtr.log
+ cd mysql-test
+ source collections/test-bt-debug
++ perl mysql-test-run.pl --force --timer --comment=debug --skip-ndbcluster --skip-rpl --report-features --experimental=collections/default.experimental
Logging: mysql-test-run.pl --force --timer --comment=debug --skip-ndbcluster --skip-rpl --report-features --experimental=collections/default.experimental
100913 21:35:42 [Note] Plugin 'FEDERATED' is disabled.
MySQL Version 5.5.6
##############################################################################
# debug
##############################################################################
...
=====
How to repeat:
Look into a RPM test log of the cmake build process.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.