On Friday 06 November 2009 01:24:52 Robert Hartzell wrote: > It took me a while but I finally have regression testing working in a > zone on opensolaris build 126. So this is what I had to do if anyone > else is interested. > > create a zone and install these pkg's: > SUNWcmake, SUNWmysql5, SUNWlibm, gcc-dev > SUNWgtar, SUNWgit, SUNWperl584usr, > and most of SUNWgnu* > > In the config file I edited the "WHICHDB=" line to read: > WHICHDB="--with-mysql=/usr/mysql/5.0" > > And then in the shell: > $ export LDFLAGS="-L/usr/mysql/5.0/lib/mysql -R/usr/mysql/5.0/lib/mysql" > $ PATH=/usr/gnu/bin:$PATH > > When i first ran "make setup" it failed... couldn't create the database > so I had to run /usr/mysql/5.0/bin/mysql -u root mysql and do this: > grant all privileges on regress.* to ''@localhost; > grant all privileges on regress.* to ''@"%";
Yes, thanks for the tips. We appreciate them. I have added them to the README.ctest in the regression directory. > I guess "make setup" is trying to create the database as an anonymous > user??? There is probably a better way but that worked for me. It is trying to work as user regress, so depending on how tight your security is (I generally run without passwords), this is more or less normal. > > "make setup: then ran without error.... cool! > then I tried do_disk and all tests passed except this one: > > === Starting regexwhere-test at 16:55:54 === > > JobE in error > > > !!!!! regexwhere-test failed!!! 16:56:21 !!!!! > Status: zombie=0 backup=0 restore=1 diff=0 > !!!!! Bad termination status !!!!! > Status: backup=0 restore=1 diff=0 > > and the job output is: > Fatal error: Bad where regexp. where=doesnt work > > I imagine that I'm missing some pkg but not having much luck figuring > out which one. Hoping that someone else my be able to shed some light on > the error I ran the experimental-disk test. The results are posted to > the Bacula Dashboard under Experimental/bear-regress-wks2 It is probably due to a different regex library. We (Eric) will look at it. > > Once I can get that test working I can start running the nightly test if > you would like to have another opensolaris tester. I would suggest that you start running it nightly as it is. We (developers) look at the output, and if we can figure out what is broken, we fix it, if not, we add more debug code and wait until the next run. 99% of the time, we can then fix the problem. It all happens automajicly by us tweaking the source code and the regression scripts in the git repo; rarely do we need to ask you for help. > > Thanks for any info Thanks for running the regresion tests. Best regards, Kern ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel