[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bacula-devel] [Bacula-beta] Regression testing for version 2.2.8


Kern Sibbald wrote:
> On Saturday 26 January 2008 03.53:38 Dan Langille wrote:
>> Frank Sweetser wrote:
>>> Kern Sibbald wrote:
>>>> Hello,
>>>>
>>>> Version 2.2.8 is now ready for release. I would appreciate it if you
>>>> would run your regression scripts and report the results.  Since this
>>>> version is only slightly changed since 2.2.8 beta, I don't expect any
>>>> problems.
>>> Tests are running now, but after changing BASEPORT in my config I had
>>> very strange results between tests until after I applied this little
>>> patch. Without it, the bacula-ctl-* scripts couldn't reliably stop the
>>> daemons between tests, which confused the heck out of everything.
>>>
>>> Index: scripts/regress-config
>>> ===================================================================
>>> --- scripts/regress-config      (revision 6314)
>>> +++ scripts/regress-config      (working copy)
>>> @@ -24,6 +24,6 @@
>>>      ${OPENSSL} \
>>>      ${TCPWRAPPERS} \
>>>      ${WHICHDB} \
>>> -    --with-baseport=8101
>>> +    --with-baseport=${BASEPORT}
>> Well, I wonder how that didn't get changed.
>>
>> With those changes:
>>
>> Start non-root disk tests
>>    ===== auto-label-test OK 20:35:08 =====
>>    !!!! Zombie Jobs in Director !!!!
>>    !!!! Zombie Jobs in Director !!!!
>>    !!!!! backup-bacula-test failed!!! 20:35:39 !!!!!
>>    !!!!! Bad termination status       !!!!!
>>     Status: backup=2 restore=2 diff=2
>>    ===== bextract-test OK 20:36:19 =====
>>
>>
>> I can't seem to recall why this occurs, but I've seen it before.
> 
> Typically, if the very first test (auto-label-test) fails, it is very likely 
> that your SQL server is not running ...  The real problem becomes pretty 
> clear if you "export REGRESS_DEBUG=1" before running the test ...
> 
> 

Short version of this message: Is BASEPORT a required item?  If I set 
BASEPORT, all is well


These errors were seen at the end of make setup:

GRANT
GRANT
GRANT
Privileges for regress granted on regress.
Starting the Bacula Storage daemon
26-Jan 12:39 bacula-sd: ERROR TERMINATION at address_conf.c:536
Config error: can't add port (WorkingDirectory) to (can't resolve 
service(WorkingDirectory))
             : line 16, col 19 of file 
/usr/home/dan/src/BaculaRegressionTesting/bin/bacula-sd.conf
   WorkingDirectory = "/usr/home/dan/src/BaculaRegressionTesting/working"

Starting the Bacula File daemon
26-Jan 12:39 bacula-fd: ERROR TERMINATION at address_conf.c:536
Config error: can't add port (WorkingDirectory) to (can't resolve 
service(WorkingDirectory))
             : line 34, col 19 of file 
/usr/home/dan/src/BaculaRegressionTesting/bin/bacula-fd.conf
   WorkingDirectory = /usr/home/dan/src/BaculaRegressionTesting/working

Starting the Bacula Director daemon
26-Jan 12:39 bacula-dir: ERROR TERMINATION at address_conf.c:536
Config error: can't add port (QueryFile) to (can't resolve 
service(QueryFile))
             : line 18, col 12 of file 
/usr/home/dan/src/BaculaRegressionTesting/bin/bacula-dir.conf
   QueryFile = "/usr/home/dan/src/BaculaRegressionTesting/bin/query.sql"


These errors are caused by lines like this:

bin/bacula-dir.conf
Director {                            # define myself
   Name = ducky-dir
   DIRport =                 # where we listen for UA connections


bin/bacula-sd.conf
Storage {                             # definition of myself
   Name = ducky-sd
   SDPort =                   # Director's port

-- 
Dan Langille - http://www.langille.org/
BSDCan - The Technical BSD Conference: http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference:    http://www.pgcon.org/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bacula-devel


This mailing list archive is a service of Copilotco.