[Box Backup] 0.10 release candidate 2

Todd D. Esposito boxbackup@fluffy.co.uk
Sun, 12 Feb 2006 18:31:43 -0600 (CST)


Hey Ben and gang,

I (finally) got around to running those tests as I promised a few days
back.  Not all is well, unfortunately.

Just so you know my methodology, in case you can find any inherent flaws
which may invalidate my results:

I used LVM to create a new 1GB "partition" (logical volume) called bbtest.

I'm running Gentoo Linux on a P4 w/ 1GB ram, 160GB Maxtor IDE HDD, kernel
version 2.6.11-gentoo-r11.  The ext3 and reiserfs drivers are in the
kernel, the xfs and jfs are modules (I use reiser for most of my disks).

For each filesystem I tested (ext3, ext3 w/xattr, reiserfs 3.6, reiserfs
w/xattr, jfs, xfs), I did this (note I did this manually, not with a
script; the shell variable references are for notation, not to be taken
literally):

#mkfs.${fs} /dev/uxs/bbtest
#mount -t ${fs} -o rw,${xattr} /dev/uxs/bbtest /scratch/bbtest
#chown tdesposito:users /scratch/bbtest

(note the change to non-root)

$cd /scratch/bbtest
$tar xzf ../boxbackup-0.09_plus2.tgz
$cd boxbackup-0.09_plus2
$./configure
$make
$./runtest.pl ALL release 2>&1 > ../../tests-all-release-${fs}-${xattr}.txt
$cd /

(now back to root)

#umount /scratch/bbtest

And ready for the next fs test.  In fact, I tailed each result file too,
but that's neither here nor there.

So, here's the good:

Ext3 : all PASSED
Ext3 w/ xattr: all PASSED
ReiserFS: all PASSED
ReiserFS w/ xattr: all PASSED

... and the bad:
JFS:
common: PASSED
crypto: PASSED
compress: PASSED
basicserver: PASSED
raidfile: FAILED: 6 tests failed
backupstore: PASSED
backupstorefix: FAILED: 12 tests failed
backupstorepatch: PASSED
backupdiff: PASSED
bbackupd: FAILED: 29 tests failed

JFS raidfile failures:
FAILURE: Condition [list_matches(names, file_list1)] failed at
testraidfile.cpp(841)
FAILURE: Condition [list_matches(names, dir_list1)] failed at
testraidfile.cpp(843)
FAILURE: Condition [list_matches(names, file_list1)] failed at
testraidfile.cpp(847)
FAILURE: Condition [false == RaidFileRead::ReadDirectoryContents(0,
std::string("dirread"), RaidFileRead::DirReadType_FilesOnly, names)]
failed at testraidfile.cpp(850)
FAILURE: Condition [list_matches(names, file_list1)] failed at
testraidfile.cpp(851)
FAILURE: Condition [list_matches(names, file_list2)] failed at
testraidfile.cpp(855)

JFS backupstorefix failures:
FAILURE: Condition [::system("perl testfiles/testbackupstorefix.pl check
0") == 0] failed at testbackupstorefix.cpp(409)
FAILURE: Condition [::system("perl testfiles/testbackupstorefix.pl check
1") == 0] failed at testbackupstorefix.cpp(467)
FAILURE: Condition [!RaidFileRead::FileExists(discSetNum, fn)] failed at
testbackupstorefix.cpp(470)
FAILURE: Condition [::system("perl testfiles/testbackupstorefix.pl check
2") == 0] failed at testbackupstorefix.cpp(513)
FAILURE: Condition [dir.GetContainerID() ==
getID("Test1/foreomizes/stemptinevidate")] failed at
testbackupstorefix.cpp(517)
FAILURE: Condition [count == 1] failed at testbackupstorefix.cpp(533)
FAILURE: Condition [en->GetSizeInBlocks() == notSupriousFileSize] failed
at testbackupstorefix.cpp(539)
FAILURE: Condition [::system("perl testfiles/testbackupstorefix.pl check
3") == 0] failed at testbackupstorefix.cpp(569)
FAILURE: Condition [dir.GetObjectID() ==
getID("Test1/foreomizes/stemptinevidate/ict")] failed at
testbackupstorefix.cpp(573)
FAILURE: Condition [::system("perl testfiles/testbackupstorefix.pl check
4") == 0] failed at testbackupstorefix.cpp(583)
FAILURE: Condition [::system("perl testfiles/testbackupstorefix.pl check
5") == 0] failed at testbackupstorefix.cpp(594)
FAILURE: Condition [::system("perl testfiles/testbackupstorefix.pl reroot
6") == 0] failed at testbackupstorefix.cpp(608)

JFS bbackupd failures:
FAILURE: Condition [write_xattr_test("testfiles/test1", "user.attr_2",
947)] failed at testbbackupd.cpp(383)
FAILURE: Condition [write_xattr_test("testfiles/test1",
"user.sadfohij39998.3hj", 123)] failed at testbbackupd.cpp(384)
FAILURE: Condition [write_xattr_test("testfiles/test1",
"user.328989sj..sdf", 23)] failed at testbbackupd.cpp(399)
FAILURE: Condition [!x1.Compare(x3, true, true)] failed at
testbbackupd.cpp(404)
FAILURE: Condition [write_xattr_test("testfiles/test1",
"user.328989sj..sdf", 23)] failed at testbbackupd.cpp(407)
FAILURE: Condition [!x1.Compare(x4, true, true)] failed at
testbbackupd.cpp(409)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(606)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(632)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(636)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(648)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(658)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(668)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(679)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(687)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(704)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(730)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(739)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(795)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(814)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(828)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(851)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(877)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(885)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(889)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(899)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(924)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(1004)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(1023)
FAILURE: Condition [compareReturnValue == 1*256] failed at
testbbackupd.cpp(1045)


XFS:
common: PASSED
crypto: PASSED
compress: PASSED
basicserver: PASSED
raidfile: PASSED
backupstore: PASSED
backupstorefix: PASSED
backupstorepatch: PASSED
backupdiff: PASSED
bbackupd: FAILED: 1 tests failed

That failure is:
FAILURE: Condition [TestFileExists("testfiles/notifyran.read-error.1")]
failed at testbbackupd.cpp(763)

I hope this helps.  I'm happy to run any further tests you need, and
provide you with whatever help I can.  I'm sorry to say I won't have much
time on Monday the 13th, but Tuesday and Wednesday look more open.

Todd