On Mon, 2004-08-23 at 07:37, Ronald Wiplinger wrote:
> On Thursday 19 August 2004 21:04, Magnus Svensson wrote:
> > Hi,
> >
> > mysql_test_run --force fails for me for:
> > > ps_2myisam
> > > ps_3innodb
> > > ps_5merge
> > > ps_6bdb
> >
> > Usually the printout says something more, are you sure this was all?
> >
> > > What should I do next?
> >
> > Debug compile
> > $> BUILD/compile-pentium-debug --with-ndbcluster
> >
> > Run tests with debugging turned on
> > $> cd mysql-test; ./mysql-test-run --debug --force
> > or to run only one test
> > $> cd mysql-test; ./mysql-test-run --debug --do-test=ps_2myisam
>
> Done! bk pull & recompiled with debug and tested only the failed functions!!
> Test with --debug failed several times:
>
> Errors are
> (from
> /home/ronald/MySQL/Cluster/mysql-4.1-debug-ok-2004-08-23/mysql-test/var/log/mysqltest-time)
> :
> /home/ronald/MySQL/Cluster/mysql-4.1-debug-ok-2004-08-23/client/.libs/mysqltest:
> At line 53: query 'select b from t1 having binary b like ''' failed: 2013:
> Lost connection to MySQL server during query
> Maximum memory usage: 132041 bytes (129k)
> (the last lines may be the most important ones)
>
> Ending Tests
> Shutting-down MySQL daemon
>
> master not cooperating with mysqladmin, will try manual kill
> ./mysql-test-run: line 1166: kill: (18122) - No such process
> master refused to die. Sending SIGKILL
> ./mysql-test-run: line 1170: kill: (18122) - No such process
> Master shutdown finished
> Slave shutdown finished
> Resuming Tests
>
> I canceled the test after producing 6 GB trace file !!!
>
>
> Test without --debug passed !!!
> ps [ pass ]
> ps_1general [ pass ]
> ps_2myisam [ pass ]
> ps_3innodb [ pass ]
> ps_4heap [ pass ]
> ps_5merge [ pass ]
> ps_6bdb [ skipped ]
>
>
> I tried it than again to compile without debug (BUILD/compile-pentium-max) and
> the test will fail again with the mentioned tests above.
>
> What should I do next? Just use the version with debug compiled?
>
The ps_* tests are used to test prepared statements, you should be able
to continue testing MySQL Cluster without them, at least for now. You
can use the switch --force to mysql-test to let the tests continue after
ps_2myisam.
But I assume you have found a bug. So please run only
$>./mysql-test-run --debug --do-test=ps_2myisam
and file a bug report at http://bugs.mysql.com/report.php, paste the
content of your problem report, state your OS, platform etc. Also make
sure to add the content of the file mysql-test/var/log/master.err since
it might contain valuable information. This way we can keep you informed
on the progress.
Best regards
Magnus
--
Magnus Svensson, Software Engineer
MySQL AB, www.mysql.com
Office: +46 709 164 491