Description:
Hi,
I built the 5.0.1-alpha snapshot. Then I ran "mysql-test-run --local rpl_trunc_binlog" in the mysql-test from the BUILD_DIR. This ran fine:
Installing Test Databases
Removing Stale Files
Installing Master Databases
running ../sql/mysqld --no-defaults --bootstrap --skip-grant-tables --basedir=. --datadir=./var/master-data --skip-innodb --skip-ndbcluster --skip-bdb --language=../sql/share/english/ --character-sets-dir=../sql/share/charsets/
Installing Slave Databases
running ../sql/mysqld --no-defaults --bootstrap --skip-grant-tables --basedir=. --datadir=./var/slave-data --skip-innodb --skip-ndbcluster --skip-bdb --language=../sql/share/english/ --character-sets-dir=../sql/share/charsets/
Manager disabled, skipping manager start.
Loading Standard Test Databases
Starting Tests
TEST RESULT
------------------------------------------
rpl_trunc_binlog [ pass ]
------------------------------------------
Ending Tests
Shutting-down MySQL daemon
Master shutdown finished
Slave shutdown finished
All 1 tests were successful.
Later, when I ran the same test after "make install", I got the following result:
Installing Test Databases
Removing Stale Files
Installing Master Databases
running ../libexec/mysqld --no-defaults --bootstrap --skip-grant-tables --basedir=.. --datadir=mysql-test/var/master-data --skip-innodb --skip-ndbcluster --skip-bdb
Installing Slave Databases
running ../libexec/mysqld --no-defaults --bootstrap --skip-grant-tables --basedir=.. --datadir=mysql-test/var/slave-data --skip-innodb --skip-ndbcluster --skip-bdb
Manager disabled, skipping manager start.
Loading Standard Test Databases
Starting Tests
TEST RESULT
------------------------------------------
rpl_trunc_binlog [ fail ]
Errors are (from /usr/local/mysql-test/var/log/mysqltest-time) :
cp: cannot stat `std_data/trunc_binlog.000001': No such file or directory
/usr/local/bin/mysqltest: system command 'cp std_data/trunc_binlog.000001 var/log/master-bin.000001' failed
(the last lines may be the most important ones)
Ending Tests
Shutting-down MySQL daemon
Master shutdown finished
Slave shutdown finished
Resuming Tests
------------------------------------------
Ending Tests
Shutting-down MySQL daemon
Master shutdown finished
Slave shutdown finished
Failed 1/1 tests, 00.0% successful.
The log files in /usr/local/mysql-test/var/log may give you some hint
of what when wrong.
If you want to report this error, please read first the documentation at
http://www.mysql.com/doc/en/MySQL_test_suite.html
It seems that the file:
mysql-test/std_data/trunc_binlog.000001
failed to be copied during "make install".
Thanks,
Patrick
How to repeat:
1) Build 5.0.1-alpha snapshot.
2) Do "make install".
3) Run "mysql-test/mysql-test-run --local rpl_trunc_binlog" from INSTALL_DIR.
Suggested fix:
* Add install of "mysql-test/std_data/trunc_binlog.000001".