[Box Backup-dev] RC 3 testing: NetBSD 3.0 fails

Per Thomsen boxbackup-dev at fluffy.co.uk
Tue Feb 21 18:15:16 GMT 2006


On 2/21/06 9:30 AM, Per Thomsen wrote:
> On 2/21/06 8:19 AM, Martin Ebourne wrote:
>   
>> [resend]
>>
>> On Mon, 2006-02-20 at 12:01 -0800, Per Thomsen wrote:
>>     
>>> When running configure on NetBSD, I get the following error:
>>>
>>> configure: error: cannot work out how to discover mount points on your
>>> platform
>>>
>>> I've narrowed it down to the fact that NetBSD doesn't use the 'statfs'
>>> struct, but rather 'statvfs'. I am not an autoconf hacker, so I don't
>>> know how to make that addition, but if I hack the configure script to
>>> use the 'statvfs' struct in its test program, the configure completes
>>> (of course it doesn't work beyond completing the script; I can't make
>>> anything).
>>>       
>> The autoconf magic should be as below. You'll need to ./bootstrap.
>>
>> You'll then need to change the code to make use of the extra defines and
>> do the right thing. I don't have any way of testing this, and need
>> sleep, so that's left as an exercise.
>>     
> I have the full set of diffs that create a working set of executables
> (with test failures, mind you).
>   
Here are the test results. This (debug) test was run with executables
built with my diffs, plus a commenting out of the HAVE_KQUEUE macro in
BoxConfig.h (Hacked it, before I knew how to get rid if that define for
NetBSD in the autoconf stuff).

common: PASSED
crypto: PASSED
compress: FAILED: Exception caught: St9bad_alloc
basicserver: PASSED
raidfile: PASSED
backupstore: PASSED
backupstorefix: FAILED: Exception caught: BackupStore
CouldNotFindEntryInDirectory
backupstorepatch: FAILED: 2 tests failed
backupdiff: PASSED
bbackupd: FAILED: 2 tests failed       

And the details (with a bit of context around the failures):

: {160} grep -A 3 -B 3 FAIL debug-nokqueue.out
Allocating CompressStream buffer, size 256
compressed size = 293082, source size = 33521664
Allocating CompressStream buffer, size 256
FAILED: Exception caught: St9bad_alloc
(cd ../../lib/common; make  -D NODEPS)
`../../debug/lib/common/common.a' is up to date.
(cd ../../lib/server; make  -D NODEPS)
--

  === Delete store info, add random file
  === Delete an entry for an object from dir, change that object to be a
patch, check it's deleted
FAILURE: Condition [i != nameToID.end()] failed at
testbackupstorefix.cpp(89)
FAILURE: Condition [dir.FindEntryByID(delID) != 0] failed at
testbackupstorefix.cpp(384)
Exception thrown: BackupStoreException(CouldNotFindEntryInDirectory) at
BackupStoreDirectory.cpp(346)
FAILED: Exception caught: BackupStore CouldNotFindEntryInDirectory
(cd ../../lib/common; make  -D NODEPS)
`../../debug/lib/common/common.a' is up to date.
(cd ../../lib/compress; make  -D NODEPS)
--
000004    3 0000000000000004    0  10    0 file depNew(5) depOld(3)
000005    3 0000000000000004    0  10    0 file depNew(6) depOld(4)
Server: ../../bin/bbstored/bbstored testfiles/bbstored.conf
FAILURE: Server didn't save PID file at ../../lib/common/Test.h(97)
FAILURE: Condition [pid != -1 && pid != 0] failed at
testbackupstorepatch.cpp(323)
FAILED: 2 tests failed
(cd ../../lib/common; make  -D NODEPS)
`../../debug/lib/common/common.a' is up to date.
(cd ../../lib/compress; make  -D NODEPS)
--
Exception thrown: CommonException(OSFileError) at
BackupClientFileAttributes.cpp(690)
Exception thrown: BackupStoreException(AttributesNotLoaded) at
BackupClientFileAttributes.cpp(586)
Server: ../../bin/bbstored/bbstored testfiles/bbstored.conf
FAILURE: Server didn't save PID file at ../../lib/common/Test.h(97)
FAILURE: Condition [bbstored_pid != -1 && bbstored_pid != 0] failed at
testbbackupd.cpp(388)
FAILED: 2 tests failed   

-- 
Per Reedtz Thomsen | Reedtz Consulting, LLC | F: 209 883 4119
V: 209 883 4102    |   pthomsen at reedtz.com  | C: 209 996 9561
GPG ID: 1209784F   |  Yahoo! Chat: pthomsen | AIM: pthomsen




More information about the Boxbackup-dev mailing list